+ "x": 910.0103664398193,
+ "y": 1248.0104751586914,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3c0d7f19.6c811",
+ "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": 899.020866394043,
+ "y": 2134.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "b2a6c2c3.f1a3b",
+ "294194dd.c5fd5c"
+ ]
+ ]
+ },
+ {
+ "id": "b2a6c2c3.f1a3b",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1173.020866394043,
+ "y": 2103.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "8238e819.a3ec88"
+ ]
+ ]
+ },
+ {
+ "id": "8238e819.a3ec88",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1364.020866394043,
+ "y": 2106.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "89f27573.4e9d08"
+ ]
+ ]
+ },
+ {
+ "id": "89f27573.4e9d08",
+ "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": 1532.020866394043,
+ "y": 2107.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2d15e84e.91cbd8",
+ "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": 871.520866394043,
+ "y": 2250.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "5debb003.5b86d",
+ "f677a278.2fa7"
+ ]
+ ]
+ },
+ {
+ "id": "e8161499.fba198",
+ "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": 861.020866394043,
+ "y": 2332.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "17433612.64f8ea",
+ "2d401fc.38631e"
+ ]
+ ]
+ },
+ {
+ "id": "17433612.64f8ea",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1043.520866394043,
+ "y": 2340.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "8233dba4.2a6c08"
+ ]
+ ]
+ },
+ {
+ "id": "8233dba4.2a6c08",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1228.520866394043,
+ "y": 2338.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "de84fc8b.e06b5"
+ ]
+ ]
+ },
+ {
+ "id": "de84fc8b.e06b5",
+ "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": 1430.520866394043,
+ "y": 2333.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5debb003.5b86d",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1065.020866394043,
+ "y": 2218.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "9d89b03e.2ff07"
+ ]
+ ]
+ },
+ {
+ "id": "9d89b03e.2ff07",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1240.020866394043,
+ "y": 2232.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "dabf9835.e13098"
+ ]
+ ]
+ },
+ {
+ "id": "dabf9835.e13098",
+ "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": 1428.020866394043,
+ "y": 2234.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "294194dd.c5fd5c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1172.020866394043,
+ "y": 2160.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "53c27ee.7f69b8"
+ ]
+ ]
+ },
+ {
+ "id": "53c27ee.7f69b8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1341.0207443237305,
+ "y": 2166.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "cf58efc6.7b3ca"
+ ]
+ ]
+ },
+ {
+ "id": "cf58efc6.7b3ca",
+ "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": 1497.0205001831055,
+ "y": 2165.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": []
+ },
+ {
+ "id": "f677a278.2fa7",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1086.020866394043,
+ "y": 2289.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "d2d6e5d8.209298"
+ ]
+ ]
+ },
+ {
+ "id": "d2d6e5d8.209298",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1254.0207443237305,
+ "y": 2284.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "2d9f0013.4f0cb"
+ ]
+ ]
+ },
+ {
+ "id": "2d9f0013.4f0cb",
+ "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": 1412.0204391479492,
+ "y": 2287.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": []
+ },
+ {
+ "id": "2d401fc.38631e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1046.020866394043,
+ "y": 2388.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "bda74b26.1b1388"
+ ]
+ ]
+ },
+ {
+ "id": "bda74b26.1b1388",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1222.0207443237305,
+ "y": 2389.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "d56e28d4.650d08"
+ ]
+ ]
+ },
+ {
+ "id": "d56e28d4.650d08",
+ "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": 1369.0204391479492,
+ "y": 2392.465440273285,
+ "z": "d6ec916.8139a7",
+ "wires": []
+ },
+ {
+ "id": "a3fe027d.820d4",
+ "type": "block",
+ "name": "DMAAP Payload Generation",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 603.020881652832,
+ "y": 2252.4655385017395,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "3c0d7f19.6c811",
+ "2d15e84e.91cbd8",
+ "e8161499.fba198"
+ ]
+ ]
+ },
+ {
+ "id": "2f1179a.0005886",
+ "type": "block",
+ "name": "DMAAP Reponse Publish",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 465.0208511352539,
+ "y": 2600.3542304039,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "b22d0788.83a868",
+ "74c6c1ac.1e42d"
+ ]
+ ]
+ },
+ {
+ "id": "74c6c1ac.1e42d",
+ "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": 880.0209274291992,
+ "y": 2662.4654574394226,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "66967541.9509fc",
+ "19014f9c.5bacd"
+ ]
+ ]
+ },
+ {
+ "id": "b22d0788.83a868",
+ "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": 866.6876258850098,
+ "y": 2558.4654479026794,
+ "z": "d6ec916.8139a7",
+ "wires": []
+ },
+ {
+ "id": "66967541.9509fc",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1054.5209045410156,
+ "y": 2596.3821749687195,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "5277ae5c.6edee"
+ ]
+ ]
+ },
+ {
+ "id": "19014f9c.5bacd",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1077.5207595825195,
+ "y": 2725.382281780243,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "3817a66f.511b9a"
+ ]
+ ]
+ },
+ {
+ "id": "5277ae5c.6edee",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1235.5206756591797,
+ "y": 2599.3823046684265,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "5d24962d.477fe8"
+ ]
+ ]
+ },
+ {
+ "id": "5d24962d.477fe8",
+ "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": 1409.520393371582,
+ "y": 2606.3822298049927,
+ "z": "d6ec916.8139a7",
+ "wires": []
+ },
+ {
+ "id": "3817a66f.511b9a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1237.5204048156738,
+ "y": 2717.3822541236877,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "2e47c897.bb4cb8"
+ ]
+ ]
+ },
+ {
+ "id": "2e47c897.bb4cb8",
+ "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": 1414.520523071289,
+ "y": 2722.38236284256,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f89579dd.91a288",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 918.0208435058594,
+ "y": 852.3541641235352,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "e2e4a468.8a1838",
+ "89dd4b27.cf59d8",
+ "67336a18.ae2e64",
+ "68bfb6e.dac1e48"
+ ]
+ ]
+ },
+ {
+ "id": "e2e4a468.8a1838",
+ "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": 1200.020767211914,
+ "y": 705.3542108535767,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "89dd4b27.cf59d8",
+ "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": 1209.0208587646484,
+ "y": 818.3542070388794,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "67336a18.ae2e64",
+ "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": 1176.0208435058594,
+ "y": 923.3541641235352,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "ef644403.24c058",
+ "fdf802eb.60d9c"
+ ]
+ ]
+ },
+ {
+ "id": "ef644403.24c058",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1391.0208435058594,
+ "y": 866.3541641235352,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "8b811332.af384"
+ ]
+ ]
+ },
+ {
+ "id": "fdf802eb.60d9c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1391.0207214355469,
+ "y": 962.3540420532227,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "e176cd2e.3e59"
+ ]
+ ]
+ },
+ {
+ "id": "8b811332.af384",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1560.0207214355469,
+ "y": 877.3541641235352,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "476e5e5b.ebfba"
+ ]
+ ]
+ },
+ {
+ "id": "e176cd2e.3e59",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1553.0204772949219,
+ "y": 963.3541641235352,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "13d8c36c.6c2d3d"
+ ]
+ ]
+ },
+ {
+ "id": "476e5e5b.ebfba",
+ "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": 1714.0204162597656,
+ "y": 870.3541641235352,
+ "z": "d6ec916.8139a7",
+ "wires": []
+ },
+ {
+ "id": "13d8c36c.6c2d3d",
+ "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": 1708.0206756591797,
+ "y": 960.354172706604,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "358802c3.47e34e",
+ "type": "switchNode",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 801.0208587646484,
+ "y": 646.3541851043701,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "85f30747.c1b888",
+ "2d20c343.20b36c"
+ ]
+ ]
+ },
+ {
+ "id": "85f30747.c1b888",
+ "type": "outcome",
+ "name": "Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 843.0208435058594,
+ "y": 776.3541641235352,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "f89579dd.91a288"
+ ]
+ ]
+ },
+ {
+ "id": "68bfb6e.dac1e48",
+ "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": 1268.0207977294922,
+ "y": 757.46537733078,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8a8d9414.5fc568",
+ "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": 1240.0207710266113,
+ "y": 632.5763521194458,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2d20c343.20b36c",
+ "type": "outcome",
+ "name": "Not Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1066.020736694336,
+ "y": 628.687421798706,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "8a8d9414.5fc568"
+ ]
+ ]
+ },
+ {
+ "id": "94a1fc66.854fd",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 907.0208435058594,
+ "y": 1930.5764541625977,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "dd73feca.07c61",
+ "37207b6c.909104",
+ "b87cd468.06cb68",
+ "ab8ee4d1.6884d8"
+ ]
+ ]
+ },
+ {
+ "id": "dd73feca.07c61",
+ "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": 1234.0207824707031,
+ "y": 1791.5764608383179,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "37207b6c.909104",
+ "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": 1165.0208435058594,
+ "y": 2001.5764541625977,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "1813ece8.963fa3",
+ "183b086e.f8d5e8"
+ ]
+ ]
+ },
+ {
+ "id": "1813ece8.963fa3",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1380.0208435058594,
+ "y": 1944.5764541625977,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "6a8582d5.f0470c"
+ ]
+ ]
+ },
+ {
+ "id": "183b086e.f8d5e8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1380.0207214355469,
+ "y": 2040.5763320922852,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "6f48523c.7e7b2c"
+ ]
+ ]
+ },
+ {
+ "id": "6a8582d5.f0470c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1549.0207214355469,
+ "y": 1955.5764541625977,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "9bd49b3c.96bdb8"
+ ]
+ ]
+ },
+ {
+ "id": "6f48523c.7e7b2c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1542.0204772949219,
+ "y": 2041.5764541625977,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "6bee533f.79d24c"
+ ]
+ ]
+ },
+ {
+ "id": "9bd49b3c.96bdb8",
+ "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": 1703.0204162597656,
+ "y": 1948.5764541625977,
+ "z": "d6ec916.8139a7",
+ "wires": []
+ },
+ {
+ "id": "6bee533f.79d24c",
+ "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": 1697.0206756591797,
+ "y": 2038.5764627456665,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d0e25241.e0e23",
+ "type": "switchNode",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 723.0211181640625,
+ "y": 1743.5765342712402,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "5b4167c1.3f34a8",
+ "dd0ef7.efed5108"
+ ]
+ ]
+ },
+ {
+ "id": "5b4167c1.3f34a8",
+ "type": "outcome",
+ "name": "Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 927.0208969116211,
+ "y": 1828.5764911174774,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "94a1fc66.854fd"
+ ]
+ ]
+ },
+ {
+ "id": "b87cd468.06cb68",
+ "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": 1285.0207824707031,
+ "y": 1844.6877369880676,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c3d98242.04a72",
+ "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": 1218.0208644866943,
+ "y": 1741.798599243164,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dd0ef7.efed5108",
+ "type": "outcome",
+ "name": "Not Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1039.0207901000977,
+ "y": 1728.9098176956177,
+ "z": "d6ec916.8139a7",
+ "wires": [
+ [
+ "c3d98242.04a72"
+ ]
+ ]
+ },
+ {
+ "id": "ab8ee4d1.6884d8",
+ "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": 1230.5763397216797,
+ "y": 1901.354133605957,
+ "z": "d6ec916.8139a7",