RAN Slice DG - Bug fixes
[ccsdk/distribution.git] / platform-logic / ran-slice-api / src / main / json / ran-slice-api_activateRANSliceInstance.json
index fca7d12..ae0385b 100644 (file)
@@ -1,36 +1,20 @@
 [
     {
-        "id": "a5d25c75.df911",
-        "type": "method",
-        "name": "method",
-        "xml": "<method rpc='activateRANSliceInstance' mode='sync'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 128,
-        "y": 176.9895896911621,
-        "z": "f630c4e8.64d488",
-        "wires": [
-            [
-                "940794b0.9ca258"
-            ]
-        ]
-    },
-    {
-        "id": "6b98a8.11e82758",
+        "id": "ef2ca718.430178",
         "type": "dgstart",
         "name": "DGSTART",
         "outputs": 1,
-        "x": 131,
-        "y": 26.989585876464844,
-        "z": "f630c4e8.64d488",
+        "x": 174.16665649414062,
+        "y": 88.6111068725586,
+        "z": "8810ce64.4a102",
         "wires": [
             [
-                "cc743ed3.cedd7"
+                "f487ed1.d8ff91"
             ]
         ]
     },
     {
-        "id": "cc743ed3.cedd7",
+        "id": "f487ed1.d8ff91",
         "type": "service-logic",
         "name": "ran-slice-api ${project.version}",
         "module": "ran-slice-api",
         "comments": "",
         "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='ran-slice-api' version='${project.version}'>",
         "outputs": 1,
-        "x": 188.99998474121094,
-        "y": 87.98968124389648,
-        "z": "f630c4e8.64d488",
+        "x": 259.1666793823242,
+        "y": 155.61107635498047,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "54b7eb6a.51cd34"
+            ]
+        ]
+    },
+    {
+        "id": "54b7eb6a.51cd34",
+        "type": "method",
+        "name": "method",
+        "xml": "<method rpc='activateRANSliceInstance' mode='sync'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 193.16665649414062,
+        "y": 215.61104202270508,
+        "z": "8810ce64.4a102",
         "wires": [
             [
-                "a5d25c75.df911"
+                "fc53b74f.5bca78"
             ]
         ]
     },
     {
-        "id": "940794b0.9ca258",
+        "id": "fc53b74f.5bca78",
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic='true'>",
         "atomic": "true",
         "comments": "",
         "outputs": 1,
-        "x": 150.48959732055664,
-        "y": 345.98962020874023,
-        "z": "f630c4e8.64d488",
+        "x": 215.66666793823242,
+        "y": 296.11111068725586,
+        "z": "8810ce64.4a102",
         "wires": [
             [
-                "d32cd716.eb75f8",
-                "5a119db3.ce9b34"
+                "522069f6.36a2c8",
+                "48244fcd.67686",
+                "b7808f5b.51c85",
+                "38be2a26.e07a36",
+                "33072642.74859a",
+                "d77970c5.107ab",
+                "65905504.7752bc",
+                "253dd730.841928",
+                "72519e66.86268",
+                "ae36073a.d61748",
+                "e8706dc4.5a81b",
+                "9227e420.d769d8",
+                "118a9166.3752bf",
+                "30fa502.42137b",
+                "87dd3f2b.2826d",
+                "e73bf4c7.eb1d48",
+                "51734263.da003c",
+                "7056f58c.cbd93c",
+                "1f3735d.7ce59ca",
+                "63bf8010.4abdc",
+                "4119896c.9c68b8",
+                "ea6a18bc.839118"
             ]
         ]
     },
     {
-        "id": "d32cd716.eb75f8",
-        "type": "returnSuccess",
-        "name": "return success",
-        "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />\n",
+        "id": "522069f6.36a2c8",
+        "type": "execute",
+        "name": "generate getNearRTRICsFromRANNFNSSI URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.configdb.getNearRTRICByNSSI`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.configdb.getNearRTRICByNSSI.url\"/>\n    <parameter name=\"target\" value=\"{ranNFNSSIId}\"/>\n    <parameter name=\"replacement\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>",
         "comments": "",
-        "x": 247.0002670288086,
-        "y": 575.9897727966309,
-        "z": "f630c4e8.64d488",
-        "wires": []
+        "outputs": 1,
+        "x": 797.4167175292969,
+        "y": 491.3055667877197,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
     },
     {
-        "id": "44cfb129.2991e",
-        "type": "comment",
-        "name": "activateRANSliceInstance",
-        "info": "",
+        "id": "48244fcd.67686",
+        "type": "record",
+        "name": "record configdb RestAPI params",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB to Get NearRTRIC for RANNFNSSI\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\" />\n<parameter name='field3' value=\"`$ranNFNSSIId`\" />",
         "comments": "",
-        "x": 413,
-        "y": 20,
-        "z": "f630c4e8.64d488",
-        "wires": []
+        "outputs": 1,
+        "x": 737.4166717529297,
+        "y": 527.8611340522766,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
     },
     {
-        "id": "5a119db3.ce9b34",
-        "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/configureNearRTRIC.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to handle configureNearRTRIC \"/>",
+        "id": "b7808f5b.51c85",
+        "type": "execute",
+        "name": "Get nearRTRIC for NFNSSI",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getNFNSSIRIC-configdb-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": 300.0002975463867,
-        "y": 155.01043319702148,
-        "z": "f630c4e8.64d488",
+        "x": 727.416748046875,
+        "y": 579.8611645698547,
+        "z": "8810ce64.4a102",
         "wires": [
-            []
+            [
+                "a9b256ac.842128",
+                "66038c0.8eb0274"
+            ]
         ]
     },
     {
-        "id": "f7ead8d5.6a76d8",
-        "type": "set",
-        "name": "set tmp variables for notif input parms",
-        "xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.cid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id-in-use\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"tmp.lte-cell-number-of-entries\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\"/>",
+        "id": "a9b256ac.842128",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
         "comments": "",
-        "x": 770.0010986328125,
-        "y": 210.88906478881836,
-        "z": "f630c4e8.64d488",
-        "wires": []
+        "outputs": 1,
+        "x": 1026.2347526550293,
+        "y": 597.6791882514954,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "498f20b0.325db"
+            ]
+        ]
     },
     {
-        "id": "6e214788.4686f8",
-        "type": "execute",
-        "name": "execute Properties",
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/sdnr-CMNotify-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",
+        "id": "498f20b0.325db",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
         "comments": "",
         "outputs": 1,
-        "x": 495.00018310546875,
-        "y": 176.01041793823242,
-        "z": "f630c4e8.64d488",
+        "x": 1196.2346496582031,
+        "y": 598.6793036460876,
+        "z": "8810ce64.4a102",
         "wires": [
-            []
+            [
+                "cc79fe58.bd76a",
+                "95d36220.b628d"
+            ]
         ]
     },
     {
-        "id": "df08b48d.a7c588",
+        "id": "cc79fe58.bd76a",
         "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read ..configDB URL\"/>\n<parameter name=\"field2\" value=\"`$prop.configdb.url`\"/>\n<parameter name=\"field3\" value=\"Properties read ..DMAAP Msg Router URL\"/>\n<parameter name=\"field4\" value=\"`$prop.configdb.url`\"/>\n<parameter name=\"field5\" value=\"`$prop.dmaap-message-router.url`\"/>\n<parameter name=\"field6\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field7\" value=\"`$prop.controller.url`\"/>\n",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained NearRT RIC info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
         "comments": "",
         "outputs": 1,
-        "x": 460.00030517578125,
-        "y": 230.01049423217773,
-        "z": "f630c4e8.64d488",
+        "x": 1419.234447479248,
+        "y": 543.6792874336243,
+        "z": "8810ce64.4a102",
         "wires": [
             []
         ]
     },
     {
-        "id": "3cf4985f.1d9b68",
-        "type": "for",
-        "name": "for",
-        "xml": "<for index='idx' start='0' end=\"`$nbrlist-change-notification-input.fap-service-number-of-entries-changed`\" >",
+        "id": "95d36220.b628d",
+        "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/ranSlice-activateRANSlice-context.log' />\n\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1415.0125885009766,
+        "y": 614.6792950630188,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "66038c0.8eb0274",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 335,
-        "y": 355.98958587646484,
-        "z": "f630c4e8.64d488",
+        "x": 1032.234706878662,
+        "y": 537.6792721748352,
+        "z": "8810ce64.4a102",
         "wires": [
             [
-                "c8a0e6e.1dd9f18"
+                "560cf38c.29b49c"
             ]
         ]
     },
     {
-        "id": "c8a0e6e.1dd9f18",
+        "id": "560cf38c.29b49c",
         "type": "block",
-        "name": "block : ConfigDB Update",
-        "xml": "<block atomic='true'>",
-        "atomic": "true",
+        "name": "block",
+        "xml": "<block>",
+        "atomic": "false",
         "comments": "",
         "outputs": 1,
-        "x": 514,
-        "y": 346.9895896911621,
-        "z": "f630c4e8.64d488",
+        "x": 1312.2347831726074,
+        "y": 443.6793260574341,
+        "z": "8810ce64.4a102",
         "wires": [
             [
-                "f7ead8d5.6a76d8",
-                "30513601.2f1eda"
+                "7dbe505c.27a84",
+                "1d2d8078.f320b"
             ]
         ]
     },
     {
-        "id": "30513601.2f1eda",
-        "type": "for",
-        "name": "for",
-        "xml": "<for index='idy' start='0' end=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\" >",
+        "id": "7dbe505c.27a84",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 1490.2345695495605,
+        "y": 397.7903528213501,
+        "z": "8810ce64.4a102",
+        "wires": []
+    },
+    {
+        "id": "38be2a26.e07a36",
+        "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to handle activateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$activate-r-a-n-slice-instance-input.action`\"/>\n<parameter name=\"field3\" value=\"`$activate-r-a-n-slice-instance-input.timestamp`\"/>\n<parameter name=\"field4\" value=\"`$activate-r-a-n-slice-instance-input.common-header.request-id`\"/>\n<parameter name=\"field5\" value=\"`$activate-r-a-n-slice-instance-input.common-header.originator-id`\"/>\n<parameter name=\"field6\" value=\"RPC Payload String \"/>\n<parameter name=\"field7\" value=\"`$activate-r-a-n-slice-instance-input.payload`\"/>",
         "comments": "",
         "outputs": 1,
-        "x": 731,
-        "y": 320.9895896911621,
-        "z": "f630c4e8.64d488",
+        "x": 702.1666564941406,
+        "y": 104.61109352111816,
+        "z": "8810ce64.4a102",
         "wires": [
-            [
-                "307d8f82.8592a"
-            ]
+            []
         ]
     },
     {
-        "id": "c0f7c9f8.98e818",
+        "id": "33072642.74859a",
         "type": "set",
-        "name": "set tmp variables for notif neigbor input parms",
-        "xml": "<set>\n<parameter name=\"tmp.nbr.plmnid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].plmnid`\"/>\n<parameter name=\"tmp.nbr.cid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].cid`\"/>\n<parameter name=\"tmp.nbr.phy-cell-id\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].phy-cell-id`\"/>\n<parameter name=\"tmp.nbr.pnf-name\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].pnf-name`\"/>\n<parameter name=\"tmp.nbr.blacklisted\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].blacklisted`\"/>",
+        "name": "set default status value",
+        "xml": "<set>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='Successful execution of activateRANSice RPC' />",
         "comments": "",
-        "x": 1129,
-        "y": 194.9895896911621,
-        "z": "f630c4e8.64d488",
+        "x": 741.1664123535156,
+        "y": 147.61110591888428,
+        "z": "8810ce64.4a102",
         "wires": []
     },
     {
-        "id": "307d8f82.8592a",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic='true'>",
-        "atomic": "true",
+        "id": "d77970c5.107ab",
+        "type": "execute",
+        "name": "execute jsonStringToCtx",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='activate-r-a-n-slice-instance-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='false' />",
         "comments": "",
         "outputs": 1,
-        "x": 864,
-        "y": 268.9895896911621,
-        "z": "f630c4e8.64d488",
+        "x": 746.1664276123047,
+        "y": 192.36109161376953,
+        "z": "8810ce64.4a102",
         "wires": [
             [
-                "c0f7c9f8.98e818",
-                "fa22a415.571198",
-                "6f4fe94a.b1ffa8",
-                "49fbbbb9.e37cd4"
+                "16633e83.085581"
             ]
         ]
     },
     {
-        "id": "fa22a415.571198",
+        "id": "65905504.7752bc",
+        "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/ranSlice-activateRANSlice-context.log' />\n\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 705.8052749633789,
+        "y": 281.3506450653076,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "253dd730.841928",
         "type": "execute",
-        "name": "generate configdb add URL for nbr",
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.configdb.add-nbrlist-change-per-notif`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.configdb.add-nbrlist-change-per-notif.url\"/>\n    <parameter name=\"target\" value=\"{cellId}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
+        "name": "execute Properties",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/ran-slice-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",
         "comments": "",
         "outputs": 1,
-        "x": 1127,
-        "y": 240.9895896911621,
-        "z": "f630c4e8.64d488",
+        "x": 734.694221496582,
+        "y": 322.36106872558594,
+        "z": "8810ce64.4a102",
         "wires": [
             []
         ]
     },
     {
-        "id": "6f4fe94a.b1ffa8",
+        "id": "72519e66.86268",
         "type": "record",
-        "name": "record configdb RestAPI parms",
-        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB neighbor cell ADD\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\" />\n<parameter name='field3' value=\"`$tmp.nbr.cid`\" />\n<parameter name='field4' value=\"`$tmp.nbr.blacklisted`\" />\n",
+        "name": "record",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read .. controller details \"/>\n<parameter name=\"field2\" value=\"`$prop.controller.user`\"/>\n<parameter name=\"field3\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field4\" value=\"`$prop.controller.url`\"/>\n<parameter name=\"field5\" value=\"ransim-mounted (true/false): \"/>\n<parameter name=\"field6\" value=\"`$prop.ransim-mounted`\"/>\n<parameter name=\"field7\" value=\"config DB deployed (true/false): \"/>\n<parameter name=\"field8\" value=\"`$prop.configdb-deployed`\"/>",
         "comments": "",
         "outputs": 1,
-        "x": 1122,
-        "y": 289.9895896911621,
-        "z": "f630c4e8.64d488",
+        "x": 703.7499370574951,
+        "y": 367.80558586120605,
+        "z": "8810ce64.4a102",
         "wires": [
             []
         ]
     },
     {
-        "id": "49fbbbb9.e37cd4",
-        "type": "execute",
-        "name": "Add neighbor to Cell",
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/CMNotify-add-nbr-to-configdb-per-nbrlist-change-notif.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"CMNotify-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
+        "id": "16633e83.085581",
+        "type": "other",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 1093,
-        "y": 367.9895896911621,
-        "z": "f630c4e8.64d488",
+        "x": 1012.6664390563965,
+        "y": 194.36108112335205,
+        "z": "8810ce64.4a102",
         "wires": [
             [
-                "e8bd439c.2947",
-                "780d51b3.1fe4c"
+                "ad1a2b92.a458a8"
             ]
         ]
     },
     {
-        "id": "e8bd439c.2947",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
+        "id": "ad1a2b92.a458a8",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
         "comments": "",
         "outputs": 1,
-        "x": 1295,
-        "y": 334.9895896911621,
-        "z": "f630c4e8.64d488",
+        "x": 1212.6665954589844,
+        "y": 197.11107730865479,
+        "z": "8810ce64.4a102",
         "wires": [
             [
-                "3e77d15e.509e8e"
+                "31ecc915.f91656",
+                "298f13d.da229ec"
             ]
         ]
     },
     {
-        "id": "780d51b3.1fe4c",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
+        "id": "31ecc915.f91656",
+        "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/ranSlice-activateRANSlice-context.log' />\n\n\n",
         "comments": "",
         "outputs": 1,
-        "x": 1287.999891281128,
-        "y": 413.98949909210205,
-        "z": "f630c4e8.64d488",
+        "x": 1402.6666717529297,
+        "y": 158.61111164093018,
+        "z": "8810ce64.4a102",
         "wires": [
-            [
-                "ec0f9390.bc092"
-            ]
+            []
         ]
     },
     {
-        "id": "3e77d15e.509e8e",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
+        "id": "298f13d.da229ec",
+        "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Payload for activateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$payloadJson.input.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfileId`\"/>\n\n\n",
         "comments": "",
         "outputs": 1,
-        "x": 1455.9998779296875,
-        "y": 291.98962020874023,
-        "z": "f630c4e8.64d488",
+        "x": 1401.9166145324707,
+        "y": 222.61112785339355,
+        "z": "8810ce64.4a102",
         "wires": [
-            [
-                "1a2c5cb9.93d263"
-            ]
+            []
         ]
     },
     {
-        "id": "1a2c5cb9.93d263",
-        "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 adding neighbor to configdb. Aborting notification update\" />",
+        "id": "ae36073a.d61748",
+        "type": "for",
+        "name": "foreach NearRTRIC",
+        "xml": "<for index='idy' start='0' end='`$tmp.RICList_length`' >\n",
         "comments": "",
-        "x": 1634.999568939209,
-        "y": 288.9895877838135,
-        "z": "f630c4e8.64d488",
-        "wires": []
+        "outputs": 1,
+        "x": 480.104248046875,
+        "y": 1020.4861240386963,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "4a455a.c97ffaa8",
+                "4a7a46d9.0a7f98",
+                "616b13a5.03b89c",
+                "a26eb581.df1338"
+            ]
+        ]
     },
     {
-        "id": "ec0f9390.bc092",
+        "id": "4a455a.c97ffaa8",
         "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
+        "name": "Process CUCP",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
         "comments": "",
         "outputs": 1,
-        "x": 1445.9996337890625,
-        "y": 379.989559173584,
-        "z": "f630c4e8.64d488",
+        "x": 745.3541870117188,
+        "y": 1013.9180545806885,
+        "z": "8810ce64.4a102",
         "wires": [
             [
-                "81cf5fd.7666fa"
+                "3ab9892a.507f56",
+                "60a218b5.42f148",
+                "6d4f086f.3c1ab8"
             ]
         ]
     },
     {
-        "id": "81cf5fd.7666fa",
+        "id": "3ab9892a.507f56",
+        "type": "execute",
+        "name": "read CUCP list size",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList_length'`\" />\n    ",
+        "comments": "",
+        "outputs": 1,
+        "x": 1091.6041717529297,
+        "y": 883.6679630279541,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "60a218b5.42f148",
         "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Neighbor Added to ConfigDB \"/>",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
         "comments": "",
         "outputs": 1,
-        "x": 1624.9997024536133,
-        "y": 378.98954582214355,
-        "z": "f630c4e8.64d488",
+        "x": 1051.1041526794434,
+        "y": 931.1680402755737,
+        "z": "8810ce64.4a102",
         "wires": [
             []
         ]
     },
     {
-        "id": "b33ddeae.aa57b",
-        "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.templatefile`\" />\n    <parameter name='restapiUrl' value=\"`$prop.dmaap-message-router.url + '/' + $prop.CMNotify-dmaap.nbrlist-change.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' />",
+        "id": "6d4f086f.3c1ab8",
+        "type": "for",
+        "name": "foreach CUCP",
+        "xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 665.5,
-        "y": 506.07290267944336,
-        "z": "f630c4e8.64d488",
+        "x": 1067.8542785644531,
+        "y": 981.1680409908295,
+        "z": "8810ce64.4a102",
         "wires": [
             [
-                "5682184.0ed98e8",
-                "116d5ac8.a491a5"
+                "c042879b.9ee0c8"
             ]
         ]
     },
     {
-        "id": "77dfbd9a.85b724",
-        "type": "set",
-        "name": "set",
-        "xml": "<set>\n<parameter name='tmp.oofpcipoc-dmaap.requestID' value='`$prop.CMNotify-dmaap.requestID`'/>\n<parameter name='tmp.oofpcipoc-dmaap.aai' value=\"`$prop.CMNotify-dmaap.aai`\"/>\n<parameter name='tmp.oofpcipoc-dmaap.version' value='`$prop.CMNotify-dmaap.version`'/>\n<parameter name='tmp.oofpcipoc-dmaap.action' value='`$prop.CMNotify-dmaap.action`'/>\n<parameter name='tmp.oofpcipoc-dmaap.payload' value='`$nbrlist-change-notification-input.payload`'/>",
+        "id": "c042879b.9ee0c8",
+        "type": "block",
+        "name": "block : process CUCP",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
         "comments": "",
-        "x": 660.166748046875,
-        "y": 412.07290267944336,
-        "z": "f630c4e8.64d488",
-        "wires": []
+        "outputs": 1,
+        "x": 1278.8541717529297,
+        "y": 944.4179344177246,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "b1097c38.58417",
+                "f20f72c3.586ff",
+                "12c2d2c7.ff60fd",
+                "8168d645.c4e9d8"
+            ]
+        ]
     },
     {
-        "id": "5682184.0ed98e8",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
+        "id": "b1097c38.58417",
+        "type": "execute",
+        "name": "read CUCP name",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPName' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].gNBCUName'`\" />",
         "comments": "",
         "outputs": 1,
-        "x": 861,
-        "y": 445.9895896911621,
-        "z": "f630c4e8.64d488",
+        "x": 1533.604263305664,
+        "y": 674.501335144043,
+        "z": "8810ce64.4a102",
         "wires": [
-            [
-                "feddd5d5.b26b48"
-            ]
+            []
         ]
     },
     {
-        "id": "116d5ac8.a491a5",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
+        "id": "12c2d2c7.ff60fd",
+        "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCPName \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPName`\"/>\n\n",
         "comments": "",
         "outputs": 1,
-        "x": 846.9998779296875,
-        "y": 579.9895286560059,
-        "z": "f630c4e8.64d488",
+        "x": 1505.3542709350586,
+        "y": 729.6679458618164,
+        "z": "8810ce64.4a102",
         "wires": [
-            [
-                "f00581ee.7161e"
-            ]
+            []
         ]
     },
     {
-        "id": "feddd5d5.b26b48",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
+        "id": "8168d645.c4e9d8",
+        "type": "execute",
+        "name": "read cellCU list size",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList[' + $idz +'].cellCUList_length'`\" />\n    ",
         "comments": "",
         "outputs": 1,
-        "x": 1051.9998779296875,
-        "y": 475.98962020874023,
-        "z": "f630c4e8.64d488",
+        "x": 1542.6041793823242,
+        "y": 777.4179611206055,
+        "z": "8810ce64.4a102",
         "wires": [
-            [
-                "f9e8e42c.b650c8"
-            ]
+            []
         ]
     },
     {
-        "id": "f9e8e42c.b650c8",
-        "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 message. ConfigDB Updated; TO be rolled back...will handle next release\" />",
+        "id": "f20f72c3.586ff",
+        "type": "for",
+        "name": "for cellCUList",
+        "xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
         "comments": "",
-        "x": 1230.999568939209,
-        "y": 472.9895877838135,
-        "z": "f630c4e8.64d488",
-        "wires": []
+        "outputs": 1,
+        "x": 1517.604148864746,
+        "y": 830.1679763793945,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "846567ee.819058"
+            ]
+        ]
     },
     {
-        "id": "f00581ee.7161e",
+        "id": "846567ee.819058",
         "type": "block",
         "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
         "comments": "",
         "outputs": 1,
-        "x": 1041.9996337890625,
-        "y": 563.989559173584,
-        "z": "f630c4e8.64d488",
+        "x": 1732.604190826416,
+        "y": 830.4179935455322,
+        "z": "8810ce64.4a102",
         "wires": [
             [
-                "2a523c48.546854"
+                "958049c8.3f4fa8",
+                "a603b30f.95aef",
+                "ba2b4d57.e2ac"
             ]
         ]
     },
     {
-        "id": "2a523c48.546854",
-        "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DMAAP Message Successfully Published \"/>",
+        "id": "958049c8.3f4fa8",
+        "type": "execute",
+        "name": "read PLMNList size",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length'`\" />",
         "comments": "",
         "outputs": 1,
-        "x": 1220.9997024536133,
-        "y": 562.9895458221436,
-        "z": "f630c4e8.64d488",
+        "x": 1949.5630798339844,
+        "y": 769.0709629058838,
+        "z": "8810ce64.4a102",
         "wires": [
             []
         ]
     },
     {
-        "id": "283ddbe5.abd8f4",
+        "id": "ba2b4d57.e2ac",
+        "type": "for",
+        "name": "foreach PLMNInfo",
+        "xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1978.5907363891602,
+        "y": 867.2652349472046,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "d8d6c45.3f70e38"
+            ]
+        ]
+    },
+    {
+        "id": "d8d6c45.3f70e38",
         "type": "block",
-        "name": "block : Publish DMAAP Message",
+        "name": "block : atomic",
         "xml": "<block atomic='true'>",
         "atomic": "true",
         "comments": "",
         "outputs": 1,
-        "x": 416,
-        "y": 449.98958587646484,
-        "z": "f630c4e8.64d488",
+        "x": 2156.4797134399414,
+        "y": 790.0430240631104,
+        "z": "8810ce64.4a102",
         "wires": [
             [
-                "77dfbd9a.85b724",
-                "b33ddeae.aa57b"
+                "a9bbaf09.71923",
+                "11976132.1e5c0f",
+                "20bb732f.19585c"
             ]
         ]
     },
     {
-        "id": "280fec55.9805a4",
-        "type": "comment",
-        "name": "DMAAP Publish Not Reqd. Just a placeholder",
-        "info": "",
+        "id": "20bb732f.19585c",
+        "type": "execute",
+        "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI.sNSSAI'`\" />",
         "comments": "",
-        "x": 380,
-        "y": 503.98958587646484,
-        "z": "f630c4e8.64d488",
-        "wires": []
+        "outputs": 1,
+        "x": 2506.9241333007812,
+        "y": 803.0430192947388,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
     },
     {
-        "id": "3d43e8a.fae8d18",
+        "id": "a9bbaf09.71923",
         "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Input RPC Payload request. FAP #:  \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].alias`\"/>\n<parameter name=\"field4\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].cid`\"/>\n<parameter name=\"field5\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"field7\" value=\"Number of neigbors Changed/To Be Added #:  \"/>\n<parameter name=\"field8\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\"/>",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
         "comments": "",
         "outputs": 1,
-        "x": 815.0005493164062,
-        "y": 42.9896354675293,
-        "z": "f630c4e8.64d488",
+        "x": 2365.7020378112793,
+        "y": 836.5985450744629,
+        "z": "8810ce64.4a102",
         "wires": [
             []
         ]
     },
     {
-        "id": "c74a3b00.dbe438",
-        "type": "for",
-        "name": "for",
-        "xml": "<for index='idx' start='0' end=\"`$nbrlist-change-notification-input.fap-service-number-of-entries-changed`\" >",
+        "id": "11976132.1e5c0f",
+        "type": "switchNode",
+        "name": "is NSSAI exists",
+        "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2401.2575149536133,
+        "y": 877.8207731246948,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "5b09ebc6.efe9e4"
+            ]
+        ]
+    },
+    {
+        "id": "5b09ebc6.efe9e4",
+        "type": "outcome",
+        "name": "True",
+        "xml": "<outcome value='true'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 484.085693359375,
-        "y": 115.95317459106445,
-        "z": "f630c4e8.64d488",
+        "x": 2590.7297134399414,
+        "y": 878.0431022644043,
+        "z": "8810ce64.4a102",
         "wires": [
             [
-                "898ea471.c49108"
+                "d7a8b93a.948468"
             ]
         ]
     },
     {
-        "id": "898ea471.c49108",
+        "id": "d7a8b93a.948468",
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic='true'>",
         "atomic": "true",
         "comments": "",
         "outputs": 1,
-        "x": 636,
-        "y": 77.98958969116211,
-        "z": "f630c4e8.64d488",
+        "x": 2811.3541564941406,
+        "y": 875.7986068725586,
+        "z": "8810ce64.4a102",
         "wires": [
             [
-                "3d43e8a.fae8d18",
-                "15326088.5383cf"
+                "6c62ceff.19a3d",
+                "a8c3eb35.841368",
+                "33dff673.7b4ada",
+                "55ec219e.8af69",
+                "93fa1df2.1b084",
+                "901e14df.7d5258",
+                "a24b8d43.bcbfe",
+                "460302ae.396fcc",
+                "c7140a97.a32808"
             ]
         ]
     },
     {
-        "id": "15326088.5383cf",
-        "type": "for",
-        "name": "for",
-        "xml": "<for index='idy' start='0' end=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\" >",
+        "id": "c7140a97.a32808",
+        "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellCU is applicable for the NSSAI \"/>\n\n\n",
         "comments": "",
         "outputs": 1,
-        "x": 808,
-        "y": 107.98958969116211,
-        "z": "f630c4e8.64d488",
+        "x": 3006.3541564941406,
+        "y": 870.7986068725586,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "460302ae.396fcc",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3034.3541564941406,
+        "y": 938.7986068725586,
+        "z": "8810ce64.4a102",
         "wires": [
             [
-                "6ebb935.a77b76c"
+                "4d052798.d7d948",
+                "74f67b3.0788684"
             ]
         ]
     },
     {
-        "id": "6ebb935.a77b76c",
-        "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Neighbor #:  \"/>\n<parameter name=\"field2\" value=\"`$idy`\"/>\n<parameter name=\"field3\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].plmnid`\"/>\n<parameter name=\"field4\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].cid`\"/>\n<parameter name=\"field5\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].blacklisted`\"/>",
+        "id": "4d052798.d7d948",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3242.3541564941406,
+        "y": 903.7983627319336,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "aaadbb43.ac8a08"
+            ]
+        ]
+    },
+    {
+        "id": "aaadbb43.ac8a08",
+        "type": "execute",
+        "name": "generate patch PLMNInfoListEntry ToNRCellCU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
         "comments": "",
         "outputs": 1,
-        "x": 959,
-        "y": 101.98958969116211,
-        "z": "f630c4e8.64d488",
+        "x": 3562.3541564941406,
+        "y": 918.7986068725586,
+        "z": "8810ce64.4a102",
         "wires": [
             []
         ]
+    },
+    {
+        "id": "1b8ce5f9.2c88ca",
+        "type": "execute",
+        "name": "generate patchPLMNInfoList.ToNRCellCU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3740.8541870117188,
+        "y": 976.7985458374023,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "ca26c0f6.4566f",
+        "type": "execute",
+        "name": "populate mountName",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3684.8545875549316,
+        "y": 1029.7987394332886,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "146ea38c.756e1c",
+        "type": "block",
+        "name": "ransim  URL",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3433.8541564941406,
+        "y": 1006.7986068725586,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "1b8ce5f9.2c88ca",
+                "ca26c0f6.4566f"
+            ]
+        ]
+    },
+    {
+        "id": "74f67b3.0788684",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3230.3541564941406,
+        "y": 1005.7986068725586,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "146ea38c.756e1c"
+            ]
+        ]
+    },
+    {
+        "id": "6c62ceff.19a3d",
+        "type": "execute",
+        "name": "read cellCU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3001.3541564941406,
+        "y": 1038.7986068725586,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "93fa1df2.1b084",
+        "type": "execute",
+        "name": "prepare idGNBCUCPFunction",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n    <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3028.3541564941406,
+        "y": 1102.7986068725586,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "901e14df.7d5258",
+        "type": "execute",
+        "name": "prepare idNRCellCU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n    <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2989.3544158935547,
+        "y": 1148.298635482788,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a24b8d43.bcbfe",
+        "type": "execute",
+        "name": "prepare mcc",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n    <parameter name=\"target\" value=\"{mcc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n   ",
+        "comments": "",
+        "outputs": 1,
+        "x": 2955.104217529297,
+        "y": 1230.0486631393433,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a8c3eb35.841368",
+        "type": "execute",
+        "name": "prepare mnc",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n    <parameter name=\"target\" value=\"{mnc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2943.8546447753906,
+        "y": 1290.2986793518066,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "33dff673.7b4ada",
+        "type": "record",
+        "name": "record API params",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellCU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.CUCPName`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellCULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2940.3541564941406,
+        "y": 1358.7986068725586,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "55ec219e.8af69",
+        "type": "execute",
+        "name": "activate PLMNInfoListEntry ToNRCellDU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoListEntry.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"activate-cellCU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2980.354263305664,
+        "y": 1421.7985801696777,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "c4715537.4d9d28",
+                "6fe83c14.47c9a4"
+            ]
+        ]
+    },
+    {
+        "id": "6fe83c14.47c9a4",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3196.3542404174805,
+        "y": 1300.7985801696777,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "912dcb56.c269b8"
+            ]
+        ]
+    },
+    {
+        "id": "912dcb56.c269b8",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3346.3545150756836,
+        "y": 1259.7987632751465,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "cd61ffc8.1b20e",
+                "bfb86283.3c1ca",
+                "1d2d8078.f320b"
+            ]
+        ]
+    },
+    {
+        "id": "bfb86283.3c1ca",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU PLMNInfoList. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 3512.3542709350586,
+        "y": 1225.7987632751465,
+        "z": "8810ce64.4a102",
+        "wires": []
+    },
+    {
+        "id": "cd61ffc8.1b20e",
+        "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 NRcellCU - PLMNInfo. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 3517.354148864746,
+        "y": 1320.7988243103027,
+        "z": "8810ce64.4a102",
+        "wires": []
+    },
+    {
+        "id": "2b3fb6b4.a0e59a",
+        "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU PLMNInfo List\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3602.354118347168,
+        "y": 1413.7990074157715,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "74c7cb25.bf1b14",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3404.3540573120117,
+        "y": 1416.798885345459,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "2b3fb6b4.a0e59a"
+            ]
+        ]
+    },
+    {
+        "id": "c4715537.4d9d28",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3231.3542709350586,
+        "y": 1417.7988243103027,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "74c7cb25.bf1b14"
+            ]
+        ]
+    },
+    {
+        "id": "e8706dc4.5a81b",
+        "type": "execute",
+        "name": "read sNSSAI from input",
+        "xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sNSSAI`\" />\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 753.8541717529297,
+        "y": 238.6111125946045,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "4a7a46d9.0a7f98",
+        "type": "block",
+        "name": "Process CUUP",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 746.3542098999023,
+        "y": 1155.7986326217651,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "4fc4f5dc.4d5aac",
+                "c239af8f.4c02d",
+                "a2079e60.52fde"
+            ]
+        ]
+    },
+    {
+        "id": "4fc4f5dc.4d5aac",
+        "type": "execute",
+        "name": "read CUUP list size",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUUPList_length'`\" />\n    ",
+        "comments": "",
+        "outputs": 1,
+        "x": 1077.3542137145996,
+        "y": 1055.7986297607422,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "c239af8f.4c02d",
+        "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1034.3542785644531,
+        "y": 1107.048632144928,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a2079e60.52fde",
+        "type": "for",
+        "name": "foreach CUUP",
+        "xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1059.8541717529297,
+        "y": 1155.7986316680908,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "dbbdd777.2bef48"
+            ]
+        ]
+    },
+    {
+        "id": "dbbdd777.2bef48",
+        "type": "block",
+        "name": "block : process CUUP",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1283.3542175292969,
+        "y": 1139.048677444458,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "a133ebb1.7208f8",
+                "4f005e6b.cdbf2",
+                "bd72fca6.c509e",
+                "7a4b5310.f8c63c"
+            ]
+        ]
+    },
+    {
+        "id": "a133ebb1.7208f8",
+        "type": "execute",
+        "name": "read CUUP id",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.idGNBCUUPFunction' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].gNBCUUPId'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1527.3541564941406,
+        "y": 914.2986068725586,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "4f005e6b.cdbf2",
+        "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idGNBCUUPFunction \"/>\n<parameter name=\"field2\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1523.3541564941406,
+        "y": 968.2986068725586,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "bd72fca6.c509e",
+        "type": "execute",
+        "name": "read plmninfolist size",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList_length'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1574.3541564941406,
+        "y": 1033.2986068725586,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "7a4b5310.f8c63c",
+        "type": "for",
+        "name": "foreach pLMNInfo",
+        "xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1560.3541564941406,
+        "y": 1088.2986068725586,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "20e32925.344246"
+            ]
+        ]
+    },
+    {
+        "id": "22705dcb.70b392",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1799.4791564941406,
+        "y": 1085.4861068725586,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "8429c3b8.a1992",
+                "91e2f682.5ee478",
+                "19245baa.f98764",
+                "760fbb9c.1fe0f4",
+                "c1d6662b.ac2dc8",
+                "4ae26bfb.2cf8b4"
+            ]
+        ]
+    },
+    {
+        "id": "8429c3b8.a1992",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2012.7294158935547,
+        "y": 1086.236255645752,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "8ddc5a57.7d51f8",
+                "5dcf9efb.36263"
+            ]
+        ]
+    },
+    {
+        "id": "8ddc5a57.7d51f8",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2225.7292976379395,
+        "y": 1053.7358741760254,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "b493fd94.6742b"
+            ]
+        ]
+    },
+    {
+        "id": "b493fd94.6742b",
+        "type": "execute",
+        "name": "generate patch PLMNInfoListEntry CUUP URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2550.729179382324,
+        "y": 1008.7361783981323,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "8f6ac090.b47a3",
+        "type": "execute",
+        "name": "generate patchPLMNInfoList.TogNBCUUP",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2661.4787216186523,
+        "y": 1091.4858894348145,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "ac53172f.a81cc8",
+        "type": "execute",
+        "name": "populate mountName",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2645.479242324829,
+        "y": 1159.4861497879028,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "8cd56360.4c754",
+        "type": "block",
+        "name": "ransim  URL",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2385.7290267944336,
+        "y": 1150.2358899116516,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "8f6ac090.b47a3",
+                "ac53172f.a81cc8"
+            ]
+        ]
+    },
+    {
+        "id": "5dcf9efb.36263",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2211.2291717529297,
+        "y": 1139.4861488342285,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "8cd56360.4c754"
+            ]
+        ]
+    },
+    {
+        "id": "91e2f682.5ee478",
+        "type": "execute",
+        "name": "prepare idGNBCUUPFunction",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2081.3887939453125,
+        "y": 1199.2708134651184,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "19245baa.f98764",
+        "type": "execute",
+        "name": "patch PLMNInfoListEntry gNBCUUP",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoList-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"activate-gNBCUUP-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2030.7222900390625,
+        "y": 1312.937484741211,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "607507d2.076828",
+                "a4ba49bc.319898"
+            ]
+        ]
+    },
+    {
+        "id": "607507d2.076828",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2357.1668090820312,
+        "y": 1276.048846244812,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "3b8c2bff.4a8384"
+            ]
+        ]
+    },
+    {
+        "id": "a4ba49bc.319898",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2351.1666870117188,
+        "y": 1343.0487852096558,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "897bf22d.1244"
+            ]
+        ]
+    },
+    {
+        "id": "3b8c2bff.4a8384",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2534.1669311523438,
+        "y": 1265.0487241744995,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "dcb187c6.3c2a98",
+                "6fe85c0b.cfed34",
+                "1d2d8078.f320b"
+            ]
+        ]
+    },
+    {
+        "id": "897bf22d.1244",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2531.1666870117188,
+        "y": 1348.048602104187,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "b6c60408.ac42f8"
+            ]
+        ]
+    },
+    {
+        "id": "b6c60408.ac42f8",
+        "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - gNBCUUP PLMNInfo List\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2684.1663818359375,
+        "y": 1348.048846244812,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "dcb187c6.3c2a98",
+        "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 patching CUUP PLMNInfo. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 2738.916893005371,
+        "y": 1265.5490036010742,
+        "z": "8810ce64.4a102",
+        "wires": []
+    },
+    {
+        "id": "6fe85c0b.cfed34",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 2743.917079925537,
+        "y": 1211.5491394996643,
+        "z": "8810ce64.4a102",
+        "wires": []
+    },
+    {
+        "id": "616b13a5.03b89c",
+        "type": "block",
+        "name": "Process gNBDU",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 740.7291641235352,
+        "y": 1304.2361316680908,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "10fb2c3d.dfce64",
+                "70cc2ee.327ead",
+                "6a2616fc.39c188"
+            ]
+        ]
+    },
+    {
+        "id": "10fb2c3d.dfce64",
+        "type": "execute",
+        "name": "read DUlist size",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList_length'`\" />\n    ",
+        "comments": "",
+        "outputs": 1,
+        "x": 1073.4791870117188,
+        "y": 1210.2361183166504,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "70cc2ee.327ead",
+        "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of DU List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.DUList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1046.4792137145996,
+        "y": 1253.7361793518066,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "6a2616fc.39c188",
+        "type": "for",
+        "name": "foreach DU",
+        "xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1058.4791870117188,
+        "y": 1304.9861068725586,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "56903078.1f15a"
+            ]
+        ]
+    },
+    {
+        "id": "56903078.1f15a",
+        "type": "block",
+        "name": "block : process gNBDU",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1339.4791564941406,
+        "y": 1305.9860763549805,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "8815af69.bf19a",
+                "6c129f65.c2cb9",
+                "d9dc2c7b.dd00a",
+                "dc885ed2.b0e5d"
+            ]
+        ]
+    },
+    {
+        "id": "8815af69.bf19a",
+        "type": "execute",
+        "name": "read DU id",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.GNBDUId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].gNBDUId'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1618.4789810180664,
+        "y": 1301.9853782653809,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "6c129f65.c2cb9",
+        "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"GNBDUId \"/>\n<parameter name=\"field2\" value=\"`$tmp.GNBDUId`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1591.4789810180664,
+        "y": 1352.9853782653809,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "d9dc2c7b.dd00a",
+        "type": "execute",
+        "name": "read cellDU list size",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList[' + $id-du +'].cellDUList_length'`\" />\n    ",
+        "comments": "",
+        "outputs": 1,
+        "x": 1632.4789810180664,
+        "y": 1401.9853782653809,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "dc885ed2.b0e5d",
+        "type": "for",
+        "name": "for cellDUList",
+        "xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1622.4789810180664,
+        "y": 1445.9853782653809,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "cf6daf94.a4519"
+            ]
+        ]
+    },
+    {
+        "id": "cf6daf94.a4519",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1782.2290420532227,
+        "y": 1445.7355031967163,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "cd3443f.60a62c",
+                "fa791c73.94b2e",
+                "a86c8a66.29e048"
+            ]
+        ]
+    },
+    {
+        "id": "cd3443f.60a62c",
+        "type": "execute",
+        "name": "read PLMNList size",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUpLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList_length'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2030.4166564941406,
+        "y": 1445.4861068725586,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "fa791c73.94b2e",
+        "type": "for",
+        "name": "foreach PLMNInfo",
+        "xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2008.7500305175781,
+        "y": 1515.4861068725586,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "313e638f.f742ec"
+            ]
+        ]
+    },
+    {
+        "id": "313e638f.f742ec",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2194.138816833496,
+        "y": 1509.513816833496,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "52e7e56.cbb151c",
+                "e0f61457.8125e8",
+                "91bf12a7.d0c93"
+            ]
+        ]
+    },
+    {
+        "id": "e0f61457.8125e8",
+        "type": "execute",
+        "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI-DU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI.sNSSAI'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2565.694496154785,
+        "y": 1449.5976209640503,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "cf30123e.20ea6",
+        "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI-DU`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2430.027759552002,
+        "y": 1486.4863586425781,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "52e7e56.cbb151c",
+        "type": "switchNode",
+        "name": "is NSSAI exists",
+        "xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2425.1667404174805,
+        "y": 1536.041835784912,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "3a8ebde1.e6da42"
+            ]
+        ]
+    },
+    {
+        "id": "3a8ebde1.e6da42",
+        "type": "outcome",
+        "name": "True",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2599.638984680176,
+        "y": 1528.764193058014,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "274d0a32.b45fa6"
+            ]
+        ]
+    },
+    {
+        "id": "274d0a32.b45fa6",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2773.6667861938477,
+        "y": 1524.7363300323486,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "71cdbc0a.3622b4",
+                "ec44bdd1.bcf45",
+                "b4f0ef58.afece",
+                "38f96ec1.612702",
+                "87bfb017.e52f5",
+                "622005bb.6ae9cc",
+                "ef70ea15.eee9e8"
+            ]
+        ]
+    },
+    {
+        "id": "5253749f.cf47cc",
+        "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellDU is applicable for the NSSAI \"/>\n\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2986.167152404785,
+        "y": 1493.486330151558,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "71cdbc0a.3622b4",
+        "type": "switchNode",
+        "name": "ransim mounted",
+        "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2990.416664123535,
+        "y": 1551.4863624572754,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "3f634a3a.bbc3a6",
+                "e495c954.919aa8"
+            ]
+        ]
+    },
+    {
+        "id": "3f634a3a.bbc3a6",
+        "type": "outcome",
+        "name": "Not Mounted",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3199.6671562194824,
+        "y": 1506.4859037399292,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "42c47733.226eb8"
+            ]
+        ]
+    },
+    {
+        "id": "e495c954.919aa8",
+        "type": "outcome",
+        "name": "Mounted",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3194.6671562194824,
+        "y": 1567.9866065979004,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "605bb58c.b455ec"
+            ]
+        ]
+    },
+    {
+        "id": "42c47733.226eb8",
+        "type": "execute",
+        "name": "generate patch PLMNInfoListEntry ToNRCellDU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3545.9169158935547,
+        "y": 1505.2363605499268,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "605bb58c.b455ec",
+        "type": "block",
+        "name": "ransim  URL",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3372.166732788086,
+        "y": 1574.486240386963,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "18b79e75.37e392",
+                "f0161312.03f32"
+            ]
+        ]
+    },
+    {
+        "id": "18b79e75.37e392",
+        "type": "execute",
+        "name": "generate patchPLMNInfoList.ToNRCellDU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3654.1670989990234,
+        "y": 1563.236240386963,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f0161312.03f32",
+        "type": "execute",
+        "name": "populate mountName",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3604.4174041748047,
+        "y": 1623.7362718582153,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "ec44bdd1.bcf45",
+        "type": "execute",
+        "name": "prepare idGNBDUFunction",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n    <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3037.291717529297,
+        "y": 1678.298544883728,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b4f0ef58.afece",
+        "type": "execute",
+        "name": "prepare idNRCellDU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n    <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3010.2919006347656,
+        "y": 1733.2985467910767,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "38f96ec1.612702",
+        "type": "execute",
+        "name": "prepare mcc",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n    <parameter name=\"target\" value=\"{mcc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n   ",
+        "comments": "",
+        "outputs": 1,
+        "x": 2990.2915954589844,
+        "y": 1796.2988529205322,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "87bfb017.e52f5",
+        "type": "execute",
+        "name": "prepare mnc",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n    <parameter name=\"target\" value=\"{mnc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2992.2918395996094,
+        "y": 1854.2984857559204,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "622005bb.6ae9cc",
+        "type": "record",
+        "name": "record API params",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellDU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.GNBDUId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellDULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2997.291473388672,
+        "y": 1922.2989768981934,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "ef70ea15.eee9e8",
+        "type": "execute",
+        "name": "patch PLMNInfoListEntry ToNRCellDU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"activate-cellDU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3054.29150390625,
+        "y": 1997.5483627319336,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "31094a59.71c6b6",
+                "e17e12d8.7bf9b"
+            ]
+        ]
+    },
+    {
+        "id": "e17e12d8.7bf9b",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3321.29150390625,
+        "y": 1897.5483627319336,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "cb59d78a.e2f718"
+            ]
+        ]
+    },
+    {
+        "id": "cb59d78a.e2f718",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3479.291748046875,
+        "y": 1845.5483627319336,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "d2c3eb8a.9f6058",
+                "dca325ed.2d4808",
+                "1d2d8078.f320b"
+            ]
+        ]
+    },
+    {
+        "id": "dca325ed.2d4808",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellDU PLMNInfoList. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 3645.29150390625,
+        "y": 1811.5483627319336,
+        "z": "8810ce64.4a102",
+        "wires": []
+    },
+    {
+        "id": "d2c3eb8a.9f6058",
+        "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 NECellDU - PLMNInfo. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 3650.2913818359375,
+        "y": 1906.5484237670898,
+        "z": "8810ce64.4a102",
+        "wires": []
+    },
+    {
+        "id": "ae420b40.974238",
+        "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellDU PLMNInfo List\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3634.2913818359375,
+        "y": 1992.5486068725586,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b31a279f.84d848",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 3488.29150390625,
+        "y": 1993.548365354538,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "ae420b40.974238"
+            ]
+        ]
+    },
+    {
+        "id": "31094a59.71c6b6",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3320.29150390625,
+        "y": 1996.5483627319336,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "b31a279f.84d848"
+            ]
+        ]
+    },
+    {
+        "id": "9227e420.d769d8",
+        "type": "execute",
+        "name": "get PLMNId URL",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.configdb.getplmn`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.configdb.getPLMNId.url\"/>\n    <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n    <parameter name=\"replacement\" value=\"`$payloadJson.input.sliceProfileId`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 701.9791870117188,
+        "y": 637.0486183166504,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "118a9166.3752bf",
+        "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get PLMN from SliceProfileId URL: \"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getPLMNId.url`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 675.4791870117188,
+        "y": 692.5486497879028,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "30fa502.42137b",
+        "type": "execute",
+        "name": "Get PLMN from Sliceprofile id",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getPLMNId.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getPLMN-configdb-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": 744.2291717529297,
+        "y": 746.0485858917236,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "87dd3f2b.2826d",
+        "type": "execute",
+        "name": "read PLMN Id",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNId' />\n\t<parameter name='source' value=\"`getPLMN-configdb-response.plmnId`\" />\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 697.2291641235352,
+        "y": 785.1598272323608,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "e73bf4c7.eb1d48",
+        "type": "execute",
+        "name": "find MCC",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n    <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n    <parameter name=\"result\" value=\"tmp.mcc\"/>\n    <parameter name=\"begin-index\" value=\"0\" />\n    <parameter name=\"end-index\" value=\"3\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 682.7014083862305,
+        "y": 822.1875896453857,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "51734263.da003c",
+        "type": "execute",
+        "name": "find MNC",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n    <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n    <parameter name=\"result\" value=\"tmp.mnc\"/>\n    <parameter name=\"begin-index\" value=\"4\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 679.3681449890137,
+        "y": 860.9653186798096,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "7056f58c.cbd93c",
+        "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 668.5838088989258,
+        "y": 895.7365913391113,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "1d2d8078.f320b",
+        "type": "block",
+        "name": "block : SO Response",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 4123.229156494141,
+        "y": 1644.102195739746,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "95d91ff1.aee05",
+                "860df61e.6c4d98",
+                "fb12db36.56d558"
+            ]
+        ]
+    },
+    {
+        "id": "95d91ff1.aee05",
+        "type": "set",
+        "name": "set tmp variables for SO response",
+        "xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$activate-r-a-n-slice-instance-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$activate-r-a-n-slice-instance-input.action`\"/>\n",
+        "comments": "",
+        "x": 4502.372940063477,
+        "y": 1501.7161827087402,
+        "z": "8810ce64.4a102",
+        "wires": []
+    },
+    {
+        "id": "860df61e.6c4d98",
+        "type": "record",
+        "name": "record RestAPI parms",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$tmp.so.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 4505.943397521973,
+        "y": 1567.3882694244385,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "fb12db36.56d558",
+        "type": "execute",
+        "name": "Send to SO",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-activate-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": 4432.371963500977,
+        "y": 1645.8168439865112,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "9980158f.406e88",
+                "67b08216.a3393c"
+            ]
+        ]
+    },
+    {
+        "id": "9980158f.406e88",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4669.800521850586,
+        "y": 1628.5308952331543,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "87660bcc.628228"
+            ]
+        ]
+    },
+    {
+        "id": "87660bcc.628228",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 4862.228889465332,
+        "y": 1619.2453327178955,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "71da56df.06b538"
+            ]
+        ]
+    },
+    {
+        "id": "71da56df.06b538",
+        "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 sending SO Response\" />",
+        "comments": "",
+        "x": 5063.942771911621,
+        "y": 1607.9594445228577,
+        "z": "8810ce64.4a102",
+        "wires": []
+    },
+    {
+        "id": "a4c90aa5.4590d8",
+        "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 5058.086048126221,
+        "y": 1682.9595108032227,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "c87cca3b.177cf8",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 4874.085899353027,
+        "y": 1688.3879528045654,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "a4c90aa5.4590d8"
+            ]
+        ]
+    },
+    {
+        "id": "67b08216.a3393c",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 4664.085845947266,
+        "y": 1692.2451915740967,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "c87cca3b.177cf8"
+            ]
+        ]
+    },
+    {
+        "id": "1f3735d.7ce59ca",
+        "type": "block",
+        "name": "SO Response",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 670.7291564941406,
+        "y": 1621.245018005371,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "a80d850.d925878",
+                "9999f77f.9d0b48",
+                "2c826e96.56d782",
+                "fb15841c.d43108"
+            ]
+        ]
+    },
+    {
+        "id": "2c826e96.56d782",
+        "type": "set",
+        "name": "set tmp variables for SO response",
+        "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$activate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$activate-r-a-n-slice-input.action`\"/>\n",
+        "comments": "",
+        "x": 950.7303009033203,
+        "y": 1471.1445026397705,
+        "z": "8810ce64.4a102",
+        "wires": []
+    },
+    {
+        "id": "a80d850.d925878",
+        "type": "record",
+        "name": "record SO reply parms",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$payloadJson.input.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 947.729133605957,
+        "y": 1625.2452011108398,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "9999f77f.9d0b48",
+        "type": "execute",
+        "name": "Send to SO",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-activate-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 816.7292327880859,
+        "y": 1742.2449054718018,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "2063bf67.d5503",
+                "ee4d36f.2eaa2c8"
+            ]
+        ]
+    },
+    {
+        "id": "2063bf67.d5503",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 981.7292327880859,
+        "y": 1722.2449045181274,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "7b7497de.9bd2e8"
+            ]
+        ]
+    },
+    {
+        "id": "ee4d36f.2eaa2c8",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 973.7291259765625,
+        "y": 1795.244854927063,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "9a9bad68.9f109"
+            ]
+        ]
+    },
+    {
+        "id": "9a9bad68.9f109",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1119.7289695739746,
+        "y": 1800.244963645935,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "6a0f5572.75136c"
+            ]
+        ]
+    },
+    {
+        "id": "7b7497de.9bd2e8",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1130.729133605957,
+        "y": 1718.2450399398804,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "a9943a91.4d4d58",
+                "9f7d08ba.2c9008"
+            ]
+        ]
+    },
+    {
+        "id": "a9943a91.4d4d58",
+        "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 sending SO Response\" />",
+        "comments": "",
+        "x": 1277.7287521362305,
+        "y": 1729.2447814941406,
+        "z": "8810ce64.4a102",
+        "wires": []
+    },
+    {
+        "id": "6a0f5572.75136c",
+        "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1280.728889465332,
+        "y": 1806.2448558807373,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "9f7d08ba.2c9008",
+        "type": "set",
+        "name": "set",
+        "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/>",
+        "comments": "",
+        "x": 1265.2393608093262,
+        "y": 1633.2342729568481,
+        "z": "8810ce64.4a102",
+        "wires": []
+    },
+    {
+        "id": "fb15841c.d43108",
+        "type": "execute",
+        "name": "generate URL for SO Callback",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.so.callbackURL`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.so.callbackURL\"/>\n    <parameter name=\"target\" value=\"{requestId}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.requestID`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 970.0687561035156,
+        "y": 1561.2303552627563,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "63bf8010.4abdc",
+        "type": "returnSuccess",
+        "name": "return success",
+        "xml": "<return status='success'>\n<parameter name=\"ack-final\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />",
+        "comments": "",
+        "x": 328.2291564941406,
+        "y": 1137.6736068725586,
+        "z": "8810ce64.4a102",
+        "wires": []
+    },
+    {
+        "id": "4119896c.9c68b8",
+        "type": "execute",
+        "name": "read RIC list size",
+        "xml": "<set>\n<parameter name='tmp.RICList_length' value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 697.2221603393555,
+        "y": 928.3332767486572,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "9549e73d.16fbf8",
+        "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1911.6665649414062,
+        "y": 720.0001373291016,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "7ab6a74c.7816e8",
+        "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"pLMNInfoList_length \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList_length`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1911.666603088379,
+        "y": 811.1111469268799,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a4f056d4.272128",
+        "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PLMNInfo exists\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2371.66650390625,
+        "y": 758.3333129882812,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "19abab8d.4a9414",
+        "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-configdb-response.[' + $idy +'].nearRTRICId'`\" />\n    ",
+        "comments": "",
+        "outputs": 1,
+        "x": 844.1666488647461,
+        "y": 960.8332462310791,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a26eb581.df1338",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 651.9443969726562,
+        "y": 977.4999389648438,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "19abab8d.4a9414"
+            ]
+        ]
+    },
+    {
+        "id": "760fbb9c.1fe0f4",
+        "type": "execute",
+        "name": "prepare nearRTRICId",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2040.833251953125,
+        "y": 1163.0555419921875,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "c1d6662b.ac2dc8",
+        "type": "execute",
+        "name": "prepare mcc",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{mcc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2037.4998779296875,
+        "y": 1239.72216796875,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "4ae26bfb.2cf8b4",
+        "type": "execute",
+        "name": "prepare mnc",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{mnc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2034.16650390625,
+        "y": 1273.0555419921875,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "edc43ccd.f324e",
+        "type": "execute",
+        "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $idz +'].pLMNInfoList['+ $id-plmn +'].sNSSAI.sNSSAI'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2115,
+        "y": 945.2777061462402,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "59abfdfd.c246c4",
+        "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1964.889030456543,
+        "y": 981.0555400848389,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "33d0ad10.4a9b82",
+        "type": "switchNode",
+        "name": "is NSSAI exists",
+        "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1977.1112747192383,
+        "y": 1021.1666297912598,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "81194fd7.433ad",
+                "9078ea63.753fd8"
+            ]
+        ]
+    },
+    {
+        "id": "81194fd7.433ad",
+        "type": "outcome",
+        "name": "True",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2158.805805206299,
+        "y": 1000.277868270874,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "22705dcb.70b392"
+            ]
+        ]
+    },
+    {
+        "id": "20e32925.344246",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1766.1109619140625,
+        "y": 1005.2777099609375,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "edc43ccd.f324e",
+                "59abfdfd.c246c4",
+                "33d0ad10.4a9b82"
+            ]
+        ]
+    },
+    {
+        "id": "9078ea63.753fd8",
+        "type": "outcome",
+        "name": "false",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2339.4443359375,
+        "y": 971.9443969726562,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "3f6d8320.acc2dc"
+            ]
+        ]
+    },
+    {
+        "id": "3f6d8320.acc2dc",
+        "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI doesn't match\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2479.444393157959,
+        "y": 961.9443674087524,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "91bf12a7.d0c93",
+        "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DUpLMNInfoList_length\"/>\n<parameter name=\"field2\" value=\"`$tmp.DUpLMNInfoList_length`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2415,
+        "y": 1395.2777099609375,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a603b30f.95aef",
+        "type": "execute",
+        "name": "read cell id",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellLocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1930.5554962158203,
+        "y": 667.4999494552612,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a86c8a66.29e048",
+        "type": "execute",
+        "name": "read cellDU",
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2009.72216796875,
+        "y": 1370.833251953125,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "1c30356c.7a78eb",
+        "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellDULocalId`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2009.0968475341797,
+        "y": 1406.1456327438354,
+        "z": "8810ce64.4a102",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "ea6a18bc.839118",
+        "type": "switchNode",
+        "name": "check the action",
+        "xml": "<switch test='`$activate-r-a-n-slice-instance-input.action == activate`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 713.3333206176758,
+        "y": 415.2777533531189,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "24f480c0.215e",
+                "d5be92c1.19ca2"
+            ]
+        ]
+    },
+    {
+        "id": "24f480c0.215e",
+        "type": "outcome",
+        "name": "True",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 940.8333168029785,
+        "y": 360.8333568572998,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "cbae8ce4.fffa9"
+            ]
+        ]
+    },
+    {
+        "id": "d5be92c1.19ca2",
+        "type": "outcome",
+        "name": "False",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 943.0554618835449,
+        "y": 419.7222442626953,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "dbb21ae4.bc9e08"
+            ]
+        ]
+    },
+    {
+        "id": "db9bee55.c76d8",
+        "type": "set",
+        "name": "set status as ACTIVE",
+        "xml": "<set>\n<parameter name='tmp.status' value='ACTIVE' />",
+        "comments": "",
+        "x": 1395.277889251709,
+        "y": 330.8333206176758,
+        "z": "8810ce64.4a102",
+        "wires": []
+    },
+    {
+        "id": "6250ead9.88d1e4",
+        "type": "set",
+        "name": "set status as INACTIVE",
+        "xml": "<set>\n<parameter name='tmp.status' value='INACTIVE' />",
+        "comments": "",
+        "x": 1369.7222328186035,
+        "y": 364.16667461395264,
+        "z": "8810ce64.4a102",
+        "wires": []
+    },
+    {
+        "id": "cbae8ce4.fffa9",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1150.8333168029785,
+        "y": 348.6110668182373,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "db9bee55.c76d8"
+            ]
+        ]
+    },
+    {
+        "id": "dbb21ae4.bc9e08",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1147.5000610351562,
+        "y": 405.2777953147888,
+        "z": "8810ce64.4a102",
+        "wires": [
+            [
+                "6250ead9.88d1e4"
+            ]
+        ]
     }
 ]
\ No newline at end of file