+ },
+ {
+ "id": "a3e587fa.57e3e8",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1225.000114440918,
+ "y": 792.0001182556152,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "e0d49781.5cbda8"
+ ]
+ ]
+ },
+ {
+ "id": "16a43e9d.9e1261",
+ "type": "switchNode",
+ "name": "switch mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 508.0000305175781,
+ "y": 816.0000686645508,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "a3e587fa.57e3e8",
+ "48a7abfc.83e8c4"
+ ]
+ ]
+ },
+ {
+ "id": "48a7abfc.83e8c4",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 731.0000343322754,
+ "y": 856.0000801086426,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "af60476a.a95658"
+ ]
+ ]
+ },
+ {
+ "id": "fc9ec145.3e57a",
+ "type": "execute",
+ "name": "populate idGNBCUCPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUCPFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1334.000473022461,
+ "y": 1227.0003032684326,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c2cbfcee.22cce",
+ "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": 974.0104598999023,
+ "y": 2637.455014243722,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "56e106d2.1167b8",
+ "89ea8657.378188"
+ ]
+ ]
+ },
+ {
+ "id": "56e106d2.1167b8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1248.0104598999023,
+ "y": 2606.455014243722,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "632777ee.b86828"
+ ]
+ ]
+ },
+ {
+ "id": "632777ee.b86828",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1439.0104598999023,
+ "y": 2609.455014243722,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "e06e57ab.700a78"
+ ]
+ ]
+ },
+ {
+ "id": "e06e57ab.700a78",
+ "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": 1607.0104598999023,
+ "y": 2610.455014243722,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f7c926e9.08c538",
+ "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": 946.5104598999023,
+ "y": 2753.455014243722,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "c6ff0354.0859f",
+ "d778f5ad.fe62e8"
+ ]
+ ]
+ },
+ {
+ "id": "35a4e2a.f70eb1e",
+ "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": 936.0104598999023,
+ "y": 2835.455014243722,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "bcfaca91.16b568",
+ "1c1f38cf.0dc277"
+ ]
+ ]
+ },
+ {
+ "id": "bcfaca91.16b568",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1118.5104598999023,
+ "y": 2843.455014243722,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "34803f17.0d486"
+ ]
+ ]
+ },
+ {
+ "id": "34803f17.0d486",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1303.5104598999023,
+ "y": 2841.455014243722,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "5b98a7a8.689378"
+ ]
+ ]
+ },
+ {
+ "id": "5b98a7a8.689378",
+ "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": 1505.5104598999023,
+ "y": 2836.455014243722,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c6ff0354.0859f",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1140.0104598999023,
+ "y": 2721.455014243722,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "6fa0ede6.1e6e34"
+ ]
+ ]
+ },
+ {
+ "id": "6fa0ede6.1e6e34",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1315.0104598999023,
+ "y": 2735.455014243722,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "cd2a8cc9.1d43"
+ ]
+ ]
+ },
+ {
+ "id": "cd2a8cc9.1d43",
+ "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": 1509.010498046875,
+ "y": 2740.455066218972,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "89ea8657.378188",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1247.0104598999023,
+ "y": 2663.455014243722,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "dc820b64.ec8f98"
+ ]
+ ]
+ },
+ {
+ "id": "dc820b64.ec8f98",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1416.0103378295898,
+ "y": 2669.455014243722,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "dd1013c1.cf531"
+ ]
+ ]
+ },
+ {
+ "id": "dd1013c1.cf531",
+ "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 Generic neighbor configuration\" />",
+ "comments": "",
+ "x": 1572.0100936889648,
+ "y": 2668.455014243722,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "d778f5ad.fe62e8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1161.0104598999023,
+ "y": 2792.455014243722,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "6cb87ace.347ac4"
+ ]
+ ]
+ },
+ {
+ "id": "6cb87ace.347ac4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1329.0103378295898,
+ "y": 2787.455014243722,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "17b38f59.cf07f1"
+ ]
+ ]
+ },
+ {
+ "id": "17b38f59.cf07f1",
+ "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 Generic neighbor configuration\" />",
+ "comments": "",
+ "x": 1487.0100326538086,
+ "y": 2790.455014243722,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "1c1f38cf.0dc277",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1116.0105056762695,
+ "y": 2926.4551458358765,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "dae9e9a2.afcdd8"
+ ]
+ ]
+ },
+ {
+ "id": "dae9e9a2.afcdd8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1292.010383605957,
+ "y": 2927.4551458358765,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "fb476c7b.68754"
+ ]
+ ]
+ },
+ {
+ "id": "fb476c7b.68754",
+ "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 Generic neighbor configuration\" />",
+ "comments": "",
+ "x": 1439.0100784301758,
+ "y": 2930.4551458358765,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "aff4f11d.04d36",
+ "type": "block",
+ "name": "DMAAP Payload Generation",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 678.0104751586914,
+ "y": 2755.4551124721766,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "c2cbfcee.22cce",
+ "f7c926e9.08c538",
+ "35a4e2a.f70eb1e"
+ ]
+ ]
+ },
+ {
+ "id": "4acad63d.a7f778",
+ "type": "block",
+ "name": "DMAAP Reponse Publish",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 535.0104904174805,
+ "y": 3138.3439359664917,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "ffd6b7b8.5bcc38",
+ "6931a118.b6b7c",
+ "2670f790.5b1d18",
+ "d084ebe2.267888"
+ ]
+ ]
+ },
+ {
+ "id": "6931a118.b6b7c",
+ "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": 808.0105667114258,
+ "y": 3534.455228328705,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "7fcb55d2.d8451c",
+ "26240f4d.4d365"
+ ]
+ ]
+ },
+ {
+ "id": "ffd6b7b8.5bcc38",
+ "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": 775.6772918701172,
+ "y": 2949.4551978111267,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "7fcb55d2.d8451c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 982.5105438232422,
+ "y": 3468.3719458580017,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "1a81ca87.c2f7f5"
+ ]
+ ]
+ },
+ {
+ "id": "26240f4d.4d365",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1005.5103988647461,
+ "y": 3597.372052669525,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "e18f5b28.3cf048"
+ ]
+ ]
+ },
+ {
+ "id": "1a81ca87.c2f7f5",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1163.5103149414062,
+ "y": 3471.3720755577087,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "6f0194a7.d99cdc"
+ ]
+ ]
+ },
+ {
+ "id": "6f0194a7.d99cdc",
+ "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": 1337.5100326538086,
+ "y": 3478.372000694275,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "e18f5b28.3cf048",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1165.5100440979004,
+ "y": 3589.37202501297,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "3ff76f63.b3d7b"
+ ]
+ ]
+ },
+ {
+ "id": "3ff76f63.b3d7b",
+ "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": 1342.5101623535156,
+ "y": 3594.372133731842,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "930ef09b.5a48d",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2678.010711669922,
+ "y": 1595.34375,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "4adc73cd.00985c",
+ "58a91b03.9f4034",
+ "767db4c8.9b2c9c",
+ "70692347.ebe8ec"
+ ]
+ ]
+ },
+ {
+ "id": "4adc73cd.00985c",
+ "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": 2960.0106353759766,
+ "y": 1448.3437967300415,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "58a91b03.9f4034",
+ "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": 2969.010726928711,
+ "y": 1561.3437929153442,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "767db4c8.9b2c9c",
+ "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": 2936.010711669922,
+ "y": 1666.34375,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "5aba40e9.83366",
+ "5185254.ba47adc"
+ ]
+ ]
+ },
+ {
+ "id": "5aba40e9.83366",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3151.010711669922,
+ "y": 1609.34375,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "81a8e5bc.9408b8"
+ ]
+ ]
+ },
+ {
+ "id": "5185254.ba47adc",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3171.010841369629,
+ "y": 1705.3436126708984,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "8b696420.27b9a8"
+ ]
+ ]
+ },
+ {
+ "id": "81a8e5bc.9408b8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3320.0105895996094,
+ "y": 1620.34375,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "a3a1d953.1d1988"
+ ]
+ ]
+ },
+ {
+ "id": "8b696420.27b9a8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3333.010597229004,
+ "y": 1706.343734741211,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "19555e64.229962"
+ ]
+ ]
+ },
+ {
+ "id": "a3a1d953.1d1988",
+ "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": 3474.010284423828,
+ "y": 1613.34375,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "19555e64.229962",
+ "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": 3488.0107955932617,
+ "y": 1703.3437433242798,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "aa870821.3d1dc8",
+ "type": "switchNode",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2561.010726928711,
+ "y": 1389.343770980835,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "79406b95.ab87b4",
+ "c5ab7399.3ed41"
+ ]
+ ]
+ },
+ {
+ "id": "79406b95.ab87b4",
+ "type": "outcome",
+ "name": "Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2603.010711669922,
+ "y": 1519.34375,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "930ef09b.5a48d"
+ ]
+ ]
+ },
+ {
+ "id": "70692347.ebe8ec",
+ "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": 3028.0106658935547,
+ "y": 1500.4549632072449,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c5ab7399.3ed41",
+ "type": "outcome",
+ "name": "Not Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2968.010673522949,
+ "y": 1379.676923751831,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "ba527ab0.0e2618"
+ ]
+ ]
+ },
+ {
+ "id": "2bf2313d.34842e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1252.010887145996,
+ "y": 2253.566168785095,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "249d1796.63a708",
+ "84091f17.4872e",
+ "33d19c43.ed2f84",
+ "93308a51.c86768"
+ ]
+ ]
+ },
+ {
+ "id": "249d1796.63a708",
+ "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": 1619.0108337402344,
+ "y": 2194.566216945648,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "84091f17.4872e",
+ "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": 1550.0108947753906,
+ "y": 2404.566210269928,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "23001d08.058bb2",
+ "ff528eb0.b86bc"
+ ]
+ ]
+ },
+ {
+ "id": "23001d08.058bb2",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1765.0108947753906,
+ "y": 2347.566210269928,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "a0575ef8.6aef5"
+ ]
+ ]
+ },
+ {
+ "id": "ff528eb0.b86bc",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1765.0107727050781,
+ "y": 2443.5660881996155,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "317710dd.b4676"
+ ]
+ ]
+ },
+ {
+ "id": "a0575ef8.6aef5",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1934.0107727050781,
+ "y": 2358.566210269928,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "e570c6e8.bc0fd8"
+ ]
+ ]
+ },
+ {
+ "id": "317710dd.b4676",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1927.0105285644531,
+ "y": 2444.566210269928,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "d272c80d.187538"
+ ]
+ ]
+ },
+ {
+ "id": "e570c6e8.bc0fd8",
+ "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": 2088.010467529297,
+ "y": 2351.566210269928,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "d272c80d.187538",
+ "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": 2082.010726928711,
+ "y": 2441.566218852997,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d92ec76.145f538",
+ "type": "switchNode",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1143.0110931396484,
+ "y": 1706.5660991668701,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "1fd3f981.479016",
+ "286c1d11.713412"
+ ]
+ ]
+ },
+ {
+ "id": "1fd3f981.479016",
+ "type": "outcome",
+ "name": "Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 982.0108909606934,
+ "y": 2096.5661640167236,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "2bf2313d.34842e"
+ ]
+ ]
+ },
+ {
+ "id": "33d19c43.ed2f84",
+ "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": 1670.0108337402344,
+ "y": 2247.677493095398,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "93f10180.52f46",
+ "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=\"CPS is Deployed, ConfigDB Skipped\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1582.010799407959,
+ "y": 1746.7880992889404,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "286c1d11.713412",
+ "type": "outcome",
+ "name": "Not Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1459.0107650756836,
+ "y": 1691.8993825912476,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "d1af5c67.fdb58"
+ ]
+ ]
+ },
+ {
+ "id": "93308a51.c86768",
+ "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": 1615.566390991211,
+ "y": 2304.3438897132874,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e7bf32b9.e031b",
+ "type": "set",
+ "name": "set properties for DMAAP header",
+ "xml": "<set>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.timestamp\" value=\"`$generic-neighbor-configuration-input.timeStamp`\"/>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.requestID\" value=\"`$generic-neighbor-configuration-input.requestID`\"/>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.subrequestID\" value=\"`$generic-neighbor-configuration-input.subRequestID`\"/>",
+ "comments": "",
+ "x": 509.00001525878906,
+ "y": 282.00001335144043,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "60f72e5.fbd16d",
+ "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 Message Header stored in properties file \"/>\n<parameter name=\"field2\" value=\"`$prop.oofpcipoc-dmaap-config-resp.timestamp`\"/>\n<parameter name=\"field3\" value=\"`$prop.oofpcipoc-dmaap-config-resp.requestID`\"/>\n<parameter name=\"field4\" value=\"`$prop.oofpcipoc-dmaap-config-resp.subrequestID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 427.00001525878906,
+ "y": 329.00001525878906,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2670f790.5b1d18",
+ "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=\"Before DMAAP Event - template file name, restapiURL\"/>\n<parameter name='field3' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish-config-response.template`\" />\n<parameter name='field4' value=\"`$prop.dmaap-message-router.url + '/' + $prop.oofpcipoc-dmaap-configuration-response.topic`\" />\n<parameter name=\"field5\" value=\"Before DMAAP Event - Timestamp, RequestID, subRequestID\"/>\n<parameter name=\"field6\" value=\"`$prop.oofpcipoc-dmaap-config-resp.timestamp`\"/>\n<parameter name=\"field7\" value=\"`$prop.oofpcipoc-dmaap-config-resp.requestID`\"/>\n<parameter name=\"field8\" value=\"`$prop.oofpcipoc-dmaap-config-resp.subrequestID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 803.0000457763672,
+ "y": 3434.0001196861267,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d084ebe2.267888",
+ "type": "block",
+ "name": "Remove escape chars",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 915.0000457763672,
+ "y": 3141.0001196861267,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "f9ccbf3.c1bcd4",
+ "8da2b6a4.dcf638",
+ "e68a19f7.b88c28"
+ ]
+ ]
+ },
+ {
+ "id": "f9ccbf3.c1bcd4",
+ "type": "execute",
+ "name": "Timestamp",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n <parameter name=\"source\" value=\"`$prop.oofpcipoc-dmaap-config-resp.timestamp`\"/>\n <parameter name=\"outputPath\" value=\"prop.oofpcipoc-dmaap-config-resp.timestamp\"/>\n <parameter name=\"target\" value='\"'/>\n <parameter name=\"replacement\" value=''/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1124.0000457763672,
+ "y": 3016.0001196861267,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "567a3b5.fa70ac4",
+ "b3d71006.25e6e"
+ ]
+ ]
+ },
+ {
+ "id": "567a3b5.fa70ac4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1306.5000457763672,
+ "y": 3024.0001196861267,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "89bcd707.05b798"
+ ]
+ ]
+ },
+ {
+ "id": "89bcd707.05b798",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1491.5000457763672,
+ "y": 3022.0001196861267,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "38874169.805fde"
+ ]
+ ]
+ },
+ {
+ "id": "38874169.805fde",
+ "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=\"Quotation removed from timestamp for DMAAP response header \\r\"/>\n<parameter name=\"field2\" value=\"`$prop.oofpcipoc-dmaap-config-resp.timestamp`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1694.5000457763672,
+ "y": 3018.0001196861267,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b3d71006.25e6e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1309.0000457763672,
+ "y": 3072.0001196861267,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "7a94e1e4.0f553"
+ ]
+ ]
+ },
+ {
+ "id": "7a94e1e4.0f553",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1484.9999237060547,
+ "y": 3073.0001196861267,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "a50374d8.dcbf88"
+ ]
+ ]
+ },
+ {
+ "id": "a50374d8.dcbf88",
+ "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 quotation from timestamp for DMAAP response header. Aborting Generic neighbor configuration\" />",
+ "comments": "",
+ "x": 1633.9996795654297,
+ "y": 3080.0001196861267,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "8da2b6a4.dcf638",
+ "type": "execute",
+ "name": "RequestID",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n <parameter name=\"source\" value=\"`$prop.oofpcipoc-dmaap-config-resp.requestID`\"/>\n <parameter name=\"outputPath\" value=\"prop.oofpcipoc-dmaap-config-resp.requestID\"/>\n <parameter name=\"target\" value='\"'/>\n <parameter name=\"replacement\" value=''/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1131.0000457763672,
+ "y": 3157.0001196861267,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "567daefe.62743",
+ "4e7eafbc.78d51"
+ ]
+ ]
+ },
+ {
+ "id": "567daefe.62743",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1313.5000457763672,
+ "y": 3165.0001196861267,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "dc82dc0e.ded07"
+ ]
+ ]
+ },
+ {
+ "id": "dc82dc0e.ded07",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1498.5000457763672,
+ "y": 3163.0001196861267,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "4f1f938c.7228cc"
+ ]
+ ]
+ },
+ {
+ "id": "4f1f938c.7228cc",
+ "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=\"Quotation removed from requestID for DMAAP response header \\r\"/>\n<parameter name=\"field2\" value=\"`$prop.oofpcipoc-dmaap-config-resp.requestID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1700.5000457763672,
+ "y": 3158.0001196861267,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4e7eafbc.78d51",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1316.0000457763672,
+ "y": 3213.0001196861267,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "3a618076.c7184"
+ ]
+ ]
+ },
+ {
+ "id": "3a618076.c7184",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1491.9999237060547,
+ "y": 3214.0001196861267,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "699e9a48.29bf84"
+ ]
+ ]
+ },
+ {
+ "id": "699e9a48.29bf84",
+ "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 quotation from requestID for DMAAP response header. Aborting Generic neighbor configuration\" />",
+ "comments": "",
+ "x": 1640.9996795654297,
+ "y": 3217.0001196861267,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "e68a19f7.b88c28",
+ "type": "execute",
+ "name": "subRequestID",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n <parameter name=\"source\" value=\"`$prop.oofpcipoc-dmaap-config-resp.subrequestID`\"/>\n <parameter name=\"outputPath\" value=\"prop.oofpcipoc-dmaap-config-resp.subrequestID\"/>\n <parameter name=\"target\" value='\"'/>\n <parameter name=\"replacement\" value=''/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1066.0000457763672,
+ "y": 3297.0001196861267,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "70e4e400.6f6b0c",
+ "29726f64.f84e6"
+ ]
+ ]
+ },
+ {
+ "id": "70e4e400.6f6b0c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1248.5000457763672,
+ "y": 3305.0001196861267,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "37640942.de0cb6"
+ ]
+ ]
+ },
+ {
+ "id": "37640942.de0cb6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1433.5000457763672,
+ "y": 3303.0001196861267,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "ac06cbd7.5ffe78"
+ ]
+ ]
+ },
+ {
+ "id": "ac06cbd7.5ffe78",
+ "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=\"Quotation removed from subRequestID for DMAAP response header \\r\"/>\n<parameter name=\"field2\" value=\"`$prop.oofpcipoc-dmaap-config-resp.subrequestID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1635.5000457763672,
+ "y": 3298.0001196861267,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "29726f64.f84e6",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1251.0000457763672,
+ "y": 3353.0001196861267,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "74e109e3.b6feb8"
+ ]
+ ]
+ },
+ {
+ "id": "74e109e3.b6feb8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1426.9999237060547,
+ "y": 3354.0001196861267,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "5d0ff201.dc64ac"
+ ]
+ ]
+ },
+ {
+ "id": "5d0ff201.dc64ac",
+ "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 quotation from timestamp for DMAAP response header. Aborting Generic neighbor configuration\" />",
+ "comments": "",
+ "x": 1573.9996185302734,
+ "y": 3357.0001196861267,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "1577847a.1d5f6c",
+ "type": "switchNode",
+ "name": "is blacklisted",
+ "xml": "<switch test='`$tmp.blacklisted`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1231.1670532226562,
+ "y": 993.5000534057617,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "946523b8.a67ed",
+ "e15182c0.a579d"
+ ]
+ ]
+ },
+ {
+ "id": "946523b8.a67ed",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1421.1670608520508,
+ "y": 975.5000524520874,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "6fb4f377.ac9bfc"
+ ]
+ ]
+ },
+ {
+ "id": "e15182c0.a579d",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1428.1392288208008,
+ "y": 1016.138970375061,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "3abd8298.38a49e"
+ ]
+ ]
+ },
+ {
+ "id": "ca8a497f.b31af8",
+ "type": "set",
+ "name": "set isHOAllowed as false",
+ "xml": "<set>\n<parameter name='tmp.isHOAllowed' value='false' />",
+ "comments": "",
+ "x": 1852.1114044189453,
+ "y": 972.2500524520874,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "1eb0f86b.b79b18",
+ "type": "set",
+ "name": "set isHOAllowed as true",
+ "xml": "<set>\n<parameter name='tmp.isHOAllowed' value='true' />",
+ "comments": "",
+ "x": 1845.5557403564453,
+ "y": 1010.583306312561,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "6fb4f377.ac9bfc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1605.1670608520508,
+ "y": 974.2777223587036,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "ca8a497f.b31af8"
+ ]
+ ]
+ },
+ {
+ "id": "3abd8298.38a49e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1593.3335647583008,
+ "y": 1021.6943893432617,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "1eb0f86b.b79b18"
+ ]
+ ]
+ },
+ {
+ "id": "3169a8c9.907d98",
+ "type": "set",
+ "name": "set tmp variables",
+ "xml": "<set>\n<parameter name=\"tmp.idNRCellCU\" value=\"`$generic-neighbor-configuration-input.alias`\"/>\n<parameter name=\"tmp.idNRCellRelation\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`\"/>\n<parameter name=\"tmp.idGNBCUCPFunction\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`\"/>",
+ "comments": "",
+ "x": 1268.5003623962402,
+ "y": 1049.833408355713,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "3cb1366f.8d826a",
+ "type": "execute",
+ "name": "populate mount name",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUCPFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1313.1671600341797,
+ "y": 1186.8333339691162,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "de3a05a7.e701b8",
+ "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=\"URL to fetch the anchors\"/>\n<parameter name=\"field2\" value=\"`$tmp.getAnchors.URL`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 463.8641052246094,
+ "y": 459.2198209762573,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9bb028f2.db2468",
+ "type": "execute",
+ "name": "getAnchors URL",
+ "xml": "<set>\n\t<parameter name='tmp.getAnchors.URL' value=\"`$prop.restapi.cps.anchors.endpoint`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 475.61402130126953,
+ "y": 410.0411891937256,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f7ad096.d2436f8",
+ "type": "execute",
+ "name": "set anchors size",
+ "xml": "<set>\n\t<parameter name='tmp.anchors.length' value=\"`$get-anchors-cps-response._length`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 500.1614685058594,
+ "y": 552.1478424072266,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a70dd3e.6a6d93",
+ "type": "execute",
+ "name": "read schemaSet",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 904.6612167358398,
+ "y": 537.0009912252426,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "af6cef55.1e54",
+ "type": "execute",
+ "name": "initialize nearRTRIC size",
+ "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"0\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 532.7517242431641,
+ "y": 595.3860845565796,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1fe24176.dc612f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 701.1695327758789,
+ "y": 671.8983345031738,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "83ef995b.44f558",
+ "5a9daa84.8e7e94"
+ ]
+ ]
+ },
+ {
+ "id": "407ae7e2.a7a818",
+ "type": "execute",
+ "name": "read anchorName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.anchor.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].name'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1487.868064880371,
+ "y": 590.8191026449203,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9094b79e.87e8e8",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 506.0372009277344,
+ "y": 632.2833023071289,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "8d418abb.d22398"
+ ]
+ ]
+ },
+ {
+ "id": "8d418abb.d22398",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 710.5691070556641,
+ "y": 627.2396011352539,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "f11635d9.94f628",
+ "a70dd3e.6a6d93"
+ ]
+ ]
+ },
+ {
+ "id": "f11635d9.94f628",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 929.1457748413086,
+ "y": 584.0967788696289,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "61a56e3c.84392"
+ ]
+ ]
+ },
+ {
+ "id": "61a56e3c.84392",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1112.4513664245605,
+ "y": 548.5690269470215,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "6f7f8000.29593"
+ ]
+ ]
+ },
+ {
+ "id": "6f7f8000.29593",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1283.7537994384766,
+ "y": 534.9023221731186,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "741656f6.246a28",
+ "d43a8ba2.3521b8"
+ ]
+ ]
+ },
+ {
+ "id": "741656f6.246a28",
+ "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=\"Applicable RIC length\"/>\n<parameter name=\"field2\" value=\"`$tmp.RIC.length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1462.667221069336,
+ "y": 534.7078641653061,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5a9daa84.8e7e94",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 926.9450225830078,
+ "y": 662.470227599144,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "ddd94009.78655"
+ ]
+ ]
+ },
+ {
+ "id": "83ef995b.44f558",
+ "type": "execute",
+ "name": "read schemaSet",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 910.9728546142578,
+ "y": 621.2202256917953,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ddd94009.78655",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1110.7506103515625,
+ "y": 618.9425166845322,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "838ecad.13fcb38"
+ ]
+ ]
+ },
+ {
+ "id": "838ecad.13fcb38",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1306.8864440917969,
+ "y": 621.1646836996078,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "407ae7e2.a7a818",
+ "c674f03e.cb441"
+ ]
+ ]
+ },
+ {
+ "id": "d06cbb2.c114f48",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 499.9104118347168,
+ "y": 677.7440776824951,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "1fe24176.dc612f"
+ ]
+ ]
+ },
+ {
+ "id": "d43a8ba2.3521b8",
+ "type": "execute",
+ "name": "set nearRTRIC size",
+ "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"`$tmp.RIC.length+1`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 1461.7253341674805,
+ "y": 486.3869060277939,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c674f03e.cb441",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1503.8125610351562,
+ "y": 639.5412734746933,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "67f3f02e.cef2d",
+ "c975d05b.736f6",
+ "5bf34deb.8e8284",
+ "8f5e0c3c.2253a"
+ ]
+ ]
+ },
+ {
+ "id": "41c9bca7.cdd294",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 713.1180114746094,
+ "y": 435.59669530391693,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "b8edcb4f.84a218"
+ ]
+ ]
+ },
+ {
+ "id": "5ebabfb2.b0a7",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 727.1181831359863,
+ "y": 509.79111099243164,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "371577a3.4dcb38"
+ ]
+ ]
+ },
+ {
+ "id": "b8edcb4f.84a218",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 855.8125076293945,
+ "y": 433.2078946828842,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "2cea6546.f8524a",
+ "919c4a17.e18f38"
+ ]
+ ]
+ },
+ {
+ "id": "371577a3.4dcb38",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 875.5623435974121,
+ "y": 486.4578174352646,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "c51bb9be.043198",
+ "5f3e2b6e.3fc884"
+ ]
+ ]
+ },
+ {
+ "id": "2cea6546.f8524a",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1039.5899353027344,
+ "y": 397.0411046743393,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "c51bb9be.043198",
+ "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=\"Successfully Obtained anchors from CPS\"/>\n<parameter name=\"field2\" value=\"`$get-anchors-cps-response._length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1057.3121070861816,
+ "y": 470.7078584432602,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5f3e2b6e.3fc884",
+ "type": "execute",
+ "name": "printContext",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/generic-neighbor-config-context.log' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1070.840347290039,
+ "y": 503.4578603506088,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "919c4a17.e18f38",
+ "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=\"Failed to fetch anchors from CPS\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1033.3958473205566,
+ "y": 433.56894052028656,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d7e45a32.b4d418",
+ "type": "execute",
+ "name": "Get list of anchors from CPS",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.getAnchors.URL`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"restapiUser\" value=\"cpsuser\" />\n<parameter name=\"restapiPassword\" value=\"cpsr0cks!\"/>\n<parameter name=\"responsePrefix\" value=\"get-anchors-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 520.8124313354492,
+ "y": 507.81503677368164,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "5ebabfb2.b0a7",
+ "41c9bca7.cdd294"
+ ]
+ ]
+ },
+ {
+ "id": "f3dfa93.7c55758",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2009.666732788086,
+ "y": 668.3333171606064,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "326815d6.314a1a"
+ ]
+ ]
+ },
+ {
+ "id": "326815d6.314a1a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2218.6666984558105,
+ "y": 639.3334592580795,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "cd53dc39.6f5fe",
+ "5e93e115.1f018",
+ "95fad188.aca92"
+ ]
+ ]
+ },
+ {
+ "id": "f3f09b9d.56e458",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2032.666696548462,
+ "y": 614.3334592580795,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "83182085.7e845"
+ ]
+ ]
+ },
+ {
+ "id": "83182085.7e845",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2255.5240592956543,
+ "y": 566.6191524267197,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "4148e3a5.cfe5cc"
+ ]
+ ]
+ },
+ {
+ "id": "67f3f02e.cef2d",
+ "type": "execute",
+ "name": "generate getNearRTRICsFromidGNBCUCPFunction URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRICByidGNBCUCPFunction.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.anchor.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1814.5988883972168,
+ "y": 527.2653239965439,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c975d05b.736f6",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.getNearRTRICByidGNBCUCPFunction.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRICByidGNBCUCPFunction.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-nearrtric-by-idgnbcucpfunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1734.5989418029785,
+ "y": 569.2653249502182,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5bf34deb.8e8284",
+ "type": "record",
+ "name": "record TBDMT RestAPI params",
+ "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 CPS TDBMT to Get NearRTRIC for idGNBCUCPFunction\"/>\n<parameter name='field2' value=\"`$tmp.cps.getNearRTRICByidGNBCUCPFunction.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1761.5989036560059,
+ "y": 610.2653259038925,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8f5e0c3c.2253a",
+ "type": "execute",
+ "name": "Get nearRTRIC for idGNBCUCPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getNearRTRICByidGNBCUCPFunction.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-nearrtric-by-idgnbcucpfunction.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getNFNSSIRIC-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1761.5988426208496,
+ "y": 655.2653278112411,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "f3f09b9d.56e458",
+ "f3dfa93.7c55758"
+ ]
+ ]
+ },
+ {
+ "id": "5e93e115.1f018",
+ "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=\"Successfully Obtained NearRTRIC ID info from CPS\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2425.598705291748,
+ "y": 664.2652778625488,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cd53dc39.6f5fe",
+ "type": "execute",
+ "name": "printContext",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/generic-neighbor-config-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2404.376777648926,
+ "y": 716.2654819488525,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4148e3a5.cfe5cc",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2427.598850250244,
+ "y": 568.3763355016708,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "10934b39.ffd225",
+ "type": "set",
+ "name": "set tmp variables",
+ "xml": "<set>\n<parameter name=\"tmp.idGNBCUCP\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[0].pnf-name`\"/>\n",
+ "comments": "",
+ "x": 483.6666793823242,
+ "y": 372.66667652130127,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "95fad188.aca92",
+ "type": "execute",
+ "name": "read nearRTRICId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nearRTRICId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.[0]'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2443.6667404174805,
+ "y": 616.0000200271606,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "373ba965.6da6d6",
+ "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=\"idGNBCUCPFunction\"/>\n<parameter name=\"field2\" value=\"`$tmp.idGNBCUCPFunction`\"/>\n<parameter name=\"field3\" value=\"idNRCellCU\"/>\n<parameter name=\"field4\" value=\"`$tmp.idNRCellCU`\"/>\n<parameter name=\"field5\" value=\"idNRCellRelation\"/>\n<parameter name=\"field6\" value=\"`$tmp.idNRCellRelation`\"/>\n<parameter name=\"field7\" value=\"isHOAllowed\"/>\n<parameter name=\"field8\" value=\"`$tmp.isHOAllowed`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1259.7117614746094,
+ "y": 1096.7777938842773,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9f39dc7c.52b21",
+ "type": "switchNode",
+ "name": "is blacklisted",
+ "xml": "<switch test='`$tmp.blacklisted`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2568.888671875,
+ "y": 827.22216796875,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "9d10106a.87529",
+ "8fa2831b.86f9f"
+ ]
+ ]
+ },
+ {
+ "id": "9d10106a.87529",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2758.8886795043945,
+ "y": 809.2221670150757,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "40b3b8df.eaa5e8"
+ ]
+ ]
+ },
+ {
+ "id": "8fa2831b.86f9f",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2765.8608474731445,
+ "y": 849.8610849380493,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "c72d042e.f0ed18"
+ ]
+ ]
+ },
+ {
+ "id": "e14437e8.0c1798",
+ "type": "set",
+ "name": "set isHOAllowed as false",
+ "xml": "<set>\n<parameter name='tmp.isHOAllowed' value='false' />",
+ "comments": "",
+ "x": 3189.833023071289,
+ "y": 805.9721670150757,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "90c2d9cb.fd70d8",
+ "type": "set",
+ "name": "set isHOAllowed as true",
+ "xml": "<set>\n<parameter name='tmp.isHOAllowed' value='true' />",
+ "comments": "",
+ "x": 3183.277359008789,
+ "y": 844.3054208755493,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "40b3b8df.eaa5e8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2942.8886795043945,
+ "y": 807.9998369216919,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "e14437e8.0c1798"
+ ]
+ ]
+ },
+ {
+ "id": "c72d042e.f0ed18",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2931.0551834106445,
+ "y": 855.41650390625,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "90c2d9cb.fd70d8"
+ ]
+ ]
+ },
+ {
+ "id": "45013d85.fa83d4",
+ "type": "set",
+ "name": "set tmp variables",
+ "xml": "<set>\n<parameter name=\"tmp.idNRCellCU\" value=\"`$generic-neighbor-configuration-input.alias`\"/>\n<parameter name=\"tmp.idNRCellRelation\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`\"/>\n<parameter name=\"tmp.idGNBCUCPFunction\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`\"/>\n",
+ "comments": "",
+ "x": 2587.88871383667,
+ "y": 880.2221946716309,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "5f243bba.b161e4",
+ "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=\"idGNBCUCPFunction\"/>\n<parameter name=\"field2\" value=\"`$tmp.idGNBCUCPFunction`\"/>\n<parameter name=\"field3\" value=\"idNRCellCU\"/>\n<parameter name=\"field4\" value=\"`$tmp.idNRCellCU`\"/>\n<parameter name=\"field5\" value=\"idNRCellRelation\"/>\n<parameter name=\"field6\" value=\"`$tmp.idNRCellRelation`\"/>\n<parameter name=\"field7\" value=\"isHOAllowed\"/>\n<parameter name=\"field8\" value=\"`$tmp.isHOAllowed`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2569.099895477295,
+ "y": 927.1665344238281,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bebe4349.77d2a",
+ "type": "execute",
+ "name": "populate idNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idNRCellCU`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2600.5553817749023,
+ "y": 1063.3332424163818,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5ea14f7f.17ed8",
+ "type": "execute",
+ "name": "populate idNRCellRelation",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{idNRCellRelation}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idNRCellRelation`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2610.2218017578125,
+ "y": 1117.666498184204,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "64cf510a.3b8af",
+ "type": "execute",
+ "name": "populate idGNBCUCPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUCPFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2626.3781356811523,
+ "y": 1023.5554599761963,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9e155549.5896c8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1862.4895935058594,
+ "y": 1867.3333358764648,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "cdb46a6f.0e7258"
+ ]
+ ]
+ },
+ {
+ "id": "cdb46a6f.0e7258",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2107.1562881469727,
+ "y": 1823.000036239624,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "a9968de0.63b34",
+ "94246f8f.76ce2"
+ ]
+ ]
+ },
+ {
+ "id": "94246f8f.76ce2",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2287.823287963867,
+ "y": 1794.4443283081055,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "a9968de0.63b34",
+ "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 nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2306.823127746582,
+ "y": 1849.3333311080933,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "fd36d781.0b1f58",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1880.307731628418,
+ "y": 1989.90904712677,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "1d742694.8b3909"
+ ]
+ ]
+ },
+ {
+ "id": "1d742694.8b3909",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2130.3076553344727,
+ "y": 1934.9092264175415,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "44edb54a.197b3c"
+ ]
+ ]
+ },
+ {
+ "id": "44edb54a.197b3c",
+ "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=\"Successfully Updated NRCellRelation info in cps\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2315.641159057617,
+ "y": 1912.909429550171,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1cddaa8b.6b4d65",
+ "type": "execute",
+ "name": "generate put ho nrcellrelation url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putho.nrcellrelation.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1650.0217018127441,
+ "y": 1800.6272945404053,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "79c09044.6786a",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.putho.nrcellrelation.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putho.nrcellrelation.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-ho-nrcellrelation`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1617.0217933654785,
+ "y": 1854.9607162475586,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7700fa24.c4e3f4",
+ "type": "execute",
+ "name": "put ho nrcellrelation",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.putho.nrcellrelation.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-ho.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-put-ho-nrcellrelation-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1592.4880065917969,
+ "y": 1961.7605991363525,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "9e155549.5896c8",
+ "fd36d781.0b1f58"
+ ]
+ ]
+ },
+ {
+ "id": "95486537.7ac7e8",
+ "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=\"URL for CPS TDBMT to put ho NRCellRelation\"/>\n<parameter name='field2' value=\"`$tmp.cps.putho.nrcellrelation.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1572.6618385314941,
+ "y": 1909.0104360580444,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d1af5c67.fdb58",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1366.489631652832,
+ "y": 1801.0000190734863,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "93f10180.52f46",
+ "1cddaa8b.6b4d65",
+ "79c09044.6786a",
+ "95486537.7ac7e8",
+ "7700fa24.c4e3f4"
+ ]
+ ]
+ },
+ {
+ "id": "c25c8f0d.b4cba",
+ "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=\"CPS is Deployed, ConfigDB Skipped\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3642.4895935058594,
+ "y": 1324.9999618530273,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fd4585dd.6f7968",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3922.9683876037598,
+ "y": 1445.5451984405518,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "1957764d.836eda"
+ ]
+ ]
+ },
+ {
+ "id": "1957764d.836eda",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4167.635082244873,
+ "y": 1401.211898803711,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "349e112d.34672e",
+ "bbfdb4c0.226c88"
+ ]
+ ]
+ },
+ {
+ "id": "bbfdb4c0.226c88",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 4348.302082061768,
+ "y": 1372.6561908721924,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "349e112d.34672e",
+ "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 nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 4367.301921844482,
+ "y": 1427.5451936721802,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "a4f91c57.9103d",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3940.7865257263184,
+ "y": 1568.120909690857,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "b3914248.387d"
+ ]
+ ]
+ },
+ {
+ "id": "b3914248.387d",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4190.786449432373,
+ "y": 1513.1210889816284,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "5acde69b.f09838"
+ ]
+ ]
+ },
+ {
+ "id": "5acde69b.f09838",
+ "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=\"Successfully Updated NRCellRelation info in cps\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4376.119953155518,
+ "y": 1491.1212921142578,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "27ea019e.45b9ee",
+ "type": "execute",
+ "name": "generate put ho nrcellrelation url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putho.nrcellrelation.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3710.5004959106445,
+ "y": 1378.8391571044922,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "59dedc4a.982cc4",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.putho.nrcellrelation.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putho.nrcellrelation.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-ho-nrcellrelation`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3677.500587463379,
+ "y": 1433.1725788116455,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d3a09b5b.555268",
+ "type": "execute",
+ "name": "put ho nrcellrelation",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.putho.nrcellrelation.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-ho.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-put-ho-nrcellrelation-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3652.9668006896973,
+ "y": 1539.9724617004395,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "fd4585dd.6f7968",
+ "a4f91c57.9103d"
+ ]
+ ]
+ },
+ {
+ "id": "3e16ab69.933c34",
+ "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=\"URL for CPS TDBMT to put ho NRCellRelation\"/>\n<parameter name='field2' value=\"`$tmp.cps.putho.nrcellrelation.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3633.1406326293945,
+ "y": 1487.2222986221313,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ba527ab0.0e2618",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3426.9684257507324,
+ "y": 1379.2118816375732,
+ "z": "a817abf.35eaf58",
+ "wires": [
+ [
+ "c25c8f0d.b4cba",
+ "27ea019e.45b9ee",
+ "59dedc4a.982cc4",
+ "3e16ab69.933c34",
+ "d3a09b5b.555268"
+ ]
+ ]
+ },
+ {
+ "id": "2f6afb57.2d6634",
+ "type": "set",
+ "name": "set nrtci",
+ "xml": "<set>\n<parameter name=\"tmp.nRTCI\" value=\"`$oofpci-neighbor-response.attributes.nRTCI`\"/>",
+ "comments": "",
+ "x": 1913.3334255218506,
+ "y": 1370.0000538825989,
+ "z": "a817abf.35eaf58",
+ "wires": []
+ },
+ {
+ "id": "38bb1b5b.cee544",
+ "type": "set",
+ "name": "set nrtci",
+ "xml": "<set>\n<parameter name=\"tmp.nRTCI\" value=\"`$oofpci-neighbor-response.attributes.nRTCI`\"/>",
+ "comments": "",
+ "x": 3263.333251953125,
+ "y": 1036.6666259765625,
+ "z": "a817abf.35eaf58",
+ "wires": []