+ "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",