+ "x": 1643.5663146972656,
+ "y": 1872.343698501587,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7cd3ca30.741c94",
+ "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": 502.00001525878906,
+ "y": 290.00001335144043,
+ "z": "ba52aa5d.7da518",
+ "wires": []
+ },
+ {
+ "id": "bbcc5cf.88148a",
+ "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": 420.00001525878906,
+ "y": 337.00001525878906,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cd3ce974.da7d58",
+ "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": 731,
+ "y": 2912,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5b6a153c.794bcc",
+ "type": "block",
+ "name": "Remove escape chars",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 843,
+ "y": 2619,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "cbc86ebb.71eb2",
+ "875e25e0.d14788",
+ "aec66be4.1a46d8"
+ ]
+ ]
+ },
+ {
+ "id": "cbc86ebb.71eb2",
+ "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": 1052,
+ "y": 2494,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "776ec5d0.227d8c",
+ "b0936ee4.f42ca"
+ ]
+ ]
+ },
+ {
+ "id": "776ec5d0.227d8c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1234.5,
+ "y": 2502,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "cf59cce8.2f19e"
+ ]
+ ]
+ },
+ {
+ "id": "cf59cce8.2f19e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1419.5,
+ "y": 2500,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "d98a36c.52542c8"
+ ]
+ ]
+ },
+ {
+ "id": "d98a36c.52542c8",
+ "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": 1622.5,
+ "y": 2496,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b0936ee4.f42ca",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1237,
+ "y": 2550,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "32d62120.888e4e"
+ ]
+ ]
+ },
+ {
+ "id": "32d62120.888e4e",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1412.9998779296875,
+ "y": 2551,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "45a46d90.7d2244"
+ ]
+ ]
+ },
+ {
+ "id": "45a46d90.7d2244",
+ "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": 1561.9996337890625,
+ "y": 2558,
+ "z": "ba52aa5d.7da518",
+ "wires": []
+ },
+ {
+ "id": "875e25e0.d14788",
+ "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": 1059,
+ "y": 2635,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "af3350db.e3c08",
+ "7bd80c3f.6380d4"
+ ]
+ ]
+ },
+ {
+ "id": "af3350db.e3c08",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1241.5,
+ "y": 2643,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "f81169a0.ffff98"
+ ]
+ ]
+ },
+ {
+ "id": "f81169a0.ffff98",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1426.5,
+ "y": 2641,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "9ca6fb97.6d2b88"
+ ]
+ ]
+ },
+ {
+ "id": "9ca6fb97.6d2b88",
+ "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": 1628.5,
+ "y": 2636,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7bd80c3f.6380d4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1244,
+ "y": 2691,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "b7af02a1.eb5e5"
+ ]
+ ]
+ },
+ {
+ "id": "b7af02a1.eb5e5",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1419.9998779296875,
+ "y": 2692,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "e88dc04a.0cc3c"
+ ]
+ ]
+ },
+ {
+ "id": "e88dc04a.0cc3c",
+ "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": 1568.9996337890625,
+ "y": 2695,
+ "z": "ba52aa5d.7da518",
+ "wires": []
+ },
+ {
+ "id": "aec66be4.1a46d8",
+ "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": 994,
+ "y": 2775,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "136f42ab.3624cd",
+ "8e508cb5.f7701"
+ ]
+ ]
+ },
+ {
+ "id": "136f42ab.3624cd",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1176.5,
+ "y": 2783,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "3088751b.117c8a"
+ ]
+ ]
+ },
+ {
+ "id": "3088751b.117c8a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1361.5,
+ "y": 2781,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "e41a7390.16911"
+ ]
+ ]
+ },
+ {
+ "id": "e41a7390.16911",
+ "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": 1563.5,
+ "y": 2776,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8e508cb5.f7701",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1179,
+ "y": 2831,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "e6b9a11a.001ca"
+ ]
+ ]
+ },
+ {
+ "id": "e6b9a11a.001ca",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1354.9998779296875,
+ "y": 2832,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "1b54dee8.603921"
+ ]
+ ]
+ },
+ {
+ "id": "1b54dee8.603921",
+ "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": 1501.9995727539062,
+ "y": 2835,
+ "z": "ba52aa5d.7da518",
+ "wires": []
+ },
+ {
+ "id": "5c4ab543.f31ddc",
+ "type": "switchNode",
+ "name": "is blacklisted",
+ "xml": "<switch test='`$tmp.blacklisted`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1224.1670532226562,
+ "y": 1001.5000534057617,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "28bfe2e0.1a95de",
+ "6a8ef43d.8ca4ac"
+ ]
+ ]
+ },
+ {
+ "id": "28bfe2e0.1a95de",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1414.1670608520508,
+ "y": 983.5000524520874,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "f7d721de.3cffd"
+ ]
+ ]
+ },
+ {
+ "id": "6a8ef43d.8ca4ac",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1421.1392288208008,
+ "y": 1024.138970375061,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "d40bd77.df06128"
+ ]
+ ]
+ },
+ {
+ "id": "592ca236.e1fefc",
+ "type": "set",
+ "name": "set isHOAllowed as false",
+ "xml": "<set>\n<parameter name='tmp.isHOAllowed' value='false' />",
+ "comments": "",
+ "x": 1845.1114044189453,
+ "y": 980.2500524520874,
+ "z": "ba52aa5d.7da518",
+ "wires": []
+ },
+ {
+ "id": "41e1e4e5.45746c",
+ "type": "set",
+ "name": "set isHOAllowed as true",
+ "xml": "<set>\n<parameter name='tmp.isHOAllowed' value='true' />",
+ "comments": "",
+ "x": 1838.5557403564453,
+ "y": 1018.583306312561,
+ "z": "ba52aa5d.7da518",
+ "wires": []
+ },
+ {
+ "id": "f7d721de.3cffd",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1598.1670608520508,
+ "y": 982.2777223587036,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "592ca236.e1fefc"
+ ]
+ ]
+ },
+ {
+ "id": "d40bd77.df06128",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1586.3335647583008,
+ "y": 1029.6943893432617,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "41e1e4e5.45746c"
+ ]
+ ]
+ },
+ {
+ "id": "da948640.2c3ab8",
+ "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": 1264.833724975586,
+ "y": 1062.833387374878,
+ "z": "ba52aa5d.7da518",
+ "wires": []
+ },
+ {
+ "id": "ef51be71.1c8b7",
+ "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": 1332.833740234375,
+ "y": 1194.8333902359009,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b4970e49.8e08a",
+ "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": 456.8641052246094,
+ "y": 467.2198209762573,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "77dc5996.8aefe8",
+ "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": 468.61402130126953,
+ "y": 418.0411891937256,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "73510d60.c124f4",
+ "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": 493.1614685058594,
+ "y": 560.1478424072266,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9e42c136.00ec7",
+ "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": 897.6612167358398,
+ "y": 545.0009912252426,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b00cf0ba.8e879",
+ "type": "execute",
+ "name": "initialize nearRTRIC size",
+ "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"0\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 525.7517242431641,
+ "y": 603.3860845565796,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1d8ac468.6c3afc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 694.1695327758789,
+ "y": 679.8983345031738,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "f836a67d.4bc658",
+ "18bb9af.b640365"
+ ]
+ ]
+ },
+ {
+ "id": "8ae1144f.440b88",
+ "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": 1480.868064880371,
+ "y": 598.8191026449203,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "90c1420f.c4f22",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 499.0372009277344,
+ "y": 640.2833023071289,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "c3e641b3.c84f4"
+ ]
+ ]
+ },
+ {
+ "id": "c3e641b3.c84f4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 703.5691070556641,
+ "y": 635.2396011352539,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "40b98a83.a14c54",
+ "9e42c136.00ec7"
+ ]
+ ]
+ },
+ {
+ "id": "40b98a83.a14c54",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 922.1457748413086,
+ "y": 592.0967788696289,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "da640197.e461a"
+ ]
+ ]
+ },
+ {
+ "id": "da640197.e461a",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1105.4513664245605,
+ "y": 556.5690269470215,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "11ccb517.1119fb"
+ ]
+ ]
+ },
+ {
+ "id": "11ccb517.1119fb",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1276.7537994384766,
+ "y": 542.9023221731186,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "c71c8219.a18a1",
+ "98e97a0b.4da6e8"
+ ]
+ ]
+ },
+ {
+ "id": "c71c8219.a18a1",
+ "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": 1455.667221069336,
+ "y": 542.7078641653061,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "18bb9af.b640365",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 919.9450225830078,
+ "y": 670.470227599144,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "d26ee057.d497e"
+ ]
+ ]
+ },
+ {
+ "id": "f836a67d.4bc658",
+ "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": 903.9728546142578,
+ "y": 629.2202256917953,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d26ee057.d497e",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1103.7506103515625,
+ "y": 626.9425166845322,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "e0cbe49.9bce318"
+ ]
+ ]
+ },
+ {
+ "id": "e0cbe49.9bce318",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1299.8864440917969,
+ "y": 629.1646836996078,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "8ae1144f.440b88",
+ "f3c2abf1.866b48"
+ ]
+ ]
+ },
+ {
+ "id": "9396c2a0.564ea",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 492.9104118347168,
+ "y": 685.7440776824951,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "1d8ac468.6c3afc"
+ ]
+ ]
+ },
+ {
+ "id": "98e97a0b.4da6e8",
+ "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": 1454.7253341674805,
+ "y": 494.3869060277939,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f3c2abf1.866b48",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1496.8125610351562,
+ "y": 647.5412734746933,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "bfb3f93a.edfc18",
+ "134e6919.4e7fe7",
+ "9e0ba266.4ebcd",
+ "c7a30496.056fc8"
+ ]
+ ]
+ },
+ {
+ "id": "ca517b43.2aeca8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 706.1180114746094,
+ "y": 443.59669530391693,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "9e24122a.3085c"
+ ]
+ ]
+ },
+ {
+ "id": "409278f2.c2d6f8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 720.1181831359863,
+ "y": 517.7911109924316,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "ee6b8e61.ccabf"
+ ]
+ ]
+ },
+ {
+ "id": "9e24122a.3085c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 848.8125076293945,
+ "y": 441.2078946828842,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "acc55fb9.69327",
+ "b5f28a20.bc92b8"
+ ]
+ ]
+ },
+ {
+ "id": "ee6b8e61.ccabf",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 868.5623435974121,
+ "y": 494.4578174352646,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "625a0242.878bbc",
+ "c7919812.55b3d8"
+ ]
+ ]
+ },
+ {
+ "id": "acc55fb9.69327",
+ "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": 1032.5899353027344,
+ "y": 405.0411046743393,
+ "z": "ba52aa5d.7da518",
+ "wires": []
+ },
+ {
+ "id": "625a0242.878bbc",
+ "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": 1050.3121070861816,
+ "y": 478.7078584432602,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c7919812.55b3d8",
+ "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": 1063.840347290039,
+ "y": 511.4578603506088,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b5f28a20.bc92b8",
+ "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": 1026.3958473205566,
+ "y": 441.56894052028656,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9acf91d1.bea66",
+ "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": 513.8124313354492,
+ "y": 515.8150367736816,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "409278f2.c2d6f8",
+ "ca517b43.2aeca8"
+ ]
+ ]
+ },
+ {
+ "id": "72b8842.106437c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2002.666732788086,
+ "y": 676.3333171606064,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "6ca04aae.c95a04"
+ ]
+ ]
+ },
+ {
+ "id": "6ca04aae.c95a04",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2211.6666984558105,
+ "y": 647.3334592580795,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "ad4726d3.0ebec8",
+ "3ba42b5.21d6fd4",
+ "7259162d.645098"
+ ]
+ ]
+ },
+ {
+ "id": "22808d4.45d7b72",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2025.666696548462,
+ "y": 622.3334592580795,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "20cd389d.69ce08"
+ ]
+ ]
+ },
+ {
+ "id": "20cd389d.69ce08",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2248.5240592956543,
+ "y": 574.6191524267197,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "1f065164.d7be4f"
+ ]
+ ]
+ },
+ {
+ "id": "bfb3f93a.edfc18",
+ "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": 1807.5988883972168,
+ "y": 535.2653239965439,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "134e6919.4e7fe7",
+ "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": 1727.5989418029785,
+ "y": 577.2653249502182,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9e0ba266.4ebcd",
+ "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": 1754.5989036560059,
+ "y": 618.2653259038925,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c7a30496.056fc8",
+ "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": 1754.5988426208496,
+ "y": 663.2653278112411,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ [
+ "22808d4.45d7b72",
+ "72b8842.106437c"
+ ]
+ ]
+ },
+ {
+ "id": "3ba42b5.21d6fd4",
+ "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": 2418.598705291748,
+ "y": 672.2652778625488,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ad4726d3.0ebec8",
+ "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": 2397.376777648926,
+ "y": 724.2654819488525,
+ "z": "ba52aa5d.7da518",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1f065164.d7be4f",
+ "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": 2420.598850250244,
+ "y": 576.3763355016708,
+ "z": "ba52aa5d.7da518",
+ "wires": []
+ },
+ {
+ "id": "7b342193.6ee9e",
+ "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": 476.6666793823242,
+ "y": 380.66667652130127,
+ "z": "ba52aa5d.7da518",
+ "wires": []
+ },
+ {
+ "id": "7259162d.645098",
+ "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": 2436.6667404174805,
+ "y": 624.0000200271606,
+ "z": "ba52aa5d.7da518",