+ },
+ {
+ "id": "27184e67.d56d32",
+ "type": "execute",
+ "name": "Read RRMPolicyMember-sNSSA",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RRMPolicyMember_sNSSAI' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm1 +'].sNSSAI'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 3527.14990234375,
+ "y": 2233.300043106079,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f20015c4.85d068",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3871.75,
+ "y": 2350.300043106079,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "9f1dac.0dba5258"
+ ]
+ ]
+ },
+ {
+ "id": "9f1dac.0dba5258",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4066.75,
+ "y": 2400.300043106079,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "db779e53.f6674",
+ "b5d8735e.067b3"
+ ]
+ ]
+ },
+ {
+ "id": "db779e53.f6674",
+ "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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Matching snssai not found for rrmmember \"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4238.75,
+ "y": 2411.300043106079,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "885590a7.f2a7a",
+ "type": "set",
+ "name": "set boolflag",
+ "xml": "<set>\n<parameter name='tmp.setboolflagcucp' value=\"false\" />\n",
+ "comments": "",
+ "x": 2488.3501358032227,
+ "y": 2096.9000492095947,
+ "z": "86a86ea9.0c6eb",
+ "wires": []
+ },
+ {
+ "id": "f8239556.0b4088",
+ "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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"bool flag after setting\"/>\n<parameter name=\"field2\" value=\"`$tmp.setboolflagcucp`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2501.3501358032227,
+ "y": 2133.899927139282,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1481beca.da84b1",
+ "type": "set",
+ "name": "set boolflag",
+ "xml": "<set>\n<parameter name='tmp.setboolflagcucp' value=\"true\" />\n",
+ "comments": "",
+ "x": 3446.14990234375,
+ "y": 2067.9000186920166,
+ "z": "86a86ea9.0c6eb",
+ "wires": []
+ },
+ {
+ "id": "f87e9c7.3be026",
+ "type": "set",
+ "name": "set boolflag",
+ "xml": "<set>\n<parameter name='tmp.setboolflagcucp' value=\"true\" />\n",
+ "comments": "",
+ "x": 4262.14990234375,
+ "y": 2216.300043106079,
+ "z": "86a86ea9.0c6eb",
+ "wires": []
+ },
+ {
+ "id": "b5d8735e.067b3",
+ "type": "set",
+ "name": "set boolflag",
+ "xml": "<set>\n<parameter name='tmp.setboolflagcucp' value=\"false\" />\n",
+ "comments": "",
+ "x": 4249.14990234375,
+ "y": 2375.300043106079,
+ "z": "86a86ea9.0c6eb",
+ "wires": []
+ },
+ {
+ "id": "80d6b275.92152",
+ "type": "switchNode",
+ "name": "check bool flag",
+ "xml": "<switch test='`$tmp.setboolflagcucp == true`'>\n\n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2891.349899291992,
+ "y": 2505.7000312805176,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "342cb203.10a65e",
+ "ba7caed.1187d5"
+ ]
+ ]
+ },
+ {
+ "id": "342cb203.10a65e",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3098.1501388549805,
+ "y": 2471.700029373169,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "4985d1fb.b5922"
+ ]
+ ]
+ },
+ {
+ "id": "4985d1fb.b5922",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3249.8165435791016,
+ "y": 2469.7004203796387,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "1d7522c7.6a6b1d",
+ "63ef7ee5.fe453",
+ "c5f5b37d.9660a",
+ "752e5134.123b5",
+ "3d4b171b.e40ef8"
+ ]
+ ]
+ },
+ {
+ "id": "ba7caed.1187d5",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3108.7610778808594,
+ "y": 2525.0334300994873,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "5b429e33.6605c"
+ ]
+ ]
+ },
+ {
+ "id": "5b429e33.6605c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3251.428024291992,
+ "y": 2531.3670234680176,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "4a1cf236.a9001c"
+ ]
+ ]
+ },
+ {
+ "id": "4a1cf236.a9001c",
+ "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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Bool flag Failed no deletion\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3149.550094604492,
+ "y": 2646.7000312805176,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "63ef7ee5.fe453",
+ "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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"bool flag true calling deletion\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3499.5499572753906,
+ "y": 2408.700126647949,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "83f96f54.91f55",
+ "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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"id set before calling url \"/>\n<parameter name=\"field2\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2981.550048828125,
+ "y": 2454.300043106079,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "120907e5.2cc3e8",
+ "type": "set",
+ "name": "set boolflag",
+ "xml": "<set>\n<parameter name='tmp.setboolflagcuup' value=\"false\" />\n",
+ "comments": "",
+ "x": 2020.3501281738281,
+ "y": 3478.100142478943,
+ "z": "86a86ea9.0c6eb",
+ "wires": []
+ },
+ {
+ "id": "d35d8285.87e81",
+ "type": "execute",
+ "name": "Read RRMPolicyMember-sNSSAI",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPRRMPolicyMember_sNSSAI' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm2 +'].sNSSAI'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 3056.750045776367,
+ "y": 3498.100145339966,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b5516ee8.55c4b",
+ "type": "set",
+ "name": "set boolflag",
+ "xml": "<set>\n<parameter name='tmp.setboolflagcuup' value=\"true\" />\n",
+ "comments": "",
+ "x": 2756.35009765625,
+ "y": 3179.100091934204,
+ "z": "86a86ea9.0c6eb",
+ "wires": []
+ },
+ {
+ "id": "9d84ae0.9f52e5",
+ "type": "failure",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3295.75,
+ "y": 3571.100091934204,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "e9a02547.48d6a8"
+ ]
+ ]
+ },
+ {
+ "id": "43e171ff.8c35a",
+ "type": "set",
+ "name": "set boolflag",
+ "xml": "<set>\n<parameter name='tmp.setboolflagcuup' value=\"true\" />\n",
+ "comments": "",
+ "x": 3752.75,
+ "y": 3457.100091934204,
+ "z": "86a86ea9.0c6eb",
+ "wires": []
+ },
+ {
+ "id": "e9a02547.48d6a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3492.75,
+ "y": 3581.100091934204,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "3c22dd2d.8b9632"
+ ]
+ ]
+ },
+ {
+ "id": "3c22dd2d.8b9632",
+ "type": "set",
+ "name": "set boolflag",
+ "xml": "<set>\n<parameter name='tmp.setboolflagcuup' value=\"false\" />\n",
+ "comments": "",
+ "x": 3690.75,
+ "y": 3623.100091934204,
+ "z": "86a86ea9.0c6eb",
+ "wires": []
+ },
+ {
+ "id": "11e90789.c54148",
+ "type": "switchNode",
+ "name": "check bool flag",
+ "xml": "<switch test='`$tmp.setboolflagcuup == true`'>\n\n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2424.1499404907227,
+ "y": 3682.7000007629395,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "1749f475.ed266c",
+ "ecde7adf.13ad88"
+ ]
+ ]
+ },
+ {
+ "id": "1749f475.ed266c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2621.9501419067383,
+ "y": 3686.6999435424805,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "94178925.dadb88"
+ ]
+ ]
+ },
+ {
+ "id": "94178925.dadb88",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2773.6165466308594,
+ "y": 3684.70033454895,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "9fbf73e1.ee244",
+ "72be0c2b.ab3fc4",
+ "a5ec7116.9e79a",
+ "cc0efa36.edca18"
+ ]
+ ]
+ },
+ {
+ "id": "ecde7adf.13ad88",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2632.561080932617,
+ "y": 3740.033344268799,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "79cbcba9.8aefc4"
+ ]
+ ]
+ },
+ {
+ "id": "79cbcba9.8aefc4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2775.22802734375,
+ "y": 3746.366937637329,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "ae63c78f.548d08"
+ ]
+ ]
+ },
+ {
+ "id": "4a359960.cdb4c8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3565.550094604492,
+ "y": 3689.10014629364,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "ddf019dc.3eb5d8"
+ ]
+ ]
+ },
+ {
+ "id": "ddf019dc.3eb5d8",
+ "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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully removed - CUUP RRMpolicyRatio\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3729.550491333008,
+ "y": 3689.100145339966,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "686ff5ff.ec0d2c",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing CUUP RRMPolicyRatio. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3698.5501022338867,
+ "y": 3745.1001472473145,
+ "z": "86a86ea9.0c6eb",
+ "wires": []
+ },
+ {
+ "id": "7715d985.9dc908",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing RRMPolicyRatio. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3739.550491333008,
+ "y": 3788.1001472473145,
+ "z": "86a86ea9.0c6eb",
+ "wires": []
+ },
+ {
+ "id": "ca4b7faa.986d6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3495.550491333008,
+ "y": 3757.0997562408447,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "7715d985.9dc908",
+ "686ff5ff.ec0d2c"
+ ]
+ ]
+ },
+ {
+ "id": "cc1d88e2.bac318",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3282.5500984191895,
+ "y": 3770.1001472473145,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "ca4b7faa.986d6"
+ ]
+ ]
+ },
+ {
+ "id": "a3643d4a.c22df",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3399.5500984191895,
+ "y": 3689.1009254455566,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "4a359960.cdb4c8"
+ ]
+ ]
+ },
+ {
+ "id": "9fbf73e1.ee244",
+ "type": "execute",
+ "name": "Terminate NRCellCU - RRMPolicyRatio",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-CUUP-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3035.550048828125,
+ "y": 3693.100145339966,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "a3643d4a.c22df",
+ "cc1d88e2.bac318"
+ ]
+ ]
+ },
+ {
+ "id": "242afe32.bf32a2",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3505.550048828125,
+ "y": 3888.100091934204,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "fb973cf3.dd189"
+ ]
+ ]
+ },
+ {
+ "id": "a651d43b.e1b678",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3512.550079345703,
+ "y": 3960.3003463745117,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "5c70594e.f2a748"
+ ]
+ ]
+ },
+ {
+ "id": "fb973cf3.dd189",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3674.550048828125,
+ "y": 3887.100091934204,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "3b409802.45dbd8",
+ "c017373b.e3cb18"
+ ]
+ ]
+ },
+ {
+ "id": "c017373b.e3cb18",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing CUUP PLMNInfo. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3859.5498962402344,
+ "y": 3927.1001920700073,
+ "z": "86a86ea9.0c6eb",
+ "wires": []
+ },
+ {
+ "id": "3b409802.45dbd8",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing CUUP PLMNInfoList. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3855.5498962402344,
+ "y": 3887.100191116333,
+ "z": "86a86ea9.0c6eb",
+ "wires": []
+ },
+ {
+ "id": "5c70594e.f2a748",
+ "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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully removed - gNBCUUP rrmpolicy Entry from configdb\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3755.550048828125,
+ "y": 3972.100091934204,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "72be0c2b.ab3fc4",
+ "type": "execute",
+ "name": "generate delete nssai from cucp 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.deletenssai.cuup.rrmpolicy.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3081.5498962402344,
+ "y": 3818.8501482009888,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a5ec7116.9e79a",
+ "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.deletenssai.cuup.rrmpolicy.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.deletenssai.cuup.rrmpolicy.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.delete-nssai-from-cuup-rrmpolicy`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3067.549903869629,
+ "y": 3866.850149154663,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cc0efa36.edca18",
+ "type": "execute",
+ "name": "delete snssai from cucp rrm",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.deletenssai.cuup.rrmpolicy.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/delete-cuup-rrm-nssai.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-cuup-rrm-nssai-delete-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": 3078.150291442871,
+ "y": 3917.450149536133,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "242afe32.bf32a2",
+ "a651d43b.e1b678"
+ ]
+ ]
+ },
+ {
+ "id": "ae63c78f.548d08",
+ "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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Bool flag Failed no deletion\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2812.8721084594727,
+ "y": 3821.8328647613525,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "af67099a.64a368",
+ "type": "set",
+ "name": "set boolflag",
+ "xml": "<set>\n<parameter name='tmp.setboolflagdu' value=\"false\" />\n",
+ "comments": "",
+ "x": 3580.14990234375,
+ "y": 5574.499994277954,
+ "z": "86a86ea9.0c6eb",
+ "wires": []
+ },
+ {
+ "id": "fa743df6.e7725",
+ "type": "set",
+ "name": "set boolflag",
+ "xml": "<set>\n<parameter name='tmp.setboolflagdu' value=\"true\" />\n",
+ "comments": "",
+ "x": 4556.549865722656,
+ "y": 5412.500074386597,
+ "z": "86a86ea9.0c6eb",
+ "wires": []
+ },
+ {
+ "id": "a10319e8.7f0b48",
+ "type": "set",
+ "name": "set boolflag",
+ "xml": "<set>\n<parameter name='tmp.setboolflagdu' value=\"true\" />\n",
+ "comments": "",
+ "x": 5335.5498046875,
+ "y": 5616.499994277954,
+ "z": "86a86ea9.0c6eb",
+ "wires": []
+ },
+ {
+ "id": "9f0dfd89.56da",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4917.75,
+ "y": 5737.499994277954,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "d0c8e7dd.bb7048"
+ ]
+ ]
+ },
+ {
+ "id": "d0c8e7dd.bb7048",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 5103.417259216309,
+ "y": 5742.833671569824,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "c559e915.744f38",
+ "12a757f9.95e208"
+ ]
+ ]
+ },
+ {
+ "id": "c559e915.744f38",
+ "type": "set",
+ "name": "set boolflag",
+ "xml": "<set>\n<parameter name='tmp.setboolflagdu' value=\"false\" />\n",
+ "comments": "",
+ "x": 5319.749980926514,
+ "y": 5813.500665664673,
+ "z": "86a86ea9.0c6eb",
+ "wires": []
+ },
+ {
+ "id": "b5c9fd40.fc28e",
+ "type": "execute",
+ "name": "Read RRMPolicyMember-sNSSA",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDURRMPolicyMember_sNSSAI' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList['+ $iddu-rrm2 +'].sNSSAI'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 4671.550262451172,
+ "y": 5584.499979019165,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "52f4f245.76c7ec",
+ "type": "switchNode",
+ "name": "check bool flag",
+ "xml": "<switch test='`$tmp.setboolflagdu == true`'>\n\n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3879.1499557495117,
+ "y": 5879.100178718567,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "c9d0265e.10e578",
+ "84fdd034.6ca0f"
+ ]
+ ]
+ },
+ {
+ "id": "c9d0265e.10e578",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4045.9500617980957,
+ "y": 5849.100081443787,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "54d577a0.8f06c8"
+ ]
+ ]
+ },
+ {
+ "id": "54d577a0.8f06c8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4193.616508483887,
+ "y": 5886.100425720215,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "d4629185.9bf4c",
+ "5249bcb2.170864",
+ "81b55bc3.87a928",
+ "99394895.f25328"
+ ]
+ ]
+ },
+ {
+ "id": "84fdd034.6ca0f",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4052.5610427856445,
+ "y": 5941.4334354400635,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "96b0f28d.99c93"
+ ]
+ ]
+ },
+ {
+ "id": "96b0f28d.99c93",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4195.227989196777,
+ "y": 5947.767028808594,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "6266a8e0.f4a008"
+ ]
+ ]
+ },
+ {
+ "id": "6266a8e0.f4a008",
+ "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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"flag false no deletion\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4223.5498046875,
+ "y": 6007.100091934204,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8c95ccf0.fb44",
+ "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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyMember nssai du\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellDURRMPolicyMember_sNSSAI`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4661.75,
+ "y": 5620.899896621704,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "12a757f9.95e208",
+ "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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"snssai not found\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5319.149982452393,
+ "y": 5762.700273513794,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "788113cd.ef0e9c",
+ "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": 1016,
+ "y": 726.75,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "be34de23.47b27",
+ "type": "execute",
+ "name": "generate RAN inventory 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.getInventory.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.inventory.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 867.1874923706055,
+ "y": 3880.937608718872,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a4dcc502.0d2fd8",
+ "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.getInventory.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getInventory.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-ran-slices`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 857.569450378418,
+ "y": 3918.1602053642273,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7bb324c3.3ab24c",
+ "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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to get inventory details - CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.getInventory.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 882.5695114135742,
+ "y": 3964.4102058410645,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "96244493.0171a8",
+ "type": "execute",
+ "name": "Fetch inventory details in CPS",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getInventory.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-terminate-rannfnssi-ran-inventory.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"get-inventory-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": 855.9375839233398,
+ "y": 4013.4376096725464,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "c2e7f693.f014f8",
+ "ddb9ae15.d869e"
+ ]
+ ]
+ },
+ {
+ "id": "1d1a89e1.fe2426",
+ "type": "block",
+ "name": "update inventory",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 573.4375495910645,
+ "y": 3883.4376034736633,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "be34de23.47b27",
+ "a4dcc502.0d2fd8",
+ "7bb324c3.3ab24c",
+ "96244493.0171a8",
+ "d21c1f54.d3974",
+ "fa891fe3.74256"
+ ]
+ ]
+ },
+ {
+ "id": "c2e7f693.f014f8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1127.1876678466797,
+ "y": 3947.1876096725464,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "e8042070.0a5d8"
+ ]
+ ]
+ },
+ {
+ "id": "e8042070.0a5d8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1267.1879863739014,
+ "y": 3955.187487602234,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "2bc12d2c.2aac02",
+ "566e64f9.c4e02c"
+ ]
+ ]
+ },
+ {
+ "id": "566e64f9.c4e02c",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RAN Inventory. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1390.9376049041748,
+ "y": 3900.048936843872,
+ "z": "86a86ea9.0c6eb",
+ "wires": []
+ },
+ {
+ "id": "2bc12d2c.2aac02",
+ "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 inventory in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1456.187406539917,
+ "y": 3958.18754863739,
+ "z": "86a86ea9.0c6eb",
+ "wires": []
+ },
+ {
+ "id": "d09a9846.d39a88",
+ "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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated inventory\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1475.1876583099365,
+ "y": 4010.1877365112305,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7f84c2f.d6f183c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1289.1874103546143,
+ "y": 4026.1874923706055,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "d09a9846.d39a88",
+ "a5f754ff.c7c048"
+ ]
+ ]
+ },
+ {
+ "id": "ddb9ae15.d869e",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1131.1876201629639,
+ "y": 4027.187247276306,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "7f84c2f.d6f183c"
+ ]
+ ]
+ },
+ {
+ "id": "a5f754ff.c7c048",
+ "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-terminateRANSlice-configrsp-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1445.9375,
+ "y": 4050.9375,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d21c1f54.d3974",
+ "type": "switchNode",
+ "name": "check slices length",
+ "xml": "<switch test='`$tmp.profiles_length == 1`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 519.6875076293945,
+ "y": 4162.187614440918,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "d8da6b5e.895bf8",
+ "ab886942.f0a7c8"
+ ]
+ ]
+ },
+ {
+ "id": "d8da6b5e.895bf8",
+ "type": "outcome",
+ "name": "length==1",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 745.9375076293945,
+ "y": 4168.437616348267,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "5c21125f.8a326c"
+ ]
+ ]
+ },
+ {
+ "id": "ab886942.f0a7c8",
+ "type": "outcome",
+ "name": "more than one sNSSAI",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 782.0487060546875,
+ "y": 4375.632444381714,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "90c70079.9f378"
+ ]
+ ]
+ },
+ {
+ "id": "5c21125f.8a326c",
+ "type": "block",
+ "name": "delete-rannfnssi",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 950.9375228881836,
+ "y": 4164.687615394592,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "adae64b4.611a68",
+ "ac404ebb.f2412",
+ "9a083338.322b9",
+ "32db9a09.f51d66"
+ ]
+ ]
+ },
+ {
+ "id": "adae64b4.611a68",
+ "type": "execute",
+ "name": "generate RAN inventory 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.delete.rannfnssi.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.inventory.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1246.250015258789,
+ "y": 4083.4376153945923,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ac404ebb.f2412",
+ "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.delete.rannfnssi.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.delete.rannfnssi.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.delete-rannfnssi`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1214.1319580078125,
+ "y": 4138.160211086273,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9a083338.322b9",
+ "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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to delete inventory in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.delete.rannfnssi.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1246.632095336914,
+ "y": 4186.91021156311,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "32db9a09.f51d66",
+ "type": "execute",
+ "name": "Fetch inventory details in CPS",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.delete.rannfnssi.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-terminate-rannfnssi-ran-inventory.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"delete-inventory-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": 1232.5001678466797,
+ "y": 4234.687617301941,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "602efd92.99d294",
+ "a8e9935d.6dd48"
+ ]
+ ]
+ },
+ {
+ "id": "602efd92.99d294",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1493.7501754760742,
+ "y": 4180.937500953674,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "9e3bd399.fefef"
+ ]
+ ]
+ },
+ {
+ "id": "9e3bd399.fefef",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1633.750494003296,
+ "y": 4188.937378883362,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "be3a5813.fb2558",
+ "29dd7fb0.667f9"
+ ]
+ ]
+ },
+ {
+ "id": "29dd7fb0.667f9",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RAN Inventory. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1757.5001125335693,
+ "y": 4133.798828125,
+ "z": "86a86ea9.0c6eb",
+ "wires": []
+ },
+ {
+ "id": "be3a5813.fb2558",
+ "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 inventory in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1822.7499141693115,
+ "y": 4191.937439918518,
+ "z": "86a86ea9.0c6eb",
+ "wires": []
+ },
+ {
+ "id": "8fd47e30.d6502",
+ "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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully fetched inventory details\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1841.750165939331,
+ "y": 4243.937627792358,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "89b6b171.27685",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1655.7499179840088,
+ "y": 4259.937383651733,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "8fd47e30.d6502",
+ "4b93a4c.c75885c"
+ ]
+ ]
+ },
+ {
+ "id": "a8e9935d.6dd48",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1497.7501277923584,
+ "y": 4260.937138557434,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "89b6b171.27685"
+ ]
+ ]
+ },
+ {
+ "id": "4b93a4c.c75885c",
+ "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-terminateRANSlice-configrsp-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1812.5000076293945,
+ "y": 4284.687391281128,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "90c70079.9f378",
+ "type": "block",
+ "name": "delete-sNSSAI",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1053.125,
+ "y": 4370.9376220703125,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "68e8edf9.c452b4",
+ "14738dd9.a3c512",
+ "739eb41e.98362c",
+ "bb7d61b9.6559c",
+ "444681dc.8148d"
+ ]
+ ]
+ },
+ {
+ "id": "68e8edf9.c452b4",
+ "type": "execute",
+ "name": "generate RAN inventory 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.delete.snssai.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.inventory.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1367.1874923706055,
+ "y": 4365.937500953674,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "14738dd9.a3c512",
+ "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.delete.snssai.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.delete.snssai.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.delete-slice-profile`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1335.069435119629,
+ "y": 4420.660096645355,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "739eb41e.98362c",
+ "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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to delete inventory in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.delete.snssai.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1367.5695724487305,
+ "y": 4469.410097122192,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bb7d61b9.6559c",
+ "type": "execute",
+ "name": "Fetch inventory details in CPS",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.delete.snssai.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-terminate-snssai-ran-inventory.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"delete-inventory-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": 1353.437644958496,
+ "y": 4517.187502861023,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "db9d6227.220a5",
+ "4f78ccf3.8d5964"
+ ]
+ ]
+ },
+ {
+ "id": "db9d6227.220a5",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1614.6876525878906,
+ "y": 4463.437386512756,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "aff6d19e.7dcdb"
+ ]
+ ]
+ },
+ {
+ "id": "aff6d19e.7dcdb",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1754.6879711151123,
+ "y": 4471.437264442444,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "8b72fb17.e24fe8",
+ "af32cbb7.035158"
+ ]
+ ]
+ },
+ {
+ "id": "af32cbb7.035158",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RAN Inventory. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1878.4375896453857,
+ "y": 4416.298713684082,
+ "z": "86a86ea9.0c6eb",
+ "wires": []
+ },
+ {
+ "id": "8b72fb17.e24fe8",
+ "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 inventory in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1943.687391281128,
+ "y": 4474.4373254776,
+ "z": "86a86ea9.0c6eb",
+ "wires": []
+ },
+ {
+ "id": "15def664.27ca8a",
+ "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/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated inventory\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1962.6876430511475,
+ "y": 4526.43751335144,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d0ca609c.fb7b1",
+ "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-terminateRANSlice-configrsp-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1933.437484741211,
+ "y": 4567.18727684021,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e6dcde47.a9772",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1776.6873950958252,
+ "y": 4542.437269210815,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "15def664.27ca8a",
+ "d0ca609c.fb7b1"
+ ]
+ ]
+ },
+ {
+ "id": "4f78ccf3.8d5964",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1618.6876049041748,
+ "y": 4543.437024116516,
+ "z": "86a86ea9.0c6eb",
+ "wires": [
+ [
+ "e6dcde47.a9772"
+ ]
+ ]
+ },
+ {
+ "id": "444681dc.8148d",
+ "type": "set",
+ "name": "set slice profile id",
+ "xml": "<set>\n<parameter name='tmp.payload.sliceProfileId' value='`$tmp.sliceprofileid`'/>",
+ "comments": "",
+ "x": 1343.4375,
+ "y": 4314.6875,
+ "z": "86a86ea9.0c6eb",
+ "wires": []
+ },
+ {
+ "id": "fa891fe3.74256",
+ "type": "set",
+ "name": "set profiles size",
+ "xml": "<set>\n<parameter name='tmp.profiles_length' value='`$get-inventory-cps-response.sliceProfilesList_length`'/>",
+ "comments": "",
+ "x": 755.9375076293945,
+ "y": 4090.9376182556152,
+ "z": "86a86ea9.0c6eb",
+ "wires": []