+ "x": 882.9999599456787,
+ "y": 1239.0000610351562,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3cf0d2d4.0a5d0e",
+ "type": "execute",
+ "name": "execute TemplateNode",
+ "xml": "<execute plugin=\"org.onap.ccsdk.sli.plugins.template.TemplateNode\" method=\"evaluateTemplate\" >\n <parameter name='templatePath' value='oofpcipoc-dmaap-publish-modifyconfiganr-resp-payload-template.vtl' />\n <parameter name='output' value='resp-payload' />\n <parameter name='prefix' value='sdnr' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 872.0104598999023,
+ "y": 2125.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "fb7f30bc.4c65b",
+ "bdb5c927.8af808"
+ ]
+ ]
+ },
+ {
+ "id": "fb7f30bc.4c65b",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1146.0104598999023,
+ "y": 2094.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "c11aee10.e6e67"
+ ]
+ ]
+ },
+ {
+ "id": "c11aee10.e6e67",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1337.0104598999023,
+ "y": 2097.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "9a917d5e.1c727"
+ ]
+ ]
+ },
+ {
+ "id": "9a917d5e.1c727",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred sdnr payload template as a string\"/>\n<parameter name='field3' value='`$sdnr.resp-payload`' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1505.0104598999023,
+ "y": 2098.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "df99ee06.4ace2",
+ "type": "execute",
+ "name": "remove new lines",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n <parameter name=\"source\" value=\"`$sdnr.resp-payload`\"/>\n <parameter name=\"outputPath\" value=\"tmp.oofpcipoc-dmaap-config-resp.payload\"/>\n <parameter name=\"target\" value=\"\\n\"/>\n <parameter name=\"replacement\" value=\"\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 844.5104598999023,
+ "y": 2241.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "c93e93f1.a82ee",
+ "185060e1.24becf"
+ ]
+ ]
+ },
+ {
+ "id": "2dc1f234.42072e",
+ "type": "execute",
+ "name": "remove tabs",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n <parameter name=\"source\" value=\"`$tmp.oofpcipoc-dmaap-config-resp.payload`\"/>\n <parameter name=\"outputPath\" value=\"tmp.oofpcipoc-dmaap-config-resp.payload\"/>\n <parameter name=\"target\" value=\"\\t\"/>\n <parameter name=\"replacement\" value=\"\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 834.0104598999023,
+ "y": 2323.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "6e15985e.9487b8",
+ "ee17f7c6.a13008"
+ ]
+ ]
+ },
+ {
+ "id": "d94faf20.0bc6f",
+ "type": "execute",
+ "name": "Escape JSON String",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='escapeJsonString' >\n <parameter name=\"source\" value='`$tmp.oofpcipoc-dmaap-config-resp.payload`'/>\n <parameter name=\"target\" value='tmp.oofpcipoc-dmaap-config-resp.payload'/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 821.5104598999023,
+ "y": 2439.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "90e3f8bd.7c3bc8",
+ "a4d7a3a6.62a39"
+ ]
+ ]
+ },
+ {
+ "id": "90e3f8bd.7c3bc8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1023.5104598999023,
+ "y": 2429.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "dc13ddfc.0613e"
+ ]
+ ]
+ },
+ {
+ "id": "6e15985e.9487b8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1016.5104598999023,
+ "y": 2331.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "a4df22c7.c42fd"
+ ]
+ ]
+ },
+ {
+ "id": "dc13ddfc.0613e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1187.5104598999023,
+ "y": 2431.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "a1498459.692f68"
+ ]
+ ]
+ },
+ {
+ "id": "a1498459.692f68",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred template as an Escaped string\"/>\n<parameter name='field3' value='`$tmp.oofpcipoc-dmaap-config-resp.payload`' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1347.5104598999023,
+ "y": 2430.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a4df22c7.c42fd",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1201.5104598999023,
+ "y": 2329.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "64c913b9.99501c"
+ ]
+ ]
+ },
+ {
+ "id": "64c913b9.99501c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred template with tabs removed \\r\"/>\n<parameter name='field3' value='`$tmp.oofpcipoc-dmaap-config-resp.payload`' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1403.5104598999023,
+ "y": 2324.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c93e93f1.a82ee",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1038.0104598999023,
+ "y": 2209.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "d0d96a57.50b6a8"
+ ]
+ ]
+ },
+ {
+ "id": "d0d96a57.50b6a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1213.0104598999023,
+ "y": 2223.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "f893a35e.08e4f"
+ ]
+ ]
+ },
+ {
+ "id": "f893a35e.08e4f",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred template with lines removed \\r\"/>\n<parameter name='field3' value='`$tmp.oofpcipoc-dmaap-config-resp.payload`' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1401.0104598999023,
+ "y": 2225.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bdb5c927.8af808",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1145.0104598999023,
+ "y": 2151.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "3f455a05.46ca56"
+ ]
+ ]
+ },
+ {
+ "id": "3f455a05.46ca56",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1314.0103378295898,
+ "y": 2157.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "4b319563.0e680c"
+ ]
+ ]
+ },
+ {
+ "id": "4b319563.0e680c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error creating SDNR response payload string. Aborting PCI configuration\" />",
+ "comments": "",
+ "x": 1470.0100936889648,
+ "y": 2156.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": []
+ },
+ {
+ "id": "185060e1.24becf",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1059.0104598999023,
+ "y": 2280.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "f035b64a.afd518"
+ ]
+ ]
+ },
+ {
+ "id": "f035b64a.afd518",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1227.0103378295898,
+ "y": 2275.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "3f311f39.6d976"
+ ]
+ ]
+ },
+ {
+ "id": "3f311f39.6d976",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error removing lines from SDNR response payload string. Aborting PCI configuration\" />",
+ "comments": "",
+ "x": 1385.0100326538086,
+ "y": 2278.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": []
+ },
+ {
+ "id": "ee17f7c6.a13008",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1019.0104598999023,
+ "y": 2379.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "435f1a9.a102ee4"
+ ]
+ ]
+ },
+ {
+ "id": "435f1a9.a102ee4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1195.0103378295898,
+ "y": 2380.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "d581508c.2e804"
+ ]
+ ]
+ },
+ {
+ "id": "d581508c.2e804",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error removing tabs from SDNR response payload string. Aborting PCI configuration\" />",
+ "comments": "",
+ "x": 1342.0100326538086,
+ "y": 2383.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": []
+ },
+ {
+ "id": "a4d7a3a6.62a39",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1017.0104598999023,
+ "y": 2491.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "7a39172d.482ce8"
+ ]
+ ]
+ },
+ {
+ "id": "7a39172d.482ce8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1179.0103378295898,
+ "y": 2487.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "7705a742.9b25b8"
+ ]
+ ]
+ },
+ {
+ "id": "7705a742.9b25b8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error inserting escape chars in SDNR response payload string. Aborting PCI configuration\" />",
+ "comments": "",
+ "x": 1340.0100326538086,
+ "y": 2495.4550261497498,
+ "z": "b5912bac.e498b8",
+ "wires": []
+ },
+ {
+ "id": "598648b2.5aa358",
+ "type": "block",
+ "name": "DMAAP Payload Generation",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 576.0104751586914,
+ "y": 2243.4551243782043,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "3cf0d2d4.0a5d0e",
+ "df99ee06.4ace2",
+ "2dc1f234.42072e",
+ "d94faf20.0bc6f"
+ ]
+ ]
+ },
+ {
+ "id": "3e67b041.fa193",
+ "type": "block",
+ "name": "DMAAP Reponse Publish",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 438.0104446411133,
+ "y": 2591.343816280365,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "31416be7.b41224",
+ "5ccbfc1e.20e2f4"
+ ]
+ ]
+ },
+ {
+ "id": "5ccbfc1e.20e2f4",
+ "type": "execute",
+ "name": "execute DmaapMsg",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish-config-response.template`\" />\n <parameter name='restapiUrl' value=\"`$prop.dmaap-message-router.url + '/' + $prop.oofpcipoc-dmaap-configuration-response.topic`\" />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name='responsePrefix' value='dmaap' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 853.0105209350586,
+ "y": 2653.4550433158875,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "35df2cf3.78dc74",
+ "ecbae94b.e41fd8"
+ ]
+ ]
+ },
+ {
+ "id": "31416be7.b41224",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='tmp.oofpcipoc-dmaap-config-resp.rpc-name' value='`$prop.oofpcipoc-dmaap-config-resp.rpc-name.modifyconfiganr`'/>",
+ "comments": "",
+ "x": 839.6772193908691,
+ "y": 2549.4550337791443,
+ "z": "b5912bac.e498b8",
+ "wires": []
+ },
+ {
+ "id": "35df2cf3.78dc74",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1027.510498046875,
+ "y": 2587.3717608451843,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "6faec48c.adf59c"
+ ]
+ ]
+ },
+ {
+ "id": "ecbae94b.e41fd8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1050.510353088379,
+ "y": 2716.3718676567078,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "7c97eaeb.048ce4"
+ ]
+ ]
+ },
+ {
+ "id": "6faec48c.adf59c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1208.510269165039,
+ "y": 2590.3718905448914,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "96ee7bd4.ade948"
+ ]
+ ]
+ },
+ {
+ "id": "96ee7bd4.ade948",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error publishing DMAAP Config Response message. ConfigDB Updated; TO be rolled back...will handle next release\" />",
+ "comments": "",
+ "x": 1382.5099868774414,
+ "y": 2597.3718156814575,
+ "z": "b5912bac.e498b8",
+ "wires": []
+ },
+ {
+ "id": "7c97eaeb.048ce4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1210.5099983215332,
+ "y": 2708.3718400001526,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "9752c29a.925d5"
+ ]
+ ]
+ },
+ {
+ "id": "9752c29a.925d5",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DMAAP Config Response Message Successfully Published \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1387.5101165771484,
+ "y": 2713.3719487190247,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6658e995.a8afc8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 891.0104370117188,
+ "y": 843.34375,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "be155b7f.4b4658",
+ "e5e6ffd6.3ceea",
+ "33c67261.6b5ade",
+ "aa8fe0bd.58667"
+ ]
+ ]
+ },
+ {
+ "id": "be155b7f.4b4658",
+ "type": "execute",
+ "name": "generate configdb nbr ho patch url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.patch-ho-for-nbr`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-ho-for-nbr.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1173.0103607177734,
+ "y": 696.3437967300415,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e5e6ffd6.3ceea",
+ "type": "record",
+ "name": "record configdb RestAPI parms",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB PCI Update\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.patch-ho-for-nbr.url`\" />\n<parameter name='field3' value=\"`$tmp.alias`\" />\n<parameter name='field4' value=\"`$tmp.cid`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1182.0104522705078,
+ "y": 809.3437929153442,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "33c67261.6b5ade",
+ "type": "execute",
+ "name": "Configure PCI value in configdb",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-patch-configdb-ho-for-nbr.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.patch-ho-for-nbr.url`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1149.0104370117188,
+ "y": 914.34375,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "cbd12702.8e4338",
+ "12af70f8.c2945f"
+ ]
+ ]
+ },
+ {
+ "id": "cbd12702.8e4338",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1364.0104370117188,
+ "y": 857.34375,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "eebd8d4d.fd481"
+ ]
+ ]
+ },
+ {
+ "id": "12af70f8.c2945f",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1364.0103149414062,
+ "y": 953.3436279296875,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "342f48d0.8ab638"
+ ]
+ ]
+ },
+ {
+ "id": "eebd8d4d.fd481",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1533.0103149414062,
+ "y": 868.34375,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "d55d851b.fc1958"
+ ]
+ ]
+ },
+ {
+ "id": "342f48d0.8ab638",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1526.0100708007812,
+ "y": 954.34375,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "6dcdc966.a406c8"
+ ]
+ ]
+ },
+ {
+ "id": "d55d851b.fc1958",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error updating configDB. Aborting Nbr HO configuration\" />",
+ "comments": "",
+ "x": 1687.010009765625,
+ "y": 861.34375,
+ "z": "b5912bac.e498b8",
+ "wires": []
+ },
+ {
+ "id": "6dcdc966.a406c8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"HO Value for nbr updated in ConfigDB\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1681.010269165039,
+ "y": 951.3437585830688,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5dfa3076.0f2dc",
+ "type": "switchNode",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 774.0104522705078,
+ "y": 637.343770980835,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "f86727f0.323a28",
+ "b1853d4e.2ef79"
+ ]
+ ]
+ },
+ {
+ "id": "f86727f0.323a28",
+ "type": "outcome",
+ "name": "Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 816.0104370117188,
+ "y": 767.34375,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "6658e995.a8afc8"
+ ]
+ ]
+ },
+ {
+ "id": "aa8fe0bd.58667",
+ "type": "execute",
+ "name": "Update target cellid for configdb nbr ho patch url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.patch-ho-for-nbr.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-ho-for-nbr.url\"/>\n <parameter name=\"target\" value=\"{targetCellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1241.0103912353516,
+ "y": 748.4549632072449,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fcdde69d.5ef6b8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"ConfigDB Update Skipped\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1213.0103645324707,
+ "y": 623.5659379959106,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b1853d4e.2ef79",
+ "type": "outcome",
+ "name": "Not Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1039.0103302001953,
+ "y": 619.6770076751709,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "fcdde69d.5ef6b8"
+ ]
+ ]
+ },
+ {
+ "id": "b59fe403.100df8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 880.0104370117188,
+ "y": 1921.5660400390625,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "5fee4a24.714e24",
+ "e80f49c7.bc5e98",
+ "9f3eddb8.4c8b6",
+ "ede238d3.02b908"
+ ]
+ ]
+ },
+ {
+ "id": "5fee4a24.714e24",
+ "type": "execute",
+ "name": "generate configdb nbr ho patch url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.patch-ho-for-nbr`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-ho-for-nbr.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1207.0103759765625,
+ "y": 1782.5660467147827,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e80f49c7.bc5e98",
+ "type": "execute",
+ "name": "Configure Nbr HO value in configdb",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-patch-configdb-ho-for-nbr.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.patch-ho-for-nbr.url`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1138.0104370117188,
+ "y": 1992.5660400390625,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "fde36f04.ecf63",
+ "5da0cd73.d5ac34"
+ ]
+ ]
+ },
+ {
+ "id": "fde36f04.ecf63",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1353.0104370117188,
+ "y": 1935.5660400390625,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "b0184360.4173a"
+ ]
+ ]
+ },
+ {
+ "id": "5da0cd73.d5ac34",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1353.0103149414062,
+ "y": 2031.56591796875,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "6d733c40.16c4e4"
+ ]
+ ]
+ },
+ {
+ "id": "b0184360.4173a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1522.0103149414062,
+ "y": 1946.5660400390625,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "c56ebe3b.bbda7"
+ ]
+ ]
+ },
+ {
+ "id": "6d733c40.16c4e4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1515.0100708007812,
+ "y": 2032.5660400390625,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "c9d72369.59a1b"
+ ]
+ ]
+ },
+ {
+ "id": "c56ebe3b.bbda7",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error updating configDB. Aborting Nbr HO configuration\" />",
+ "comments": "",
+ "x": 1676.010009765625,
+ "y": 1939.5660400390625,
+ "z": "b5912bac.e498b8",
+ "wires": []
+ },
+ {
+ "id": "c9d72369.59a1b",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"HO Value for nbr updated in ConfigDB\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1670.010269165039,
+ "y": 2029.5660486221313,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dd44dc35.baa9a",
+ "type": "switchNode",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 696.0107116699219,
+ "y": 1734.566120147705,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "b541eb45.1e5278",
+ "eefdf306.9fa25"
+ ]
+ ]
+ },
+ {
+ "id": "b541eb45.1e5278",
+ "type": "outcome",
+ "name": "Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 900.0104904174805,
+ "y": 1819.5660769939423,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "b59fe403.100df8"
+ ]
+ ]
+ },
+ {
+ "id": "9f3eddb8.4c8b6",
+ "type": "execute",
+ "name": "Update target cellid for configdb nbr ho patch url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.patch-ho-for-nbr.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-ho-for-nbr.url\"/>\n <parameter name=\"target\" value=\"{targetCellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1258.0103759765625,
+ "y": 1835.6773228645325,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a5a8d47.a6e5b28",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"ConfigDB Update Skipped\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1191.0104579925537,
+ "y": 1732.788185119629,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "eefdf306.9fa25",
+ "type": "outcome",
+ "name": "Not Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1012.010383605957,
+ "y": 1719.8994035720825,
+ "z": "b5912bac.e498b8",
+ "wires": [
+ [
+ "a5a8d47.a6e5b28"
+ ]
+ ]
+ },
+ {
+ "id": "ede238d3.02b908",
+ "type": "record",
+ "name": "record configdb RestAPI parms",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB PCI Update\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.patch-ho-for-nbr.url`\" />\n<parameter name='field3' value=\"`$tmp.alias`\" />\n<parameter name='field4' value=\"`$tmp.cid`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1203.565933227539,
+ "y": 1892.3437194824219,
+ "z": "b5912bac.e498b8",