Add logic to delete resource also from AAI
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-delete-huawei.json
index 61ce5ca..c5d0622 100644 (file)
-[
-    {
-        "id": "714a0239.f58d34",
-        "type": "dgstart",
-        "name": "DGSTART",
-        "outputs": 1,
-        "x": 899,
-        "y": 435,
-        "z": "6516a9f0.ec0d58",
-        "wires": [
-            [
-                "34d45d5a.766c6a"
-            ]
-        ]
-    },
-    {
-        "id": "34d45d5a.766c6a",
-        "type": "service-logic",
-        "name": "GENERIC-RESOURCE-API ${project.version}",
-        "module": "GENERIC-RESOURCE-API",
-        "version": "${project.version}",
-        "comments": "",
-        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
-        "outputs": 1,
-        "x": 1206.9996490478516,
-        "y": 435.0000219345093,
-        "z": "6516a9f0.ec0d58",
-        "wires": [
-            [
-                "c113efec.233458"
-            ]
-        ]
-    },
-    {
-        "id": "c113efec.233458",
-        "type": "method",
-        "name": "method:bbs-internet-profile-network-topology-operation-delete-huawei",
-        "xml": "<method rpc='bbs-internet-profile-network-topology-operation-delete-huawei' mode='sync'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1204.9996337890625,
-        "y": 631.0000982284546,
-        "z": "6516a9f0.ec0d58",
-        "wires": [
-            [
-                "60fe006b.0de45"
-            ]
-        ]
-    },
-    {
-        "id": "60fe006b.0de45",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic=\"true\">\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 1611.9998626708984,
-        "y": 632.0000619888306,
-        "z": "6516a9f0.ec0d58",
-        "wires": [
-            [
-                "aac40cc8.0649f",
-                "4ecef0e8.b1d6b8",
-                "ac3e26be.750fd"
-            ]
-        ]
-    },
-    {
-        "id": "aac40cc8.0649f",
-        "type": "execute",
-        "name": "execute:DeleteInternetProfileInstance",
-        "xml": "<execute plugin=\"org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode\" method=\"sendRequest\">\n    <parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/bbs-internet-profile-operation.json'`\" />\n    <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/DeleteInternetProfileInstance'`\" />\n    <parameter name=\"contentType\" value=\"application/json\"/>\n    <parameter name=\"httpMethod\" value=\"post\"/>\n    <parameter name=\"responsePrefix\" value=\"service-result\"/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 2000.6509246826172,
-        "y": 635.9608850479126,
-        "z": "6516a9f0.ec0d58",
-        "wires": [
-            [
-                "eebf5d0c.1b2fd8",
-                "ffc4504a.e72108"
-            ]
-        ]
-    },
-    {
-        "id": "ffc4504a.e72108",
-        "type": "outcome",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 2301.9839057922363,
-        "y": 635.9608850479126,
-        "z": "6516a9f0.ec0d58",
-        "wires": [
-            [
-                "622738c2.3df3e"
-            ]
-        ]
-    },
-    {
-        "id": "eebf5d0c.1b2fd8",
-        "type": "outcome",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 2310.983818054199,
-        "y": 710.9608869552612,
-        "z": "6516a9f0.ec0d58",
-        "wires": [
-            [
-                "cbf86fcd.ce3b38"
-            ]
-        ]
-    },
-    {
-        "id": "cbf86fcd.ce3b38",
-        "type": "switchNode",
-        "name": "switch:service-result",
-        "xml": "<switch test=\"`$service-result.errors.error[0].error-message`\">\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 2545.9999389648438,
-        "y": 710.0001821517944,
-        "z": "6516a9f0.ec0d58",
-        "wires": [
-            [
-                "701b16da.9a2e28",
-                "6f5fe7b5.9c0d48"
-            ]
-        ]
-    },
-    {
-        "id": "622738c2.3df3e",
-        "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 failed to call DeleteInternetProfileInstance\" />\n",
-        "comments": "",
-        "x": 2810.9175186157227,
-        "y": 636.2504329681396,
-        "z": "6516a9f0.ec0d58",
-        "wires": []
-    },
-    {
-        "id": "701b16da.9a2e28",
-        "type": "outcome",
-        "name": "Other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 2772.0002784729004,
-        "y": 711.0002756118774,
-        "z": "6516a9f0.ec0d58",
-        "wires": [
-            [
-                "6ff25d76.5ec334"
-            ]
-        ]
-    },
-    {
-        "id": "6f5fe7b5.9c0d48",
-        "type": "outcome",
-        "name": "NULL",
-        "xml": "<outcome value=''>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 2781.999984741211,
-        "y": 797.0001420974731,
-        "z": "6516a9f0.ec0d58",
-        "wires": [
-            [
-                "c34bbdbf.da607"
-            ]
-        ]
-    },
-    {
-        "id": "6ff25d76.5ec334",
-        "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 DeleteInternetProfileInstance return: '+$service-result.errors.error[0].error-message`\" />\n\n",
-        "comments": "",
-        "x": 2958.4999465942383,
-        "y": 711.0001125335693,
-        "z": "6516a9f0.ec0d58",
-        "wires": []
-    },
-    {
-        "id": "c34bbdbf.da607",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 2940.1666145324707,
-        "y": 798.0001173019409,
-        "z": "6516a9f0.ec0d58",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "4ecef0e8.b1d6b8",
-        "type": "returnSuccess",
-        "name": "return success",
-        "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
-        "comments": "",
-        "x": 1920.4999160766602,
-        "y": 720.0001831054688,
-        "z": "6516a9f0.ec0d58",
-        "wires": []
-    },
-    {
-        "id": "ac3e26be.750fd",
-        "type": "call",
-        "name": "call:bbs-internet-profile-network-topology-operation-common-huawei",
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-common-huawei' mode='sync' >\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 2112.66690826416,
-        "y": 552.0000553131104,
-        "z": "6516a9f0.ec0d58",
-        "wires": [
-            []
-        ]
-    }
+[\r
+    {\r
+        "id": "8393dc4.b00f62",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 100.00977325439453,\r
+        "y": 67.509765625,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": [\r
+            [\r
+                "a8de9e47.ef835"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a8de9e47.ef835",\r
+        "type": "service-logic",\r
+        "name": "GENERIC-RESOURCE-API ${project.version}",\r
+        "module": "GENERIC-RESOURCE-API",\r
+        "version": "${project.version}",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",\r
+        "outputs": 1,\r
+        "x": 408.0094223022461,\r
+        "y": 67.50978755950928,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": [\r
+            [\r
+                "412ac3c4.59356c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "412ac3c4.59356c",\r
+        "type": "method",\r
+        "name": "method:bbs-internet-profile-network-topology-operation-delete-huawei",\r
+        "xml": "<method rpc='bbs-internet-profile-network-topology-operation-delete-huawei' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 406.00940704345703,\r
+        "y": 263.5098638534546,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": [\r
+            [\r
+                "d96b6a61.651aa8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d96b6a61.651aa8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 813.009635925293,\r
+        "y": 264.50982761383057,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": [\r
+            [\r
+                "ed43d6ea.1722d8",\r
+                "dc1e34e.cfd17c8",\r
+                "4bbf7971.41bc68",\r
+                "643f2b24.3a23e4",\r
+                "17c5a97a.f12a27"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ed43d6ea.1722d8",\r
+        "type": "execute",\r
+        "name": "execute:DeleteInternetProfileInstance",\r
+        "xml": "<execute plugin=\"org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode\" method=\"sendRequest\">\n    <parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/bbs-internet-profile-operation.json'`\" />\n    <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/DeleteInternetProfileInstance'`\" />\n    <parameter name=\"contentType\" value=\"application/json\"/>\n    <parameter name=\"httpMethod\" value=\"post\"/>\n    <parameter name=\"responsePrefix\" value=\"service-result\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1201.6606979370117,\r
+        "y": 268.4706506729126,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": [\r
+            [\r
+                "1ac2698.caf4797",\r
+                "a7098526.9b3d78"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a7098526.9b3d78",\r
+        "type": "outcome",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1502.9936790466309,\r
+        "y": 268.4706506729126,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": [\r
+            [\r
+                "9700e544.024e48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1ac2698.caf4797",\r
+        "type": "outcome",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1511.9935913085938,\r
+        "y": 343.47065258026123,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": [\r
+            [\r
+                "37607f24.53bf"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "37607f24.53bf",\r
+        "type": "switchNode",\r
+        "name": "switch:service-result",\r
+        "xml": "<switch test=\"`$service-result.errors.error[0].error-message`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1747.0097122192383,\r
+        "y": 342.50994777679443,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": [\r
+            [\r
+                "563023ed.4ba30c",\r
+                "b0e164e3.f2a418"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9700e544.024e48",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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 failed to call DeleteInternetProfileInstance\" />\n",\r
+        "comments": "",\r
+        "x": 2011.9272918701172,\r
+        "y": 268.76019859313965,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "563023ed.4ba30c",\r
+        "type": "outcome",\r
+        "name": "Other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1973.010051727295,\r
+        "y": 343.51004123687744,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": [\r
+            [\r
+                "55172168.37133"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b0e164e3.f2a418",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1983.0097579956055,\r
+        "y": 429.50990772247314,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": [\r
+            [\r
+                "fe385e37.9e9a5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "55172168.37133",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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 DeleteInternetProfileInstance return: '+$service-result.errors.error[0].error-message`\" />\n\n",\r
+        "comments": "",\r
+        "x": 2159.509719848633,\r
+        "y": 343.50987815856934,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fe385e37.9e9a5",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2141.1763877868652,\r
+        "y": 430.5098829269409,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "dc1e34e.cfd17c8",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
+        "comments": "",\r
+        "x": 1140.398536682129,\r
+        "y": 781.3988790512085,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4bbf7971.41bc68",\r
+        "type": "call",\r
+        "name": "call:bbs-internet-profile-network-topology-operation-common-huawei",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-common-huawei' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1313.6766815185547,\r
+        "y": 184.50982093811035,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "65346647.308a38",\r
+        "type": "comment",\r
+        "name": "fetch relationship-list",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1150.1802520751953,\r
+        "y": 389.7358646392822,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "643f2b24.3a23e4",\r
+        "type": "for",\r
+        "name": "for relationship data",\r
+        "xml": "<for silentFailure='false' index='rdidx' start='0' end=\"`$aai.service-instance.relationship-list.relationship[$ridx].relationship-data_length`\" >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1153.6527824401855,\r
+        "y": 443.4859027862549,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": [\r
+            [\r
+                "99905752.097928"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fb8a9592.251f98",\r
+        "type": "switchNode",\r
+        "name": "switch vnf-id",\r
+        "xml": "<switch test='`$aai.service-instance.relationship-list.relationship[$ridx].relationship-data[$rdidx].relationship-key`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1501.8748245239258,\r
+        "y": 443.15258836746216,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": [\r
+            [\r
+                "92d4d21b.2f71c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "92d4d21b.2f71c",\r
+        "type": "other",\r
+        "name": "generic-vnf.vnf-id",\r
+        "xml": "<outcome value='generic-vnf.vnf-id'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1675.0970458984375,\r
+        "y": 443.2636499404907,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": [\r
+            [\r
+                "8caf9fcc.5729f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8caf9fcc.5729f",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1854.3192672729492,\r
+        "y": 511.0414514541626,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": [\r
+            [\r
+                "b3868d5c.48189"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b3868d5c.48189",\r
+        "type": "update",\r
+        "name": "get AAI generic-vnf",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"generic-vnf\" \n\t\tkey=\"generic-vnf.vnf-id = $aai.service-instance.relationship-list.relationship[$ridx].relationship-data[$rdidx].relationship-value\"\n        pfx='aai.generic-vnf' local-only='false' >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2065.485954284668,\r
+        "y": 512.0414886474609,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": [\r
+            [\r
+                "df1dd418.bafea8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "df29b5c0.224818",\r
+        "type": "switchNode",\r
+        "name": "switch vnf-type",\r
+        "xml": "<switch test='`$aai.generic-vnf.vnf-type`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2636.7645721435547,\r
+        "y": 518.2636861801147,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": [\r
+            [\r
+                "859c71d2.e161e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "859c71d2.e161e",\r
+        "type": "other",\r
+        "name": "InternetProfile",\r
+        "xml": "<outcome value='InternetProfile'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2830.7643280029297,\r
+        "y": 512.2637157440186,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": [\r
+            [\r
+                "2d3afaef.f0ec06"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2d3afaef.f0ec06",\r
+        "type": "set",\r
+        "name": "set InternetProfile vnf-id",\r
+        "xml": "<set>\n<parameter name='prop.bbs.internetProfileVNFId' value='`$aai.generic-vnf.vnf-id`' />\n",\r
+        "comments": "",\r
+        "x": 3074.7638397216797,\r
+        "y": 510.26364040374756,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "485cf5c2.abf84c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1334.2080688476562,\r
+        "y": 614.4025859832764,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": [\r
+            [\r
+                "a29bb2f2.980ac"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "93da79ed.e4ae48",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1342.2080688476562,\r
+        "y": 674.4025859832764,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": [\r
+            [\r
+                "a29bb2f2.980ac"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a29bb2f2.980ac",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+        "comments": "",\r
+        "x": 1550.2080688476562,\r
+        "y": 649.4025859832764,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "99905752.097928",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1337.0136337280273,\r
+        "y": 443.31922149658203,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": [\r
+            [\r
+                "fb8a9592.251f98"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "75dc5fdd.d172c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2453.763717651367,\r
+        "y": 518.7636861801147,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": [\r
+            [\r
+                "df29b5c0.224818"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "df1dd418.bafea8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2251.208080291748,\r
+        "y": 511.4025754928589,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": [\r
+            [\r
+                "75dc5fdd.d172c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "17c5a97a.f12a27",\r
+        "type": "update",\r
+        "name": "deleteResourceAAI",\r
+        "xml": "<delete plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"generic-vnf\" \n\t\tkey=\"generic-vnf.vnf-id = $prop.bbs.internetProfileVNFId\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1144.170997619629,\r
+        "y": 614.4487934112549,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": [\r
+            [\r
+                "485cf5c2.abf84c",\r
+                "93da79ed.e4ae48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "63b45757.74e858",\r
+        "type": "comment",\r
+        "name": "delete AAI resource",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1141.948844909668,\r
+        "y": 561.115478515625,\r
+        "z": "633a4b5b.599dd4",\r
+        "wires": []\r
+    }\r
 ]
\ No newline at end of file