Merge "Dublin release"
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_vnf-topology-operation-unassign.json
index b1eea7e..72f6681 100644 (file)
@@ -1 +1,906 @@
-[{"id":"944f4f91.384e8","type":"dgstart","name":"DGSTART","outputs":1,"x":98.5714340209961,"y":82.41365623474121,"z":"b870dbc1.f01f08","wires":[["5385f04.eb80e1"]]},{"id":"5385f04.eb80e1","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":212.85713958740234,"y":122.65176773071289,"z":"b870dbc1.f01f08","wires":[["790a0d91.15b024"]]},{"id":"790a0d91.15b024","type":"method","name":"method vnf-topology-operation-unassign","xml":"<method rpc='vnf-topology-operation-unassign' mode='sync'>\n","comments":"","outputs":1,"x":195.00006103515625,"y":162.4136562347412,"z":"b870dbc1.f01f08","wires":[["bdca26b2.1447d8"]]},{"id":"49372a3c.517844","type":"comment","name":"vnf-topology-operation-unassign","info":"","comments":"","x":492.9162902832031,"y":30,"z":"b870dbc1.f01f08","wires":[]},{"id":"e61c5038.9ee12","type":"switchNode","name":"switch request-action","xml":"<switch test='`$vnf-topology-operation-input.request-information.request-action`'>\n","comments":"","outputs":1,"x":502.0952453613281,"y":261.2707939147949,"z":"b870dbc1.f01f08","wires":[["fc9d5d49.169d","d6db7880.d1ef08"]]},{"id":"fc9d5d49.169d","type":"outcome","name":"DeleteVnfInstance","xml":"<outcome value='DeleteVnfInstance'>\n","comments":"","outputs":1,"x":755.8095397949219,"y":238.41367530822754,"z":"b870dbc1.f01f08","wires":[["31791927.887fa6"]]},{"id":"d6db7880.d1ef08","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":717.8095054626465,"y":284.12800312042236,"z":"b870dbc1.f01f08","wires":[["b87470b4.e1841"]]},{"id":"31791927.887fa6","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":940.6666679382324,"y":238.41370487213135,"z":"b870dbc1.f01f08","wires":[[]]},{"id":"b87470b4.e1841","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"If svc-action is 'deactivate' then request-action must be 'DeleteVnfInstance'\" />\n","comments":"","x":957.809513092041,"y":284.12796115875244,"z":"b870dbc1.f01f08","wires":[]},{"id":"bdca26b2.1447d8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":176.90476989746094,"y":555.7469902038574,"z":"b870dbc1.f01f08","wires":[["e61c5038.9ee12","bc0ea399.b5175","3fe9d895.d6c6d8","f8af2a3b.dfaaf8","9ec4a40.4c9046","e134089.fe067f8","407d562c.ffe458","83bb488f.f3aa38","c21ea09c.f64bc"]]},{"id":"bc0ea399.b5175","type":"switchNode","name":"switch vnf_length","xml":"<switch test='`$service-data.vnfs.vnf_length`'>\n","comments":"","outputs":1,"x":488.57141876220703,"y":330.74701976776123,"z":"b870dbc1.f01f08","wires":[["7206f725.eb2e88"]]},{"id":"7206f725.eb2e88","type":"other","name":"NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":675.2380981445312,"y":330.0803174972534,"z":"b870dbc1.f01f08","wires":[["3f73d92a.b2f766"]]},{"id":"3f73d92a.b2f766","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"There are no VNFs in MD-SAL\" />\n","comments":"","x":856.9047241210938,"y":330.0803174972534,"z":"b870dbc1.f01f08","wires":[]},{"id":"e134089.fe067f8","type":"for","name":"for each vnf","xml":"<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n","comments":"","outputs":1,"x":470.23809814453125,"y":379.08033752441406,"z":"b870dbc1.f01f08","wires":[["6e9fe2bf.dec39c"]]},{"id":"6e9fe2bf.dec39c","type":"switchNode","name":"switch this vnf-id == input vnf-id","xml":"<switch test='`$service-data.vnfs.vnf[$idx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`' >\n","comments":"","outputs":1,"x":725.2381858825684,"y":377.7470054626465,"z":"b870dbc1.f01f08","wires":[["1f6e3682.240c19"]]},{"id":"1f6e3682.240c19","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":963.5714721679688,"y":376.7469835281372,"z":"b870dbc1.f01f08","wires":[["4f964f4a.a0762"]]},{"id":"4f964f4a.a0762","type":"set","name":"set vnf-index","xml":"<set>\n<parameter name='vnf-index' value='`$idx`' />\n","comments":"","x":1131.9046669006348,"y":376.7470054626465,"z":"b870dbc1.f01f08","wires":[]},{"id":"407d562c.ffe458","type":"switchNode","name":"switch vnf-index","xml":"<switch test='`$vnf-index`'>\n","comments":"","outputs":1,"x":481.9047622680664,"y":425.7470073699951,"z":"b870dbc1.f01f08","wires":[["4ebb6352.1f906c"]]},{"id":"4ebb6352.1f906c","type":"other","name":"NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":663.5713806152344,"y":425.08033752441406,"z":"b870dbc1.f01f08","wires":[["39b1b294.07bc9e"]]},{"id":"39b1b294.07bc9e","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"'Could not find VNF ' + $vnf-topology-operation-input.vnf-information.vnf-id + ' in MD-SAL'\" />\n","comments":"","x":830.2380676269531,"y":424.74696350097656,"z":"b870dbc1.f01f08","wires":[]},{"id":"3fe9d895.d6c6d8","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":467.12711334228516,"y":1187.4133186340332,"z":"b870dbc1.f01f08","wires":[]},{"id":"1de366e5.21c939","type":"for","name":"for each vnf","xml":"<for index='idx' start='`$vnf-index + 1`' end='`$service-data.vnfs.vnf_length`' >\n","comments":"","outputs":1,"x":990.4618606567383,"y":832.9690895080566,"z":"b870dbc1.f01f08","wires":[["61ee4251.957cdc"]]},{"id":"74a7fc40.220eb4","type":"comment","name":"Remove VNF from service data","info":"","comments":"","x":432.6206283569336,"y":791.5407419204712,"z":"b870dbc1.f01f08","wires":[]},{"id":"61ee4251.957cdc","type":"set","name":"move vnf to remove one","xml":"<set>\n\t<parameter name=\"$tmpidx\" value=\"`$idx - 1`\"/>\n\t<parameter name=\"service-data.vnfs.vnf[$tmpidx].\" value=\"$service-data.vnfs.vnf[$idx].\" />\n\t\n","comments":"","x":1224.052993774414,"y":831.9930410385132,"z":"b870dbc1.f01f08","wires":[]},{"id":"9ec4a40.4c9046","type":"switchNode","name":"switch vnf_length","xml":"<switch test='`$service-data.vnfs.vnf_length`'>\n","comments":"","outputs":1,"x":476.71972274780273,"y":834.5487184524536,"z":"b870dbc1.f01f08","wires":[["fca60f91.c7a1e","a197ccd2.c3d8e"]]},{"id":"fca60f91.c7a1e","type":"outcome","name":"1","xml":"<outcome value='1'>\n","comments":"","outputs":1,"x":653.7197647094727,"y":795.2153053283691,"z":"b870dbc1.f01f08","wires":[["3854ad6d.628382"]]},{"id":"3854ad6d.628382","type":"set","name":"Remove vnfs","xml":"<set>\n\t<parameter name=\"service-data.vnfs.\" value=\"\"/>\n\n","comments":"","x":817.3862609863281,"y":795.215404510498,"z":"b870dbc1.f01f08","wires":[]},{"id":"a197ccd2.c3d8e","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":652.3865089416504,"y":878.5485782623291,"z":"b870dbc1.f01f08","wires":[["de8a693b.880468"]]},{"id":"e56b088f.c69118","type":"set","name":"set new vnf length","xml":"<set>\n\t<parameter name=\"service-data.vnfs.vnf_length\" value=\"`$service-data.vnfs.vnf_length - 1`\"/>\n\n\t\n","comments":"","x":1010.0159492492676,"y":923.5486631393433,"z":"b870dbc1.f01f08","wires":[]},{"id":"21ac3bbb.ed36d4","type":"set","name":"Remove the last vnf in the list","xml":"<set>\n\t<parameter name=\"service-data.vnfs.vnf[$service-data.vnfs.vnf_length-1].\" value=\"\"/>\n\n","comments":"","x":1045.7196044921875,"y":878.6596841812134,"z":"b870dbc1.f01f08","wires":[]},{"id":"de8a693b.880468","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":821.0529975891113,"y":879.2152252197266,"z":"b870dbc1.f01f08","wires":[["1de366e5.21c939","21ac3bbb.ed36d4","e56b088f.c69118"]]},{"id":"7c3d420a.94a7ec","type":"switchNode","name":"switch current vnf-level-oper-status == Created","xml":"<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.order-status == 'Created'`\">\n","comments":"","outputs":1,"x":581.2380752563477,"y":471.4136772155762,"z":"b870dbc1.f01f08","wires":[["f39054b3.2d9ee8"]]},{"id":"f39054b3.2d9ee8","type":"outcomeFalse","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":885.9047927856445,"y":471.0803165435791,"z":"b870dbc1.f01f08","wires":[["cb7c915.bf38c7"]]},{"id":"cb7c915.bf38c7","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Cannot delete a VNF in a Created state\" />\n","comments":"","x":1044.2380676269531,"y":470.41364097595215,"z":"b870dbc1.f01f08","wires":[]},{"id":"f8af2a3b.dfaaf8","type":"switchNode","name":"switch current vf-module_length","xml":"<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`\">\n","comments":"","outputs":1,"x":531.571418762207,"y":557.4136428833008,"z":"b870dbc1.f01f08","wires":[["570efcb.c4d6904","8123ceeb.3d5e2","b858ddb6.e005b"]]},{"id":"570efcb.c4d6904","type":"outcome","name":"0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":760.2380599975586,"y":514.0802841186523,"z":"b870dbc1.f01f08","wires":[["1b6ab0b1.e42baf"]]},{"id":"8123ceeb.3d5e2","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":758.8094711303711,"y":555.5089416503906,"z":"b870dbc1.f01f08","wires":[["1b6ab0b1.e42baf"]]},{"id":"1b6ab0b1.e42baf","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":907.3809852600098,"y":535.5089426040649,"z":"b870dbc1.f01f08","wires":[[]]},{"id":"b858ddb6.e005b","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":758.8095207214355,"y":596.9375295639038,"z":"b870dbc1.f01f08","wires":[["c6a13249.b2d5f"]]},{"id":"c6a13249.b2d5f","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Cannot delete the VNF because there are VFs defined\" />\n","comments":"","x":925.9524154663086,"y":596.5089178085327,"z":"b870dbc1.f01f08","wires":[]},{"id":"64d5b254.bed35c","type":"call","name":"call GENERIC-RESOURCE-API:naming-policy-generate-name","xml":"<call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' >\n","comments":"","outputs":1,"x":1322.4126358032227,"y":1086.9047145843506,"z":"b870dbc1.f01f08","wires":[[]]},{"id":"4f0c0b06.065bd4","type":"set","name":"set variables for deleting name","xml":"<set>\n<parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\n<parameter name='naming-policy-generate-name-input.context-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='naming-policy-generate-name-input.action' value='DELETE' />\n","comments":"","x":1223.8412551879883,"y":1039.7617855072021,"z":"b870dbc1.f01f08","wires":[]},{"id":"83bb488f.f3aa38","type":"switchNode","name":"switch: sdnc-generated-cloud-resources","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.sdnc-generated-cloud-resources`'>\n","comments":"","outputs":1,"x":556.4286117553711,"y":675.1587429046631,"z":"b870dbc1.f01f08","wires":[["3ad6c6a.f1af83a"]]},{"id":"3ad6c6a.f1af83a","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":807.1786575317383,"y":675.1587448120117,"z":"b870dbc1.f01f08","wires":[["9f0d731c.fb8ff"]]},{"id":"a0ad75de.430768","type":"call","name":"call self-serve-vnf-unassign","xml":"<call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-unassign' mode='sync' >\n","comments":"","outputs":1,"x":1211.9286041259766,"y":674.9087448120117,"z":"b870dbc1.f01f08","wires":[["7fe38fcd.9d338"]]},{"id":"7fe38fcd.9d338","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1419.6785888671875,"y":675.1587333679199,"z":"b870dbc1.f01f08","wires":[["9b0d248d.110118"]]},{"id":"9b0d248d.110118","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Encountered error while unassigning self-serve resources with error: '+ $error-message`\" />\n","comments":"","x":1585.250015258789,"y":674.801628112793,"z":"b870dbc1.f01f08","wires":[]},{"id":"9f0d731c.fb8ff","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":980.928581237793,"y":675.1587352752686,"z":"b870dbc1.f01f08","wires":[["a0ad75de.430768"]]},{"id":"c21ea09c.f64bc","type":"switchNode","name":"switch: sdnc-generated-cloud-resources","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.sdnc-generated-cloud-resources`'>\n","comments":"","outputs":1,"x":546.9047775268555,"y":1039.444423675537,"z":"b870dbc1.f01f08","wires":[["460f3dc9.fdcbe4","60026b43.620bc4"]]},{"id":"460f3dc9.fdcbe4","type":"outcomeTrue","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":797.6548233032227,"y":1039.4444255828857,"z":"b870dbc1.f01f08","wires":[["16c7430.7fa30bd"]]},{"id":"60026b43.620bc4","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":798.0158615112305,"y":1082.7777976989746,"z":"b870dbc1.f01f08","wires":[["16c7430.7fa30bd"]]},{"id":"16c7430.7fa30bd","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":965.793571472168,"y":1039.444423675537,"z":"b870dbc1.f01f08","wires":[["4f0c0b06.065bd4","64d5b254.bed35c"]]},{"id":"cb1bb44d.7af418","type":"comment","name":"check removed with US622450","info":"","comments":"","x":1251.4284439086914,"y":470.00002670288086,"z":"b870dbc1.f01f08","wires":[]}]
\ No newline at end of file
+[\r
+    {\r
+        "id": "3bf0dc2d.c14a24",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 162.50001525878906,\r
+        "y": 72.41365623474121,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "b55ba40.7ee5d6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b55ba40.7ee5d6",\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": 276.7857208251953,\r
+        "y": 112.65176773071289,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "7d6aee59.8eda9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7d6aee59.8eda9",\r
+        "type": "method",\r
+        "name": "method vnf-topology-operation-unassign",\r
+        "xml": "<method rpc='vnf-topology-operation-unassign' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 258.9286422729492,\r
+        "y": 152.4136562347412,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "4d74d1bc.2ae89"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6fec93f5.86db2c",\r
+        "type": "comment",\r
+        "name": "vnf-topology-operation-unassign",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 556.8448715209961,\r
+        "y": 20,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9aaca2e2.beb78",\r
+        "type": "switchNode",\r
+        "name": "switch request-action",\r
+        "xml": "<switch test='`$vnf-topology-operation-input.request-information.request-action`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 509.77383041381836,\r
+        "y": 240.02079010009766,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "abd8c261.c46b3",\r
+                "d2221c3e.90c3f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "abd8c261.c46b3",\r
+        "type": "outcome",\r
+        "name": "DeleteVnfInstance",\r
+        "xml": "<outcome value='DeleteVnfInstance'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 730.1547660827637,\r
+        "y": 215.49699878692627,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "a6409d9.036606"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d2221c3e.90c3f",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 692.1547317504883,\r
+        "y": 261.2113265991211,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "306935db.f49bda"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a6409d9.036606",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 915.0118942260742,\r
+        "y": 215.49702835083008,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "306935db.f49bda",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"If svc-action is 'deactivate' then request-action must be 'DeleteVnfInstance'\" />\n",\r
+        "comments": "",\r
+        "x": 932.1547393798828,\r
+        "y": 261.2112846374512,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4d74d1bc.2ae89",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 269.58336639404297,\r
+        "y": 303.2470169067383,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "9aaca2e2.beb78",\r
+                "4345ea8f.58f384"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4345ea8f.58f384",\r
+        "type": "switchNode",\r
+        "name": "switch vnf_length",\r
+        "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 498.3333206176758,\r
+        "y": 359.49701499938965,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "728fa904.537908",\r
+                "23bd57ed.5c2f68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "728fa904.537908",\r
+        "type": "other",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 682.9166831970215,\r
+        "y": 308.83031368255615,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "f32a75d4.e72c28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ea2e0eca.99875",\r
+        "type": "for",\r
+        "name": "for each vnf",\r
+        "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1021.2500038146973,\r
+        "y": 388.49698543548584,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "ff75cb52.105748"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ff75cb52.105748",\r
+        "type": "switchNode",\r
+        "name": "switch this vnf-id == input vnf-id",\r
+        "xml": "<switch test='`$service-data.vnfs.vnf[$idx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1276.2500915527344,\r
+        "y": 388.16365337371826,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "49e6f7a3.488758"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "49e6f7a3.488758",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1514.5833778381348,\r
+        "y": 387.163631439209,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "d7731519.ea37c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d7731519.ea37c8",\r
+        "type": "set",\r
+        "name": "set vnf-index",\r
+        "xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",\r
+        "comments": "",\r
+        "x": 1682.9165725708008,\r
+        "y": 387.16365337371826,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "59efadd9.34ff64",\r
+        "type": "switchNode",\r
+        "name": "switch vnf-index",\r
+        "xml": "<switch test='`$vnf-index`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1031.2500114440918,\r
+        "y": 456.16367626190186,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "4275fe83.7bd96",\r
+                "d296558f.79c2f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4275fe83.7bd96",\r
+        "type": "other",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1214.5832862854004,\r
+        "y": 435.49698543548584,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "c8299496.706828"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e72eb007.b4761",\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": 2001.8175811767578,\r
+        "y": 1314.9729461669922,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ea9f2a97.ca1f08",\r
+        "type": "for",\r
+        "name": "for each vnf",\r
+        "xml": "<for index='idx' start='`$vnf-index + 1`' end='`$service-data.vnfs.vnf_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2601.8189582824707,\r
+        "y": 898.5644903182983,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "168141b9.a5a37e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f463cdaa.41559",\r
+        "type": "comment",\r
+        "name": "Remove VNF from service data",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1943.6204223632812,\r
+        "y": 862.3146209716797,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "97d940c.f7414c",\r
+        "type": "set",\r
+        "name": "move vnf to remove one",\r
+        "xml": "<set>\n<parameter name=\"service-data.vnfs.vnf[$tmpidx].\" value=\"$service-data.vnfs.vnf[$idx].\" />\n\t\n",\r
+        "comments": "",\r
+        "x": 2932.0769996643066,\r
+        "y": 935.9216842651367,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9db43d1a.80b5b",\r
+        "type": "switchNode",\r
+        "name": "switch vnf_length",\r
+        "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2030.5766677856445,\r
+        "y": 903.8940572738647,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "9205be14.b6c51",\r
+                "a23b009d.a038"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9205be14.b6c51",\r
+        "type": "outcome",\r
+        "name": "1",\r
+        "xml": "<outcome value='1'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2207.5767097473145,\r
+        "y": 864.5606441497803,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "80c57b23.9a7b78"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "80c57b23.9a7b78",\r
+        "type": "set",\r
+        "name": "Remove vnfs",\r
+        "xml": "<set>\n\t<parameter name=\"service-data.vnfs.\" value=\"\"/>\n\n",\r
+        "comments": "",\r
+        "x": 2371.24320602417,\r
+        "y": 864.5607433319092,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a23b009d.a038",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2209.100601196289,\r
+        "y": 945.0367832183838,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "9a322bdb.0d3758"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "632aab75.bfd5f4",\r
+        "type": "set",\r
+        "name": "set new vnf length",\r
+        "xml": "<set>\n\t<parameter name=\"service-data.vnfs.vnf_length\" value=\"`$service-data.vnfs.vnf_length - 1`\"/>\n\n\t\n",\r
+        "comments": "",\r
+        "x": 2621.373092651367,\r
+        "y": 1037.4774322509766,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cc9aa5c.d39c258",\r
+        "type": "set",\r
+        "name": "Remove the last vnf in the list",\r
+        "xml": "<set>\n\t<parameter name=\"service-data.vnfs.vnf[$service-data.vnfs.vnf_length - 1].\" value=\"\"/>\n\n",\r
+        "comments": "",\r
+        "x": 2657.076747894287,\r
+        "y": 992.5884532928467,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9a322bdb.0d3758",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2374.909942626953,\r
+        "y": 948.5605640411377,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "ea9f2a97.ca1f08",\r
+                "cc9aa5c.d39c258",\r
+                "632aab75.bfd5f4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "422a0307.b6e26c",\r
+        "type": "switchNode",\r
+        "name": "switch current vf-module_length",\r
+        "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1405.4999160766602,\r
+        "y": 677.8303089141846,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "cb71008a.a8f54",\r
+                "281b69c0.91b136",\r
+                "b3e6a6da.0a0b88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cb71008a.a8f54",\r
+        "type": "outcome",\r
+        "name": "0",\r
+        "xml": "<outcome value='0'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1634.1665573120117,\r
+        "y": 634.4969501495361,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "c599e4d6.59a018"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "281b69c0.91b136",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1632.7379684448242,\r
+        "y": 675.9256076812744,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "c599e4d6.59a018"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c599e4d6.59a018",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1781.309482574463,\r
+        "y": 655.9256086349487,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b3e6a6da.0a0b88",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1632.7380180358887,\r
+        "y": 717.3541955947876,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "46457f5b.3ef86"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "46457f5b.3ef86",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Cannot delete the VNF because there are VF modules defined\" />\n",\r
+        "comments": "",\r
+        "x": 1799.8809127807617,\r
+        "y": 716.9255838394165,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1b063d0f.a0a6e3",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:naming-policy-generate-name",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2149.9602127075195,\r
+        "y": 1258.7499952316284,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "85b7a9d.afa5c58",\r
+        "type": "set",\r
+        "name": "set variables for deleting name",\r
+        "xml": "<set>\n<parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\n<parameter name='naming-policy-generate-name-input.context-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='naming-policy-generate-name-input.action' value='DELETE' />\n",\r
+        "comments": "",\r
+        "x": 2051.388832092285,\r
+        "y": 1211.60706615448,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f601bfcd.e4487",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1765.6427841186523,\r
+        "y": 1094.7024116516113,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "9db43d1a.80b5b",\r
+                "85b7a9d.afa5c58",\r
+                "1b063d0f.a0a6e3",\r
+                "e72eb007.b4761"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9f240acf.f10968",\r
+        "type": "call",\r
+        "name": "call self-serve-vnf-forking-logic",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-forking-logic' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1389.7857284545898,\r
+        "y": 904.7023048400879,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "c939b04c.c627d",\r
+        "type": "switchNode",\r
+        "name": "switch ss.self-serve-flag",\r
+        "xml": "<switch test=\"`$ss.self-serve-flag`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1372.4999465942383,\r
+        "y": 1094.5594997406006,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "7a49c72e.1fe9c8",\r
+                "ecc5218b.461db"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7a49c72e.1fe9c8",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1588.4999465942383,\r
+        "y": 1094.9880847930908,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "f601bfcd.e4487"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4db0d0cc.fcf23",\r
+        "type": "call",\r
+        "name": "call self-serve-vnf-unassign",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-unassign' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1804.214210510254,\r
+        "y": 1410.4166460037231,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "a8b8d4da.ba5e58",\r
+                "1a3f330c.4838ed"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a8b8d4da.ba5e58",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2011.9641952514648,\r
+        "y": 1410.6666345596313,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "58a86c05.a04eb4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "58a86c05.a04eb4",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Encountered error while unassigning self-serve resources with error: '+ $error-message`\" />\n",\r
+        "comments": "",\r
+        "x": 2177.5356216430664,\r
+        "y": 1410.3095293045044,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1a3f330c.4838ed",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2016.5713691711426,\r
+        "y": 1461.2221689224243,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "9db43d1a.80b5b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ecc5218b.461db",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1589.7856254577637,\r
+        "y": 1410.8452253341675,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "4db0d0cc.fcf23"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "46619b61.b2e6d4",\r
+        "type": "get-resource",\r
+        "name": "get-resource VF_MODEL",\r
+        "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from VF_MODEL WHERE customization_uuid = $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-customization-uuid'\n  pfx='db.vf-model'>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1376.7856369018555,\r
+        "y": 800.4166660308838,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "db921505.1ecab8",\r
+                "2ad253ad.07e3dc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "db921505.1ecab8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1601.5713348388672,\r
+        "y": 780.7975034713745,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "b4171d9d.62fd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2ad253ad.07e3dc",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1610.142765045166,\r
+        "y": 825.0832166671753,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "6896f0e8.60f06"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c42726a5.5f0838",\r
+        "type": "comment",\r
+        "name": "Query is needed by forking logic",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1353.9285202026367,\r
+        "y": 761.8452005386353,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c8299496.706828",\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",\r
+        "comments": "",\r
+        "x": 1371.2499885559082,\r
+        "y": 434.49694538116455,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f32a75d4.e72c28",\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",\r
+        "comments": "",\r
+        "x": 836.2499809265137,\r
+        "y": 307.83032417297363,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "23bd57ed.5c2f68",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 679.5834007263184,\r
+        "y": 417.83028984069824,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "c5c57fb4.bffa4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c5c57fb4.bffa4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 837.9166374206543,\r
+        "y": 417.8302993774414,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "ea2e0eca.99875",\r
+                "59efadd9.34ff64"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5d1e4a8b.33a764",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1060.4166412353516,\r
+        "y": 843.2469615936279,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "422a0307.b6e26c",\r
+                "46619b61.b2e6d4",\r
+                "9f240acf.f10968",\r
+                "c939b04c.c627d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d296558f.79c2f8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1211.2500839233398,\r
+        "y": 481.16366958618164,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "5d1e4a8b.33a764"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "168141b9.a5a37e",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2738.6907691955566,\r
+        "y": 897.5328073501587,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            [\r
+                "5253081e.499f08",\r
+                "97d940c.f7414c",\r
+                "4cab7b3.6b48784"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5253081e.499f08",\r
+        "type": "set",\r
+        "name": "set tmpidx",\r
+        "xml": "<set>\n<parameter name=\"$tmpidx\" value=\"`$idx - 1`\"/>\n",\r
+        "comments": "",\r
+        "x": 2888.6904487609863,\r
+        "y": 854.1993503570557,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4cab7b3.6b48784",\r
+        "type": "set",\r
+        "name": "erase entry at tmpidx",\r
+        "xml": "<set>\n<parameter name=\"service-data.vnfs.vnf[$tmpidx].\" value=\"\" />\n\t\n",\r
+        "comments": "",\r
+        "x": 2923.6903648376465,\r
+        "y": 895.8660793304443,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6896f0e8.60f06",\r
+        "type": "record",\r
+        "name": "record ",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"`'No model found for VNF customization UUID ' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-customization-uuid`\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1758.4999923706055,\r
+        "y": 825.7500009536743,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b4171d9d.62fd",\r
+        "type": "record",\r
+        "name": "record ",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"Error reading VF_MODEL table\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1741.4999923706055,\r
+        "y": 780.7500009536743,\r
+        "z": "8bfceefc.af82b",\r
+        "wires": [\r
+            []\r
+        ]\r
+    }\r
+]
\ No newline at end of file