+ "x": 2042.737548828125,
+ "y": 237.50000476837158,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": []
+ },
+ {
+ "id": "9c27065a.121fe8",
+ "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'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 847.5,
+ "y": 761.875,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dc6f5c5d.19069",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 830.3125,
+ "y": 814.6875,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "b9eb91f2.91722",
+ "9e6449f8.230918"
+ ]
+ ]
+ },
+ {
+ "id": "b9eb91f2.91722",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1047.8125305175781,
+ "y": 730.4373331069946,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "9cfb3d86.53f5d"
+ ]
+ ]
+ },
+ {
+ "id": "9e6449f8.230918",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1037.3125,
+ "y": 771.9375038146973,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "c06723d0.11693"
+ ]
+ ]
+ },
+ {
+ "id": "c06723d0.11693",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1186.3121643066406,
+ "y": 784.9376091957092,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "a6810ff4.93fe9",
+ "759b90a0.4de46"
+ ]
+ ]
+ },
+ {
+ "id": "9cfb3d86.53f5d",
+ "type": "execute",
+ "name": "generate remove sliceProfile url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.nearrtric.removeSliceProfile`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSliceProfileEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1318.5624313354492,
+ "y": 728.1875038146973,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a6810ff4.93fe9",
+ "type": "execute",
+ "name": "generate sliceprofile removal",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.nearrtric.removeSliceProfile.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSliceProfileEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1084.562156677246,
+ "y": 849.9374575614929,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "759b90a0.4de46",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSliceProfileEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSliceProfileEntry.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1007.312614440918,
+ "y": 890.4376420974731,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cd467a3c.ebd308",
+ "type": "execute",
+ "name": "Remove Slice Profile",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deleteSliceProfileEntry.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-slice-profile-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\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1007.812614440918,
+ "y": 1044.6875190734863,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "248f7539.80f80a",
+ "fe50e02f.34e6a"
+ ]
+ ]
+ },
+ {
+ "id": "248f7539.80f80a",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1209.0625,
+ "y": 913.4375,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "474adbe.5237424"
+ ]
+ ]
+ },
+ {
+ "id": "fe50e02f.34e6a",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1192.3806381225586,
+ "y": 986.0965933799744,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "9d8f45bc.4383f8"
+ ]
+ ]
+ },
+ {
+ "id": "474adbe.5237424",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1375.9375,
+ "y": 894.6875,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "579a1802.2390b8",
+ "53530b53.9b2494"
+ ]
+ ]
+ },
+ {
+ "id": "53530b53.9b2494",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1524.9371910095215,
+ "y": 857.7984781265259,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": []
+ },
+ {
+ "id": "579a1802.2390b8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1538.9371948242188,
+ "y": 932.6875467300415,
+ "z": "7dbbf2af.ccfd8c",