+ },
+ {
+ "id": "1b8ce5f9.2c88ca",
+ "type": "execute",
+ "name": "generate patchPLMNInfoList.ToNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3740.8541870117188,
+ "y": 976.7985458374023,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ca26c0f6.4566f",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3684.8545875549316,
+ "y": 1029.7987394332886,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "146ea38c.756e1c",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3433.8541564941406,
+ "y": 1006.7986068725586,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "1b8ce5f9.2c88ca",
+ "ca26c0f6.4566f"
+ ]
+ ]
+ },
+ {
+ "id": "74f67b3.0788684",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3230.3541564941406,
+ "y": 1005.7986068725586,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "146ea38c.756e1c"
+ ]
+ ]
+ },
+ {
+ "id": "6c62ceff.19a3d",
+ "type": "execute",
+ "name": "read cellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3001.3541564941406,
+ "y": 1038.7986068725586,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "93fa1df2.1b084",
+ "type": "execute",
+ "name": "prepare idGNBCUCPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3028.3541564941406,
+ "y": 1102.7986068725586,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "901e14df.7d5258",
+ "type": "execute",
+ "name": "prepare idNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2989.3544158935547,
+ "y": 1148.298635482788,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a24b8d43.bcbfe",
+ "type": "execute",
+ "name": "prepare mcc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 2955.104217529297,
+ "y": 1230.0486631393433,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a8c3eb35.841368",
+ "type": "execute",
+ "name": "prepare mnc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2943.8546447753906,
+ "y": 1290.2986793518066,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "33dff673.7b4ada",
+ "type": "record",
+ "name": "record API params",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellCU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.CUCPName`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellCULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2940.3541564941406,
+ "y": 1358.7986068725586,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "55ec219e.8af69",
+ "type": "execute",
+ "name": "activate PLMNInfoListEntry ToNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoListEntry.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"activate-cellCU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2980.354263305664,
+ "y": 1421.7985801696777,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "c4715537.4d9d28",
+ "6fe83c14.47c9a4"
+ ]
+ ]
+ },
+ {
+ "id": "6fe83c14.47c9a4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3196.3542404174805,
+ "y": 1300.7985801696777,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "912dcb56.c269b8"
+ ]
+ ]
+ },
+ {
+ "id": "912dcb56.c269b8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3346.3545150756836,
+ "y": 1259.7987632751465,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "cd61ffc8.1b20e",
+ "bfb86283.3c1ca",
+ "1d2d8078.f320b"
+ ]
+ ]
+ },
+ {
+ "id": "bfb86283.3c1ca",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU PLMNInfoList. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3512.3542709350586,
+ "y": 1225.7987632751465,
+ "z": "8810ce64.4a102",
+ "wires": []
+ },
+ {
+ "id": "cd61ffc8.1b20e",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRcellCU - PLMNInfo. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3517.354148864746,
+ "y": 1320.7988243103027,
+ "z": "8810ce64.4a102",
+ "wires": []
+ },
+ {
+ "id": "2b3fb6b4.a0e59a",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU PLMNInfo List\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3602.354118347168,
+ "y": 1413.7990074157715,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "74c7cb25.bf1b14",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3404.3540573120117,
+ "y": 1416.798885345459,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "2b3fb6b4.a0e59a"
+ ]
+ ]
+ },
+ {
+ "id": "c4715537.4d9d28",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3231.3542709350586,
+ "y": 1417.7988243103027,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "74c7cb25.bf1b14"
+ ]
+ ]
+ },
+ {
+ "id": "e8706dc4.5a81b",
+ "type": "execute",
+ "name": "read sNSSAI from input",
+ "xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sNSSAI`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 753.8541717529297,
+ "y": 238.6111125946045,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4a7a46d9.0a7f98",
+ "type": "block",
+ "name": "Process CUUP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 746.3542098999023,
+ "y": 1155.7986326217651,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "4fc4f5dc.4d5aac",
+ "c239af8f.4c02d",
+ "a2079e60.52fde"
+ ]
+ ]
+ },
+ {
+ "id": "4fc4f5dc.4d5aac",
+ "type": "execute",
+ "name": "read CUUP list size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUUPList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1077.3542137145996,
+ "y": 1055.7986297607422,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c239af8f.4c02d",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1034.3542785644531,
+ "y": 1107.048632144928,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a2079e60.52fde",
+ "type": "for",
+ "name": "foreach CUUP",
+ "xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1059.8541717529297,
+ "y": 1155.7986316680908,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "dbbdd777.2bef48"
+ ]
+ ]
+ },
+ {
+ "id": "dbbdd777.2bef48",
+ "type": "block",
+ "name": "block : process CUUP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1283.3542175292969,
+ "y": 1139.048677444458,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "a133ebb1.7208f8",
+ "4f005e6b.cdbf2",
+ "bd72fca6.c509e",
+ "7a4b5310.f8c63c"
+ ]
+ ]
+ },
+ {
+ "id": "a133ebb1.7208f8",
+ "type": "execute",
+ "name": "read CUUP id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.idGNBCUUPFunction' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].gNBCUUPId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1527.3541564941406,
+ "y": 914.2986068725586,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4f005e6b.cdbf2",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idGNBCUUPFunction \"/>\n<parameter name=\"field2\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1523.3541564941406,
+ "y": 968.2986068725586,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bd72fca6.c509e",
+ "type": "execute",
+ "name": "read plmninfolist size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList_length'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1574.3541564941406,
+ "y": 1033.2986068725586,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7a4b5310.f8c63c",
+ "type": "for",
+ "name": "foreach pLMNInfo",
+ "xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1560.3541564941406,
+ "y": 1088.2986068725586,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "20e32925.344246"
+ ]
+ ]
+ },
+ {
+ "id": "22705dcb.70b392",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1799.4791564941406,
+ "y": 1085.4861068725586,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "8429c3b8.a1992",
+ "91e2f682.5ee478",
+ "19245baa.f98764",
+ "760fbb9c.1fe0f4",
+ "c1d6662b.ac2dc8",
+ "4ae26bfb.2cf8b4"
+ ]
+ ]
+ },
+ {
+ "id": "8429c3b8.a1992",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2012.7294158935547,
+ "y": 1086.236255645752,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "8ddc5a57.7d51f8",
+ "5dcf9efb.36263"
+ ]
+ ]
+ },
+ {
+ "id": "8ddc5a57.7d51f8",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2225.7292976379395,
+ "y": 1053.7358741760254,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "b493fd94.6742b"
+ ]
+ ]
+ },
+ {
+ "id": "b493fd94.6742b",
+ "type": "execute",
+ "name": "generate patch PLMNInfoListEntry CUUP URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2550.729179382324,
+ "y": 1008.7361783981323,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8f6ac090.b47a3",
+ "type": "execute",
+ "name": "generate patchPLMNInfoList.TogNBCUUP",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2661.4787216186523,
+ "y": 1091.4858894348145,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ac53172f.a81cc8",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2645.479242324829,
+ "y": 1159.4861497879028,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8cd56360.4c754",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2385.7290267944336,
+ "y": 1150.2358899116516,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "8f6ac090.b47a3",
+ "ac53172f.a81cc8"
+ ]
+ ]
+ },
+ {
+ "id": "5dcf9efb.36263",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2211.2291717529297,
+ "y": 1139.4861488342285,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "8cd56360.4c754"
+ ]
+ ]
+ },
+ {
+ "id": "91e2f682.5ee478",
+ "type": "execute",
+ "name": "prepare idGNBCUUPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2081.3887939453125,
+ "y": 1199.2708134651184,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "19245baa.f98764",
+ "type": "execute",
+ "name": "patch PLMNInfoListEntry gNBCUUP",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoList-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"activate-gNBCUUP-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2030.7222900390625,
+ "y": 1312.937484741211,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "607507d2.076828",
+ "a4ba49bc.319898"
+ ]
+ ]
+ },
+ {
+ "id": "607507d2.076828",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2357.1668090820312,
+ "y": 1276.048846244812,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "3b8c2bff.4a8384"
+ ]
+ ]
+ },
+ {
+ "id": "a4ba49bc.319898",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2351.1666870117188,
+ "y": 1343.0487852096558,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "897bf22d.1244"
+ ]
+ ]
+ },
+ {
+ "id": "3b8c2bff.4a8384",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2534.1669311523438,
+ "y": 1265.0487241744995,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "dcb187c6.3c2a98",
+ "6fe85c0b.cfed34",
+ "1d2d8078.f320b"
+ ]
+ ]
+ },
+ {
+ "id": "897bf22d.1244",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2531.1666870117188,
+ "y": 1348.048602104187,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "b6c60408.ac42f8"
+ ]
+ ]
+ },
+ {
+ "id": "b6c60408.ac42f8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - gNBCUUP PLMNInfo List\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2684.1663818359375,
+ "y": 1348.048846244812,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dcb187c6.3c2a98",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching CUUP PLMNInfo. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2738.916893005371,
+ "y": 1265.5490036010742,
+ "z": "8810ce64.4a102",
+ "wires": []
+ },
+ {
+ "id": "6fe85c0b.cfed34",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2743.917079925537,
+ "y": 1211.5491394996643,
+ "z": "8810ce64.4a102",
+ "wires": []
+ },
+ {
+ "id": "616b13a5.03b89c",
+ "type": "block",
+ "name": "Process gNBDU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 740.7291641235352,
+ "y": 1304.2361316680908,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "10fb2c3d.dfce64",
+ "70cc2ee.327ead",
+ "6a2616fc.39c188"
+ ]
+ ]
+ },
+ {
+ "id": "10fb2c3d.dfce64",
+ "type": "execute",
+ "name": "read DUlist size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1073.4791870117188,
+ "y": 1210.2361183166504,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "70cc2ee.327ead",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of DU List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.DUList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1046.4792137145996,
+ "y": 1253.7361793518066,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6a2616fc.39c188",
+ "type": "for",
+ "name": "foreach DU",
+ "xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1058.4791870117188,
+ "y": 1304.9861068725586,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "56903078.1f15a"
+ ]
+ ]
+ },
+ {
+ "id": "56903078.1f15a",
+ "type": "block",
+ "name": "block : process gNBDU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1339.4791564941406,
+ "y": 1305.9860763549805,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "8815af69.bf19a",
+ "6c129f65.c2cb9",
+ "d9dc2c7b.dd00a",
+ "dc885ed2.b0e5d"
+ ]
+ ]
+ },
+ {
+ "id": "8815af69.bf19a",
+ "type": "execute",
+ "name": "read DU id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.GNBDUId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].gNBDUId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1618.4789810180664,
+ "y": 1301.9853782653809,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6c129f65.c2cb9",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"GNBDUId \"/>\n<parameter name=\"field2\" value=\"`$tmp.GNBDUId`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1591.4789810180664,
+ "y": 1352.9853782653809,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d9dc2c7b.dd00a",
+ "type": "execute",
+ "name": "read cellDU list size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList[' + $id-du +'].cellDUList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1632.4789810180664,
+ "y": 1401.9853782653809,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dc885ed2.b0e5d",
+ "type": "for",
+ "name": "for cellDUList",
+ "xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1622.4789810180664,
+ "y": 1445.9853782653809,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "cf6daf94.a4519"
+ ]
+ ]
+ },
+ {
+ "id": "cf6daf94.a4519",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1782.2290420532227,
+ "y": 1445.7355031967163,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "cd3443f.60a62c",
+ "fa791c73.94b2e",
+ "a86c8a66.29e048"
+ ]
+ ]
+ },
+ {
+ "id": "cd3443f.60a62c",
+ "type": "execute",
+ "name": "read PLMNList size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUpLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList_length'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2030.4166564941406,
+ "y": 1445.4861068725586,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fa791c73.94b2e",
+ "type": "for",
+ "name": "foreach PLMNInfo",
+ "xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2008.7500305175781,
+ "y": 1515.4861068725586,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "313e638f.f742ec"
+ ]
+ ]
+ },
+ {
+ "id": "313e638f.f742ec",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2194.138816833496,
+ "y": 1509.513816833496,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "52e7e56.cbb151c",
+ "e0f61457.8125e8",
+ "91bf12a7.d0c93"
+ ]
+ ]
+ },
+ {
+ "id": "e0f61457.8125e8",
+ "type": "execute",
+ "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI-DU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI.sNSSAI'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2565.694496154785,
+ "y": 1449.5976209640503,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cf30123e.20ea6",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI-DU`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2430.027759552002,
+ "y": 1486.4863586425781,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "52e7e56.cbb151c",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2425.1667404174805,
+ "y": 1536.041835784912,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "3a8ebde1.e6da42"
+ ]
+ ]
+ },
+ {
+ "id": "3a8ebde1.e6da42",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2599.638984680176,
+ "y": 1528.764193058014,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "274d0a32.b45fa6"
+ ]
+ ]
+ },
+ {
+ "id": "274d0a32.b45fa6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2773.6667861938477,
+ "y": 1524.7363300323486,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "71cdbc0a.3622b4",
+ "ec44bdd1.bcf45",
+ "b4f0ef58.afece",
+ "38f96ec1.612702",
+ "87bfb017.e52f5",
+ "622005bb.6ae9cc",
+ "ef70ea15.eee9e8"
+ ]
+ ]
+ },
+ {
+ "id": "5253749f.cf47cc",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellDU is applicable for the NSSAI \"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2986.167152404785,
+ "y": 1493.486330151558,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "71cdbc0a.3622b4",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2990.416664123535,
+ "y": 1551.4863624572754,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "3f634a3a.bbc3a6",
+ "e495c954.919aa8"
+ ]
+ ]
+ },
+ {
+ "id": "3f634a3a.bbc3a6",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3199.6671562194824,
+ "y": 1506.4859037399292,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "42c47733.226eb8"
+ ]
+ ]
+ },
+ {
+ "id": "e495c954.919aa8",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3194.6671562194824,
+ "y": 1567.9866065979004,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "605bb58c.b455ec"
+ ]
+ ]
+ },
+ {
+ "id": "42c47733.226eb8",
+ "type": "execute",
+ "name": "generate patch PLMNInfoListEntry ToNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3545.9169158935547,
+ "y": 1505.2363605499268,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "605bb58c.b455ec",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3372.166732788086,
+ "y": 1574.486240386963,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "18b79e75.37e392",
+ "f0161312.03f32"
+ ]
+ ]
+ },
+ {
+ "id": "18b79e75.37e392",
+ "type": "execute",
+ "name": "generate patchPLMNInfoList.ToNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3654.1670989990234,
+ "y": 1563.236240386963,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f0161312.03f32",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3604.4174041748047,
+ "y": 1623.7362718582153,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ec44bdd1.bcf45",
+ "type": "execute",
+ "name": "prepare idGNBDUFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3037.291717529297,
+ "y": 1678.298544883728,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b4f0ef58.afece",
+ "type": "execute",
+ "name": "prepare idNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3010.2919006347656,
+ "y": 1733.2985467910767,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "38f96ec1.612702",
+ "type": "execute",
+ "name": "prepare mcc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 2990.2915954589844,
+ "y": 1796.2988529205322,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "87bfb017.e52f5",
+ "type": "execute",
+ "name": "prepare mnc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2992.2918395996094,
+ "y": 1854.2984857559204,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "622005bb.6ae9cc",
+ "type": "record",
+ "name": "record API params",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellDU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.GNBDUId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellDULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2997.291473388672,
+ "y": 1922.2989768981934,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ef70ea15.eee9e8",
+ "type": "execute",
+ "name": "patch PLMNInfoListEntry ToNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"activate-cellDU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3054.29150390625,
+ "y": 1997.5483627319336,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "31094a59.71c6b6",
+ "e17e12d8.7bf9b"
+ ]
+ ]
+ },
+ {
+ "id": "e17e12d8.7bf9b",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3321.29150390625,
+ "y": 1897.5483627319336,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "cb59d78a.e2f718"
+ ]
+ ]
+ },
+ {
+ "id": "cb59d78a.e2f718",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3479.291748046875,
+ "y": 1845.5483627319336,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "d2c3eb8a.9f6058",
+ "dca325ed.2d4808",
+ "1d2d8078.f320b"
+ ]
+ ]
+ },
+ {
+ "id": "dca325ed.2d4808",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellDU PLMNInfoList. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3645.29150390625,
+ "y": 1811.5483627319336,
+ "z": "8810ce64.4a102",
+ "wires": []
+ },
+ {
+ "id": "d2c3eb8a.9f6058",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NECellDU - PLMNInfo. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3650.2913818359375,
+ "y": 1906.5484237670898,
+ "z": "8810ce64.4a102",
+ "wires": []
+ },
+ {
+ "id": "ae420b40.974238",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellDU PLMNInfo List\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3634.2913818359375,
+ "y": 1992.5486068725586,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b31a279f.84d848",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3488.29150390625,
+ "y": 1993.548365354538,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "ae420b40.974238"
+ ]
+ ]
+ },
+ {
+ "id": "31094a59.71c6b6",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3320.29150390625,
+ "y": 1996.5483627319336,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "b31a279f.84d848"
+ ]
+ ]
+ },
+ {
+ "id": "9227e420.d769d8",
+ "type": "execute",
+ "name": "get PLMNId URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getplmn`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getPLMNId.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$payloadJson.input.sliceProfileId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 701.9791870117188,
+ "y": 637.0486183166504,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "118a9166.3752bf",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get PLMN from SliceProfileId URL: \"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getPLMNId.url`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 675.4791870117188,
+ "y": 692.5486497879028,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "30fa502.42137b",
+ "type": "execute",
+ "name": "Get PLMN from Sliceprofile id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getPLMNId.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getPLMN-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 744.2291717529297,
+ "y": 746.0485858917236,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "87dd3f2b.2826d",
+ "type": "execute",
+ "name": "read PLMN Id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNId' />\n\t<parameter name='source' value=\"`getPLMN-configdb-response.plmnId`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 697.2291641235352,
+ "y": 785.1598272323608,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e73bf4c7.eb1d48",
+ "type": "execute",
+ "name": "find MCC",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mcc\"/>\n <parameter name=\"begin-index\" value=\"0\" />\n <parameter name=\"end-index\" value=\"3\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 682.7014083862305,
+ "y": 822.1875896453857,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "51734263.da003c",
+ "type": "execute",
+ "name": "find MNC",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mnc\"/>\n <parameter name=\"begin-index\" value=\"4\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 679.3681449890137,
+ "y": 860.9653186798096,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7056f58c.cbd93c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 668.5838088989258,
+ "y": 895.7365913391113,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1d2d8078.f320b",
+ "type": "block",
+ "name": "block : SO Response",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4123.229156494141,
+ "y": 1644.102195739746,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "95d91ff1.aee05",
+ "860df61e.6c4d98",
+ "fb12db36.56d558"
+ ]
+ ]
+ },
+ {
+ "id": "95d91ff1.aee05",
+ "type": "set",
+ "name": "set tmp variables for SO response",
+ "xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$activate-r-a-n-slice-instance-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$activate-r-a-n-slice-instance-input.action`\"/>\n",
+ "comments": "",
+ "x": 4502.372940063477,
+ "y": 1501.7161827087402,
+ "z": "8810ce64.4a102",
+ "wires": []
+ },
+ {
+ "id": "860df61e.6c4d98",
+ "type": "record",
+ "name": "record RestAPI parms",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$tmp.so.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 4505.943397521973,
+ "y": 1567.3882694244385,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fb12db36.56d558",
+ "type": "execute",
+ "name": "Send to SO",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-activate-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4432.371963500977,
+ "y": 1645.8168439865112,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "9980158f.406e88",
+ "67b08216.a3393c"
+ ]
+ ]
+ },
+ {
+ "id": "9980158f.406e88",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4669.800521850586,
+ "y": 1628.5308952331543,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "87660bcc.628228"
+ ]
+ ]
+ },
+ {
+ "id": "87660bcc.628228",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4862.228889465332,
+ "y": 1619.2453327178955,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "71da56df.06b538"
+ ]
+ ]
+ },
+ {
+ "id": "71da56df.06b538",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error sending SO Response\" />",
+ "comments": "",
+ "x": 5063.942771911621,
+ "y": 1607.9594445228577,
+ "z": "8810ce64.4a102",
+ "wires": []
+ },
+ {
+ "id": "a4c90aa5.4590d8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 5058.086048126221,
+ "y": 1682.9595108032227,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c87cca3b.177cf8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4874.085899353027,
+ "y": 1688.3879528045654,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "a4c90aa5.4590d8"
+ ]
+ ]
+ },
+ {
+ "id": "67b08216.a3393c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4664.085845947266,
+ "y": 1692.2451915740967,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "c87cca3b.177cf8"
+ ]
+ ]
+ },
+ {
+ "id": "1f3735d.7ce59ca",
+ "type": "block",
+ "name": "SO Response",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 670.7291564941406,
+ "y": 1621.245018005371,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "a80d850.d925878",
+ "9999f77f.9d0b48",
+ "2c826e96.56d782",
+ "fb15841c.d43108"
+ ]
+ ]
+ },
+ {
+ "id": "2c826e96.56d782",
+ "type": "set",
+ "name": "set tmp variables for SO response",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$activate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$activate-r-a-n-slice-input.action`\"/>\n",
+ "comments": "",
+ "x": 950.7303009033203,
+ "y": 1471.1445026397705,
+ "z": "8810ce64.4a102",
+ "wires": []
+ },
+ {
+ "id": "a80d850.d925878",
+ "type": "record",
+ "name": "record SO reply parms",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$payloadJson.input.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 947.729133605957,
+ "y": 1625.2452011108398,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9999f77f.9d0b48",
+ "type": "execute",
+ "name": "Send to SO",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-activate-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 816.7292327880859,
+ "y": 1742.2449054718018,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "2063bf67.d5503",
+ "ee4d36f.2eaa2c8"
+ ]
+ ]
+ },
+ {
+ "id": "2063bf67.d5503",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 981.7292327880859,
+ "y": 1722.2449045181274,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "7b7497de.9bd2e8"
+ ]
+ ]
+ },
+ {
+ "id": "ee4d36f.2eaa2c8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 973.7291259765625,
+ "y": 1795.244854927063,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "9a9bad68.9f109"
+ ]
+ ]
+ },
+ {
+ "id": "9a9bad68.9f109",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1119.7289695739746,
+ "y": 1800.244963645935,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "6a0f5572.75136c"
+ ]
+ ]
+ },
+ {
+ "id": "7b7497de.9bd2e8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1130.729133605957,
+ "y": 1718.2450399398804,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "a9943a91.4d4d58",
+ "9f7d08ba.2c9008"
+ ]
+ ]
+ },
+ {
+ "id": "a9943a91.4d4d58",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error sending SO Response\" />",
+ "comments": "",
+ "x": 1277.7287521362305,
+ "y": 1729.2447814941406,
+ "z": "8810ce64.4a102",
+ "wires": []
+ },
+ {
+ "id": "6a0f5572.75136c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1280.728889465332,
+ "y": 1806.2448558807373,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9f7d08ba.2c9008",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1265.2393608093262,
+ "y": 1633.2342729568481,
+ "z": "8810ce64.4a102",
+ "wires": []
+ },
+ {
+ "id": "fb15841c.d43108",
+ "type": "execute",
+ "name": "generate URL for SO Callback",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.so.callbackURL`\"/>\n <parameter name=\"outputPath\" value=\"tmp.so.callbackURL\"/>\n <parameter name=\"target\" value=\"{requestId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.requestID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 970.0687561035156,
+ "y": 1561.2303552627563,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "63bf8010.4abdc",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name=\"ack-final\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />",
+ "comments": "",
+ "x": 328.2291564941406,
+ "y": 1137.6736068725586,
+ "z": "8810ce64.4a102",
+ "wires": []
+ },
+ {
+ "id": "4119896c.9c68b8",
+ "type": "execute",
+ "name": "read RIC list size",
+ "xml": "<set>\n<parameter name='tmp.RICList_length' value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 697.2221603393555,
+ "y": 928.3332767486572,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9549e73d.16fbf8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1911.6665649414062,
+ "y": 720.0001373291016,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7ab6a74c.7816e8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"pLMNInfoList_length \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList_length`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1911.666603088379,
+ "y": 811.1111469268799,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a4f056d4.272128",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PLMNInfo exists\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2371.66650390625,
+ "y": 758.3333129882812,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "19abab8d.4a9414",
+ "type": "execute",
+ "name": "read nearRTRICID",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nearRTRICId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].nearRTRICId'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 844.1666488647461,
+ "y": 960.8332462310791,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a26eb581.df1338",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 651.9443969726562,
+ "y": 977.4999389648438,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "19abab8d.4a9414"
+ ]
+ ]
+ },
+ {
+ "id": "760fbb9c.1fe0f4",
+ "type": "execute",
+ "name": "prepare nearRTRICId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2040.833251953125,
+ "y": 1163.0555419921875,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c1d6662b.ac2dc8",
+ "type": "execute",
+ "name": "prepare mcc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2037.4998779296875,
+ "y": 1239.72216796875,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4ae26bfb.2cf8b4",
+ "type": "execute",
+ "name": "prepare mnc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2034.16650390625,
+ "y": 1273.0555419921875,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "edc43ccd.f324e",
+ "type": "execute",
+ "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $idz +'].pLMNInfoList['+ $id-plmn +'].sNSSAI.sNSSAI'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2115,
+ "y": 945.2777061462402,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "59abfdfd.c246c4",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1964.889030456543,
+ "y": 981.0555400848389,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "33d0ad10.4a9b82",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1977.1112747192383,
+ "y": 1021.1666297912598,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "81194fd7.433ad",
+ "9078ea63.753fd8"
+ ]
+ ]
+ },
+ {
+ "id": "81194fd7.433ad",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2158.805805206299,
+ "y": 1000.277868270874,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "22705dcb.70b392"
+ ]
+ ]
+ },
+ {
+ "id": "20e32925.344246",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1766.1109619140625,
+ "y": 1005.2777099609375,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "edc43ccd.f324e",
+ "59abfdfd.c246c4",
+ "33d0ad10.4a9b82"
+ ]
+ ]
+ },
+ {
+ "id": "9078ea63.753fd8",
+ "type": "outcome",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2339.4443359375,
+ "y": 971.9443969726562,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "3f6d8320.acc2dc"
+ ]
+ ]
+ },
+ {
+ "id": "3f6d8320.acc2dc",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI doesn't match\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2479.444393157959,
+ "y": 961.9443674087524,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "91bf12a7.d0c93",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DUpLMNInfoList_length\"/>\n<parameter name=\"field2\" value=\"`$tmp.DUpLMNInfoList_length`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2415,
+ "y": 1395.2777099609375,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a603b30f.95aef",
+ "type": "execute",
+ "name": "read cell id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellLocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1930.5554962158203,
+ "y": 667.4999494552612,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a86c8a66.29e048",
+ "type": "execute",
+ "name": "read cellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2009.72216796875,
+ "y": 1370.833251953125,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1c30356c.7a78eb",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellDULocalId`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2009.0968475341797,
+ "y": 1406.1456327438354,
+ "z": "8810ce64.4a102",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ea6a18bc.839118",
+ "type": "switchNode",
+ "name": "check the action",
+ "xml": "<switch test='`$activate-r-a-n-slice-instance-input.action == activate`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 713.3333206176758,
+ "y": 415.2777533531189,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "24f480c0.215e",
+ "d5be92c1.19ca2"
+ ]
+ ]
+ },
+ {
+ "id": "24f480c0.215e",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 940.8333168029785,
+ "y": 360.8333568572998,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "cbae8ce4.fffa9"
+ ]
+ ]
+ },
+ {
+ "id": "d5be92c1.19ca2",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 943.0554618835449,
+ "y": 419.7222442626953,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "dbb21ae4.bc9e08"
+ ]
+ ]
+ },
+ {
+ "id": "db9bee55.c76d8",
+ "type": "set",
+ "name": "set status as ACTIVE",
+ "xml": "<set>\n<parameter name='tmp.status' value='ACTIVE' />",
+ "comments": "",
+ "x": 1395.277889251709,
+ "y": 330.8333206176758,
+ "z": "8810ce64.4a102",
+ "wires": []
+ },
+ {
+ "id": "6250ead9.88d1e4",
+ "type": "set",
+ "name": "set status as INACTIVE",
+ "xml": "<set>\n<parameter name='tmp.status' value='INACTIVE' />",
+ "comments": "",
+ "x": 1369.7222328186035,
+ "y": 364.16667461395264,
+ "z": "8810ce64.4a102",
+ "wires": []
+ },
+ {
+ "id": "cbae8ce4.fffa9",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1150.8333168029785,
+ "y": 348.6110668182373,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "db9bee55.c76d8"
+ ]
+ ]
+ },
+ {
+ "id": "dbb21ae4.bc9e08",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1147.5000610351562,
+ "y": 405.2777953147888,
+ "z": "8810ce64.4a102",
+ "wires": [
+ [
+ "6250ead9.88d1e4"
+ ]
+ ]