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 3d478c2..c5d0622 100644 (file)
-[
-    {
-        "id": "5e265471.e67f7c",
-        "type": "dgstart",
-        "name": "DGSTART",
-        "outputs": 1,
-        "x": 344,
-        "y": 400,
-        "z": "5f22295c.f35688",
-        "wires": [
-            [
-                "d75b37ac.e738e8"
-            ]
-        ]
-    },
-    {
-        "id": "d75b37ac.e738e8",
-        "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": 651.9996490478516,
-        "y": 400.0000219345093,
-        "z": "5f22295c.f35688",
-        "wires": [
-            [
-                "f2820cf8.0bd53"
-            ]
-        ]
-    },
-    {
-        "id": "f2820cf8.0bd53",
-        "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": 649.9996337890625,
-        "y": 596.0000982284546,
-        "z": "5f22295c.f35688",
-        "wires": [
-            [
-                "9b232b7e.58e2b8"
-            ]
-        ]
-    },
-    {
-        "id": "9b232b7e.58e2b8",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic=\"true\">\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 1056.9998626708984,
-        "y": 597.0000619888306,
-        "z": "5f22295c.f35688",
-        "wires": [
-            [
-                "9eb1d9e6.392fa8",
-                "7617ea2e.9a48d4",
-                "5d716cef.c08464"
-            ]
-        ]
-    },
-    {
-        "id": "9eb1d9e6.392fa8",
-        "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\"/>\n    <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n    <parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n    <parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n    <parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 1445.6509246826172,
-        "y": 600.9608850479126,
-        "z": "5f22295c.f35688",
-        "wires": [
-            [
-                "2862e76.2bc8318",
-                "a6a0cc88.189c9"
-            ]
-        ]
-    },
-    {
-        "id": "a6a0cc88.189c9",
-        "type": "outcome",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1746.9839057922363,
-        "y": 600.9608850479126,
-        "z": "5f22295c.f35688",
-        "wires": [
-            [
-                "68923169.94f92"
-            ]
-        ]
-    },
-    {
-        "id": "2862e76.2bc8318",
-        "type": "outcome",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1755.9838180541992,
-        "y": 675.9608869552612,
-        "z": "5f22295c.f35688",
-        "wires": [
-            [
-                "de6ab4f4.b99d68"
-            ]
-        ]
-    },
-    {
-        "id": "de6ab4f4.b99d68",
-        "type": "switchNode",
-        "name": "switch:service-result",
-        "xml": "<switch test=\"`$service-result.errors.error[0].error-message`\">\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1990.9999389648438,
-        "y": 675.0001821517944,
-        "z": "5f22295c.f35688",
-        "wires": [
-            [
-                "4603a7e2.b0ee88",
-                "e87dbd8d.effaf"
-            ]
-        ]
-    },
-    {
-        "id": "68923169.94f92",
-        "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=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/DeleteInternetProfileInstance'`\" />\n",
-        "comments": "",
-        "x": 2255.9175186157227,
-        "y": 601.2504329681396,
-        "z": "5f22295c.f35688",
-        "wires": []
-    },
-    {
-        "id": "4603a7e2.b0ee88",
-        "type": "outcome",
-        "name": "Other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 2217.0002784729004,
-        "y": 676.0002756118774,
-        "z": "5f22295c.f35688",
-        "wires": [
-            [
-                "43e7a5db.efe9bc"
-            ]
-        ]
-    },
-    {
-        "id": "e87dbd8d.effaf",
-        "type": "outcome",
-        "name": "NULL",
-        "xml": "<outcome value=''>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 2226.999984741211,
-        "y": 762.0001420974731,
-        "z": "5f22295c.f35688",
-        "wires": [
-            [
-                "22f84f13.a10ce"
-            ]
-        ]
-    },
-    {
-        "id": "43e7a5db.efe9bc",
-        "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 failed: '+$service-result.errors.error[0].error-message`\" />\n\n",
-        "comments": "",
-        "x": 2403.4999465942383,
-        "y": 676.0001125335693,
-        "z": "5f22295c.f35688",
-        "wires": []
-    },
-    {
-        "id": "22f84f13.a10ce",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 2385.1666145324707,
-        "y": 763.0001173019409,
-        "z": "5f22295c.f35688",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "7617ea2e.9a48d4",
-        "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": 1365.4999160766602,
-        "y": 685.0001831054688,
-        "z": "5f22295c.f35688",
-        "wires": []
-    },
-    {
-        "id": "5d716cef.c08464",
-        "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": 1557.6669082641602,
-        "y": 517.0000553131104,
-        "z": "5f22295c.f35688",
-        "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