+ },
+ {
+ "id": "ffd4c30f.165a9",
+ "type": "switchNode",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2451.111228942871,
+ "y": 1104.3228206634521,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "250b0031.e6ba4",
+ "af5e8f30.17624"
+ ]
+ ]
+ },
+ {
+ "id": "250b0031.e6ba4",
+ "type": "outcome",
+ "name": "Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3022.1114959716797,
+ "y": 1018.9896020889282,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "7c6eefc1.72219"
+ ]
+ ]
+ },
+ {
+ "id": "628d6d71.42f8e4",
+ "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-modifyconfig-resp-payload-template.vtl' />\n <parameter name='output' value='resp-payload' />\n <parameter name='prefix' value='sdnr' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 953.7777709960938,
+ "y": 1854.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "5e95a432.c93fac",
+ "e5b17b3c.7109a8"
+ ]
+ ]
+ },
+ {
+ "id": "5e95a432.c93fac",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1227.7777709960938,
+ "y": 1823.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "3a1e1c0c.d37884"
+ ]
+ ]
+ },
+ {
+ "id": "3a1e1c0c.d37884",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1418.7777709960938,
+ "y": 1826.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "cd46b553.cd3788"
+ ]
+ ]
+ },
+ {
+ "id": "cd46b553.cd3788",
+ "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/configuration-phy-cell-id.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": 1586.7777709960938,
+ "y": 1827.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ee0b8032.b89a6",
+ "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": 926.2777709960938,
+ "y": 1970.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "12693b89.537cd4",
+ "8af458db.b9e108"
+ ]
+ ]
+ },
+ {
+ "id": "31844626.61416a",
+ "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": 915.7777709960938,
+ "y": 2052.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "d67e2614.0ca168",
+ "9351a9d4.1b3748"
+ ]
+ ]
+ },
+ {
+ "id": "d67e2614.0ca168",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1098.2777709960938,
+ "y": 2060.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "2e2c4594.7e808a"
+ ]
+ ]
+ },
+ {
+ "id": "2e2c4594.7e808a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1283.2777709960938,
+ "y": 2058.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "f877e600.537b58"
+ ]
+ ]
+ },
+ {
+ "id": "f877e600.537b58",
+ "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/configuration-phy-cell-id.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": 1485.2777709960938,
+ "y": 2053.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "12693b89.537cd4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1119.7777709960938,
+ "y": 1938.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "3a1665a0.d783da"
+ ]
+ ]
+ },
+ {
+ "id": "3a1665a0.d783da",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1294.7777709960938,
+ "y": 1952.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "418c7ed4.a4dd1"
+ ]
+ ]
+ },
+ {
+ "id": "418c7ed4.a4dd1",
+ "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/configuration-phy-cell-id.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": 1482.7777709960938,
+ "y": 1954.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e5b17b3c.7109a8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1226.7777709960938,
+ "y": 1880.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "511f63ea.f348dc"
+ ]
+ ]
+ },
+ {
+ "id": "511f63ea.f348dc",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1395.7776489257812,
+ "y": 1886.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "b6492206.1878"
+ ]
+ ]
+ },
+ {
+ "id": "b6492206.1878",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error creating SDNR response payload string. Aborting PCI configuration\" />",
+ "comments": "",
+ "x": 1551.7774047851562,
+ "y": 1885.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "8af458db.b9e108",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1140.7777709960938,
+ "y": 2009.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "a19e0d3a.a5352"
+ ]
+ ]
+ },
+ {
+ "id": "a19e0d3a.a5352",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1308.7776489257812,
+ "y": 2004.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "db18dde1.0a225"
+ ]
+ ]
+ },
+ {
+ "id": "db18dde1.0a225",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error removing lines from SDNR response payload string. Aborting PCI configuration\" />",
+ "comments": "",
+ "x": 1466.77734375,
+ "y": 2007.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "9351a9d4.1b3748",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1100.7777709960938,
+ "y": 2108.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "5a1ef025.55213"
+ ]
+ ]
+ },
+ {
+ "id": "5a1ef025.55213",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1276.7776489257812,
+ "y": 2109.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "9e81d6af.ff55f8"
+ ]
+ ]
+ },
+ {
+ "id": "9e81d6af.ff55f8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error removing tabs from SDNR response payload string. Aborting PCI configuration\" />",
+ "comments": "",
+ "x": 1423.77734375,
+ "y": 2112.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "46e24d05.b33174",
+ "type": "block",
+ "name": "DMAAP Payload Generation",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 670.7777709960938,
+ "y": 1975.9999980926514,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "628d6d71.42f8e4",
+ "ee0b8032.b89a6",
+ "31844626.61416a"
+ ]
+ ]
+ },
+ {
+ "id": "ae0bbeed.2287",
+ "type": "block",
+ "name": "DMAAP Reponse Publish",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 634.7777690887451,
+ "y": 2237.9999537467957,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "8c4162a5.d81ad",
+ "70f89d30.b13c64",
+ "4a55c768.5405d8"
+ ]
+ ]
+ },
+ {
+ "id": "70f89d30.b13c64",
+ "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": 906.777868270874,
+ "y": 2349.9994707107544,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "3cdfa381.8f652c",
+ "bb39b817.930928"
+ ]
+ ]
+ },
+ {
+ "id": "8c4162a5.d81ad",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='tmp.oofpcipoc-dmaap-config-resp.rpc-name' value='`$prop.oofpcipoc-dmaap-config-resp.rpc-name.modifyconfig`'/>",
+ "comments": "",
+ "x": 971.4445323944092,
+ "y": 2186.0000038146973,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "3cdfa381.8f652c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1127.2778072357178,
+ "y": 2276.9167318344116,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "e3c8fec8.7984"
+ ]
+ ]
+ },
+ {
+ "id": "bb39b817.930928",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1131.2777271270752,
+ "y": 2415.9165744781494,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "3c65a06e.1bb79"
+ ]
+ ]
+ },
+ {
+ "id": "e3c8fec8.7984",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1287.2776412963867,
+ "y": 2278.916732788086,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "e9015563.f77e98"
+ ]
+ ]
+ },
+ {
+ "id": "e9015563.f77e98",
+ "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": 1464.2774028778076,
+ "y": 2268.9167861938477,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "3c65a06e.1bb79",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1314.2773704528809,
+ "y": 2408.9166831970215,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "c5ff3621.7153e8"
+ ]
+ ]
+ },
+ {
+ "id": "c5ff3621.7153e8",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DMAAP Config Response Message Successfully Published \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1496.2774868011475,
+ "y": 2393.9169540405273,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4a55c768.5405d8",
+ "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/configuration-phy-cell-id.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",
+ "comments": "",
+ "outputs": 1,
+ "x": 978.2778415679932,
+ "y": 2257.4548683166504,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b716ea71.c1a2f8",
+ "type": "set",
+ "name": "set properties for DMAAP header",
+ "xml": "<set>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.timestamp\" value=\"`$configuration-phy-cell-id-input.timeStamp`\"/>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.requestID\" value=\"`$configuration-phy-cell-id-input.requestID`\"/>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.subrequestID\" value=\"`$configuration-phy-cell-id-input.subRequestID`\"/>",
+ "comments": "",
+ "x": 511.77777099609375,
+ "y": 356.99999809265137,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "55b11952.8ee478",
+ "type": "set",
+ "name": "set tmp variables",
+ "xml": "<set>\n<parameter name=\"tmp.idNRCellDU\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.idGNBDUFunction\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"tmp.nRPCI\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n",
+ "comments": "",
+ "x": 2797.7785110473633,
+ "y": 1334.3336811065674,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "88f0830.251918",
+ "type": "execute",
+ "name": "populate idNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.nrcelldu.patch.pci.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idNRCellDU`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2823.7786254882812,
+ "y": 1763.6668224334717,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7c01eeb.3d55d1",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CPS is Deployed, ConfigDB Skipped\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3350.1115951538086,
+ "y": 1926.3334121704102,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "45a4d496.91e70c",
+ "type": "outcome",
+ "name": "Not Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3063.444751739502,
+ "y": 1951.4447603225708,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "552b5e4f.154ca"
+ ]
+ ]
+ },
+ {
+ "id": "b16469e6.4fa108",
+ "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/configuration-phy-cell-id.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": 483.7779846191406,
+ "y": 556.6666822433472,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "aef3c2b4.b7175",
+ "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": 495.5279006958008,
+ "y": 507.48805046081543,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b4637758.354448",
+ "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": 520.0753479003906,
+ "y": 649.5947036743164,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c2d8e1b0.cdd98",
+ "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": 924.5750961303711,
+ "y": 634.4478524923325,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "825e99ea.480a28",
+ "type": "execute",
+ "name": "initialize nearRTRIC size",
+ "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"0\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 552.6656036376953,
+ "y": 692.8329458236694,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "358268ea.d2df38",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 721.0834121704102,
+ "y": 769.3451957702637,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "f81dcbde.e63948",
+ "cf8bff84.7959f"
+ ]
+ ]
+ },
+ {
+ "id": "e66db74.667c448",
+ "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": 1657.7819175720215,
+ "y": 213.26596641540527,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f7fee6a.2700118",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 525.9510803222656,
+ "y": 729.7301635742188,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "44e05c8c.adf1d4"
+ ]
+ ]
+ },
+ {
+ "id": "44e05c8c.adf1d4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 730.4829864501953,
+ "y": 724.6864624023438,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "1478bac0.b9e245",
+ "c2d8e1b0.cdd98"
+ ]
+ ]
+ },
+ {
+ "id": "1478bac0.b9e245",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 949.0596542358398,
+ "y": 681.5436401367188,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "23f3c2e7.b2256e"
+ ]
+ ]
+ },
+ {
+ "id": "23f3c2e7.b2256e",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1132.3652458190918,
+ "y": 646.0158882141113,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "d5569fc5.e6a2"
+ ]
+ ]
+ },
+ {
+ "id": "d5569fc5.e6a2",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1453.667652130127,
+ "y": 157.34918594360352,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "d8f9145c.df6b18",
+ "3ea829a5.c173f6"
+ ]
+ ]
+ },
+ {
+ "id": "d8f9145c.df6b18",
+ "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/configuration-phy-cell-id.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": 1632.5810737609863,
+ "y": 157.15472793579102,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cf8bff84.7959f",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 946.8589019775391,
+ "y": 759.9170888662338,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "157de446.c219ec"
+ ]
+ ]
+ },
+ {
+ "id": "f81dcbde.e63948",
+ "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": 930.8867340087891,
+ "y": 718.6670869588852,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "157de446.c219ec",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1130.6644897460938,
+ "y": 716.389377951622,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "c2330e5e.e47bd"
+ ]
+ ]
+ },
+ {
+ "id": "c2330e5e.e47bd",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1476.8002967834473,
+ "y": 243.61154747009277,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "e66db74.667c448",
+ "89ae2b32.b0fc38"
+ ]
+ ]
+ },
+ {
+ "id": "2e1b5ff3.7da19",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 519.824291229248,
+ "y": 775.190938949585,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "358268ea.d2df38"
+ ]
+ ]
+ },
+ {
+ "id": "3ea829a5.c173f6",
+ "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": 1631.6391868591309,
+ "y": 108.83376979827881,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "89ae2b32.b0fc38",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1673.7264137268066,
+ "y": 261.9881372451782,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "60c1bc1c.4fc694",
+ "731eea74.fdba64",
+ "af700d79.af35b",
+ "9130729b.2cc6a"
+ ]
+ ]
+ },
+ {
+ "id": "c221caea.8d05e8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 733.0318908691406,
+ "y": 533.0435565710068,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "58a2743.4c9548c"
+ ]
+ ]
+ },
+ {
+ "id": "6682b05a.b4663",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 747.0320625305176,
+ "y": 607.2379722595215,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "112c3ee5.3804b1"
+ ]
+ ]
+ },
+ {
+ "id": "58a2743.4c9548c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 875.7263870239258,
+ "y": 530.6547559499741,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "c8f4ffb8.dce39",
+ "b85d1e50.469e9"
+ ]
+ ]
+ },
+ {
+ "id": "112c3ee5.3804b1",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 895.4762229919434,
+ "y": 583.9046787023544,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "ab95a6e4.ee8118",
+ "34378aaf.798d46"
+ ]
+ ]
+ },
+ {
+ "id": "c8f4ffb8.dce39",
+ "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": 1059.5038146972656,
+ "y": 494.48796594142914,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "ab95a6e4.ee8118",
+ "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/configuration-phy-cell-id.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": 1077.225986480713,
+ "y": 568.15471971035,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "34378aaf.798d46",
+ "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/configuration-phy-cell-id-context.log' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1090.7542266845703,
+ "y": 600.9047216176987,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b85d1e50.469e9",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Failed to fetch anchors from CPS\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1053.309726715088,
+ "y": 531.0158017873764,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "88b8100a.1ccdd",
+ "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": 540.7263107299805,
+ "y": 605.2618980407715,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "6682b05a.b4663",
+ "c221caea.8d05e8"
+ ]
+ ]
+ },
+ {
+ "id": "71f0ae82.b9807",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2179.5805854797363,
+ "y": 290.7801809310913,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "4975a161.3151"
+ ]
+ ]
+ },
+ {
+ "id": "4975a161.3151",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2388.580551147461,
+ "y": 261.78032302856445,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "f650848f.c55138",
+ "20bd7e3e.d98032",
+ "186aa1f7.7c683e"
+ ]
+ ]
+ },
+ {
+ "id": "44fed0f9.b287c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2202.5805492401123,
+ "y": 236.78032302856445,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "29e71e49.aeeae2"
+ ]
+ ]
+ },
+ {
+ "id": "29e71e49.aeeae2",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2425.4379119873047,
+ "y": 189.0660161972046,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "5f3eb114.47032"
+ ]
+ ]
+ },
+ {
+ "id": "60c1bc1c.4fc694",
+ "type": "execute",
+ "name": "generate getNearRTRIC From idGNBDUFunction 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.getNearRTRICByidGNBDUFunction.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.anchor.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1984.5127410888672,
+ "y": 149.7121877670288,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "731eea74.fdba64",
+ "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.getNearRTRICByidGNBDUFunction.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRICByidGNBDUFunction.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-nearrtric-by-idgnbdufunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1904.512794494629,
+ "y": 191.71218872070312,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "af700d79.af35b",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to Get NearRTRIC for idGNBDUFunction\"/>\n<parameter name='field2' value=\"`$tmp.cps.getNearRTRICByidGNBDUFunction.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1931.5127563476562,
+ "y": 232.71218967437744,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9130729b.2cc6a",
+ "type": "execute",
+ "name": "Get nearRTRIC for idGNBDUFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getNearRTRICByidGNBDUFunction.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-nearrtric-by-idgnbdufunction.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": 1931.5126953125,
+ "y": 277.7121915817261,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "44fed0f9.b287c",
+ "71f0ae82.b9807"
+ ]
+ ]
+ },
+ {
+ "id": "20bd7e3e.d98032",
+ "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/configuration-phy-cell-id.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": 2575.512950897217,
+ "y": 288.7121238708496,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f650848f.c55138",
+ "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/configuration-phy-cell-id-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2574.290630340576,
+ "y": 338.71234571933746,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5f3eb114.47032",
+ "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": 2571.5127906799316,
+ "y": 172.82320594787598,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "bc1e082b.24b418",
+ "type": "set",
+ "name": "set tmp variables",
+ "xml": "<set>\n<parameter name=\"tmp.idGNBDU\" value=\"`$configuration-phy-cell-id-input.fap-service[0].pnf-name`\"/>\n",
+ "comments": "",
+ "x": 503.5805969238281,
+ "y": 442.11352729797363,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "186aa1f7.7c683e",
+ "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": 2597.5811500549316,
+ "y": 238.44686317443848,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7a26d7bd.2a31d8",
+ "type": "execute",
+ "name": "populate mount name",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.nrcelldu.patch.pci.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2835.7778091430664,
+ "y": 1673.333360671997,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6598c410.436e2c",
+ "type": "execute",
+ "name": "populate mount name",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getGNBDUFunction-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getGNBDUFunction-url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2854.4444732666016,
+ "y": 1462.2222108840942,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "599ef68c.e836f8",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idNRCellDU\"/>\n<parameter name=\"field2\" value=\"`$tmp.idNRCellDU`\"/>\n<parameter name=\"field3\" value=\"idGNBDUFunction\"/>\n<parameter name=\"field4\" value=\"`$tmp.idGNBDUFunction`\"/>\n<parameter name=\"field5\" value=\"nRPCI\"/>\n<parameter name=\"field6\" value=\"`$tmp.nRPCI`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2793.8887825012207,
+ "y": 1377.7776527404785,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ea1be66.4084218",
+ "type": "set",
+ "name": "set tmp variables",
+ "xml": "<set>\n<parameter name=\"tmp.idNRCellDU\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.idGNBDUFunction\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"tmp.nRPCI\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n",
+ "comments": "",
+ "x": 2500.3331451416016,
+ "y": 420.000018119812,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "ac7df1f6.d8a71",
+ "type": "execute",
+ "name": "populate idGNBDUFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getGNBDUFunction-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getGNBDUFunction-url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2515.3331909179688,
+ "y": 540.5555400848389,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "35b9952f.955e5a",
+ "type": "execute",
+ "name": "populate mount name",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getGNBDUFunction-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getGNBDUFunction-url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2503.666229248047,
+ "y": 498.10066413879395,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8bfa8e24.f1519",
+ "type": "execute",
+ "name": "generate pci patch url for a cell",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2493.6666107177734,
+ "y": 728.3332824707031,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "90027a5c.f27a28",
+ "type": "execute",
+ "name": "populate idGNBDUFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.nrcelldu.patch.pci.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2489.667366027832,
+ "y": 806.3229904174805,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5d0e468e.907008",
+ "type": "execute",
+ "name": "populate idNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.nrcelldu.patch.pci.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idNRCellDU`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2475.667121887207,
+ "y": 861.6460304260254,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "39e743ea.9c4c0c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3600.7777709960938,
+ "y": 2031.55544090271,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "4c667e51.d22c1"
+ ]
+ ]
+ },
+ {
+ "id": "4c667e51.d22c1",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3767.4442825317383,
+ "y": 2041.2221202850342,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "b53ba38a.c512e",
+ "3c60c294.872b2e"
+ ]
+ ]
+ },
+ {
+ "id": "3c60c294.872b2e",
+ "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": 3948.111282348633,
+ "y": 2012.6664123535156,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "b53ba38a.c512e",
+ "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": 3967.1111221313477,
+ "y": 2067.5554151535034,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "fc4550e.2f1ccb",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3602.595806121826,
+ "y": 2168.131169319153,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "93c78852.dc7fc8"
+ ]
+ ]
+ },
+ {
+ "id": "93c78852.dc7fc8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3790.5956497192383,
+ "y": 2153.1313104629517,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "74656fd1.5993e"
+ ]
+ ]
+ },
+ {
+ "id": "74656fd1.5993e",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated NRCellDU info in cps\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3975.929153442383,
+ "y": 2131.131513595581,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "61d4f50d.8aed8c",
+ "type": "execute",
+ "name": "generate put nrpci nrcelldu 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.putnrpci.nrcelldu.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3416.3099975585938,
+ "y": 1976.849384188652,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2cecd473.8d9bfc",
+ "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.putnrpci.nrcelldu.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putnrpci.nrcelldu.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-nrpci-nrcelldu`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3391.309989929199,
+ "y": 2025.1830444335938,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4567c211.7a242c",
+ "type": "execute",
+ "name": "put nrpci nrcelldu",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.putnrpci.nrcelldu.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-nrpci.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-put-nrpci-nrcelldu-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": 3358.109794616699,
+ "y": 2129.9828929901123,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "39e743ea.9c4c0c",
+ "fc4550e.2f1ccb"
+ ]
+ ]
+ },
+ {
+ "id": "845a226c.f938",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to put nRPCI NRCellDU\"/>\n<parameter name='field2' value=\"`$tmp.cps.putnrpci.nrcelldu.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3335.949966430664,
+ "y": 2077.899069786072,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "552b5e4f.154ca",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3118.0000915527344,
+ "y": 2035.3334350585938,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "7c01eeb.3d55d1",
+ "61d4f50d.8aed8c",
+ "2cecd473.8d9bfc",
+ "845a226c.f938",
+ "4567c211.7a242c"
+ ]
+ ]
+ },
+ {
+ "id": "6d96ad4b.d71d24",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CPS is Deployed, ConfigDB Skipped\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3636.666748046875,
+ "y": 1242.6666259765625,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "af5e8f30.17624",
+ "type": "outcome",
+ "name": "Not Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2990.0001792907715,
+ "y": 1151.7779922485352,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "8492e23c.e47ad"
+ ]
+ ]
+ },
+ {
+ "id": "9522198.2b734e8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3887.33292388916,
+ "y": 1347.8886547088623,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "9384946b.7d4f08"
+ ]
+ ]
+ },
+ {
+ "id": "9384946b.7d4f08",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4053.9994354248047,
+ "y": 1357.5553340911865,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "e30d846f.d3e1f8",
+ "47520dbb.c29804"
+ ]
+ ]
+ },
+ {
+ "id": "47520dbb.c29804",
+ "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": 4234.666435241699,
+ "y": 1328.999626159668,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "e30d846f.d3e1f8",
+ "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": 4253.666275024414,
+ "y": 1383.8886289596558,
+ "z": "46bc844c.8e713c",
+ "wires": []
+ },
+ {
+ "id": "1785d968.9c7f67",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3889.1509590148926,
+ "y": 1484.4643831253052,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "489ffb78.e71864"
+ ]
+ ]
+ },
+ {
+ "id": "489ffb78.e71864",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4077.1508026123047,
+ "y": 1469.464524269104,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "7568cc55.701ad4"
+ ]
+ ]
+ },
+ {
+ "id": "7568cc55.701ad4",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated NRCellDU info in cps\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4262.484306335449,
+ "y": 1447.4647274017334,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "afe6df24.7406f",
+ "type": "execute",
+ "name": "generate put nrpci nrcelldu 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.putnrpci.nrcelldu.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3702.86515045166,
+ "y": 1293.1825979948044,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3bead5c3.8d6cda",
+ "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.putnrpci.nrcelldu.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putnrpci.nrcelldu.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-nrpci-nrcelldu`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3677.8651428222656,
+ "y": 1341.516258239746,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e140bcea.b8b74",
+ "type": "execute",
+ "name": "put nrpci nrcelldu",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.putnrpci.nrcelldu.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-nrpci.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-put-nrpci-nrcelldu-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": 3644.6649475097656,
+ "y": 1446.3161067962646,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "9522198.2b734e8",
+ "1785d968.9c7f67"
+ ]
+ ]
+ },
+ {
+ "id": "7be69543.1d3b6c",
+ "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to put nRPCI NRCellDU\"/>\n<parameter name='field2' value=\"`$tmp.cps.putnrpci.nrcelldu.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3622.5051193237305,
+ "y": 1394.2322835922241,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8492e23c.e47ad",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3404.555244445801,
+ "y": 1351.666648864746,
+ "z": "46bc844c.8e713c",
+ "wires": [
+ [
+ "6d96ad4b.d71d24",
+ "afe6df24.7406f",
+ "3bead5c3.8d6cda",
+ "7be69543.1d3b6c",
+ "e140bcea.b8b74"
+ ]
+ ]