summaryrefslogtreecommitdiffstats
path: root/platform-logic/ran-slice-api
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/ran-slice-api')
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance-cps.json3710
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance-cps.xml454
2 files changed, 2808 insertions, 1356 deletions
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance-cps.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance-cps.json
index 056b9335..12e559ba 100644
--- a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance-cps.json
+++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance-cps.json
@@ -1,20 +1,20 @@
[
{
- "id": "95c70e7.58c8ef",
+ "id": "ca7344d6.509768",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 96.88184356689453,
+ "x": 143,
"y": 82.3956356048584,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "e1f9105d.13986"
+ "dfbca518.b9a7e8"
]
]
},
{
- "id": "e1f9105d.13986",
+ "id": "dfbca518.b9a7e8",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -22,4334 +22,5364 @@
"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": 130.38186645507812,
+ "x": 176.5000228881836,
"y": 132.39564323425293,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "8e8298cc.c09598"
+ "915e4f09.91e9d"
]
]
},
{
- "id": "8e8298cc.c09598",
+ "id": "915e4f09.91e9d",
"type": "method",
"name": "method",
"xml": "<method rpc='activateRANSliceInstance-cps' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 65.6318473815918,
+ "x": 111.75000381469727,
"y": 178.64560413360596,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "ed9dab05.de8a68"
+ "a3e343da.5f39f"
]
]
},
{
- "id": "ed9dab05.de8a68",
+ "id": "a3e343da.5f39f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 77.63187408447266,
+ "x": 123.75003051757812,
"y": 239.39573574066162,
- "z": "c6dfcfc7.2379e",
- "wires": [
- [
- "df3d2f1.c7e96d",
- "d6dd23bd.5b61b",
- "93b6b291.9ca64",
- "9dc2bbb1.b44d58",
- "3071307c.da0b5",
- "15ce4b71.e55e85",
- "78da1475.d3007c",
- "5bb2aaaa.a1c004",
- "57d081f6.1550f",
- "30d88206.5186ce",
- "5b070d4f.ba4224",
- "943061f0.4e102",
- "f2419320.09df3",
- "502d98d2.d90ed8",
- "f75875bc.e60838",
- "fda5b8e3.401108",
- "8827e1d9.45f51",
- "e94238f1.b229a8",
- "6fd3bcdd.a52654",
- "ffa67fb0.23902"
- ]
- ]
- },
- {
- "id": "4acf7054.5614e",
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "b261d2d3.2be4a",
+ "1aab2f5a.0231f1",
+ "7be1fba6.dac294",
+ "e3636df.eb6ef9",
+ "a15595a9.636ed8",
+ "1966cd6c.f10c33",
+ "903fdc4f.19955",
+ "12d9d2cb.c771ed",
+ "2dfcddc5.5a5002",
+ "979134bf.3a8488",
+ "79dd0643.46bc88",
+ "e1a9a8.be188658",
+ "a954d751.b91238",
+ "e3625a95.cb7f18",
+ "4b52ec6c.83ac04",
+ "7c9f66f.14d2398",
+ "c8437924.2c1958",
+ "fe23403b.9bdc9",
+ "bf0ae11f.01f83",
+ "7abb5cad.8b4824"
+ ]
+ ]
+ },
+ {
+ "id": "33673e04.80f002",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1914.9500541687012,
+ "x": 1961.0682106018066,
"y": 324.46380043029785,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "752ffba5.85b694"
+ "c9bb92b2.b592b"
]
]
},
{
- "id": "752ffba5.85b694",
+ "id": "c9bb92b2.b592b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2123.950019836426,
+ "x": 2170.0681762695312,
"y": 295.463942527771,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "79943c49.324f24",
- "489927c3.d77758"
+ "2da6f6b8.c0157a",
+ "b141b316.0648c"
]
]
},
{
- "id": "702eeca0.2cc214",
+ "id": "df4a544b.4dc0e8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1937.9500179290771,
+ "x": 1984.0681743621826,
"y": 270.463942527771,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "5b7ea02.684756"
+ "444c826.65c657c"
]
]
},
{
- "id": "5b7ea02.684756",
+ "id": "444c826.65c657c",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2160.8073806762695,
+ "x": 2206.925537109375,
"y": 222.74963569641113,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "a4a91d4d.50e97",
- "e81bf9b2.45d948"
+ "ef61818c.15786",
+ "ce4938a5.8e1db8"
]
]
},
{
- "id": "df3d2f1.c7e96d",
+ "id": "b261d2d3.2be4a",
"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": 465.3819465637207,
+ "x": 511.5001029968262,
"y": 62.64565467834473,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "d6dd23bd.5b61b",
+ "id": "1aab2f5a.0231f1",
"type": "set",
"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": 473.54835510253906,
+ "x": 519.6665115356445,
"y": 105.8123426437378,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": []
},
{
- "id": "93b6b291.9ca64",
+ "id": "7be1fba6.dac294",
"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": 441.88169860839844,
+ "x": 487.9998550415039,
"y": 142.3956708908081,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "abc9fd1d.415f9"
+ "84f6f07a.06f25"
]
]
},
{
- "id": "9dc2bbb1.b44d58",
+ "id": "e3636df.eb6ef9",
"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": 371.02053451538086,
+ "x": 417.1386909484863,
"y": 210.88522720336914,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "3071307c.da0b5",
+ "id": "a15595a9.636ed8",
"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/ran-slice-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
"comments": "",
"outputs": 1,
- "x": 367.6595344543457,
- "y": 241.64564514160156,
- "z": "c6dfcfc7.2379e",
+ "x": 393.77769470214844,
+ "y": 268.78851413726807,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "15ce4b71.e55e85",
+ "id": "1966cd6c.f10c33",
"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=\"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": 320.7151985168457,
- "y": 278.5901870727539,
- "z": "c6dfcfc7.2379e",
+ "x": 373.9761962890625,
+ "y": 304.30445861816406,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "abc9fd1d.415f9",
+ "id": "84f6f07a.06f25",
"type": "other",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 630.3261032104492,
+ "x": 676.4442596435547,
"y": 139.50684070587158,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "3e1f0500.f3b97a"
+ "64725ff4.5fe5b"
]
]
},
{
- "id": "3e1f0500.f3b97a",
+ "id": "64725ff4.5fe5b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 777.3819198608398,
+ "x": 823.5000762939453,
"y": 139.14565181732178,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "fe6014d7.6eec38",
- "bc1fccf9.055a8"
+ "86b0b8cc.e21d78",
+ "31dbd5a7.00abda"
]
]
},
{
- "id": "fe6014d7.6eec38",
+ "id": "86b0b8cc.e21d78",
"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": 920.6319313049316,
+ "x": 966.7500877380371,
"y": 62.895681381225586,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "bc1fccf9.055a8",
+ "id": "31dbd5a7.00abda",
"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": 932.1320114135742,
+ "x": 978.2501678466797,
"y": 108.14570331573486,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "78da1475.d3007c",
+ "id": "903fdc4f.19955",
"type": "for",
"name": "foreach NearRTRIC",
"xml": "<for index='idy' start='0' end='`$tmp.RICList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 263.81949615478516,
+ "x": 309.9376525878906,
"y": 680.7712259292603,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "e5dad442.590288",
- "86971335.10406",
- "7d131d1.099c9e4",
- "6c1fe22f.5d431c"
+ "8f66045d.7554b8",
+ "2c581b4c.107ae4",
+ "bb537fef.54494",
+ "5abe3b8.d6639c4"
]
]
},
{
- "id": "e5dad442.590288",
+ "id": "8f66045d.7554b8",
"type": "block",
"name": "Process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 520.5416717529297,
- "y": 773.5086193084717,
- "z": "c6dfcfc7.2379e",
+ "x": 626.6598663330078,
+ "y": 1168.5086936950684,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "aa3e346e.d33788",
- "4f1c2802.a2c3b8",
- "36aa05a7.da2c8a"
+ "f87347ce.5cad58",
+ "7e98d413.9cbf8c",
+ "4f489b93.f74da4"
]
]
},
{
- "id": "aa3e346e.d33788",
+ "id": "f87347ce.5cad58",
"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-cps-response.[' + $idy +'].GNBCUCPFunction_length'`\" />\n \n ",
"comments": "",
"outputs": 1,
- "x": 756.6527862548828,
- "y": 729.2307834625244,
- "z": "c6dfcfc7.2379e",
+ "x": 862.7709808349609,
+ "y": 1124.230857849121,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "4f1c2802.a2c3b8",
+ "id": "7e98d413.9cbf8c",
"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.CUCPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 743.0417022705078,
- "y": 765.841869354248,
- "z": "c6dfcfc7.2379e",
+ "x": 849.1598968505859,
+ "y": 1160.8419437408447,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "36aa05a7.da2c8a",
+ "id": "4f489b93.f74da4",
"type": "for",
"name": "foreach CUCP",
"xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 746.4306640625,
- "y": 803.0085868835449,
- "z": "c6dfcfc7.2379e",
+ "x": 852.5488586425781,
+ "y": 1198.0086612701416,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "cc19896b.9316a8"
+ "c9eafdf0.ab6a1"
]
]
},
{
- "id": "cc19896b.9316a8",
+ "id": "c9eafdf0.ab6a1",
"type": "block",
"name": "block : process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 975.3197021484375,
- "y": 791.9526290893555,
- "z": "c6dfcfc7.2379e",
+ "x": 1081.4378967285156,
+ "y": 1186.9527034759521,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "18568cda.8bd573",
- "81a8517.3d22cb",
- "c1cc5a77.3d8b48",
- "4bbd9c8d.84d4f4"
+ "c487e215.9bc4d",
+ "5cbdb6a.1382f48",
+ "53cdb08.38bf25",
+ "d097e838.b2b958",
+ "b40b980d.9da238"
]
]
},
{
- "id": "c1cc5a77.3d8b48",
+ "id": "53cdb08.38bf25",
"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-cps-response.['+ $idy +'].GNBCUCPFunction['+ $idz +'].attributes.gNBCUName'`\" />",
+ "name": "read CUCP id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.idCUCP' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBCUCPFunction['+ $idz +'].idGNBCUCPFunction'`\" />",
"comments": "",
"outputs": 1,
- "x": 1199.6061782836914,
- "y": 661.8219337463379,
- "z": "c6dfcfc7.2379e",
+ "x": 1372.1529693603516,
+ "y": 1102.5363903045654,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "4bbd9c8d.84d4f4",
+ "id": "d097e838.b2b958",
"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`\"/>",
+ "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=\"ID CUCP \"/>\n<parameter name=\"field2\" value=\"`$tmp.idCUCP`\"/>\n<parameter name=\"field3\" value=\"CUCPName \"/>\n<parameter name=\"field4\" value=\"`$tmp.CUCPName`\"/>",
"comments": "",
"outputs": 1,
- "x": 1187.8003578186035,
- "y": 701.2147579193115,
- "z": "c6dfcfc7.2379e",
+ "x": 1361.7758483886719,
+ "y": 1140.5005359649658,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "e746e6da.878328",
+ "id": "2eaec5f6.dc898a",
"type": "block",
"name": "block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1838.3200569152832,
- "y": 841.4527130126953,
- "z": "c6dfcfc7.2379e",
+ "x": 1633.7241325378418,
+ "y": 1214.310073852539,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "81d7a323.b56df",
- "620f1e83.d0ab5",
- "8976523.23750b"
+ "e2fa5e47.8914f",
+ "a7ffe5c0.4a9ec8",
+ "1e2b1071.8f533"
]
]
},
{
- "id": "b7df5836.9108e8",
+ "id": "ba060888.c4ae98",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3843.195514678955,
- "y": 222.32809734344482,
- "z": "c6dfcfc7.2379e",
+ "x": 4179.3142738342285,
+ "y": 1132.3281726837158,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "a1494fe4.00698"
+ "34614142.5f2b3e"
]
]
},
{
- "id": "a1494fe4.00698",
+ "id": "34614142.5f2b3e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4043.820827484131,
- "y": 218.83343124389648,
- "z": "c6dfcfc7.2379e",
+ "x": 4334.9394454956055,
+ "y": 1108.8335103988647,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "22e9468a.0e257a",
- "fb2dabf5.ed6fe8",
- "4b6128c2.4c24b8",
- "b8127211.053fb",
- "17b27343.be6c0d",
- "d15eb1c8.39dea",
- "d087542d.076468",
- "b79bf9ad.5f4ab8",
- "c059f5ad.df7838"
+ "20472e22.0391c2",
+ "a8e776fa.7a4a68",
+ "47be977d.fc5218",
+ "9a645aea.e13548",
+ "68ec85db.74334c",
+ "840d1199.c92f4",
+ "51fb957a.e2f33c",
+ "e4c55daa.adc11",
+ "5ed4718.0ea679",
+ "66a8e267.08aa8c",
+ "e1a02496.fd2ae8",
+ "90622f26.b1479",
+ "e2e2decb.f1d42"
]
]
},
{
- "id": "c059f5ad.df7838",
+ "id": "5ed4718.0ea679",
"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": 4284.653644561768,
- "y": 43,
- "z": "c6dfcfc7.2379e",
+ "x": 4665.772327423096,
+ "y": 608.0000998973846,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "b79bf9ad.5f4ab8",
+ "id": "e4c55daa.adc11",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 4310.689121246338,
- "y": 123.857102394104,
- "z": "c6dfcfc7.2379e",
+ "x": 4691.807804107666,
+ "y": 688.8572022914886,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "a58461a4.e7287",
- "4ec45d3a.ef5ff4"
+ "4e0a8f5e.f7c",
+ "a5c566dc.9bd128"
]
]
},
{
- "id": "a58461a4.e7287",
+ "id": "4e0a8f5e.f7c",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4500.653652191162,
- "y": 62.249762535095215,
- "z": "c6dfcfc7.2379e",
+ "x": 4881.77233505249,
+ "y": 627.2498624324799,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "e077b3e4.efcde"
+ "b776103b.bbb96"
]
]
},
{
- "id": "e077b3e4.efcde",
+ "id": "b776103b.bbb96",
"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": 4820.653652191162,
- "y": 77.25000667572021,
- "z": "c6dfcfc7.2379e",
+ "x": 5201.77233505249,
+ "y": 642.2501065731049,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "5dc75231.0b7e0c",
+ "id": "a844aea2.c855f",
"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": 4999.15368270874,
- "y": 135.24994564056396,
- "z": "c6dfcfc7.2379e",
+ "x": 5380.272365570068,
+ "y": 700.2500455379486,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "5c8f53c3.234a5c",
+ "id": "5ef67484.2a94dc",
"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": 4943.154083251953,
- "y": 188.2501392364502,
- "z": "c6dfcfc7.2379e",
+ "x": 5324.272766113281,
+ "y": 753.2502391338348,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "8f54751c.a99438",
+ "id": "9513bcc7.ad279",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4692.153652191162,
- "y": 165.25000667572021,
- "z": "c6dfcfc7.2379e",
+ "x": 5073.27233505249,
+ "y": 730.2501065731049,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "5dc75231.0b7e0c",
- "5c8f53c3.234a5c"
+ "a844aea2.c855f",
+ "5ef67484.2a94dc"
]
]
},
{
- "id": "4ec45d3a.ef5ff4",
+ "id": "a5c566dc.9bd128",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4488.653652191162,
- "y": 164.25000667572021,
- "z": "c6dfcfc7.2379e",
+ "x": 4869.77233505249,
+ "y": 729.2501065731049,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "8f54751c.a99438"
+ "9513bcc7.ad279"
]
]
},
{
- "id": "22e9468a.0e257a",
+ "id": "20472e22.0391c2",
"type": "execute",
"name": "read NRCellCUID",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.NRCellCUID' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBCUCPFunction['+ $idz +'].NRCellCU['+ $idcu +'].idNRCellCU'`\" />",
"comments": "",
"outputs": 1,
- "x": 4329.653694152832,
- "y": 188.4999418258667,
- "z": "c6dfcfc7.2379e",
+ "x": 4710.77237701416,
+ "y": 753.5000417232513,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "17b27343.be6c0d",
+ "id": "68ec85db.74334c",
"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": 4357.903697967529,
- "y": 256.2499442100525,
- "z": "c6dfcfc7.2379e",
+ "x": 4759.022850036621,
+ "y": 811.2500495910645,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "d15eb1c8.39dea",
+ "id": "840d1199.c92f4",
"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.NRCellCUID`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 4329.975582122803,
- "y": 309.96420669555664,
- "z": "c6dfcfc7.2379e",
+ "x": 4711.094264984131,
+ "y": 874.9643065929413,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "d087542d.076468",
+ "id": "51fb957a.e2f33c",
"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": 4294.653694152832,
- "y": 371.00015354156494,
- "z": "c6dfcfc7.2379e",
+ "x": 4675.77237701416,
+ "y": 936.0002534389496,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "fb2dabf5.ed6fe8",
+ "id": "a8e776fa.7a4a68",
"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": 4248.404178619385,
- "y": 443.7500286102295,
- "z": "c6dfcfc7.2379e",
+ "x": 4629.522861480713,
+ "y": 1008.7501285076141,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "4b6128c2.4c24b8",
+ "id": "47be977d.fc5218",
"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.NRCellCUID`\"/>\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": 4244.903690338135,
- "y": 512.2499561309814,
- "z": "c6dfcfc7.2379e",
+ "x": 4626.022373199463,
+ "y": 1077.250056028366,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "b8127211.053fb",
+ "id": "9a645aea.e13548",
"type": "execute",
- "name": "activate PLMNInfoListEntry ToNRCellDU",
+ "name": "activate PLMNInfoListEntry ToNRCellCU",
"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": 4284.903797149658,
- "y": 575.2499294281006,
- "z": "c6dfcfc7.2379e",
+ "x": 4666.022480010986,
+ "y": 1140.2500293254852,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "476edc59.845cb4",
- "576a9748.dbfd78"
+ "9b1fe4e3.aaeb88",
+ "76e7bb6.6243544"
]
]
},
{
- "id": "576a9748.dbfd78",
+ "id": "76e7bb6.6243544",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4523.403705596924,
- "y": 495.4999542236328,
- "z": "c6dfcfc7.2379e",
+ "x": 4904.522388458252,
+ "y": 1060.5000541210175,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "4fb42142.49b34"
+ "a8bbc26b.ba9fa"
]
]
},
{
- "id": "4fb42142.49b34",
+ "id": "a8bbc26b.ba9fa",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4673.403980255127,
- "y": 454.50013732910156,
- "z": "c6dfcfc7.2379e",
+ "x": 5054.522663116455,
+ "y": 1019.5002372264862,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "651094c1.f5173c",
- "4a09a4a6.6433fc",
- "a4a91d4d.50e97"
+ "f330b956.d1b668",
+ "f0e924be.88ac18",
+ "ef61818c.15786"
]
]
},
{
- "id": "4a09a4a6.6433fc",
+ "id": "f0e924be.88ac18",
"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": 4839.403736114502,
- "y": 420.50013732910156,
- "z": "c6dfcfc7.2379e",
+ "x": 5220.52241897583,
+ "y": 985.5002372264862,
+ "z": "99837a4f.2c12b8",
"wires": []
},
{
- "id": "651094c1.f5173c",
+ "id": "f330b956.d1b668",
"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": 4844.403614044189,
- "y": 515.5001983642578,
- "z": "c6dfcfc7.2379e",
+ "x": 5225.522296905518,
+ "y": 1080.5002982616425,
+ "z": "99837a4f.2c12b8",
"wires": []
},
{
- "id": "2329c419.3e9e0c",
+ "id": "617bc0c.9628a4",
"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": 4929.403583526611,
- "y": 608.5003814697266,
- "z": "c6dfcfc7.2379e",
+ "x": 5310.522266387939,
+ "y": 1173.5004813671112,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "4822c81c.ef54d8",
+ "id": "ecab2833.2c04c8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4731.403522491455,
- "y": 611.5002593994141,
- "z": "c6dfcfc7.2379e",
+ "x": 5112.522205352783,
+ "y": 1176.5003592967987,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "2329c419.3e9e0c"
+ "617bc0c.9628a4"
]
]
},
{
- "id": "476edc59.845cb4",
+ "id": "9b1fe4e3.aaeb88",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4558.403736114502,
- "y": 612.5001983642578,
- "z": "c6dfcfc7.2379e",
+ "x": 4939.52241897583,
+ "y": 1177.5002982616425,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "4822c81c.ef54d8"
+ "ecab2833.2c04c8"
]
]
},
{
- "id": "5bb2aaaa.a1c004",
+ "id": "12d9d2cb.c771ed",
"type": "execute",
"name": "read sNSSAI from input",
"xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sNSSAI`\" />\n",
"comments": "",
"outputs": 1,
- "x": 417.3194465637207,
+ "x": 463.4376029968262,
"y": 177.14570236206055,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "86971335.10406",
+ "id": "2c581b4c.107ae4",
"type": "block",
"name": "Process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 504.92671966552734,
- "y": 887.6826167106628,
- "z": "c6dfcfc7.2379e",
+ "x": 551.0449752807617,
+ "y": 1332.6827120780945,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "ce112c26.9be4e",
- "2f9ef6cf.023c5a",
- "400c2b43.c6f694"
+ "9dcb2b46.f82fe8",
+ "1d6f615a.daa40f",
+ "ed4c40db.e348e"
]
]
},
{
- "id": "ce112c26.9be4e",
+ "id": "9dcb2b46.f82fe8",
"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-cps-response.[' + $idy +'].GNBCUUPFunction_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 737.2919464111328,
- "y": 868.6947364807129,
- "z": "c6dfcfc7.2379e",
+ "x": 783.4102020263672,
+ "y": 1313.6948318481445,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "2f9ef6cf.023c5a",
+ "id": "1d6f615a.daa40f",
"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 CUUP 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": 717.6251983642578,
- "y": 906.8335733413696,
- "z": "c6dfcfc7.2379e",
+ "x": 763.7434539794922,
+ "y": 1351.8336687088013,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "400c2b43.c6f694",
+ "id": "ed4c40db.e348e",
"type": "for",
"name": "foreach CUUP",
"xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 726.0138702392578,
- "y": 959.5837697982788,
- "z": "c6dfcfc7.2379e",
+ "x": 772.1321258544922,
+ "y": 1404.5838651657104,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "1c0896e8.18f0c9"
+ "a6a7b8ad.631a48"
]
]
},
{
- "id": "1c0896e8.18f0c9",
+ "id": "a6a7b8ad.631a48",
"type": "block",
"name": "block : process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 977.006233215332,
- "y": 915.4520959854126,
- "z": "c6dfcfc7.2379e",
+ "x": 1023.1244888305664,
+ "y": 1360.4521913528442,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "27c6d4f8.5cc7cc",
- "b482c11e.e4bb",
- "b52aad42.9063",
- "55b4e9c6.8cc4d8",
- "a91738c2.935388"
+ "8da76b8d.0bc4d8",
+ "102e1c77.4d87c4",
+ "261ccd5b.e4bd92",
+ "d7bb5c2.697e4a",
+ "70f7e4e7.be9b0c"
]
]
},
{
- "id": "27c6d4f8.5cc7cc",
+ "id": "8da76b8d.0bc4d8",
"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-cps-response.['+ $idy +'].GNBCUUPFunction['+ $id-cuup +'].idGNBCUUPFunction'`\" />",
"comments": "",
"outputs": 1,
- "x": 1212.9308166503906,
- "y": 835.1945543289185,
- "z": "c6dfcfc7.2379e",
+ "x": 1259.049072265625,
+ "y": 1280.19464969635,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "b482c11e.e4bb",
+ "id": "102e1c77.4d87c4",
"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`\"/>",
+ "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",
"comments": "",
"outputs": 1,
- "x": 1199.113380432129,
- "y": 875.4803714752197,
- "z": "c6dfcfc7.2379e",
+ "x": 1245.2316360473633,
+ "y": 1320.4804668426514,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "a8c78477.5ee898",
+ "id": "e4dd18f2.c36678",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2879.445068359375,
- "y": 899.0209407806396,
- "z": "c6dfcfc7.2379e",
+ "x": 3080.5632305145264,
+ "y": 1354.0210189819336,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "b21a255d.0cc248",
- "cd12c78c.eea4e8",
- "c7c02b3.6c048d8",
- "164bc17.47ca63f",
- "4b22f84d.67fe98",
- "b5c923ff.68bc",
- "76f8a4f9.c17dac"
+ "84357fa.580f18",
+ "c7508f7.76edc7",
+ "57f8dc25.ec1a24",
+ "ece64b96.29a438",
+ "ce2e784e.f91b68",
+ "d348afe3.2dd22",
+ "a140e513.817368",
+ "58901142.42801",
+ "f52b8b1.2cb2a78",
+ "fc305223.13dde",
+ "e2ea9b6a.6d4858"
]
]
},
{
- "id": "b21a255d.0cc248",
+ "id": "84357fa.580f18",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3153.8339920043945,
- "y": 736.4378395080566,
- "z": "c6dfcfc7.2379e",
+ "x": 3434.952289581299,
+ "y": 1326.4378592967987,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "5088c495.5a492c",
- "9852afe6.71277"
+ "9215cafd.85d1a8",
+ "492fffff.c5301"
]
]
},
{
- "id": "5088c495.5a492c",
+ "id": "9215cafd.85d1a8",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3396.6946716308594,
- "y": 463.7708549499512,
- "z": "c6dfcfc7.2379e",
+ "x": 3847.8129653930664,
+ "y": 1298.770851135254,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "2ed26b99.5323a4"
+ "6b2cafc1.6a20a"
]
]
},
{
- "id": "2ed26b99.5323a4",
+ "id": "6b2cafc1.6a20a",
"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": 3728.9450149536133,
- "y": 422.5211811065674,
- "z": "c6dfcfc7.2379e",
+ "x": 4180.06330871582,
+ "y": 1257.5211772918701,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "7012041d.21165c",
+ "id": "4040e8df.421bb8",
"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": 3890.444366455078,
- "y": 461.770694732666,
- "z": "c6dfcfc7.2379e",
+ "x": 4341.562660217285,
+ "y": 1296.7706909179688,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "f84b914d.1f57d",
+ "id": "88b3e948.36c408",
"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": 3902.1947631835938,
- "y": 515.7710723876953,
- "z": "c6dfcfc7.2379e",
+ "x": 4353.313056945801,
+ "y": 1350.771068572998,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "931db636.f5b128",
+ "id": "3e1b7dee.9214d2",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3574.9446868896484,
- "y": 524.0206642150879,
- "z": "c6dfcfc7.2379e",
+ "x": 4026.0629806518555,
+ "y": 1359.0206604003906,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "7012041d.21165c",
- "f84b914d.1f57d"
+ "4040e8df.421bb8",
+ "88b3e948.36c408"
]
]
},
{
- "id": "9852afe6.71277",
+ "id": "492fffff.c5301",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3390.9446716308594,
- "y": 532.7711725234985,
- "z": "c6dfcfc7.2379e",
+ "x": 3842.0629653930664,
+ "y": 1367.7711687088013,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "931db636.f5b128"
+ "3e1b7dee.9214d2"
]
]
},
{
- "id": "cd12c78c.eea4e8",
+ "id": "c7508f7.76edc7",
"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": 3201.1041717529297,
- "y": 841.0556812286377,
- "z": "c6dfcfc7.2379e",
+ "x": 3482.222469329834,
+ "y": 1431.0557010173798,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "c7c02b3.6c048d8",
+ "id": "57f8dc25.ec1a24",
"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": 3193.5768280029297,
- "y": 1055.9726877212524,
- "z": "c6dfcfc7.2379e",
+ "x": 3474.695125579834,
+ "y": 1645.9727075099945,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "b5d79ce9.bc9b2",
- "c112e0f1.b131c"
+ "7679da5c.71ccd4",
+ "ce04efdf.3dee"
]
]
},
{
- "id": "b5d79ce9.bc9b2",
+ "id": "7679da5c.71ccd4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3525.632583618164,
- "y": 616.333655834198,
- "z": "c6dfcfc7.2379e",
+ "x": 3976.750877380371,
+ "y": 1451.3336520195007,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "9adc93dc.98ce9"
+ "a8600c20.926b4"
]
]
},
{
- "id": "c112e0f1.b131c",
+ "id": "ce04efdf.3dee",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3517.6325073242188,
- "y": 686.8338813781738,
- "z": "c6dfcfc7.2379e",
+ "x": 3968.750801086426,
+ "y": 1521.8338775634766,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "694a0065.9f731"
+ "5541f466.f5070c"
]
]
},
{
- "id": "9adc93dc.98ce9",
+ "id": "a8600c20.926b4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3711.3825912475586,
- "y": 613.5836563110352,
- "z": "c6dfcfc7.2379e",
+ "x": 4162.500885009766,
+ "y": 1448.583652496338,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "eecee994.c532b8",
- "1171945.0d9d16c",
- "a4a91d4d.50e97"
+ "fe1fbf33.d742b",
+ "b2cb28fd.0da548",
+ "ef61818c.15786"
]
]
},
{
- "id": "694a0065.9f731",
+ "id": "5541f466.f5070c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3719.1325149536133,
- "y": 699.0836381912231,
- "z": "c6dfcfc7.2379e",
+ "x": 4170.25080871582,
+ "y": 1534.0836343765259,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "4ddefb7d.424324"
+ "32b4c99f.f7e9e6"
]
]
},
{
- "id": "4ddefb7d.424324",
+ "id": "32b4c99f.f7e9e6",
"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": 3945.131862640381,
- "y": 701.0838432312012,
- "z": "c6dfcfc7.2379e",
+ "x": 4396.250156402588,
+ "y": 1536.083839416504,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "eecee994.c532b8",
+ "id": "fe1fbf33.d742b",
"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": 3938.3829193115234,
- "y": 569.0838994979858,
- "z": "c6dfcfc7.2379e",
+ "x": 4389.5012130737305,
+ "y": 1404.0838956832886,
+ "z": "99837a4f.2c12b8",
"wires": []
},
{
- "id": "1171945.0d9d16c",
+ "id": "b2cb28fd.0da548",
"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": 3927.8829231262207,
- "y": 632.8342266082764,
- "z": "c6dfcfc7.2379e",
+ "x": 4379.001216888428,
+ "y": 1467.834222793579,
+ "z": "99837a4f.2c12b8",
"wires": []
},
{
- "id": "7d131d1.099c9e4",
+ "id": "bb537fef.54494",
"type": "block",
"name": "Process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 429.06356048583984,
- "y": 1103.8782539367676,
- "z": "c6dfcfc7.2379e",
+ "x": 485.18172454833984,
+ "y": 1723.8783950805664,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "46bf5c81.ac2f84",
- "72115a67.8c1dc4",
- "796bc67.69aad38"
+ "7c8f61d.9982da",
+ "31dd4d1b.5b57f2",
+ "52c9b6ca.6563d8"
]
]
},
{
- "id": "46bf5c81.ac2f84",
+ "id": "7c8f61d.9982da",
"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-cps-response.[' + $idy +'].GNBDUFunction_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 701.6388206481934,
- "y": 1052.6878776550293,
- "z": "c6dfcfc7.2379e",
+ "x": 757.7569847106934,
+ "y": 1672.6880187988281,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "72115a67.8c1dc4",
+ "id": "31dd4d1b.5b57f2",
"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": 679.7501945495605,
- "y": 1088.8546829223633,
- "z": "c6dfcfc7.2379e",
+ "x": 735.8683586120605,
+ "y": 1708.854824066162,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "796bc67.69aad38",
+ "id": "52c9b6ca.6563d8",
"type": "for",
"name": "foreach DU",
"xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 691.0832748413086,
- "y": 1123.215675354004,
- "z": "c6dfcfc7.2379e",
+ "x": 732.2015686035156,
+ "y": 1773.2160339355469,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "2f870cb4.d219d4"
+ "a330a380.a5a2f"
]
]
},
{
- "id": "2f870cb4.d219d4",
+ "id": "a330a380.a5a2f",
"type": "block",
"name": "block : process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 881.4964294433594,
- "y": 1411.8655242919922,
- "z": "c6dfcfc7.2379e",
+ "x": 1057.614601135254,
+ "y": 1716.865596294403,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "fd2001aa.662af",
- "2485cded.20cd62",
- "819032b0.e9942",
- "7f7dadb5.5082d4"
+ "3437218c.6860fe",
+ "756a921.9b6a96c",
+ "31d16e06.302cc2",
+ "75b9f487.0697dc"
]
]
},
{
- "id": "fd2001aa.662af",
+ "id": "3437218c.6860fe",
"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-cps-response.['+ $idy +'].GNBDUFunction['+ $id-du +'].idGNBDUFunction'`\" />",
"comments": "",
"outputs": 1,
- "x": 1186.4441757202148,
- "y": 1355.7981662750244,
- "z": "c6dfcfc7.2379e",
+ "x": 1362.5623474121094,
+ "y": 1660.7982382774353,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "2485cded.20cd62",
+ "id": "756a921.9b6a96c",
"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`\"/>",
"comments": "",
"outputs": 1,
- "x": 1159.4441757202148,
- "y": 1406.7981662750244,
- "z": "c6dfcfc7.2379e",
+ "x": 1335.5623474121094,
+ "y": 1711.7982382774353,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "819032b0.e9942",
+ "id": "31d16e06.302cc2",
"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-cps-response.[' + $idy +'].GNBDUFunction[' + $id-du +'].NRCellDU_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 1207.9441757202148,
- "y": 1453.2982172966003,
- "z": "c6dfcfc7.2379e",
+ "x": 1384.0623474121094,
+ "y": 1758.2982892990112,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "7f7dadb5.5082d4",
+ "id": "75b9f487.0697dc",
"type": "for",
"name": "for cellDUList",
"xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >",
"comments": "",
"outputs": 1,
- "x": 1190.4441757202148,
- "y": 1499.7981662750244,
- "z": "c6dfcfc7.2379e",
+ "x": 1366.5623474121094,
+ "y": 1804.7982382774353,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "cd3291bd.519d2"
+ "fb95c036.de9d1"
]
]
},
{
- "id": "961d9cd2.4adbd",
+ "id": "e55bbb42.80ac18",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1736.1598281860352,
- "y": 1181.1042671203613,
- "z": "c6dfcfc7.2379e",
+ "x": 2407.278148651123,
+ "y": 1891.1042613983154,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "5171ef5b.1be7b",
- "cbb947d0.0fe648",
- "732df58f.3974cc"
+ "631faf65.83621",
+ "2f4cf475.d2f6ac",
+ "8b1055a6.fd7e28"
]
]
},
{
- "id": "b18436b2.176248",
+ "id": "e93a78f3.c7c478",
"type": "execute",
"name": "read sNSSAI from getNFNSSIRIC-cps-response",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cpsSNSSAI-DU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].attributes.pLMNInfoList['+ $id-duplmn +'].sNSSAIList['+ $id-dusnssai +'].sNssai'`\" />",
"comments": "",
"outputs": 1,
- "x": 2154.6959190368652,
- "y": 1274.6681915521622,
- "z": "c6dfcfc7.2379e",
+ "x": 3172.4807739257812,
+ "y": 2079.66836643219,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "60e1108f.9071",
+ "id": "7a6bd8ec.99cec8",
"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-cps-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.cpsSNSSAI-DU`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1998.028995513916,
- "y": 1321.8426843881607,
- "z": "c6dfcfc7.2379e",
+ "x": 3065.8137855529785,
+ "y": 2131.8430099487305,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "12d3a3.ef278c5d",
+ "id": "e4619aee.7c84e8",
"type": "switchNode",
"name": "is NSSAI exists",
"xml": "<switch test='`$tmp.cpsSNSSAI-DU == $tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 2011.882453918457,
- "y": 1360.9697414636612,
- "z": "c6dfcfc7.2379e",
+ "x": 3054.6672973632812,
+ "y": 2195.970128059387,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "50d4c860.fda198"
+ "6affdfea.80a5c"
]
]
},
{
- "id": "50d4c860.fda198",
+ "id": "6affdfea.80a5c",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2182.4975051879883,
- "y": 1343.834785103798,
- "z": "c6dfcfc7.2379e",
+ "x": 3255.2825241088867,
+ "y": 2168.8348817825317,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "bcc2e1d8.4ce1f"
+ "d7bc0cb2.6c61b"
]
]
},
{
- "id": "bcc2e1d8.4ce1f",
+ "id": "d7bc0cb2.6c61b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2347.382423400879,
- "y": 1331.5210872888565,
- "z": "c6dfcfc7.2379e",
+ "x": 3465.1672973632812,
+ "y": 2161.5212411880493,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "1f2b2d77.86fbc3",
- "457f6e1c.d8016",
- "740ffbe.25d8c04",
- "5938a99e.5311d8",
- "1eb619b2.d02c46",
- "84c87f87.09105",
- "705273d4.e85f7c",
- "eb4faac0.502108"
+ "c40c98d2.8b3628",
+ "b5f94e8a.6c3ca",
+ "fa7553bb.c9057",
+ "f216057b.426958",
+ "e91fe3c3.10423",
+ "15ced81e.789758",
+ "fa7e300d.646d4",
+ "2615175c.610568",
+ "16286b51.c442c5",
+ "274e31f6.2a99ce",
+ "9e524773.2f7ca8",
+ "7a8263.39066d9c"
]
]
},
{
- "id": "18ba8dea.40ea52",
+ "id": "7a976390.2f451c",
"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": 2644.8833770751953,
- "y": 1075.2713106870651,
- "z": "c6dfcfc7.2379e",
+ "x": 2846.0015392303467,
+ "y": 1530.271388888359,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "1f2b2d77.86fbc3",
+ "id": "c40c98d2.8b3628",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2699.1327743530273,
- "y": 1198.2713317871094,
- "z": "c6dfcfc7.2379e",
+ "x": 3915.2509841918945,
+ "y": 1888.2713928222656,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "e076d3cf.ee6a6",
- "53b1f35a.8532ec"
+ "978bb052.889d3",
+ "afc31bf8.d87218"
]
]
},
{
- "id": "e076d3cf.ee6a6",
+ "id": "978bb052.889d3",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2875.883514404297,
- "y": 1129.5208415985107,
- "z": "c6dfcfc7.2379e",
+ "x": 4092.001724243164,
+ "y": 1819.520902633667,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "6a831db3.1e4684"
+ "83e9f377.be9fb"
]
]
},
{
- "id": "53b1f35a.8532ec",
+ "id": "afc31bf8.d87218",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2893.383514404297,
- "y": 1212.2716579437256,
- "z": "c6dfcfc7.2379e",
+ "x": 4109.501724243164,
+ "y": 1902.2717189788818,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "95b4dd59.76a98"
+ "29e8f00c.5a347"
]
]
},
{
- "id": "6a831db3.1e4684",
+ "id": "83e9f377.be9fb",
"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": 3198.3828735351562,
- "y": 1122.0212478637695,
- "z": "c6dfcfc7.2379e",
+ "x": 4414.501083374023,
+ "y": 1812.0213088989258,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "95b4dd59.76a98",
+ "id": "29e8f00c.5a347",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3044.6328735351562,
- "y": 1196.2712507247925,
- "z": "c6dfcfc7.2379e",
+ "x": 4260.751083374023,
+ "y": 1886.2713117599487,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "d7d8fa52.06b108",
- "9ca971bd.ee45f"
+ "62859f91.a70e2",
+ "926db3b2.6f855"
]
]
},
{
- "id": "d7d8fa52.06b108",
+ "id": "62859f91.a70e2",
"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": 3331.6339721679688,
- "y": 1192.0212745666504,
- "z": "c6dfcfc7.2379e",
+ "x": 4547.752182006836,
+ "y": 1882.0213356018066,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "9ca971bd.ee45f",
+ "id": "926db3b2.6f855",
"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": 3269.1339721679688,
- "y": 1253.521276473999,
- "z": "c6dfcfc7.2379e",
+ "x": 4485.252182006836,
+ "y": 1943.5213375091553,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "457f6e1c.d8016",
+ "id": "b5f94e8a.6c3ca",
"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": 2691.0083770751953,
- "y": 1304.083737373352,
- "z": "c6dfcfc7.2379e",
+ "x": 3907.1265869140625,
+ "y": 1994.0837984085083,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "740ffbe.25d8c04",
+ "id": "fa7553bb.c9057",
"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.NRCellDUID`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2671.008213043213,
- "y": 1348.0835757255554,
- "z": "c6dfcfc7.2379e",
+ "x": 3887.12642288208,
+ "y": 2038.0836367607117,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "5938a99e.5311d8",
+ "id": "f216057b.426958",
"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": 2648.0078887939453,
- "y": 1405.0839023590088,
- "z": "c6dfcfc7.2379e",
+ "x": 3864.1260986328125,
+ "y": 2095.083963394165,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "1eb619b2.d02c46",
+ "id": "e91fe3c3.10423",
"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": 2643.00821685791,
- "y": 1464.0835800170898,
- "z": "c6dfcfc7.2379e",
+ "x": 3859.1264266967773,
+ "y": 2154.083641052246,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "84c87f87.09105",
+ "id": "15ced81e.789758",
"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.NRCellDUID`\"/>\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": 2654.0078887939453,
- "y": 1526.0840702056885,
- "z": "c6dfcfc7.2379e",
+ "x": 3870.1260986328125,
+ "y": 2216.0841312408447,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "705273d4.e85f7c",
+ "id": "fa7e300d.646d4",
"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": 2713.00772857666,
- "y": 1579.3333432674408,
- "z": "c6dfcfc7.2379e",
+ "x": 3929.1259384155273,
+ "y": 2269.333404302597,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "84a7a9d7.599618",
- "fce78c10.ff0c9"
+ "40d3e691.3eda68",
+ "86fea2d3.157ba"
]
]
},
{
- "id": "fce78c10.ff0c9",
+ "id": "86fea2d3.157ba",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2985.0077896118164,
- "y": 1498.0834856033325,
- "z": "c6dfcfc7.2379e",
+ "x": 4201.125999450684,
+ "y": 2188.0835466384888,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "c2d9429d.171d3"
+ "86621ff6.3f047"
]
]
},
{
- "id": "c2d9429d.171d3",
+ "id": "86621ff6.3f047",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3138.007972717285,
- "y": 1427.3333432674408,
- "z": "c6dfcfc7.2379e",
+ "x": 4354.126182556152,
+ "y": 2117.333404302597,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "8c8db0c1.809b3",
- "2ed21022.aab0f",
- "a4a91d4d.50e97"
+ "e372a235.9ed55",
+ "7fd1e2ff.1aed7c",
+ "ef61818c.15786"
]
]
},
{
- "id": "2ed21022.aab0f",
+ "id": "7fd1e2ff.1aed7c",
"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": 3354.0076866149902,
- "y": 1443.3332784175873,
- "z": "c6dfcfc7.2379e",
+ "x": 4570.125896453857,
+ "y": 2133.3333394527435,
+ "z": "99837a4f.2c12b8",
"wires": []
},
{
- "id": "8c8db0c1.809b3",
+ "id": "e372a235.9ed55",
"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": 3309.0076065063477,
- "y": 1488.333404302597,
- "z": "c6dfcfc7.2379e",
+ "x": 4525.125816345215,
+ "y": 2178.3334653377533,
+ "z": "99837a4f.2c12b8",
"wires": []
},
{
- "id": "21a9e908.ca87e6",
+ "id": "81ccce3b.5db46",
"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": 3293.0076065063477,
- "y": 1574.3335874080658,
- "z": "c6dfcfc7.2379e",
+ "x": 4509.125816345215,
+ "y": 2264.333648443222,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "4e6169c7.3c6bc8",
+ "id": "8920fbd7.b42c48",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3147.00772857666,
- "y": 1575.3333458900452,
- "z": "c6dfcfc7.2379e",
+ "x": 4363.125938415527,
+ "y": 2265.3334069252014,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "21a9e908.ca87e6"
+ "81ccce3b.5db46"
]
]
},
{
- "id": "84a7a9d7.599618",
+ "id": "40d3e691.3eda68",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2979.00772857666,
- "y": 1578.3333432674408,
- "z": "c6dfcfc7.2379e",
+ "x": 4195.125938415527,
+ "y": 2268.333404302597,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "4e6169c7.3c6bc8"
+ "8920fbd7.b42c48"
]
]
},
{
- "id": "86747c99.df3f1",
+ "id": "69b01f41.1d1db",
"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": 1582.2156143188477,
+ "x": 1628.3337707519531,
"y": 748.6048736572266,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "a4a91d4d.50e97",
+ "id": "ef61818c.15786",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3981.9446716308594,
- "y": 965.8867588043213,
- "z": "c6dfcfc7.2379e",
+ "x": 5351.396911621094,
+ "y": 2082.5535106658936,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "bf6f673b.a4bfe8",
- "aad06b62.816948",
- "c254ebb0.158518"
+ "abc9005a.85f28",
+ "1eef18b5.708717",
+ "2b34193c.f98266"
]
]
},
{
- "id": "bf6f673b.a4bfe8",
+ "id": "abc9005a.85f28",
"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": 4296.587860107422,
- "y": 852.0009956359863,
- "z": "c6dfcfc7.2379e",
+ "x": 5672.7062911987305,
+ "y": 1997.0010755062103,
+ "z": "99837a4f.2c12b8",
"wires": []
},
{
- "id": "aad06b62.816948",
+ "id": "1eef18b5.708717",
"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": 4287.658142089844,
- "y": 950.1731398105621,
- "z": "c6dfcfc7.2379e",
+ "x": 5663.776573181152,
+ "y": 2095.173219680786,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "c254ebb0.158518",
+ "id": "2b34193c.f98266",
"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='*/*' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 4214.086708068848,
- "y": 1028.601714372635,
- "z": "c6dfcfc7.2379e",
+ "x": 5590.205139160156,
+ "y": 2173.601794242859,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "8609f7dd.947cc8",
- "1884441a.60646c"
+ "c18e63e8.e962a",
+ "7807c3c3.709f5c"
]
]
},
{
- "id": "8609f7dd.947cc8",
+ "id": "c18e63e8.e962a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4451.515266418457,
- "y": 1011.315765619278,
- "z": "c6dfcfc7.2379e",
+ "x": 5827.633697509766,
+ "y": 2156.315845489502,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "8da43194.647ba"
+ "d5254e7f.695e3"
]
]
},
{
- "id": "8da43194.647ba",
+ "id": "d5254e7f.695e3",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4643.943634033203,
- "y": 1002.0302031040192,
- "z": "c6dfcfc7.2379e",
+ "x": 6020.062065124512,
+ "y": 2147.030282974243,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "e52de7dd.1b1ad8"
+ "41ee4aab.48ec64"
]
]
},
{
- "id": "e52de7dd.1b1ad8",
+ "id": "41ee4aab.48ec64",
"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": 4845.657516479492,
- "y": 990.7443149089813,
- "z": "c6dfcfc7.2379e",
+ "x": 6221.775947570801,
+ "y": 2135.7443947792053,
+ "z": "99837a4f.2c12b8",
"wires": []
},
{
- "id": "a1da3993.05dd08",
+ "id": "2ecc8374.e0cf1c",
"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": 4839.800792694092,
- "y": 1065.7443811893463,
- "z": "c6dfcfc7.2379e",
+ "x": 6215.9192237854,
+ "y": 2210.7444610595703,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "b5e203e2.761df",
+ "id": "b7bf5fb1.83848",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4655.800643920898,
- "y": 1071.172823190689,
- "z": "c6dfcfc7.2379e",
+ "x": 6031.919075012207,
+ "y": 2216.172903060913,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "a1da3993.05dd08"
+ "2ecc8374.e0cf1c"
]
]
},
{
- "id": "1884441a.60646c",
+ "id": "7807c3c3.709f5c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4445.800590515137,
- "y": 1075.0300619602203,
- "z": "c6dfcfc7.2379e",
+ "x": 5821.919021606445,
+ "y": 2220.0301418304443,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "b5e203e2.761df"
+ "b7bf5fb1.83848"
]
]
},
{
- "id": "57d081f6.1550f",
+ "id": "2dfcddc5.5a5002",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 80.33331680297852,
- "y": 781.5858192443848,
- "z": "c6dfcfc7.2379e",
+ "x": 401.451473236084,
+ "y": 2041.5858097076416,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "e7afcd94.f2021",
- "993b4609.7552d8",
- "7a13826b.14acec",
- "61611039.02d8a"
+ "861c0574.102798",
+ "5de7b9f5.b35598",
+ "122be690.8f7909",
+ "8dfb4324.4a854"
]
]
},
{
- "id": "7a13826b.14acec",
+ "id": "122be690.8f7909",
"type": "set",
"name": "set tmp variables for SO response",
"xml": "<set>\n<parameter name=\"tmp.status\" value=\"success\"/>\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": 190.44558715820312,
- "y": 908.6334285736084,
- "z": "c6dfcfc7.2379e",
+ "x": 1046.5637435913086,
+ "y": 1948.6334524154663,
+ "z": "99837a4f.2c12b8",
"wires": []
},
{
- "id": "e7afcd94.f2021",
+ "id": "861c0574.102798",
"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": 104,
- "y": 1029.2894287109375,
- "z": "c6dfcfc7.2379e",
+ "x": 960.1181564331055,
+ "y": 2069.2894525527954,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "993b4609.7552d8",
+ "id": "5de7b9f5.b35598",
"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='*/*' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
"comments": "",
"outputs": 1,
- "x": 71.00008392333984,
- "y": 1077.2890224456787,
- "z": "c6dfcfc7.2379e",
+ "x": 927.1182403564453,
+ "y": 2117.2890462875366,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "acd43fa4.d4426",
- "74bf3483.2bf0ac"
+ "841740e8.4470b",
+ "ea3ed267.b2508"
]
]
},
{
- "id": "acd43fa4.d4426",
+ "id": "841740e8.4470b",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 285.1112365722656,
- "y": 1208.1410574913025,
- "z": "c6dfcfc7.2379e",
+ "x": 1286.2295455932617,
+ "y": 2033.1413941383362,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "7d937d36.7535e4"
+ "f84732ca.d4b4f"
]
]
},
{
- "id": "74bf3483.2bf0ac",
+ "id": "ea3ed267.b2508",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 261.1112403869629,
- "y": 1294.1410613059998,
- "z": "c6dfcfc7.2379e",
+ "x": 1262.229549407959,
+ "y": 2119.1413979530334,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "93d55e97.e89dd"
+ "771fd032.f5cb6"
]
]
},
{
- "id": "93d55e97.e89dd",
+ "id": "771fd032.f5cb6",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 439.55534744262695,
- "y": 1308.141056060791,
- "z": "c6dfcfc7.2379e",
+ "x": 1440.673656463623,
+ "y": 2133.1413927078247,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "2e2b96dc.716bca"
+ "59141459.f588bc"
]
]
},
{
- "id": "7d937d36.7535e4",
+ "id": "f84732ca.d4b4f",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 478.8889846801758,
- "y": 1210.030014514923,
- "z": "c6dfcfc7.2379e",
+ "x": 1480.0072937011719,
+ "y": 2035.0303511619568,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "3e7701a1.24336e",
- "5378a486.f4ff0c"
+ "8df45205.cbfa8",
+ "45031924.816718"
]
]
},
{
- "id": "3e7701a1.24336e",
+ "id": "8df45205.cbfa8",
"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": 673.1106758117676,
- "y": 1249.9185197353363,
- "z": "c6dfcfc7.2379e",
+ "x": 1674.2289848327637,
+ "y": 2074.91885638237,
+ "z": "99837a4f.2c12b8",
"wires": []
},
{
- "id": "2e2b96dc.716bca",
+ "id": "59141459.f588bc",
"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": 666.11083984375,
- "y": 1338.5853562355042,
- "z": "c6dfcfc7.2379e",
+ "x": 1667.229148864746,
+ "y": 2163.585692882538,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "5378a486.f4ff0c",
+ "id": "45031924.816718",
"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": 670.6212539672852,
- "y": 1163.9079356193542,
- "z": "c6dfcfc7.2379e",
+ "x": 1671.7395629882812,
+ "y": 1988.908272266388,
+ "z": "99837a4f.2c12b8",
"wires": []
},
{
- "id": "61611039.02d8a",
+ "id": "8dfb4324.4a854",
"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": 147.339599609375,
- "y": 955.2748394012451,
- "z": "c6dfcfc7.2379e",
+ "x": 1003.4577560424805,
+ "y": 1995.274863243103,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "30d88206.5186ce",
+ "id": "979134bf.3a8488",
"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": 86.88184356689453,
+ "x": 133,
"y": 599.4582762718201,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": []
},
{
- "id": "1d24a29a.1d0c3d",
+ "id": "fc0375cc.d61b08",
"type": "execute",
"name": "read RIC list size",
"xml": "<set>\n<parameter name='tmp.RICList_length' value=\"`$getNFNSSIRIC-cps-response._length`\"/>",
"comments": "",
"outputs": 1,
- "x": 1595.7990417480469,
+ "x": 1641.9171981811523,
"y": 788.6182708740234,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "665fcc97.e19614",
+ "id": "2246fe94.86cd22",
"type": "execute",
"name": "read nearRTRICID",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nearRTRICId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.[' + $idy +'].idNearRTRIC'`\" />",
"comments": "",
"outputs": 1,
- "x": 761.9455032348633,
- "y": 687.5068435668945,
- "z": "c6dfcfc7.2379e",
+ "x": 863.0636329650879,
+ "y": 757.5069541931152,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "6c1fe22f.5d431c",
+ "id": "5abe3b8.d6639c4",
"type": "block",
- "name": "block : atomic",
+ "name": "Process NearRTRIC",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 513.6595687866211,
- "y": 687.2845935821533,
- "z": "c6dfcfc7.2379e",
+ "x": 629.7777328491211,
+ "y": 842.2846164703369,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "665fcc97.e19614"
+ "2246fe94.86cd22",
+ "a4e9993e.e2bbd8",
+ "2f539b6b.c16cc4",
+ "3ec22f79.3efe6"
]
]
},
{
- "id": "164bc17.47ca63f",
+ "id": "ece64b96.29a438",
"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": 3174.2988357543945,
- "y": 797.3403472900391,
- "z": "c6dfcfc7.2379e",
+ "x": 3455.417133331299,
+ "y": 1387.3403670787811,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "4b22f84d.67fe98",
+ "id": "ce2e784e.f91b68",
"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": 3150.465507507324,
- "y": 892.2570152282715,
- "z": "c6dfcfc7.2379e",
+ "x": 3431.5838050842285,
+ "y": 1482.2570350170135,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "b5c923ff.68bc",
+ "id": "d348afe3.2dd22",
"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": 3148.3821716308594,
- "y": 944.8403491973877,
- "z": "c6dfcfc7.2379e",
+ "x": 3429.5004692077637,
+ "y": 1534.8403689861298,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "fbcee80a.4ecad8",
+ "id": "f63f2fd6.bdaec",
"type": "execute",
"name": "read sNSSAI from getNFNSSIRIC-cps-response",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cpsSNSSAI1' />\n <parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBCUUPFunction['+ $id-cuup +'].attributes.pLMNInfoList['+ $id-plmn +'].sNSSAIList['+ $id-snssai +'].sNssai'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 2690.9654083251953,
- "y": 995.5628528594971,
- "z": "c6dfcfc7.2379e",
+ "x": 2818.7503509521484,
+ "y": 1272.2297554016113,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "9a1e0da8.99a4b",
+ "id": "372aa025.833a8",
"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-cps-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.cpsSNSSAI`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 2510.105213165283,
- "y": 872.5905199050903,
- "z": "c6dfcfc7.2379e",
+ "x": 2711.2233753204346,
+ "y": 1327.5905981063843,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "5f06a27e.4de77c",
+ "id": "ea95e257.15846",
"type": "switchNode",
"name": "is NSSAI exists",
"xml": "<switch test='`$tmp.cpsSNSSAI == $tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 2536.077705383301,
- "y": 926.8959407806396,
- "z": "c6dfcfc7.2379e",
+ "x": 2737.195867538452,
+ "y": 1381.8960189819336,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "ba771cff.252c4",
- "818357d4.a5e218"
+ "b81f4acb.88ad68",
+ "90fa3ce5.2178b"
]
]
},
{
- "id": "ba771cff.252c4",
+ "id": "b81f4acb.88ad68",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2722.7438926696777,
- "y": 916.2016048431396,
- "z": "c6dfcfc7.2379e",
+ "x": 2923.862054824829,
+ "y": 1371.2016830444336,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "a8c78477.5ee898"
+ "e4dd18f2.c36678"
]
]
},
{
- "id": "d1e7cc69.5a192",
+ "id": "5abc3e11.12c38",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1459.5210151672363,
- "y": 949.0626754760742,
- "z": "c6dfcfc7.2379e",
+ "x": 1505.6392707824707,
+ "y": 1394.0627708435059,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "4cffc4e9.72bb3c",
- "9180e36c.7c528",
- "a472408c.8d07b"
+ "cc340e05.2c687",
+ "7a6a6a5d.d80a04",
+ "eadb11dc.6ad3e"
]
]
},
{
- "id": "818357d4.a5e218",
+ "id": "90fa3ce5.2178b",
"type": "outcome",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2704.1608848571777,
- "y": 870.7293548583984,
- "z": "c6dfcfc7.2379e",
+ "x": 2905.279047012329,
+ "y": 1325.7294330596924,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "7d0e805b.57596"
+ "c8475a04.3a3488"
]
]
},
{
- "id": "7d0e805b.57596",
+ "id": "c8475a04.3a3488",
"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": 2876.16024017334,
- "y": 836.2293529510498,
- "z": "c6dfcfc7.2379e",
+ "x": 3112.278450012207,
+ "y": 1286.2293663024902,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "5b070d4f.ba4224",
+ "id": "79dd0643.46bc88",
"type": "switchNode",
"name": "check the action",
"xml": "<switch test='`$activate-r-a-n-slice-instance-input.action == activate`'>\n",
"comments": "",
"outputs": 1,
- "x": 344.7986145019531,
- "y": 314.31235694885254,
- "z": "c6dfcfc7.2379e",
+ "x": 408.0596694946289,
+ "y": 337.1694836616516,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "be296930.83c4f8",
- "388c99bc.0c9256"
+ "b51af009.4cce4",
+ "4e30b706.a01d48"
]
]
},
{
- "id": "be296930.83c4f8",
+ "id": "b51af009.4cce4",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 571.2987251281738,
+ "x": 617.4168815612793,
"y": 309.36792850494385,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "9d7987a2.663ae8"
+ "2dd05bdc.f55874"
]
]
},
{
- "id": "388c99bc.0c9256",
+ "id": "4e30b706.a01d48",
"type": "outcome",
"name": "False",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 566.2709121704102,
+ "x": 612.3890686035156,
"y": 356.00684452056885,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "a5d982b1.56809"
+ "e3987c84.3cf09"
]
]
},
{
- "id": "2ca62d54.da96d2",
+ "id": "4f999d6a.17b624",
"type": "set",
"name": "set status as ACTIVE",
"xml": "<set>\n<parameter name='tmp.status' value='ACTIVE' />",
"comments": "",
- "x": 1022.243034362793,
+ "x": 1068.3611907958984,
"y": 276.1178913116455,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": []
},
{
- "id": "60de56ea.88f1d8",
+ "id": "8c58331c.55db3",
"type": "set",
"name": "set status as INACTIVE",
"xml": "<set>\n<parameter name='tmp.status' value='INACTIVE' />",
"comments": "",
- "x": 959.687370300293,
+ "x": 1005.8055267333984,
"y": 328.4512414932251,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": []
},
{
- "id": "9d7987a2.663ae8",
+ "id": "2dd05bdc.f55874",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 823.2986679077148,
+ "x": 869.4168243408203,
"y": 282.1456356048584,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "2ca62d54.da96d2"
+ "4f999d6a.17b624"
]
]
},
{
- "id": "a5d982b1.56809",
+ "id": "e3987c84.3cf09",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 731.4651947021484,
+ "x": 777.5833511352539,
"y": 355.5623245239258,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "60de56ea.88f1d8"
+ "8c58331c.55db3"
]
]
},
{
- "id": "4cffc4e9.72bb3c",
+ "id": "cc340e05.2c687",
"type": "execute",
"name": "read snssailist size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.snssaiListup_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBCUUPFunction['+ $id-cuup +'].attributes.pLMNInfoList['+ $id-plmn +'].sNSSAIList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 1630.8825302124023,
- "y": 885.3962249755859,
- "z": "c6dfcfc7.2379e",
+ "x": 1677.0007858276367,
+ "y": 1330.3963203430176,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "81624cd1.0799c",
+ "id": "a7bef710.7d65e8",
"type": "for",
"name": "foreach snssai",
"xml": "<for index='id-cuupnssai' start='0' end='`$tmp.snssaiListup_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2144.3825454711914,
- "y": 987.8961887359619,
- "z": "c6dfcfc7.2379e",
+ "x": 2345.500707626343,
+ "y": 1442.8962669372559,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "7d257161.f419f"
+ "76d2703b.3aa71"
]
]
},
{
- "id": "7d257161.f419f",
+ "id": "76d2703b.3aa71",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2324.382553100586,
- "y": 938.1461877822876,
- "z": "c6dfcfc7.2379e",
+ "x": 2525.5007152557373,
+ "y": 1393.1462659835815,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "fbcee80a.4ecad8",
- "9a1e0da8.99a4b",
- "5f06a27e.4de77c"
+ "f63f2fd6.bdaec",
+ "372aa025.833a8",
+ "ea95e257.15846"
]
]
},
{
- "id": "5171ef5b.1be7b",
+ "id": "631faf65.83621",
"type": "execute",
"name": "read snssailist size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.sNssaiListLengthDU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].attributes.pLMNInfoList['+ $id-duplmn +'].sNSSAIList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 1964.8825073242188,
- "y": 1100.395827293396,
- "z": "c6dfcfc7.2379e",
+ "x": 2636.0008277893066,
+ "y": 1810.39582157135,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "cbb947d0.0fe648",
+ "id": "2f4cf475.d2f6ac",
"type": "for",
"name": "foreach snssai",
"xml": "<for index='id-dusnssai' start='0' end='`$tmp.sNssaiListLengthDU`'>\n",
"comments": "",
"outputs": 1,
- "x": 1977.8824195861816,
- "y": 1220.6458930969238,
- "z": "c6dfcfc7.2379e",
+ "x": 2649.0007400512695,
+ "y": 1930.645887374878,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "ec3f5eee.0336f"
+ "7b8f8e70.3e572"
]
]
},
{
- "id": "ec3f5eee.0336f",
+ "id": "7b8f8e70.3e572",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2166.132293701172,
- "y": 1228.1458654403687,
- "z": "c6dfcfc7.2379e",
+ "x": 2832.2506942749023,
+ "y": 1918.1459193229675,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "b18436b2.176248",
- "60e1108f.9071",
- "12d3a3.ef278c5d"
+ "e93a78f3.c7c478",
+ "7a6bd8ec.99cec8",
+ "e4619aee.7c84e8"
]
]
},
{
- "id": "9180e36c.7c528",
+ "id": "7a6a6a5d.d80a04",
"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=\"CUUP - snssaiList_length\"/>\n<parameter name=\"field2\" value=\"`$tmp.snssaiListup_length`\"/>",
"comments": "",
"outputs": 1,
- "x": 1615.9538230895996,
- "y": 932.5389671325684,
- "z": "c6dfcfc7.2379e",
+ "x": 1662.072078704834,
+ "y": 1377.5390625,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "f2419320.09df3",
+ "id": "a954d751.b91238",
"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=\"URL to fetch the anchors\"/>\n<parameter name=\"field2\" value=\"`$tmp.getAnchors.URL`\"/>",
"comments": "",
"outputs": 1,
- "x": 325.8264446258545,
- "y": 394.8957328796387,
- "z": "c6dfcfc7.2379e",
+ "x": 394.80176162719727,
+ "y": 416.3242874145508,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "943061f0.4e102",
+ "id": "e1a9a8.be188658",
"type": "execute",
"name": "getAnchors URL",
"xml": "<set>\n\t<parameter name='tmp.getAnchors.URL' value=\"`$prop.restapi.cps.anchors.endpoint`\"/>\n\t",
"comments": "",
"outputs": 1,
- "x": 337.5764045715332,
- "y": 355.14573097229004,
- "z": "c6dfcfc7.2379e",
+ "x": 396.5516891479492,
+ "y": 375.1457242965698,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "502d98d2.d90ed8",
+ "id": "e3625a95.cb7f18",
"type": "execute",
"name": "set anchors size",
"xml": "<set>\n\t<parameter name='tmp.anchors.length' value=\"`$get-anchors-cps-response._length`\"/>\n\t",
"comments": "",
"outputs": 1,
- "x": 356.9809341430664,
- "y": 468.96666145324707,
- "z": "c6dfcfc7.2379e",
+ "x": 433.0990905761719,
+ "y": 503.25239181518555,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "791b49b3.9ae158",
+ "id": "9dd7f6fd.0b1068",
"type": "execute",
"name": "read schemaSet",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 795.4807281494141,
+ "x": 841.5988845825195,
"y": 512.105525970459,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "f75875bc.e60838",
+ "id": "4b52ec6c.83ac04",
"type": "execute",
"name": "initialize nearRTRIC size",
"xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"0\"/>\n\t",
"comments": "",
"outputs": 1,
- "x": 402.42835235595703,
- "y": 503.6333694458008,
- "z": "c6dfcfc7.2379e",
+ "x": 465.68939208984375,
+ "y": 546.4905891418457,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "2fcd3f43.ecbb6",
+ "id": "b69f96c0.7f2e68",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 577.1318740844727,
- "y": 598.1456842422485,
- "z": "c6dfcfc7.2379e",
+ "x": 626.1071853637695,
+ "y": 631.0028438568115,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "dbc1782e.0ff288",
- "5a70a82a.c22dd8"
+ "69f02ae3.680064",
+ "68cf65c3.a2056c"
]
]
},
{
- "id": "a3f61af7.228278",
+ "id": "865836f7.a40ce8",
"type": "execute",
"name": "read anchorName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.anchor.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].name'`\" />",
"comments": "",
"outputs": 1,
- "x": 1378.6875762939453,
+ "x": 1424.8057327270508,
"y": 565.9236373901367,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "fda5b8e3.401108",
+ "id": "7c9f66f.14d2398",
"type": "for",
"name": "For anchorsList",
"xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
"comments": "",
"outputs": 1,
- "x": 383.42816162109375,
- "y": 549.6734933853149,
- "z": "c6dfcfc7.2379e",
+ "x": 430.9748764038086,
+ "y": 585.3878269195557,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "aea81de2.4879a"
+ "89b95610.c7f328"
]
]
},
{
- "id": "aea81de2.4879a",
+ "id": "89b95610.c7f328",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 584.8171157836914,
- "y": 541.2012233734131,
- "z": "c6dfcfc7.2379e",
+ "x": 639.5067749023438,
+ "y": 578.3441047668457,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "ee9d6f7b.332a3",
- "791b49b3.9ae158"
+ "fac94ce9.788dc",
+ "9dd7f6fd.0b1068"
]
]
},
{
- "id": "ee9d6f7b.332a3",
+ "id": "fac94ce9.788dc",
"type": "switchNode",
"name": "check schemaSetName",
"xml": "<switch test='`$tmp.schemaset.name`'>\n",
"comments": "",
"outputs": 1,
- "x": 799.9652633666992,
+ "x": 846.0834197998047,
"y": 557.2012634277344,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "a652295.967b2d8"
+ "14be28d0.875937"
]
]
},
{
- "id": "a652295.967b2d8",
+ "id": "14be28d0.875937",
"type": "outcome",
"name": "if ran-network",
"xml": "<outcome value='ran-network'>\n",
"comments": "",
"outputs": 1,
- "x": 989.2708129882812,
+ "x": 1035.3889694213867,
"y": 523.6735954284668,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "d83aac79.aced2"
+ "f91df02e.dca87"
]
]
},
{
- "id": "d83aac79.aced2",
+ "id": "f91df02e.dca87",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1174.5733108520508,
+ "x": 1220.6914672851562,
"y": 510.00685691833496,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "97446c8a.9fd28",
- "19942036.1c864"
+ "7057bb3c.77d2a4",
+ "e2b9e93f.ed8fd8"
]
]
},
{
- "id": "97446c8a.9fd28",
+ "id": "7057bb3c.77d2a4",
"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=\"Applicable RIC length\"/>\n<parameter name=\"field2\" value=\"`$tmp.RIC.length`\"/>",
"comments": "",
"outputs": 1,
- "x": 1353.4867324829102,
+ "x": 1399.6048889160156,
"y": 509.81239891052246,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "5a70a82a.c22dd8",
+ "id": "68cf65c3.a2056c",
"type": "switchNode",
"name": "check schemaSetName",
"xml": "<switch test='`$tmp.schemaset.name`'>\n",
"comments": "",
"outputs": 1,
- "x": 817.764533996582,
+ "x": 863.8826904296875,
"y": 637.5747623443604,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "ef6810dd.c3985"
+ "ecabf1db.3cd1"
]
]
},
{
- "id": "dbc1782e.0ff288",
+ "id": "69f02ae3.680064",
"type": "execute",
"name": "read schemaSet",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 801.792366027832,
+ "x": 847.9105224609375,
"y": 596.3247604370117,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "ef6810dd.c3985",
+ "id": "ecabf1db.3cd1",
"type": "outcome",
"name": "if ran-network",
"xml": "<outcome value='ran-network'>\n",
"comments": "",
"outputs": 1,
- "x": 1001.5701217651367,
+ "x": 1047.6882781982422,
"y": 594.0470514297485,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "8b28cd7f.7856f"
+ "b5128a60.dd1508"
]
]
},
{
- "id": "8b28cd7f.7856f",
+ "id": "b5128a60.dd1508",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1197.705955505371,
+ "x": 1243.8241119384766,
"y": 596.2692184448242,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "a3f61af7.228278",
- "e72d02ed.55eab"
+ "865836f7.a40ce8",
+ "6b0ba484.77380c"
]
]
},
{
- "id": "8827e1d9.45f51",
+ "id": "c8437924.2c1958",
"type": "for",
"name": "For anchorsList",
"xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
"comments": "",
"outputs": 1,
- "x": 390.4441452026367,
- "y": 595.9914493560791,
- "z": "c6dfcfc7.2379e",
+ "x": 420.8480758666992,
+ "y": 628.8486022949219,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "2fcd3f43.ecbb6"
+ "b69f96c0.7f2e68"
]
]
},
{
- "id": "19942036.1c864",
+ "id": "e2b9e93f.ed8fd8",
"type": "execute",
"name": "set nearRTRIC size",
"xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"`$tmp.RIC.length+1`\"/>\n\t",
"comments": "",
"outputs": 1,
- "x": 1364.5443496704102,
+ "x": 1410.6625061035156,
"y": 461.49143409729004,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "e72d02ed.55eab",
+ "id": "6b0ba484.77380c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1394.6320724487305,
+ "x": 1440.750228881836,
"y": 614.6458082199097,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "d70fd453.9603f8",
- "7e4a509d.52f1b",
- "3528d139.a4d9be",
- "f09ae777.ffebe8",
- "b1ece0e9.0b7ba",
- "59f94e31.c4d92",
- "725d5f35.1eae8",
- "ba703123.edfba",
- "e75dd500.0ef6a8",
- "250177db.33fa68",
- "4ea6bda4.60c314",
- "d6000f7b.79e17",
- "7c9e258b.3ac01c",
- "1d24a29a.1d0c3d"
+ "1ec8e72f.d713b9",
+ "41578e4.a7edd7",
+ "6bcdfae2.b50284",
+ "2ac2de8b.0a1412",
+ "e1352540.930e18",
+ "cf6b3209.69ecd",
+ "442d7ed5.a2cf8",
+ "aa73ad82.dd354",
+ "22e593a3.4bd20c",
+ "95c17d7a.73aff",
+ "98accd4e.a357c",
+ "6b7e7ccc.bc1654",
+ "cbfc783f.bfd638",
+ "fc0375cc.d61b08"
]
]
},
{
- "id": "d70fd453.9603f8",
+ "id": "1ec8e72f.d713b9",
"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.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRICByNSSI.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.anchor.name`\"/>",
"comments": "",
"outputs": 1,
- "x": 1719.882209777832,
+ "x": 1766.0003662109375,
"y": 183.39580726623535,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "7e4a509d.52f1b",
+ "id": "41578e4.a7edd7",
"type": "execute",
"name": "prepare tbdmt template",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.getNearRTRICByNSSI.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRICByNSSI.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-nearrtric-by-rannfnssi`\"/>",
"comments": "",
"outputs": 1,
- "x": 1639.8822631835938,
+ "x": 1686.0004196166992,
"y": 225.39580821990967,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "3528d139.a4d9be",
+ "id": "6bcdfae2.b50284",
"type": "record",
"name": "record TBDMT RestAPI params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to Get NearRTRIC for RANNFNSSI\"/>\n<parameter name='field2' value=\"`$tmp.cps.getNearRTRICByNSSI.url`\" />",
"comments": "",
"outputs": 1,
- "x": 1666.882225036621,
+ "x": 1713.0003814697266,
"y": 266.395809173584,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "f09ae777.ffebe8",
+ "id": "2ac2de8b.0a1412",
"type": "execute",
"name": "Get nearRTRIC for RANNFNSSIId",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getNearRTRICByNSSI.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-nearrtric-by-rannfnssi.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getNFNSSIRIC-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 1666.8821640014648,
+ "x": 1713.0003204345703,
"y": 311.3958110809326,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "702eeca0.2cc214",
- "4acf7054.5614e"
+ "df4a544b.4dc0e8",
+ "33673e04.80f002"
]
]
},
{
- "id": "b1ece0e9.0b7ba",
+ "id": "e1352540.930e18",
"type": "execute",
"name": "generate plmnid URL cps",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getPLMNID.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
"comments": "",
"outputs": 1,
- "x": 1634.882225036621,
+ "x": 1681.0003814697266,
"y": 350.7958765029907,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "59f94e31.c4d92",
+ "id": "cf6b3209.69ecd",
"type": "execute",
"name": "prepare tbdmt template",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.getPLMNID.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getPLMNID.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.getmcc`\"/>",
"comments": "",
"outputs": 1,
- "x": 1631.882225036621,
+ "x": 1678.0003814697266,
"y": 389.39581298828125,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "725d5f35.1eae8",
+ "id": "442d7ed5.a2cf8",
"type": "record",
"name": "record TBDMT RestAPI params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to Get plmnid from sliceprofile\"/>\n<parameter name='field2' value=\"`$tmp.cps.getPLMNID.url`\" />",
"comments": "",
"outputs": 1,
- "x": 1653.882225036621,
+ "x": 1700.0003814697266,
"y": 431.59584617614746,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "ba703123.edfba",
+ "id": "aa73ad82.dd354",
"type": "execute",
"name": "Get PLMNMCCID from sliceprofileID",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getPLMNID.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-plmnid.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getplmnmccid-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 1664.882308959961,
+ "x": 1711.0004653930664,
"y": 470.59576416015625,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "3bf48731.c0da78",
- "c70fe7ec.dd3a08"
+ "d34c56a6.d36c88",
+ "191382a1.f77e8d"
]
]
},
{
- "id": "250177db.33fa68",
+ "id": "95c17d7a.73aff",
"type": "execute",
"name": "prepare tbdmt template",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.getPLMNMNCID.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getPLMNMNCID.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-plmnmncid-from-sliceprofile`\"/>",
"comments": "",
"outputs": 1,
- "x": 1629.6822204589844,
+ "x": 1675.8003768920898,
"y": 553.3958168029785,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "4ea6bda4.60c314",
+ "id": "98accd4e.a357c",
"type": "record",
"name": "record TBDMT RestAPI params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to Get plmnid from sliceprofile\"/>\n<parameter name='field2' value=\"`$tmp.cps.getPLMNMNCID.url`\" />",
"comments": "",
"outputs": 1,
- "x": 1639.6822204589844,
+ "x": 1685.8003768920898,
"y": 593.5958499908447,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "d6000f7b.79e17",
+ "id": "6b7e7ccc.bc1654",
"type": "execute",
"name": "Get PLMNMNCID from sliceprofileID",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getPLMNMNCID.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-plmnid.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getplmnmncid-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 1662.6822128295898,
+ "x": 1708.8003692626953,
"y": 650.5957698822021,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "95cd20fb.c0a3e",
- "24d28608.0bdd1a"
+ "2d6f7362.913abc",
+ "1c66b603.9871ca"
]
]
},
{
- "id": "e75dd500.0ef6a8",
+ "id": "22e593a3.4bd20c",
"type": "execute",
"name": "generate plmnid URL cps",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getPLMNMNCID.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
"comments": "",
"outputs": 1,
- "x": 1628.882209777832,
+ "x": 1675.0003662109375,
"y": 512.7958812713623,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "c70fe7ec.dd3a08",
+ "id": "191382a1.f77e8d",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1905.8818664550781,
+ "x": 1952.0000228881836,
"y": 469.3957738876343,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "f43513a8.da2c3"
+ "c58bd1fd.362e3"
]
]
},
{
- "id": "f43513a8.da2c3",
+ "id": "c58bd1fd.362e3",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2068.7709884643555,
+ "x": 2114.889144897461,
"y": 470.28468894958496,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "57bfa2c9.b2deac",
- "32cbdaf.81c2226"
+ "45949b32.d3b784",
+ "aaca8861.4def58"
]
]
},
{
- "id": "57bfa2c9.b2deac",
+ "id": "45949b32.d3b784",
"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 Obtained MCC info from CPS\"/>\n<parameter name=\"field2\" value=\"`$getplmnmccid-cps-response.httpResponse`\"/>",
"comments": "",
"outputs": 1,
- "x": 2272.3824310302734,
+ "x": 2318.500587463379,
"y": 483.64572525024414,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "3bf48731.c0da78",
+ "id": "d34c56a6.d36c88",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1903.6596984863281,
+ "x": 1949.7778549194336,
"y": 416.50685596466064,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "f008df38.9790f"
+ "2d40c578.0346aa"
]
]
},
{
- "id": "f008df38.9790f",
+ "id": "2d40c578.0346aa",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2045.8819961547852,
+ "x": 2092.0001525878906,
"y": 415.3957290649414,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "24667fe0.101da"
+ "b7f65c94.3d6a3"
]
]
},
{
- "id": "24667fe0.101da",
+ "id": "b7f65c94.3d6a3",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2200.437328338623,
+ "x": 2246.5554847717285,
"y": 386.2846441268921,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": []
},
{
- "id": "32cbdaf.81c2226",
+ "id": "aaca8861.4def58",
"type": "execute",
"name": "read nearRTRICId-PLMN",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.plmn.mcc' />\n\t<parameter name='source' value=\"`'getplmnmccid-cps-response.[0]'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 2322.593536376953,
+ "x": 2368.7116928100586,
"y": 433.26226139068604,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "24d28608.0bdd1a",
+ "id": "1c66b603.9871ca",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1912.8821907043457,
+ "x": 1959.0003471374512,
"y": 590.3958206176758,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "c8ea8fde.60647"
+ "78380f9d.b09d4"
]
]
},
{
- "id": "c8ea8fde.60647",
+ "id": "78380f9d.b09d4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2077.1043243408203,
+ "x": 2123.222480773926,
"y": 587.1735715866089,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "208ce39a.48abec",
- "1558c4c9.f66d9b"
+ "e5886703.c850e8",
+ "c711a09f.5e8c"
]
]
},
{
- "id": "208ce39a.48abec",
+ "id": "e5886703.c850e8",
"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 Obtained MNC info from Cps\"/>\n<parameter name=\"field2\" value=\"`$getplmnmncid-cps-response.httpResponse`\"/>",
"comments": "",
"outputs": 1,
- "x": 2269.881618499756,
+ "x": 2315.9997749328613,
"y": 611.8960475921631,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "95cd20fb.c0a3e",
+ "id": "2d6f7362.913abc",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1896.8818664550781,
+ "x": 1943.0000228881836,
"y": 529.3958196640015,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "cd8ca0f1.cce58"
+ "7408e17a.6b19e"
]
]
},
{
- "id": "cd8ca0f1.cce58",
+ "id": "7408e17a.6b19e",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2080.881992340088,
+ "x": 2127.0001487731934,
"y": 535.3958187103271,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "bc51bfc8.63d5e"
+ "fc8bcb4b.dc6028"
]
]
},
{
- "id": "bc51bfc8.63d5e",
+ "id": "fc8bcb4b.dc6028",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2238.8816719055176,
+ "x": 2284.999828338623,
"y": 536.3957786560059,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": []
},
{
- "id": "1558c4c9.f66d9b",
+ "id": "c711a09f.5e8c",
"type": "execute",
"name": "read nearRTRICId-PLMN",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.plmn.mnc' />\n\t<parameter name='source' value=\"`'getplmnmncid-cps-response.[0]'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 2319.7320404052734,
+ "x": 2365.850196838379,
"y": 577.4458923339844,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "489927c3.d77758",
+ "id": "b141b316.0648c",
"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 Obtained NearRTRIC info from CPS\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-cps-response._length`\"/>",
"comments": "",
"outputs": 1,
- "x": 2288.8820037841797,
+ "x": 2335.000160217285,
"y": 288.3957347869873,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "79943c49.324f24",
+ "id": "2da6f6b8.c0157a",
"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": 2303.659999847412,
+ "x": 2349.7781562805176,
"y": 330.3958988189697,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "e81bf9b2.45d948",
+ "id": "ce4938a5.8e1db8",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2332.8821716308594,
+ "x": 2379.000328063965,
"y": 224.5068187713623,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": []
},
{
- "id": "e94238f1.b229a8",
+ "id": "fe23403b.9bdc9",
"type": "execute",
"name": "read sliceProfileId from input",
"xml": "<set>\n<parameter name='tmp.sliceprofileid' value=\"`$payloadJson.input.sliceProfileId`\" />",
"comments": "",
"outputs": 1,
- "x": 593.2152442932129,
- "y": 223.2289981842041,
- "z": "c6dfcfc7.2379e",
+ "x": 646.4762268066406,
+ "y": 220.37187385559082,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "6fd3bcdd.a52654",
+ "id": "bf0ae11f.01f83",
"type": "execute",
"name": "read RANNFNSSIId from input",
"xml": "<set>\n<parameter name='tmp.payload.RANNFNSSIId' value=\"`$payloadJson.input.RANNFNSSIId`\" />\n",
"comments": "",
"outputs": 1,
- "x": 586.2152481079102,
- "y": 265.729040145874,
- "z": "c6dfcfc7.2379e",
+ "x": 636.6191253662109,
+ "y": 254.30047607421875,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "78f367fd.4c4d98",
+ "id": "6755444d.92365c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 603.9375228881836,
+ "x": 650.0556793212891,
"y": 410.7012300491333,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "c44dad6d.5f25d"
+ "3254d7ae.3d6528"
]
]
},
{
- "id": "a2f4a3b.1505d6",
+ "id": "83b63cb8.50356",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 605.9376525878906,
+ "x": 652.0558090209961,
"y": 460.89564514160156,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "77968374.706fbc"
+ "bce5381a.5232b8"
]
]
},
{
- "id": "c44dad6d.5f25d",
+ "id": "3254d7ae.3d6528",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 746.6320190429688,
+ "x": 792.7501754760742,
"y": 408.3124294281006,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "d0f4e6c6.8e2d68",
- "4663a9c2.b73dc8"
+ "3cea91b.fa3506e",
+ "ae82a7cf.3db428"
]
]
},
{
- "id": "77968374.706fbc",
+ "id": "bce5381a.5232b8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 766.3818550109863,
+ "x": 812.5000114440918,
"y": 461.56235218048096,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "c74974c0.8f3c68",
- "61d45eed.71b9a"
+ "cb4e74e9.002678",
+ "82baec94.f1ef3"
]
]
},
{
- "id": "d0f4e6c6.8e2d68",
+ "id": "3cea91b.fa3506e",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
"comments": "",
- "x": 930.4094467163086,
+ "x": 976.5276031494141,
"y": 372.14563941955566,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": []
},
{
- "id": "c74974c0.8f3c68",
+ "id": "cb4e74e9.002678",
"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 Obtained anchors from CPS\"/>\n<parameter name=\"field2\" value=\"`$get-anchors-cps-response._length`\"/>",
"comments": "",
"outputs": 1,
- "x": 948.1316184997559,
+ "x": 994.2497749328613,
"y": 445.81239318847656,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "61d45eed.71b9a",
+ "id": "82baec94.f1ef3",
"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' />",
"comments": "",
"outputs": 1,
- "x": 961.6598587036133,
+ "x": 1007.7780151367188,
"y": 478.5623950958252,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "4663a9c2.b73dc8",
+ "id": "ae82a7cf.3db428",
"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=\"Failed to fetch anchors from CPS\"/>",
"comments": "",
"outputs": 1,
- "x": 924.2153587341309,
+ "x": 970.3335151672363,
"y": 408.67347526550293,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "ffa67fb0.23902",
+ "id": "7abb5cad.8b4824",
"type": "execute",
"name": "Get list of anchors from CPS",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.getAnchors.URL`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"restapiUser\" value=\"cpsuser\" />\n<parameter name=\"restapiPassword\" value=\"cpsr0cks!\"/>\n<parameter name=\"responsePrefix\" value=\"get-anchors-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 409.63194274902344,
- "y": 430.06236267089844,
- "z": "c6dfcfc7.2379e",
+ "x": 455.7500915527344,
+ "y": 452.91954040527344,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "a2f4a3b.1505d6",
- "78f367fd.4c4d98"
+ "83b63cb8.50356",
+ "6755444d.92365c"
]
]
},
{
- "id": "7c9e258b.3ac01c",
+ "id": "cbfc783f.bfd638",
"type": "set",
"name": "set mcc & mnc Variables",
"xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.plmn.mcc`'/>\n<parameter name='tmp.mnc' value='`$tmp.plmn.mnc`'/>",
"comments": "",
- "x": 1621.34321975708,
+ "x": 1667.4613761901855,
"y": 707.7624711990356,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": []
},
{
- "id": "81a8517.3d22cb",
+ "id": "5cbdb6a.1382f48",
"type": "for",
"name": "for cellCUList",
"xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >",
"comments": "",
"outputs": 1,
- "x": 1209.1600036621094,
- "y": 780.434757232666,
- "z": "c6dfcfc7.2379e",
+ "x": 1360.2782096862793,
+ "y": 1226.8634357452393,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "e746e6da.878328"
+ "2eaec5f6.dc898a"
]
]
},
{
- "id": "18568cda.8bd573",
+ "id": "c487e215.9bc4d",
"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-cps-response.[' + $idy +'].GNBCUCPFunction[' + $idz +'].NRCellCU_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1230.8824844360352,
- "y": 739.7681217193604,
- "z": "c6dfcfc7.2379e",
+ "x": 1390.5722122192383,
+ "y": 1183.3396549224854,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "81d7a323.b56df",
+ "id": "e2fa5e47.8914f",
"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-cps-response.['+ $idy +'].GNBCUCPFunction['+ $idz +'].NRCellCU['+ $idcu +'].attributes.pLMNInfoList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 2028.6323165893555,
- "y": 710.8124094009399,
- "z": "c6dfcfc7.2379e",
+ "x": 1964.7506713867188,
+ "y": 1120.812448501587,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "8976523.23750b",
+ "id": "1e2b1071.8f533",
"type": "switchNode",
"name": "check the action",
"xml": "<switch test='`$tmp.pLMNInfoList_length > 0`'>",
"comments": "",
"outputs": 1,
- "x": 2039.454689025879,
- "y": 813.1404223442078,
- "z": "c6dfcfc7.2379e",
+ "x": 1975.5730438232422,
+ "y": 1223.1404614448547,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "9f79a22c.d2c77",
- "dc4b250f.834258"
+ "89a93ceb.66702",
+ "e486d34.85cc23"
]
]
},
{
- "id": "9f79a22c.d2c77",
+ "id": "89a93ceb.66702",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2221.4545822143555,
- "y": 715.8902931213379,
- "z": "c6dfcfc7.2379e",
+ "x": 2157.5729370117188,
+ "y": 1125.8903322219849,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "db35298e.4aa578"
+ "b793aef.d37b05"
]
]
},
{
- "id": "dc4b250f.834258",
+ "id": "e486d34.85cc23",
"type": "outcome",
"name": "False",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2222.7400703430176,
- "y": 810.8902950286865,
- "z": "c6dfcfc7.2379e",
+ "x": 2158.858425140381,
+ "y": 1220.8903341293335,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "f8a37bc7.fcbcc8"
+ "737fac15.3df354"
]
]
},
{
- "id": "c06ceff6.6514a",
+ "id": "725e13ec.0ba56c",
"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=\"CUCP plmninfolistlength in false \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList_length`\"/>",
"comments": "",
"outputs": 1,
- "x": 2597.790813446045,
- "y": 809.2261562347412,
- "z": "c6dfcfc7.2379e",
+ "x": 2533.909168243408,
+ "y": 1219.2261953353882,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "db35298e.4aa578",
+ "id": "b793aef.d37b05",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2415.45450592041,
- "y": 722.0903253555298,
- "z": "c6dfcfc7.2379e",
+ "x": 2351.5728607177734,
+ "y": 1132.0903644561768,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "90704486.103e08",
- "b0af6454.55e948"
+ "7479b10a.fbf05",
+ "56be1905.25b768"
]
]
},
{
- "id": "f8a37bc7.fcbcc8",
+ "id": "737fac15.3df354",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2406.811637878418,
- "y": 799.0903329849243,
- "z": "c6dfcfc7.2379e",
+ "x": 2342.9299926757812,
+ "y": 1209.0903720855713,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "c06ceff6.6514a"
+ "725e13ec.0ba56c"
]
]
},
{
- "id": "620f1e83.d0ab5",
+ "id": "a7ffe5c0.4a9ec8",
"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=\"`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBCUCPFunction['+ $idz +'].NRCellCU['+ $idcu +'].attributes.pLMNInfoList_length'`\"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList_length`\"/>",
+ "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=\"CUCP plmninfolength \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList_length`\"/>",
"comments": "",
"outputs": 1,
- "x": 2015.847484588623,
- "y": 756.1975021362305,
- "z": "c6dfcfc7.2379e",
+ "x": 1951.9658393859863,
+ "y": 1166.1975412368774,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "b0af6454.55e948",
+ "id": "56be1905.25b768",
"type": "for",
"name": "foreach PLMNInfo",
"xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >",
"comments": "",
"outputs": 1,
- "x": 2615.3112411499023,
- "y": 724.5897159576416,
- "z": "c6dfcfc7.2379e",
+ "x": 2551.4295959472656,
+ "y": 1134.5897550582886,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "d9a945f3.134188"
+ "72ffdca0.fdcbc4"
]
]
},
{
- "id": "90704486.103e08",
+ "id": "7479b10a.fbf05",
"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=\"CUCP plmninfolistLength in true \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList_length`\"/>",
"comments": "",
"outputs": 1,
- "x": 2599.9217529296875,
- "y": 664.2461051940918,
- "z": "c6dfcfc7.2379e",
+ "x": 2536.040107727051,
+ "y": 1074.2461442947388,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "d9a945f3.134188",
+ "id": "72ffdca0.fdcbc4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2637.7212448120117,
- "y": 217.4461234807968,
- "z": "c6dfcfc7.2379e",
+ "x": 2823.839401245117,
+ "y": 1112.4461377859116,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "5589c439.4c395c",
- "bf769866.ed48b8",
- "c3db8084.13613"
+ "6d5678d8.32d5c8",
+ "bda47944.5e0178",
+ "b281b87.5c83148"
]
]
},
{
- "id": "5589c439.4c395c",
+ "id": "6d5678d8.32d5c8",
"type": "execute",
"name": "read snssailist size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.sNssaiListLengthCU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBCUCPFunction['+ $idz +'].NRCellCU['+ $idcu +'].attributes.pLMNInfoList['+ $id-cuplmn +'].sNSSAIList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 2864.221164703369,
- "y": 168.7956657409668,
- "z": "c6dfcfc7.2379e",
+ "x": 3050.3393211364746,
+ "y": 1063.7956800460815,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "bf769866.ed48b8",
+ "id": "bda47944.5e0178",
"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=\"CUCP_plmninfolength_nssailength \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLengthCU`\"/>\n\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=\"CUCP-snssailength \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLengthCU`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 2854.971164703369,
- "y": 216.4961274266243,
- "z": "c6dfcfc7.2379e",
+ "x": 3041.0893211364746,
+ "y": 1111.496141731739,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "3d46c7b0.369678",
+ "id": "75bfd34b.25b53c",
"type": "for",
"name": "foreach snssai",
"xml": "<for index='id-cusnssai' start='0' end='`$tmp.sNssaiListLengthCU`'>\n",
"comments": "",
"outputs": 1,
- "x": 3287.3284339904785,
- "y": 201.31049728393555,
- "z": "c6dfcfc7.2379e",
+ "x": 3473.446590423584,
+ "y": 1096.3105115890503,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "16674272.11df0e"
+ "404596e4.b8bc78"
]
]
},
{
- "id": "c3db8084.13613",
+ "id": "b281b87.5c83148",
"type": "switchNode",
"name": "check the action",
"xml": "<switch test='`$tmp.sNssaiListLengthCU > 0`'>\n",
"comments": "",
"outputs": 1,
- "x": 2847.221160888672,
- "y": 264.89624786376953,
- "z": "c6dfcfc7.2379e",
+ "x": 3033.3393173217773,
+ "y": 1159.8962621688843,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "f832ec0d.6775c",
- "dfd0f7c8.933c18"
+ "363d3a92.1f5ce6",
+ "1e3c6447.347b3c"
]
]
},
{
- "id": "f832ec0d.6775c",
+ "id": "363d3a92.1f5ce6",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3012.471019744873,
- "y": 233.595853805542,
- "z": "c6dfcfc7.2379e",
+ "x": 3198.5891761779785,
+ "y": 1128.5958681106567,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "48f744de.e1a26c"
+ "60ad2491.f82f5c"
]
]
},
{
- "id": "dfd0f7c8.933c18",
+ "id": "1e3c6447.347b3c",
"type": "outcome",
"name": "False",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3008.2711906433105,
- "y": 283.79567694664,
- "z": "c6dfcfc7.2379e",
+ "x": 3194.389347076416,
+ "y": 1178.7956912517548,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "4ad47fbc.9c39d"
+ "cc154f65.3c4c7"
]
]
},
{
- "id": "48f744de.e1a26c",
+ "id": "60ad2491.f82f5c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3117.971176147461,
- "y": 167.94585418701172,
- "z": "c6dfcfc7.2379e",
+ "x": 3304.0893325805664,
+ "y": 1062.9458684921265,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "3d46c7b0.369678",
- "dd20354.26c04c8"
+ "75bfd34b.25b53c",
+ "958105ed.03ad78"
]
]
},
{
- "id": "4ad47fbc.9c39d",
+ "id": "cc154f65.3c4c7",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3180.4713401794434,
- "y": 290.19587874412537,
- "z": "c6dfcfc7.2379e",
+ "x": 3366.589496612549,
+ "y": 1185.19589304924,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "ee9c67d9.901f08"
+ "afd8ec07.11ca4"
]
]
},
{
- "id": "ee9c67d9.901f08",
+ "id": "afd8ec07.11ca4",
"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=\"plmninfolistnssailength in false in CU \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLengthCU`\"/>",
"comments": "",
"outputs": 1,
- "x": 3352.0709533691406,
- "y": 286.39582991600037,
- "z": "c6dfcfc7.2379e",
+ "x": 3538.189109802246,
+ "y": 1181.395844221115,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "dd20354.26c04c8",
+ "id": "958105ed.03ad78",
"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=\"plmninfolistnssailength in true in CU \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLengthCU`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 3257.8710975646973,
- "y": 143.3958511352539,
- "z": "c6dfcfc7.2379e",
+ "x": 3443.9892539978027,
+ "y": 1038.3958654403687,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "cf3a8a59.1a0458",
+ "id": "2d42a72.18e8f58",
"type": "switchNode",
"name": "is NSSAI exists",
"xml": "<switch test='`$tmp.cpsSNSSAI == $tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 3646.048725128174,
- "y": 226.3125228881836,
- "z": "c6dfcfc7.2379e",
+ "x": 3967.167453765869,
+ "y": 1131.3126287460327,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "b7df5836.9108e8"
+ "ba060888.c4ae98"
]
]
},
{
- "id": "e1c9fc46.605e1",
+ "id": "336d2549.3d15ca",
"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-cps-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.cpsSNSSAI`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 3704.160053253174,
- "y": 182.75696516036987,
- "z": "c6dfcfc7.2379e",
+ "x": 3995.2786712646484,
+ "y": 1072.7570443153381,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "16674272.11df0e",
+ "id": "404596e4.b8bc78",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3513.271381378174,
- "y": 156.53479719161987,
- "z": "c6dfcfc7.2379e",
+ "x": 3804.3899993896484,
+ "y": 1046.5348763465881,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "e1c9fc46.605e1",
- "cf3a8a59.1a0458",
- "26f23ec.815cec2"
+ "336d2549.3d15ca",
+ "2d42a72.18e8f58",
+ "cbdc7372.1e164"
]
]
},
{
- "id": "26f23ec.815cec2",
+ "id": "cbdc7372.1e164",
"type": "execute",
"name": "read sNSSAI from getNFNSSIRIC-cps-response",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cpsSNSSAI' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBCUCPFunction['+ $idz +'].NRCellCU['+ $idcu +'].attributes.pLMNInfoList['+ $id-cuplmn +'].sNSSAIList['+ $id-cusnssai +'].sNssai'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 3884.159854888916,
- "y": 106.7570128440857,
- "z": "c6dfcfc7.2379e",
+ "x": 4175.278472900391,
+ "y": 996.757091999054,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "b52aad42.9063",
+ "id": "261ccd5b.e4bd92",
"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-cps-response.['+ $idy +'].GNBCUUPFunction['+ $id-cuup +'].attributes.pLMNInfoList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 1236.1874618530273,
- "y": 918.9512805938721,
- "z": "c6dfcfc7.2379e",
+ "x": 1282.3057174682617,
+ "y": 1363.9513759613037,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "55b4e9c6.8cc4d8",
+ "id": "d7bb5c2.697e4a",
"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=\"CUUP plmninfolength \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList`\"/>",
"comments": "",
"outputs": 1,
- "x": 1192.7374420166016,
- "y": 958.2955894470215,
- "z": "c6dfcfc7.2379e",
+ "x": 1238.855697631836,
+ "y": 1403.2956848144531,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "b7de64ae.c8c278",
+ "id": "aa14c103.3d439",
"type": "for",
"name": "foreach pLMNInfo",
"xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",
"comments": "",
"outputs": 1,
- "x": 1555.4929084777832,
- "y": 1064.645869255066,
- "z": "c6dfcfc7.2379e",
+ "x": 1586.611198425293,
+ "y": 1514.6459822654724,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "d1e7cc69.5a192"
+ "5abc3e11.12c38"
]
]
},
{
- "id": "a472408c.8d07b",
+ "id": "eadb11dc.6ad3e",
"type": "switchNode",
"name": "check the action",
"xml": "<switch test='`$tmp.snssaiListup_length > 0`'>",
"comments": "",
"outputs": 1,
- "x": 1646.5485382080078,
- "y": 994.0795574188232,
- "z": "c6dfcfc7.2379e",
+ "x": 1692.6667938232422,
+ "y": 1439.0796527862549,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "4833e2f.59a4a1c",
- "d2f8d0e4.4103a"
+ "bea13089.6db02",
+ "ec2bc370.b764a"
]
]
},
{
- "id": "4833e2f.59a4a1c",
+ "id": "bea13089.6db02",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1820.5484924316406,
- "y": 949.4457902908325,
- "z": "c6dfcfc7.2379e",
+ "x": 1866.666748046875,
+ "y": 1394.4458856582642,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "b99482e0.2479b"
+ "9677e38a.63fa3"
]
]
},
{
- "id": "d2f8d0e4.4103a",
+ "id": "ec2bc370.b764a",
"type": "outcome",
"name": "False",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1777.8485107421875,
- "y": 906.9791412353516,
- "z": "c6dfcfc7.2379e",
+ "x": 1823.9667663574219,
+ "y": 1351.9792366027832,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "75ae663e.0e54c8"
+ "7e486c08.aa9b84"
]
]
},
{
- "id": "b99482e0.2479b",
+ "id": "9677e38a.63fa3",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1976.0485382080078,
- "y": 935.8790969848633,
- "z": "c6dfcfc7.2379e",
+ "x": 2177.166700363159,
+ "y": 1390.8791751861572,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "457d7fc3.957a7",
- "81624cd1.0799c"
+ "3c4c9b1.78e9164",
+ "a7bef710.7d65e8"
]
]
},
{
- "id": "75ae663e.0e54c8",
+ "id": "7e486c08.aa9b84",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1950.5485534667969,
- "y": 884.6290626525879,
- "z": "c6dfcfc7.2379e",
+ "x": 2151.6667156219482,
+ "y": 1339.6291408538818,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "d1be303b.37a78"
+ "a5b29e9b.75179"
]
]
},
{
- "id": "d1be303b.37a78",
+ "id": "a5b29e9b.75179",
"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=\"plmninfolistnssailength in false \"/>\n<parameter name=\"field2\" value=\"`$tmp.snssaiListup_length`\"/>",
"comments": "",
"outputs": 1,
- "x": 2106.8984565734863,
- "y": 872.3292264938354,
- "z": "c6dfcfc7.2379e",
+ "x": 2308.0166187286377,
+ "y": 1327.3293046951294,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "457d7fc3.957a7",
+ "id": "3c4c9b1.78e9164",
"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=\"plmninfolistnssailength in true \"/>\n<parameter name=\"field2\" value=\"`$tmp.snssaiListup_length`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 2145.9489917755127,
- "y": 921.3291454315186,
- "z": "c6dfcfc7.2379e",
+ "x": 2347.067153930664,
+ "y": 1376.3292236328125,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "1d094114.777fef",
+ "id": "d175eaee.366808",
"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-cps-response.['+ $idy +'].GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].attributes.pLMNInfoList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 1617.8540878295898,
- "y": 1337.4234237670898,
- "z": "c6dfcfc7.2379e",
+ "x": 1793.9722595214844,
+ "y": 1642.4234957695007,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "eb4beae.72a3c18",
+ "id": "318d43c7.46869c",
"type": "for",
"name": "foreach PLMNInfo",
"xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >",
"comments": "",
"outputs": 1,
- "x": 2006.4651641845703,
- "y": 1582.7568664550781,
- "z": "c6dfcfc7.2379e",
+ "x": 2182.583335876465,
+ "y": 1887.756938457489,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "961d9cd2.4adbd"
+ "e55bbb42.80ac18"
]
]
},
{
- "id": "cd3291bd.519d2",
+ "id": "fb95c036.de9d1",
"type": "block",
"name": "block : gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1420.3660354614258,
- "y": 1471.8036279678345,
- "z": "c6dfcfc7.2379e",
+ "x": 1596.4842071533203,
+ "y": 1776.8036999702454,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "1d094114.777fef",
- "79496f76.24f9b",
- "84c9422b.7db2d"
+ "d175eaee.366808",
+ "a3c1fed4.0e6e2",
+ "b3595a3a.f52ec8"
]
]
},
{
- "id": "79496f76.24f9b",
+ "id": "a3c1fed4.0e6e2",
"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=\"plmninfolengthcelldu \"/>\n<parameter name=\"field2\" value=\"`$tmp.DUpLMNInfoList_length`\"/>",
"comments": "",
"outputs": 1,
- "x": 1613.1161308288574,
- "y": 1396.7479696273804,
- "z": "c6dfcfc7.2379e",
+ "x": 1789.234302520752,
+ "y": 1701.7480416297913,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "732df58f.3974cc",
+ "id": "8b1055a6.fd7e28",
"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=\"DU_plmninfolength_nssailength \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLengthDU`\"/>",
"comments": "",
"outputs": 1,
- "x": 1975.8818588256836,
- "y": 1158.6666584014893,
- "z": "c6dfcfc7.2379e",
+ "x": 2647.0001792907715,
+ "y": 1868.6666526794434,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "76f8a4f9.c17dac",
+ "id": "a140e513.817368",
"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 cellCUUP NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>",
"comments": "",
"outputs": 1,
- "x": 3167.8821716308594,
- "y": 999.0001411437988,
- "z": "c6dfcfc7.2379e",
+ "x": 3449.0004692077637,
+ "y": 1589.000160932541,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "bef1cd76.8a4c1",
+ "id": "a220c911.3eb878",
"type": "comment",
"name": "activateRANSliceInstance-cps",
"info": "",
"comments": "",
- "x": 359.2151870727539,
+ "x": 405.3333435058594,
"y": 20,
- "z": "c6dfcfc7.2379e",
+ "z": "99837a4f.2c12b8",
"wires": []
},
{
- "id": "a91738c2.935388",
+ "id": "70f7e4e7.be9b0c",
"type": "switchNode",
"name": "check the action",
"xml": "<switch test='`$tmp.pLMNInfoList > 0`'>",
"comments": "",
"outputs": 1,
- "x": 1189.770751953125,
- "y": 1005.1482944488525,
- "z": "c6dfcfc7.2379e",
+ "x": 1235.8890075683594,
+ "y": 1450.1483898162842,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "ccc9e9b6.9165c8",
- "7025962c.86c568"
+ "3a0e3dd2.78e462",
+ "3f439aec.3589b6"
]
]
},
{
- "id": "ccc9e9b6.9165c8",
+ "id": "3a0e3dd2.78e462",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1185.6966705322266,
- "y": 1066.6295700073242,
- "z": "c6dfcfc7.2379e",
+ "x": 1231.814926147461,
+ "y": 1511.6296653747559,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "ffc3cc86.60171"
+ "e5a1edc1.f2eeb"
]
]
},
{
- "id": "7025962c.86c568",
+ "id": "3f439aec.3589b6",
"type": "outcome",
"name": "False",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1159.204360961914,
- "y": 1147.1850910186768,
- "z": "c6dfcfc7.2379e",
+ "x": 1205.3226165771484,
+ "y": 1592.1851863861084,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "3592d0dd.e2188"
+ "be70d897.9b4b78"
]
]
},
{
- "id": "ffc3cc86.60171",
+ "id": "e5a1edc1.f2eeb",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1357.9187393188477,
- "y": 1070.7036895751953,
- "z": "c6dfcfc7.2379e",
+ "x": 1404.036994934082,
+ "y": 1515.703784942627,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "b7de64ae.c8c278"
+ "aa14c103.3d439"
]
]
},
{
- "id": "a4dae456.d51778",
+ "id": "107d9196.2e9a4e",
"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=\"CUUP plmninfolistlength in false \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1486.8077697753906,
- "y": 1137.740758895874,
- "z": "c6dfcfc7.2379e",
+ "x": 1532.926025390625,
+ "y": 1582.7408542633057,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "3592d0dd.e2188",
+ "id": "be70d897.9b4b78",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1316.807746887207,
- "y": 1144.4073486328125,
- "z": "c6dfcfc7.2379e",
+ "x": 1362.9260025024414,
+ "y": 1589.4074440002441,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "a4dae456.d51778"
+ "107d9196.2e9a4e"
]
]
},
{
- "id": "84c9422b.7db2d",
+ "id": "b3595a3a.f52ec8",
"type": "switchNode",
"name": "check the action",
"xml": "<switch test='`$tmp.DUpLMNInfoList_length > 0`'>",
"comments": "",
"outputs": 1,
- "x": 1634.048568725586,
- "y": 1479.3543229103088,
- "z": "c6dfcfc7.2379e",
+ "x": 1810.1667404174805,
+ "y": 1784.3543949127197,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "2604572f.993648",
- "1800f776.836539"
+ "4e33014.9084d",
+ "e461daa7.d374c8"
]
]
},
{
- "id": "2604572f.993648",
+ "id": "4e33014.9084d",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1795.5300559997559,
- "y": 1446.3910808563232,
- "z": "c6dfcfc7.2379e",
+ "x": 1971.6482276916504,
+ "y": 1751.3911528587341,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "2c255825.17a998"
+ "85acdd2.a85362"
]
]
},
{
- "id": "1800f776.836539",
+ "id": "e461daa7.d374c8",
"type": "outcome",
"name": "False",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1653.4821090698242,
- "y": 1623.6131992340088,
- "z": "c6dfcfc7.2379e",
+ "x": 1829.6002807617188,
+ "y": 1928.6132712364197,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "48ac508b.e8ffd"
+ "1dbf4107.fafaef"
]
]
},
{
- "id": "2c255825.17a998",
+ "id": "85acdd2.a85362",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1791.085563659668,
- "y": 1579.3542098999023,
- "z": "c6dfcfc7.2379e",
+ "x": 1967.2037353515625,
+ "y": 1884.3542819023132,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "eb4beae.72a3c18"
+ "318d43c7.46869c"
]
]
},
{
- "id": "2111d82b.47c8e8",
+ "id": "96699ef5.0f959",
"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=\"DU plmninfolistlength in false \"/>\n<parameter name=\"field2\" value=\"`$tmp.DUpLMNInfoList_length`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 2015.5300521850586,
- "y": 1635.279987335205,
- "z": "c6dfcfc7.2379e",
+ "x": 2191.648223876953,
+ "y": 1940.280059337616,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
},
{
- "id": "48ac508b.e8ffd",
+ "id": "1dbf4107.fafaef",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1843.3077239990234,
- "y": 1630.8355979919434,
- "z": "c6dfcfc7.2379e",
+ "x": 2019.425895690918,
+ "y": 1935.8356699943542,
+ "z": "99837a4f.2c12b8",
"wires": [
[
- "2111d82b.47c8e8"
+ "96699ef5.0f959"
]
]
},
{
- "id": "eb4faac0.502108",
+ "id": "2615175c.610568",
"type": "execute",
"name": "read NRCellDUID",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.NRCellDUID' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].idNRCellDU'`\" />",
"comments": "",
"outputs": 1,
- "x": 2663.0000762939453,
- "y": 1261.3333702087402,
- "z": "c6dfcfc7.2379e",
+ "x": 3879.1182861328125,
+ "y": 1951.3334312438965,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a4e9993e.e2bbd8",
+ "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_nearrtric_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+ $idy +'].attributes.pLMNInfoList_length'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 867.0833511352539,
+ "y": 803.7500352859497,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3ec22f79.3efe6",
+ "type": "for",
+ "name": "foreach PLMNInfo",
+ "xml": "<for index='id-ric' start='0' end='`$tmp.pLMNInfoList_nearrtric_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 862.7878556251526,
+ "y": 892.2728252410889,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "26001576.0ac11a"
+ ]
+ ]
+ },
+ {
+ "id": "2f539b6b.c16cc4",
+ "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=\"NearRTRIC plmninfolength \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList_nearrtric_length`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 829.0378608703613,
+ "y": 848.5226621627808,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a0cfa49d.a616f8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3302.272750854492,
+ "y": 814.2119131088257,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "41ef1440.fd883c"
+ ]
+ ]
+ },
+ {
+ "id": "41ef1440.fd883c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3475.27286529541,
+ "y": 784.8785305023193,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "be43b34c.ade8f",
+ "599abd72.1b5f94"
+ ]
+ ]
+ },
+ {
+ "id": "599abd72.1b5f94",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3624.2725563049316,
+ "y": 747.9895086288452,
+ "z": "99837a4f.2c12b8",
+ "wires": []
+ },
+ {
+ "id": "be43b34c.ade8f",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3638.272560119629,
+ "y": 822.8785772323608,
+ "z": "99837a4f.2c12b8",
+ "wires": []
+ },
+ {
+ "id": "541edf68.3b265",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3320.090888977051,
+ "y": 936.7876243591309,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "fd0e322e.a9484"
+ ]
+ ]
+ },
+ {
+ "id": "fd0e322e.a9484",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3470.0907974243164,
+ "y": 951.7877616882324,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "61960991.abcac8"
+ ]
+ ]
+ },
+ {
+ "id": "61960991.abcac8",
+ "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 Updated NearRT RIC info in cps\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3648.757556915283,
+ "y": 928.1212472915649,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "26001576.0ac11a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1080.4537620544434,
+ "y": 936.6054921150208,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "22bd54ca.6afa8c",
+ "2afe0ff.769e1f",
+ "34a42039.1a0f9"
+ ]
+ ]
+ },
+ {
+ "id": "2f2d24d2.470abc",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.ric.sNSSAI == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2382.204391479492,
+ "y": 927.8556942939758,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "a3e0442a.8dc158",
+ "a18ff5f4.f3de48"
+ ]
+ ]
+ },
+ {
+ "id": "a3e0442a.8dc158",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2580.8713874816895,
+ "y": 918.8558168411255,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "fba6e4f1.c2bed8"
+ ]
+ ]
+ },
+ {
+ "id": "a18ff5f4.f3de48",
+ "type": "failure",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2583.6213035583496,
+ "y": 980.3557472229004,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "e7f459cb.4fddb8"
+ ]
+ ]
+ },
+ {
+ "id": "e7f459cb.4fddb8",
+ "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=\"NSSAI doesn't exist \"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2744.6214714050293,
+ "y": 976.3558778762817,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "22bd54ca.6afa8c",
+ "type": "execute",
+ "name": "read sNSSAIList Length",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.ric.sNSSAILength' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+ $idy +'].attributes.pLMNInfoList['+$id-ric+'].sNSSAIList_length'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1324.2038497924805,
+ "y": 890.6056504249573,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f6c29c67.2124f",
+ "type": "for",
+ "name": "foreach sNSSAI",
+ "xml": "<for index='id-ric-snssai' start='0' end='`$tmp.ric.sNSSAILength`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1914.4541358947754,
+ "y": 892.6056308746338,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "c6d77225.8ac9a"
+ ]
+ ]
+ },
+ {
+ "id": "c6d77225.8ac9a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2152.954216003418,
+ "y": 889.6056962013245,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "afdfe53f.e44698",
+ "2f2d24d2.470abc",
+ "b77435d2.47dc58"
+ ]
+ ]
+ },
+ {
+ "id": "afdfe53f.e44698",
+ "type": "execute",
+ "name": "read sNSSAI",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.ric.sNSSAI' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+ $idy +'].attributes.pLMNInfoList['+$id-ric+'].sNSSAIList['+$id-ric-snssai+'].sNssai'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2339.9542236328125,
+ "y": 820.6055965423584,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b77435d2.47dc58",
+ "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 from cps response\"/>\n<parameter name=\"field2\" value=\"`$tmp.ric.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2356.154006958008,
+ "y": 872.5055704116821,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d21c8122.c790a",
+ "type": "execute",
+ "name": "generate put status rtric url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putstatus.rtric.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3059.8048706054688,
+ "y": 745.5058546066284,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "57bff466.57242c",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.putstatus.rtric.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putstatus.rtric.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-status-rtric`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3056.8049507141113,
+ "y": 801.8392934799194,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2a2c8d5f.f54922",
+ "type": "execute",
+ "name": "put status nearrtic",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.putstatus.rtric.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-nearrtric.json'`\" />\n<parameter name=\"httpMethod\" value=\"POsT\"/>\n<parameter name=\"responsePrefix\" value=\"cps-put-status-nearrtic-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": 3113.604434967041,
+ "y": 902.9724607467651,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "a0cfa49d.a616f8",
+ "541edf68.3b265"
+ ]
+ ]
+ },
+ {
+ "id": "2afe0ff.769e1f",
+ "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=\"NearRTRIC-snssailength \"/>\n<parameter name=\"field2\" value=\"`$tmp.ric.sNSSAILength`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1276.5834617614746,
+ "y": 940.200436592102,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "34a42039.1a0f9",
+ "type": "switchNode",
+ "name": "check the action",
+ "xml": "<switch test='`$tmp.ric.sNSSAILength > 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1287.5834579467773,
+ "y": 987.3505859375,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "637b12ab.7e17ac",
+ "2e33f2f4.aba32e"
+ ]
+ ]
+ },
+ {
+ "id": "637b12ab.7e17ac",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1546.5830612182617,
+ "y": 877.3001279830933,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "bafde7ef.af4448"
+ ]
+ ]
+ },
+ {
+ "id": "2e33f2f4.aba32e",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1524.8833541870117,
+ "y": 962.5,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "a30d3c6f.e3b93"
+ ]
+ ]
+ },
+ {
+ "id": "bafde7ef.af4448",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1712.083351135254,
+ "y": 882.9002227783203,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "e9863049.59925",
+ "f6c29c67.2124f"
+ ]
+ ]
+ },
+ {
+ "id": "a30d3c6f.e3b93",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1683.3335571289062,
+ "y": 965.1502285003662,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "6e2ae6f0.463888"
+ ]
+ ]
+ },
+ {
+ "id": "6e2ae6f0.463888",
+ "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=\"plmninfolistnssailength in false in nearRTRIC \"/>\n<parameter name=\"field2\" value=\"`$tmp.ric.sNSSAILength`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1896.1831359863281,
+ "y": 971.3501787185669,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e9863049.59925",
+ "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=\"plmninfolistnssailength in true in nearRTRIC \"/>\n<parameter name=\"field2\" value=\"`$tmp.ric.sNSSAILength`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1881.983097076416,
+ "y": 825.8501720428467,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fba6e4f1.c2bed8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2800.5556678771973,
+ "y": 891.6666402816772,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "d21c8122.c790a",
+ "2a2c8d5f.f54922",
+ "e9549346.0bc0d",
+ "57bff466.57242c"
+ ]
+ ]
+ },
+ {
+ "id": "e9549346.0bc0d",
+ "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=\"URL for CPS TDBMT to put status NearRTRIC\"/>\n<parameter name='field2' value=\"`$tmp.cps.putstatus.rtric.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3034.444927215576,
+ "y": 853.8889598846436,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "27cd480f.e1adf8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4909.4443359375,
+ "y": 1290,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "a89420d3.19c4a"
+ ]
+ ]
+ },
+ {
+ "id": "a89420d3.19c4a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 5154.111030578613,
+ "y": 1245.6667003631592,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "5f1a34ae.f0ddec",
+ "a0a9ec60.40dc1",
+ "ef61818c.15786"
+ ]
+ ]
+ },
+ {
+ "id": "a0a9ec60.40dc1",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 5334.778030395508,
+ "y": 1217.1109924316406,
+ "z": "99837a4f.2c12b8",
+ "wires": []
+ },
+ {
+ "id": "5f1a34ae.f0ddec",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 5353.777870178223,
+ "y": 1271.9999952316284,
+ "z": "99837a4f.2c12b8",
+ "wires": []
+ },
+ {
+ "id": "557a5156.3e728",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4927.262474060059,
+ "y": 1412.5757112503052,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "99f89727.97f758"
+ ]
+ ]
+ },
+ {
+ "id": "99f89727.97f758",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4947.262401580811,
+ "y": 1480.9093551635742,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "cc67f601.fe4428"
+ ]
+ ]
+ },
+ {
+ "id": "cc67f601.fe4428",
+ "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 Updated NRCellCU info in cps\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 5057.595909118652,
+ "y": 1562.2426872253418,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "66a8e267.08aa8c",
+ "type": "execute",
+ "name": "generate put status nrcellcu url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putstatus.nrcellcu.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4678.405212402344,
+ "y": 1199.8653717041016,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e1a02496.fd2ae8",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.putstatus.nrcellcu.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putstatus.nrcellcu.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-status-nrcellcu`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4673.976921081543,
+ "y": 1259.0560989379883,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e2e2decb.f1d42",
+ "type": "execute",
+ "name": "put status nrcellcu",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.putstatus.nrcellcu.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-gnbcucpfunction.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-put-status-nrcellcu-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": 4671.728500366211,
+ "y": 1364.712942123413,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "27cd480f.e1adf8",
+ "557a5156.3e728"
+ ]
+ ]
+ },
+ {
+ "id": "90622f26.b1479",
+ "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=\"URL for CPS TDBMT to put status NRCellCU\"/>\n<parameter name='field2' value=\"`$tmp.cps.putstatus.nrcellcu.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 4648.759750366211,
+ "y": 1318.2484817504883,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d85e3ac6.7a3198",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3728.3333435058594,
+ "y": 1691.66650390625,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "6f91f3ae.fcd0bc"
+ ]
+ ]
+ },
+ {
+ "id": "6f91f3ae.fcd0bc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3891.3335189819336,
+ "y": 1643.9998760223389,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "b30baf82.3da95",
+ "1c623f58.3ef941",
+ "ef61818c.15786"
+ ]
+ ]
+ },
+ {
+ "id": "1c623f58.3ef941",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 4085.3330421447754,
+ "y": 1622.110876083374,
+ "z": "99837a4f.2c12b8",
+ "wires": []
+ },
+ {
+ "id": "b30baf82.3da95",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 4099.333042144775,
+ "y": 1683.66654586792,
+ "z": "99837a4f.2c12b8",
+ "wires": []
+ },
+ {
+ "id": "83d15659.ed50c8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3741.151542663574,
+ "y": 1787.5755290985107,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "f781658e.bf86c8"
+ ]
+ ]
+ },
+ {
+ "id": "f781658e.bf86c8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3927.8180541992188,
+ "y": 1759.2424411773682,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "fdc80f8.0935df"
+ ]
+ ]
+ },
+ {
+ "id": "fdc80f8.0935df",
+ "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 Updated CUUP info in cps\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4126.4846534729,
+ "y": 1755.5759353637695,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "58901142.42801",
+ "type": "execute",
+ "name": "generate put status cuup url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putstatus.cuup.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3454.1986236572266,
+ "y": 1696.2938194274902,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f52b8b1.2cb2a78",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.putstatus.cuup.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putstatus.cuup.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-status-cuup`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3451.198703765869,
+ "y": 1752.6272583007812,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e2ea9b6a.6d4858",
+ "type": "execute",
+ "name": "put status cuup",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.putstatus.cuup.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-gnbcuupfunction.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-put-status-cuup-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": 3454.664878845215,
+ "y": 1855.4271383285522,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "d85e3ac6.7a3198",
+ "83d15659.ed50c8"
+ ]
+ ]
+ },
+ {
+ "id": "fc305223.13dde",
+ "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=\"URL for CPS TDBMT to put status CUUP\"/>\n<parameter name='field2' value=\"`$tmp.cps.putstatus.cuup.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3428.838680267334,
+ "y": 1804.6769247055054,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "66df94f0.a3c63c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4148.3330078125,
+ "y": 2405,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "5d2d8390.26e2dc"
+ ]
+ ]
+ },
+ {
+ "id": "5d2d8390.26e2dc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4392.999702453613,
+ "y": 2360.666700363159,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "26f776ca.68a8aa",
+ "1f1d044a.bf00ac",
+ "ef61818c.15786"
+ ]
+ ]
+ },
+ {
+ "id": "1f1d044a.bf00ac",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 4573.666702270508,
+ "y": 2332.1109924316406,
+ "z": "99837a4f.2c12b8",
+ "wires": []
+ },
+ {
+ "id": "26f776ca.68a8aa",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 4592.666542053223,
+ "y": 2386.9999952316284,
+ "z": "99837a4f.2c12b8",
+ "wires": []
+ },
+ {
+ "id": "945b415b.ce03",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4166.151145935059,
+ "y": 2527.575711250305,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "758bc18e.d9d31"
+ ]
+ ]
+ },
+ {
+ "id": "758bc18e.d9d31",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4416.151069641113,
+ "y": 2472.5758905410767,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "cbcec054.70922"
+ ]
+ ]
+ },
+ {
+ "id": "cbcec054.70922",
+ "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 Updated NRCellDU info in cps\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4601.484573364258,
+ "y": 2450.576093673706,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "16286b51.c442c5",
+ "type": "execute",
+ "name": "generate put status nrcelldu url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putstatus.nrcelldu.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3905.8651275634766,
+ "y": 2336.2939414978027,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "274e31f6.2a99ce",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.putstatus.nrcelldu.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putstatus.nrcelldu.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-status-nrcelldu`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3902.865207672119,
+ "y": 2392.6273803710938,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7a8263.39066d9c",
+ "type": "execute",
+ "name": "put status nrcelldu",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.putstatus.nrcelldu.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-gnbdufunction.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-put-status-nrcelldu-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3906.331382751465,
+ "y": 2495.4272603988647,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ [
+ "66df94f0.a3c63c",
+ "945b415b.ce03"
+ ]
+ ]
+ },
+ {
+ "id": "9e524773.2f7ca8",
+ "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=\"URL for CPS TDBMT to put status NRCellDU\"/>\n<parameter name='field2' value=\"`$tmp.cps.putstatus.nrcelldu.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3880.505184173584,
+ "y": 2444.677046775818,
+ "z": "99837a4f.2c12b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b40b980d.9da238",
+ "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-cps-response.['+ $idy +'].GNBCUCPFunction['+ $idz +'].attributes.gNBCUName'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1374.2856903076172,
+ "y": 1057.1429624557495,
+ "z": "99837a4f.2c12b8",
"wires": [
[]
]
diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance-cps.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance-cps.xml
index fa7c4edb..7e0a86f3 100644
--- a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance-cps.xml
+++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance-cps.xml
@@ -48,13 +48,13 @@
<set>
<parameter name='tmp.sliceprofileid' value="`$payloadJson.input.sliceProfileId`" />
</set>
+ <set>
+ <parameter name='tmp.payload.RANNFNSSIId' value="`$payloadJson.input.RANNFNSSIId`" />
+ </set>
<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >
<parameter name='fileName' value='/opt/onap/ccsdk/data/properties/ran-slice-api-dg.properties' />
<parameter name='contextPrefix' value='prop' />
</execute>
- <set>
- <parameter name='tmp.payload.RANNFNSSIId' value="`$payloadJson.input.RANNFNSSIId`" />
- </set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
<parameter name="level" value="info" />
@@ -158,6 +158,11 @@
</switch>
</block>
</for>
+ <return status='success'>
+ <parameter name="ack-final" value="Y" />
+ <parameter name="error-code" value="200" />
+ <parameter name="error-message" value="SUCCESSFUL Execution" />
+ </return>
<for index='anc' start='0' end='`$tmp.anchors.length`'>
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
@@ -381,17 +386,137 @@
</switch>
</block>
</for>
- <return status='success'>
- <parameter name="ack-final" value="Y" />
- <parameter name="error-code" value="200" />
- <parameter name="error-message" value="SUCCESSFUL Execution" />
- </return>
<for index='idy' start='0' end='`$tmp.RICList_length`' >
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
<parameter name='outputPath' value='tmp.nearRTRICId' />
<parameter name='source' value="`'getNFNSSIRIC-cps-response.[' + $idy +'].idNearRTRIC'`" />
</execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.pLMNInfoList_nearrtric_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+ $idy +'].attributes.pLMNInfoList_length'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="NearRTRIC plmninfolength "/>
+ <parameter name="field2" value="`$tmp.pLMNInfoList_nearrtric_length`"/>
+ </record>
+ <for index='id-ric' start='0' end='`$tmp.pLMNInfoList_nearrtric_length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.ric.sNSSAILength' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+ $idy +'].attributes.pLMNInfoList['+$id-ric+'].sNSSAIList_length'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="NearRTRIC-snssailength "/>
+ <parameter name="field2" value="`$tmp.ric.sNSSAILength`"/>
+ </record>
+ <switch test='`$tmp.ric.sNSSAILength > 0`'>
+ <outcome value='true'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="plmninfolistnssailength in true in nearRTRIC "/>
+ <parameter name="field2" value="`$tmp.ric.sNSSAILength`"/>
+ </record>
+ <for index='id-ric-snssai' start='0' end='`$tmp.ric.sNSSAILength`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.ric.sNSSAI' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+ $idy +'].attributes.pLMNInfoList['+$id-ric+'].sNSSAIList['+$id-ric-snssai+'].sNssai'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="snssai from cps response"/>
+ <parameter name="field2" value="`$tmp.ric.sNSSAI`"/>
+ <parameter name="field3" value="sNSSAI from request"/>
+ <parameter name="field4" value="`$tmp.sNSSAI`"/>
+ </record>
+ <switch test='`$tmp.ric.sNSSAI == $tmp.sNSSAI`'>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+ <parameter name="outputPath" value="tmp.cps.putstatus.rtric.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$tmp.schemaset.name`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.cps.putstatus.rtric.url`"/>
+ <parameter name="outputPath" value="tmp.cps.putstatus.rtric.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.put-status-rtric`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for CPS TDBMT to put status NearRTRIC"/>
+ <parameter name='field2' value="`$tmp.cps.putstatus.rtric.url`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.cps.putstatus.rtric.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-put-nearrtric.json'`" />
+ <parameter name="httpMethod" value="POsT"/>
+ <parameter name="responsePrefix" value="cps-put-status-nearrtic-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Updated NearRT RIC info in cps"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </outcome>
+ <outcome value='false'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="NSSAI doesn't exist "/>
+ </record>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ </block>
+ </outcome>
+ <outcome value='false'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="plmninfolistnssailength in false in nearRTRIC "/>
+ <parameter name="field2" value="`$tmp.ric.sNSSAILength`"/>
+ </record>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </for>
</block>
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
@@ -412,11 +537,17 @@
<parameter name='outputPath' value='tmp.CUCPName' />
<parameter name='source' value="`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBCUCPFunction['+ $idz +'].attributes.gNBCUName'`" />
</execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.idCUCP' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBCUCPFunction['+ $idz +'].idGNBCUCPFunction'`" />
+ </execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="CUCPName "/>
- <parameter name="field2" value="`$tmp.CUCPName`"/>
+ <parameter name="field1" value="ID CUCP "/>
+ <parameter name="field2" value="`$tmp.idCUCP`"/>
+ <parameter name="field3" value="CUCPName "/>
+ <parameter name="field4" value="`$tmp.CUCPName`"/>
</record>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
<parameter name='outputPath' value='tmp.cellCUList_length' />
@@ -431,7 +562,7 @@
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBCUCPFunction['+ $idz +'].NRCellCU['+ $idcu +'].attributes.pLMNInfoList_length'`"/>
+ <parameter name="field1" value="CUCP plmninfolength "/>
<parameter name="field2" value="`$tmp.pLMNInfoList_length`"/>
</record>
<switch test='`$tmp.pLMNInfoList_length > 0`'>
@@ -452,7 +583,7 @@
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="CUCP_plmninfolength_nssailength "/>
+ <parameter name="field1" value="CUCP-snssailength "/>
<parameter name="field2" value="`$tmp.sNssaiListLengthCU`"/>
</record>
<switch test='`$tmp.sNssaiListLengthCU > 0`'>
@@ -631,6 +762,103 @@
</block>
</outcome>
</execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+ <parameter name="outputPath" value="tmp.cps.putstatus.nrcellcu.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$tmp.schemaset.name`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.cps.putstatus.nrcellcu.url`"/>
+ <parameter name="outputPath" value="tmp.cps.putstatus.nrcellcu.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.put-status-nrcellcu`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for CPS TDBMT to put status NRCellCU"/>
+ <parameter name='field2' value="`$tmp.cps.putstatus.nrcellcu.url`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.cps.putstatus.nrcellcu.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-put-gnbcucpfunction.json'`" />
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="cps-put-status-nrcellcu-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$activate-r-a-n-slice-instance-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$activate-r-a-n-slice-instance-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-activate-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Updated NRCellCU info in cps"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
</block>
</outcome>
</switch>
@@ -740,6 +968,10 @@
</record>
<for index='id-cuupnssai' start='0' end='`$tmp.snssaiListup_length`' >
<block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cpsSNSSAI1' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBCUUPFunction['+ $id-cuup +'].attributes.pLMNInfoList['+ $id-plmn +'].sNSSAIList['+ $id-snssai +'].sNssai'`" />
+ </execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
<parameter name="level" value="info" />
@@ -898,13 +1130,106 @@
</block>
</outcome>
</execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+ <parameter name="outputPath" value="tmp.cps.putstatus.cuup.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$tmp.schemaset.name`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.cps.putstatus.cuup.url`"/>
+ <parameter name="outputPath" value="tmp.cps.putstatus.cuup.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.put-status-cuup`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for CPS TDBMT to put status CUUP"/>
+ <parameter name='field2' value="`$tmp.cps.putstatus.cuup.url`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.cps.putstatus.cuup.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-put-gnbcuupfunction.json'`" />
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="cps-put-status-cuup-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$activate-r-a-n-slice-instance-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$activate-r-a-n-slice-instance-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-activate-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Updated CUUP info in cps"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
</block>
</outcome>
</switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cpsSNSSAI1' />
- <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBCUUPFunction['+ $id-cuup +'].attributes.pLMNInfoList['+ $id-plmn +'].sNSSAIList['+ $id-snssai +'].sNssai'`" />
- </execute>
</block>
</for>
</block>
@@ -1146,6 +1471,103 @@
</block>
</outcome>
</execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+ <parameter name="outputPath" value="tmp.cps.putstatus.nrcelldu.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$tmp.schemaset.name`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.cps.putstatus.nrcelldu.url`"/>
+ <parameter name="outputPath" value="tmp.cps.putstatus.nrcelldu.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.put-status-nrcelldu`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for CPS TDBMT to put status NRCellDU"/>
+ <parameter name='field2' value="`$tmp.cps.putstatus.nrcelldu.url`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.cps.putstatus.nrcelldu.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-put-gnbdufunction.json'`" />
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="cps-put-status-nrcelldu-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$activate-r-a-n-slice-instance-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$activate-r-a-n-slice-instance-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-activate-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Updated NRCellDU info in cps"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
</block>
</outcome>
</switch>