Removing unused DG files for appc
[appc/deployment.git] / platform-logic / appc / src / main / json / dg-loader-dgs / Dispatcher-DG / APPC_method_Generic_Terminate_2.0.1.json
diff --git a/platform-logic/appc/src/main/json/dg-loader-dgs/Dispatcher-DG/APPC_method_Generic_Terminate_2.0.1.json b/platform-logic/appc/src/main/json/dg-loader-dgs/Dispatcher-DG/APPC_method_Generic_Terminate_2.0.1.json
deleted file mode 100644 (file)
index 5b2491d..0000000
+++ /dev/null
@@ -1 +0,0 @@
-[{"id":"6a91792e.7babd8","type":"method","name":"Generic_Terminate","xml":"<method rpc='Generic_Terminate' mode='sync'>\n","comments":"","outputs":1,"x":148.66665649414062,"y":231,"z":"214d83f7.3c518c","wires":[["8842ebb3.34ae88"]]},{"id":"5b236231.d788cc","type":"service-logic","name":"APPC 2.0.1","module":"APPC","version":"2.0.1","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='APPC' version='2.0.1'>","outputs":1,"x":148.66665649414062,"y":158,"z":"214d83f7.3c518c","wires":[["6a91792e.7babd8"]]},{"id":"40dd126c.6467ac","type":"dgstart","name":"DGSTART","outputs":1,"x":114.66665649414062,"y":64,"z":"214d83f7.3c518c","wires":[["5b236231.d788cc"]]},{"id":"c5b3ed4c.7a51e","type":"execute","name":"execute_getVNF_Hierarchy","xml":"<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='getVnfHierarchy'>\n<parameter name=\"resourceKey\" value=\"`$input.action-identifiers.vnf-id`\" />","comments":"","outputs":1,"x":712.6666564941406,"y":418,"z":"214d83f7.3c518c","wires":[["4167438c.1e614c","5c2b2174.d5d2d","72adec34.6cebc4"]]},{"id":"4167438c.1e614c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1042.6666717529297,"y":359,"z":"214d83f7.3c518c","wires":[["f36ab527.a7f0a8"]]},{"id":"40745781.e26f38","type":"block","name":"block : atomic","xml":"<block atomic='true'>\n","atomic":"true","comments":"","outputs":1,"x":743.6666717529297,"y":1031.0000610351562,"z":"214d83f7.3c518c","wires":[["9a947cc5.23ce8","51330ad7.924734","82d02640.710dc8"]]},{"id":"9a947cc5.23ce8","type":"for","name":"for_each_VMs","xml":"<for index=\"i\" start=\"0\" end=\"`$VNF.VMCount`\" >","comments":"","outputs":1,"x":1201.6666717529297,"y":888,"z":"214d83f7.3c518c","wires":[["a18c1d82.ceb56"]]},{"id":"a18c1d82.ceb56","type":"block","name":"block : atomic","xml":"<block atomic='true'>\n","atomic":"true","comments":"","outputs":1,"x":1291.6666717529297,"y":717,"z":"214d83f7.3c518c","wires":[["1f5ac652.ff0a0a"]]},{"id":"1f5ac652.ff0a0a","type":"execute","name":"execute_UpdateAA&I","xml":"<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='postResource'>\n<parameter name=\"resourceType\" value=\"vnfc\" />\n<parameter name=\"prefix\" value=\"vnfc\" />\n<parameter name=\"resourceKey\" value='vnfc-name = $VNF.VM[$i].VNFC' />\n<parameter name=\"attributeName\" value=\"orchestration-status\" />\n<parameter name=\"attributeValue\" value=\"Terminating\" />\n","comments":"","outputs":1,"x":1432.6666717529297,"y":811,"z":"214d83f7.3c518c","wires":[["ba2d3b93.0fc308","e013018e.c2ce6"]]},{"id":"ba2d3b93.0fc308","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1607.6666717529297,"y":814,"z":"214d83f7.3c518c","wires":[["30ec2ffc.29dd4"]]},{"id":"5c2b2174.d5d2d","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1171.6666717529297,"y":255,"z":"214d83f7.3c518c","wires":[["7af3024a.0c77ec"]]},{"id":"6f9d109d.47a","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":1580.6666717529297,"y":307,"z":"214d83f7.3c518c","wires":[]},{"id":"a9d9b6a5.ff7028","type":"execute","name":"execute_Delete_AA&I","xml":"<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='deleteResource'>\n<parameter name=\"resourceType\" value=\"vnfc\" />\n<parameter name=\"prefix\" value=\"vnfc\" />\n<parameter name=\"resourceKey\" value='vnfc-name = $VNF.VM[$i].VNFC' />\n","comments":"","outputs":1,"x":1777.6669158935547,"y":1548.000244140625,"z":"214d83f7.3c518c","wires":[["f0a60773.983e78","791fa776.b19fa8"]]},{"id":"f0a60773.983e78","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1958.6669158935547,"y":1605.000244140625,"z":"214d83f7.3c518c","wires":[["1418d53d.7f133b"]]},{"id":"db7092d6.8fae","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":2043.6669158935547,"y":1933.000244140625,"z":"214d83f7.3c518c","wires":[]},{"id":"791fa776.b19fa8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1959.6669158935547,"y":1474.000244140625,"z":"214d83f7.3c518c","wires":[["ddbbf603.b53e18"]]},{"id":"e013018e.c2ce6","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1607.6666717529297,"y":634,"z":"214d83f7.3c518c","wires":[["47ccb57f.6543ec"]]},{"id":"e72b6702.279708","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":2075.6666717529297,"y":545,"z":"214d83f7.3c518c","wires":[]},{"id":"8bf91d02.277ac","type":"comment","name":"update VNFCs to terminating","info":"","comments":"","x":1353.6666717529297,"y":860,"z":"214d83f7.3c518c","wires":[]},{"id":"e269577f.6b4058","type":"comment","name":"call south bound to delete VMs","info":"","comments":"","x":1921.6666717529297,"y":354,"z":"214d83f7.3c518c","wires":[]},{"id":"8b30f8a4.f6e778","type":"comment","name":"Delete VNFCs from AA&I","info":"","comments":"","x":1804.6669158935547,"y":1582.000244140625,"z":"214d83f7.3c518c","wires":[]},{"id":"be86022b.82158","type":"comment","name":"Fetch all VMs and VNFCs from AA&I for given VNF_ID","info":"","comments":"","x":962.6666564941406,"y":471,"z":"214d83f7.3c518c","wires":[]},{"id":"78588c7a.743e14","type":"switchNode","name":"switch","xml":"<switch test='`$VNF.VMCount`'>\n","comments":"","outputs":1,"x":867.6666717529297,"y":792,"z":"214d83f7.3c518c","wires":[["166c71ac.291f6e","724fce8c.100f6"]]},{"id":"166c71ac.291f6e","type":"other","name":"outcome_0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":1040.6666717529297,"y":697,"z":"214d83f7.3c518c","wires":[["74e7a734.c69f38"]]},{"id":"724fce8c.100f6","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":988.6666717529297,"y":882,"z":"214d83f7.3c518c","wires":[["40745781.e26f38"]]},{"id":"f36ab527.a7f0a8","type":"switchNode","name":"switch","xml":"<switch test='`$getVnfHierarchy_result`'>\n","comments":"","outputs":1,"x":957.6666717529297,"y":504,"z":"214d83f7.3c518c","wires":[["605c9bcb.12d854","8eb5283f.78b858"]]},{"id":"605c9bcb.12d854","type":"outcome","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":956.6666717529297,"y":591,"z":"214d83f7.3c518c","wires":[["78588c7a.743e14"]]},{"id":"8eb5283f.78b858","type":"outcome","name":"FAILURE","xml":"<outcome value='FAILURE'>\n","comments":"","outputs":1,"x":1212.6666717529297,"y":500,"z":"214d83f7.3c518c","wires":[["bc16b835.e67df8"]]},{"id":"30ec2ffc.29dd4","type":"switchNode","name":"switch","xml":"<switch test='`$postResource_result`'>\n","comments":"","outputs":1,"x":1740.6666717529297,"y":676,"z":"214d83f7.3c518c","wires":[["486bc0b7.06e2c","6b589062.343aa","46ffb052.ef31d"]]},{"id":"486bc0b7.06e2c","type":"outcome","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":1896.6666717529297,"y":644,"z":"214d83f7.3c518c","wires":[[]]},{"id":"6b589062.343aa","type":"outcome","name":"NOT_FOUND","xml":"<outcome value='NOT_FOUND'>\n","comments":"","outputs":1,"x":1905.6666717529297,"y":680,"z":"214d83f7.3c518c","wires":[["d6575672.8b8888"]]},{"id":"46ffb052.ef31d","type":"outcome","name":"FAILURE","xml":"<outcome value='FAILURE'>\n","comments":"","outputs":1,"x":1900.6666717529297,"y":717,"z":"214d83f7.3c518c","wires":[["a6264772.8b5a18"]]},{"id":"ddbbf603.b53e18","type":"switchNode","name":"switch","xml":"<switch test='`$deleteResource_result`'>\n","comments":"","outputs":1,"x":2172.6669158935547,"y":1544.0002136230469,"z":"214d83f7.3c518c","wires":[["f03cdfd2.9419f","75d0e135.830a5","b144c34e.c13ab"]]},{"id":"f03cdfd2.9419f","type":"outcome","name":"SUCCESS","xml":"<outcome value='SUCCESS'>","comments":"","outputs":1,"x":2349.6669158935547,"y":1510.000244140625,"z":"214d83f7.3c518c","wires":[[]]},{"id":"75d0e135.830a5","type":"outcome","name":"NOT_FOUND","xml":"<outcome value='NOT_FOUND'>\n","comments":"","outputs":1,"x":2349.6669158935547,"y":1624.000244140625,"z":"214d83f7.3c518c","wires":[["8e0f8ac1.b9e7e8"]]},{"id":"b144c34e.c13ab","type":"outcome","name":"FAILURE","xml":"<outcome value='FAILURE'>\n","comments":"","outputs":1,"x":2343.6669158935547,"y":1735.000244140625,"z":"214d83f7.3c518c","wires":[["2ae8e8ce.c451c8"]]},{"id":"6b97d665.4e5aa8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":2673.6669158935547,"y":1648.000244140625,"z":"214d83f7.3c518c","wires":[]},{"id":"ffc50795.32ef28","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":2687.6669158935547,"y":1781.000244140625,"z":"214d83f7.3c518c","wires":[]},{"id":"79a07e38.a86d4","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":1319.6666717529297,"y":679,"z":"214d83f7.3c518c","wires":[]},{"id":"f4d2923.3dec37","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":2273.6666717529297,"y":687,"z":"214d83f7.3c518c","wires":[]},{"id":"4a7e04c9.bf41cc","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":2235.667007446289,"y":900,"z":"214d83f7.3c518c","wires":[]},{"id":"2adb8b66.3f8504","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":1460.6666717529297,"y":524,"z":"214d83f7.3c518c","wires":[]},{"id":"7af3024a.0c77ec","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1289.6666717529297,"y":323,"z":"214d83f7.3c518c","wires":[["6f9d109d.47a","ebf5dd23.4a38f"]]},{"id":"ebf5dd23.4a38f","type":"execute","name":"execute_SendUEBEvent","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"Exception in getting VNF Hierachy\"/>\n<parameter name='output.status.message' value=\"Exception in getting VNF Hierachy\"/>\n","comments":"","outputs":1,"x":1570.6666717529297,"y":133,"z":"214d83f7.3c518c","wires":[["c956679b.bab7b8"]]},{"id":"c956679b.bab7b8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1795.6666717529297,"y":104,"z":"214d83f7.3c518c","wires":[[]]},{"id":"bc16b835.e67df8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1354.6666717529297,"y":466,"z":"214d83f7.3c518c","wires":[["2adb8b66.3f8504","a41aef94.7e09"]]},{"id":"a41aef94.7e09","type":"execute","name":"execute_SendUEBEvent","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"Failure in getting VNF Hierachy\"/>\n<parameter name='output.status.message' value=\"Failure in getting VNF Hierachy\"/>\n\n","comments":"","outputs":1,"x":1420.6666717529297,"y":392,"z":"214d83f7.3c518c","wires":[["109fc3cc.165b8c"]]},{"id":"109fc3cc.165b8c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1627.6666717529297,"y":408,"z":"214d83f7.3c518c","wires":[[]]},{"id":"74e7a734.c69f38","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1159.6666717529297,"y":635,"z":"214d83f7.3c518c","wires":[["79a07e38.a86d4","1fdafa81.05cb55"]]},{"id":"1fdafa81.05cb55","type":"execute","name":"execute_SendUEBEvent","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"VM Count is 0\"/>\n<parameter name='output.status.message' value=\"VM Count is 0\"/>\n\n","comments":"","outputs":1,"x":1260.6666717529297,"y":563,"z":"214d83f7.3c518c","wires":[["a638cc12.c03da"]]},{"id":"a638cc12.c03da","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1426.6666717529297,"y":623,"z":"214d83f7.3c518c","wires":[[]]},{"id":"47ccb57f.6543ec","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1922.6666717529297,"y":492,"z":"214d83f7.3c518c","wires":[["e72b6702.279708","203420f8.4a6c8"]]},{"id":"203420f8.4a6c8","type":"execute","name":"execute_SendUEBEvent","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`'Exception in AAI Update for vnfc '+$VNF.VM[$i].VNFC`\"/>\n<parameter name='output.status.message' value=\"`'Exception in AAI Update for vnfc '+$VNF.VM[$i].VNFC`\"/>\n","comments":"","outputs":1,"x":2147.6666717529297,"y":490,"z":"214d83f7.3c518c","wires":[["81561833.a0f998"]]},{"id":"81561833.a0f998","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2350.6666717529297,"y":493,"z":"214d83f7.3c518c","wires":[[]]},{"id":"a6264772.8b5a18","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2006.6666412353516,"y":796,"z":"214d83f7.3c518c","wires":[["4a7e04c9.bf41cc","d22c813.a8fe48"]]},{"id":"d22c813.a8fe48","type":"execute","name":"execute_SendUEBEvent","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`'Failure in updating AAI for '+$VNF.VM[$i].VNFC`\"/>\n<parameter name='output.status.message' value=\"`'Failure in updating AAI for '+$VNF.VM[$i].VNFC`\"/>\n\n","comments":"","outputs":1,"x":2278.6671295166016,"y":813,"z":"214d83f7.3c518c","wires":[["9df8c65a.d36ae8"]]},{"id":"9df8c65a.d36ae8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2499.667037963867,"y":809.0000915527344,"z":"214d83f7.3c518c","wires":[[]]},{"id":"d6575672.8b8888","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2068.6666412353516,"y":685,"z":"214d83f7.3c518c","wires":[["f4d2923.3dec37","d0f739a9.299bf8"]]},{"id":"d0f739a9.299bf8","type":"execute","name":"execute_SendUEBEvent","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`'VNFC not found in AAI'+ $VNF.VM[$i].VNFC`\" />\n<parameter name='output.status.message' value=\"`'VNFC not found in AAI'+ $VNF.VM[$i].VNFC`\" />\n\n","comments":"","outputs":1,"x":2263.6666717529297,"y":621,"z":"214d83f7.3c518c","wires":[["bede9367.77c9d"]]},{"id":"bede9367.77c9d","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2455.6669158935547,"y":621,"z":"214d83f7.3c518c","wires":[[]]},{"id":"8e0f8ac1.b9e7e8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2521.6669158935547,"y":1618.000244140625,"z":"214d83f7.3c518c","wires":[["6b97d665.4e5aa8","27493e98.52c6e2"]]},{"id":"2ae8e8ce.c451c8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2521.6669158935547,"y":1739.000244140625,"z":"214d83f7.3c518c","wires":[["ffc50795.32ef28","49dfea1b.954844"]]},{"id":"27493e98.52c6e2","type":"execute","name":"execute_SendUEBEvent","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`'VNFC not found in AAI after terminate for '+$VNF.VM[$i].VNFC`\"/>\n<parameter name='output.status.message' value=\"`'VNFC not found in AAI after terminate for '+$VNF.VM[$i].VNFC`\"/>","comments":"","outputs":1,"x":2695.6669158935547,"y":1543.000244140625,"z":"214d83f7.3c518c","wires":[["3265161a.da4fda"]]},{"id":"49dfea1b.954844","type":"execute","name":"execute_SendUEBEvent","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`'Failure in updating VNFC in AAI after terminate for '+$VNF.VM[$i].VNFC`\"/>\n<parameter name='output.status.message' value=\"`'Failure in updating VNFC in AAI after terminate for '+$VNF.VM[$i].VNFC`\"/>\n","comments":"","outputs":1,"x":2715.6669158935547,"y":1702.000244140625,"z":"214d83f7.3c518c","wires":[["a931d97f.0a8ef8"]]},{"id":"3265161a.da4fda","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2915.6669158935547,"y":1545.000244140625,"z":"214d83f7.3c518c","wires":[[]]},{"id":"a931d97f.0a8ef8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2936.6669158935547,"y":1697.000244140625,"z":"214d83f7.3c518c","wires":[[]]},{"id":"1418d53d.7f133b","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1854.6669158935547,"y":1869.000244140625,"z":"214d83f7.3c518c","wires":[["db7092d6.8fae","d2c04b2.c7333b8"]]},{"id":"d2c04b2.c7333b8","type":"execute","name":"execute_SendUEBEvent","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`'Failure in deleting from AAI after terminate for '+$VNF.VM[$i].VNFC`\"/>\n<parameter name='output.status.message' value=\"`'Failure in deleting from AAI after terminate for '+$VNF.VM[$i].VNFC`\"/>\n\n","comments":"","outputs":1,"x":2076.6669158935547,"y":1866.000244140625,"z":"214d83f7.3c518c","wires":[["76c8bb58.d4a2b4"]]},{"id":"76c8bb58.d4a2b4","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2277.6669158935547,"y":1867.000244140625,"z":"214d83f7.3c518c","wires":[[]]},{"id":"51330ad7.924734","type":"execute","name":"execute_TerminateStack","xml":"<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='terminateStack' >\n <parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\"/>\n <parameter name=\"org.onap.appc.instance.url\" value=\"`$VNF.VM[0].URL`\" />\n <parameter name=\"org.onap.appc.identity.url\" value=\"`$AICIdentity`\" />\n <parameter name=\"org.onap.appc.stack.id\" value=\"`$VNF.heat-stack-id`\"/>","comments":"","outputs":1,"x":1128.6666717529297,"y":1052,"z":"214d83f7.3c518c","wires":[["8014c3bc.7e994","9518b74c.9dfbe8","500bd329.f4843c"]]},{"id":"8014c3bc.7e994","type":"outcome","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1019.6666717529297,"y":1364,"z":"214d83f7.3c518c","wires":[["e36fc9a0.8f4758"]]},{"id":"9518b74c.9dfbe8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1315.6666412353516,"y":1143.0000305175781,"z":"214d83f7.3c518c","wires":[["f1cff1ca.4f3fa"]]},{"id":"f1cff1ca.4f3fa","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1474.6666412353516,"y":1226.0000305175781,"z":"214d83f7.3c518c","wires":[["d26c7cdb.1a1c1","e21c7013.2a511","4e395d8c.0e8654"]]},{"id":"bffd5141.6c547","type":"execute","name":"execute_Update_AA&I","xml":"<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='postResource'>\n<parameter name=\"resourceType\" value=\"vnfc\" />\n<parameter name=\"prefix\" value=\"vnfc\" />\n<parameter name=\"resourceKey\" value='vnfc-name = $VNF.VM[$i].VNFC' />\n<parameter name=\"attributeName\" value=\"orchestration-status\" />\n<parameter name=\"attributeValue\" value=\"ERROR\" />\n","comments":"","outputs":1,"x":2290.6666412353516,"y":1171.0000915527344,"z":"214d83f7.3c518c","wires":[["13d1960d.9c176a","ee50c4be.2e9d28"]]},{"id":"ee50c4be.2e9d28","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2449.6666717529297,"y":1105.0001220703125,"z":"214d83f7.3c518c","wires":[["6876f9ee.88d068"]]},{"id":"104f28b8.5f4c67","type":"outcome","name":"FAILURE","xml":"<outcome value='FAILURE'>\n","comments":"","outputs":1,"x":2728.6664276123047,"y":1316.000244140625,"z":"214d83f7.3c518c","wires":[[]]},{"id":"2129246.f55abdc","type":"outcome","name":"NOT_FOUND","xml":"<outcome value='NOT_FOUND'>\n","comments":"","outputs":1,"x":2737.6666107177734,"y":1293.0001525878906,"z":"214d83f7.3c518c","wires":[[]]},{"id":"75bf7111.51ae5","type":"outcome","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":2722.6666717529297,"y":1272.0001220703125,"z":"214d83f7.3c518c","wires":[[]]},{"id":"b334397d.c3d958","type":"switchNode","name":"switch","xml":"<switch test='`$postResource_result`'>\n","comments":"","outputs":1,"x":2598.6666717529297,"y":1225.0001220703125,"z":"214d83f7.3c518c","wires":[["104f28b8.5f4c67","2129246.f55abdc","75bf7111.51ae5"]]},{"id":"13d1960d.9c176a","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2451.6666717529297,"y":1233.0001220703125,"z":"214d83f7.3c518c","wires":[["b334397d.c3d958"]]},{"id":"d26c7cdb.1a1c1","type":"execute","name":"execute_SendUEBEvent","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`'Error occured while terminating Stack '+$VNF.heat-stack-id`\"/>\n<parameter name='output.status.message' value=\"`'Error occured while terminating Stack '+$VNF.heat-stack-id`\"/>\n","comments":"","outputs":1,"x":1729.6666717529297,"y":1219,"z":"214d83f7.3c518c","wires":[["8be889a9.6d6c68"]]},{"id":"8be889a9.6d6c68","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1918.6666717529297,"y":1211,"z":"214d83f7.3c518c","wires":[[]]},{"id":"500bd329.f4843c","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1293.6666412353516,"y":1194.0001525878906,"z":"214d83f7.3c518c","wires":[["f1cff1ca.4f3fa"]]},{"id":"4a03d8fe.d47068","type":"for","name":"for_each_VMs","xml":"<for index=\"i\" start=\"0\" end=\"`$VNF.VMCount`\" >","comments":"","outputs":1,"x":1455.6666717529297,"y":1498.666748046875,"z":"214d83f7.3c518c","wires":[["6b7368e3.64b308"]]},{"id":"e21c7013.2a511","type":"for","name":"for_each_VMs","xml":"<for index=\"i\" start=\"0\" end=\"`$VNF.VMCount`\" >","comments":"","outputs":1,"x":1428.6666717529297,"y":1029.3333740234375,"z":"214d83f7.3c518c","wires":[["7b636d61.d0b554"]]},{"id":"7099d9d3.ce2a88","type":"execute","name":"execute_lookupServer","xml":"<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='lookupServer' >\n <parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\"/>\n <parameter name=\"org.onap.appc.instance.url\" value=\"`$VNF.VM[$i].URL`\" />\n <parameter name=\"org.onap.appc.identity.url\" value=\"`$AICIdentity`\" />\n","comments":"","outputs":1,"x":1649.6666717529297,"y":1033.3333740234375,"z":"214d83f7.3c518c","wires":[["d40d4181.f4c28","e3a51c64.b39b9"]]},{"id":"7a853c33.9204b4","type":"switchNode","name":"switch_isServerFound","xml":"<switch test='`$serverFound`'>\n","comments":"","outputs":1,"x":2054.333297729492,"y":1036.3333740234375,"z":"214d83f7.3c518c","wires":[["ba8d600.0a405a","dec7ed8e.6bb98","f0ec0e5b.68c6"]]},{"id":"ba8d600.0a405a","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":2255.3331756591797,"y":1029.3333740234375,"z":"214d83f7.3c518c","wires":[["bffd5141.6c547"]]},{"id":"dec7ed8e.6bb98","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2250.333297729492,"y":1098.3333740234375,"z":"214d83f7.3c518c","wires":[["bffd5141.6c547"]]},{"id":"a8c9d533.157048","type":"execute","name":"execute_Delete_AA&I","xml":"<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='deleteResource'>\n<parameter name=\"resourceType\" value=\"vnfc\" />\n<parameter name=\"prefix\" value=\"vnfc\" />\n<parameter name=\"resourceKey\" value='vnfc-name = $VNF.VM[$i].VNFC' />\n","comments":"","outputs":1,"x":2708.8888397216797,"y":813.1111450195312,"z":"214d83f7.3c518c","wires":[["b85685cd.59cc58","adbd6019.dddcf"]]},{"id":"b85685cd.59cc58","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2921.8888397216797,"y":909.1111755371094,"z":"214d83f7.3c518c","wires":[["a26d7ad7.fc3678"]]},{"id":"51877c7e.0ed344","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":3065.8888397216797,"y":1149.1111755371094,"z":"214d83f7.3c518c","wires":[]},{"id":"adbd6019.dddcf","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2911.8888397216797,"y":737.1111755371094,"z":"214d83f7.3c518c","wires":[["a32e8ff0.fd949"]]},{"id":"6b1dcaae.a26de4","type":"comment","name":"Delete VNFCs from AA&I","info":"","comments":"","x":2943.8888397216797,"y":836.1111755371094,"z":"214d83f7.3c518c","wires":[]},{"id":"a32e8ff0.fd949","type":"switchNode","name":"switch","xml":"<switch test='`$deleteResource_result`'>\n","comments":"","outputs":1,"x":3103.8888397216797,"y":740.1111755371094,"z":"214d83f7.3c518c","wires":[["6367d45e.f568bc","a2b057d0.ae5338","af8908d5.a293b8"]]},{"id":"6367d45e.f568bc","type":"outcome","name":"SUCCESS","xml":"<outcome value='SUCCESS'>","comments":"","outputs":1,"x":3328.8888397216797,"y":741.1111755371094,"z":"214d83f7.3c518c","wires":[[]]},{"id":"a2b057d0.ae5338","type":"outcome","name":"NOT_FOUND","xml":"<outcome value='NOT_FOUND'>\n","comments":"","outputs":1,"x":3328.8888397216797,"y":855.1111755371094,"z":"214d83f7.3c518c","wires":[["2e777347.c58bac"]]},{"id":"af8908d5.a293b8","type":"outcome","name":"FAILURE","xml":"<outcome value='FAILURE'>\n","comments":"","outputs":1,"x":3322.8888397216797,"y":966.1111755371094,"z":"214d83f7.3c518c","wires":[["d3aee095.4eaad"]]},{"id":"b0455566.ea43d8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":3652.8888397216797,"y":879.1111755371094,"z":"214d83f7.3c518c","wires":[]},{"id":"8320aaf5.fac488","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":3666.8888397216797,"y":1012.1111755371094,"z":"214d83f7.3c518c","wires":[]},{"id":"2e777347.c58bac","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":3500.8888397216797,"y":849.1111755371094,"z":"214d83f7.3c518c","wires":[["b0455566.ea43d8","c013a213.b6497"]]},{"id":"d3aee095.4eaad","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":3500.8888397216797,"y":970.1111755371094,"z":"214d83f7.3c518c","wires":[["8320aaf5.fac488","fc0ad0dd.1a778"]]},{"id":"c013a213.b6497","type":"execute","name":"execute_SendUEBEvent","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`'VNFC not found in AAI after terminate for'+ $VNF.VM[$i].VNFC`\"/>\n<parameter name='output.status.message' value=\"`'VNFC not found in AAI after terminate for'+ $VNF.VM[$i].VNFC`\"/>","comments":"","outputs":1,"x":3632.8888397216797,"y":769.1111755371094,"z":"214d83f7.3c518c","wires":[["92ed3d58.93848"]]},{"id":"fc0ad0dd.1a778","type":"execute","name":"execute_SendUEBEvent","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`'Failure in updating VNFC in AAI after terminate for '+$VNF.VM[$i].VNFC`\"/>\n<parameter name='output.status.message' value=\"`'Failure in updating VNFC in AAI after terminate for '+$VNF.VM[$i].VNFC`\"/>\n","comments":"","outputs":1,"x":3694.8888397216797,"y":933.1111755371094,"z":"214d83f7.3c518c","wires":[["d9ca4a14.fc8388"]]},{"id":"92ed3d58.93848","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":3849.8888397216797,"y":769.1111755371094,"z":"214d83f7.3c518c","wires":[[]]},{"id":"d9ca4a14.fc8388","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":3873.8888397216797,"y":930.1111755371094,"z":"214d83f7.3c518c","wires":[[]]},{"id":"a26d7ad7.fc3678","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2873.8888397216797,"y":1074.1111755371094,"z":"214d83f7.3c518c","wires":[["51877c7e.0ed344","63fbb548.bd5b9c"]]},{"id":"63fbb548.bd5b9c","type":"execute","name":"execute_SendUEBEvent","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`'Failure in deleting from AAI after terminate for'+ $VNF.VM[$i].VNFC`\"/>\n<parameter name='output.status.message' value=\"`'Failure in deleting from AAI after terminate for'+ $VNF.VM[$i].VNFC`\"/>\n\n","comments":"","outputs":1,"x":3098.8888397216797,"y":1018.1111755371094,"z":"214d83f7.3c518c","wires":[["fc4ad188.46539"]]},{"id":"fc4ad188.46539","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":3286.8888397216797,"y":1022.1111755371094,"z":"214d83f7.3c518c","wires":[[]]},{"id":"d40d4181.f4c28","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1852.6666717529297,"y":1032,"z":"214d83f7.3c518c","wires":[["7a853c33.9204b4"]]},{"id":"e3a51c64.b39b9","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1841.6666717529297,"y":1102,"z":"214d83f7.3c518c","wires":[["bffd5141.6c547"]]},{"id":"7b636d61.d0b554","type":"block","name":"block","xml":"<block atomic='true'>\n","atomic":"false","comments":"","outputs":1,"x":1519.6666717529297,"y":979,"z":"214d83f7.3c518c","wires":[["7099d9d3.ce2a88"]]},{"id":"72adec34.6cebc4","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1265.6666717529297,"y":80,"z":"214d83f7.3c518c","wires":[["7af3024a.0c77ec"]]},{"id":"6b7368e3.64b308","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1554.6666717529297,"y":1555,"z":"214d83f7.3c518c","wires":[["a9d9b6a5.ff7028"]]},{"id":"621d1ea9.529a","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1356.6665954589844,"y":1548,"z":"214d83f7.3c518c","wires":[["4a03d8fe.d47068"]]},{"id":"e36fc9a0.8f4758","type":"switchNode","name":"switch","xml":"<switch test='`$TERMINATE_STATUS`'>\n","comments":"","outputs":1,"x":867.6666717529297,"y":1607,"z":"214d83f7.3c518c","wires":[["d112b421.f478c8","dd33deb1.aac3a","be14d688.32f998"]]},{"id":"be14d688.32f998","type":"other","name":"outcome_Stack_NOT_FOUND","xml":"<outcome value='STACK_NOT_FOUND'>\n","comments":"","outputs":1,"x":1118.6666717529297,"y":1657,"z":"214d83f7.3c518c","wires":[["54e72492.4b6c5c"]]},{"id":"d112b421.f478c8","type":"success","name":"outcome_SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":1101.6666717529297,"y":1551,"z":"214d83f7.3c518c","wires":[["30776976.0fc246"]]},{"id":"dd33deb1.aac3a","type":"other","name":"outcome_ERROR","xml":"<outcome value='ERROR'>\n","comments":"","outputs":1,"x":1099.6666717529297,"y":1599,"z":"214d83f7.3c518c","wires":[["f1cff1ca.4f3fa"]]},{"id":"4e395d8c.0e8654","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":1690.6666717529297,"y":1305,"z":"214d83f7.3c518c","wires":[]},{"id":"6876f9ee.88d068","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":2671.6664276123047,"y":1110.000244140625,"z":"214d83f7.3c518c","wires":[]},{"id":"43a0f845.a872c8","type":"execute","name":"execute_Update_AA&I","xml":"<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='postResource'>\n<parameter name=\"resourceType\" value=\"vnfc\" />\n<parameter name=\"prefix\" value=\"vnfc\" />\n<parameter name=\"resourceKey\" value='vnfc-name = $VNF.VM[$i].VNFC' />\n<parameter name=\"attributeName\" value=\"orchestration-status\" />\n<parameter name=\"attributeValue\" value=\"ERROR\" />\n","comments":"","outputs":1,"x":1340.6666717529297,"y":2128,"z":"214d83f7.3c518c","wires":[["3294635e.27511c","b1093d6.01027c"]]},{"id":"b1093d6.01027c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1539.6666717529297,"y":2107,"z":"214d83f7.3c518c","wires":[["8dd7506b.ff07f"]]},{"id":"3294635e.27511c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1536.6666717529297,"y":2152,"z":"214d83f7.3c518c","wires":[["33c89bc.80ab564"]]},{"id":"33c89bc.80ab564","type":"switchNode","name":"switch","xml":"<switch test='`$postResource_result`'>\n","comments":"","outputs":1,"x":1671.6666717529297,"y":2156,"z":"214d83f7.3c518c","wires":[["4c727a1.c013684","c7169490.8b0688","555157fd.482568"]]},{"id":"4c727a1.c013684","type":"outcome","name":"FAILURE","xml":"<outcome value='FAILURE'>\n","comments":"","outputs":1,"x":1824.6665496826172,"y":2175.000244140625,"z":"214d83f7.3c518c","wires":[[]]},{"id":"c7169490.8b0688","type":"outcome","name":"NOT_FOUND","xml":"<outcome value='NOT_FOUND'>\n","comments":"","outputs":1,"x":1836.6666717529297,"y":2157,"z":"214d83f7.3c518c","wires":[[]]},{"id":"555157fd.482568","type":"outcome","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":1815.6666717529297,"y":2128,"z":"214d83f7.3c518c","wires":[[]]},{"id":"54e72492.4b6c5c","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":899.6666717529297,"y":1925,"z":"214d83f7.3c518c","wires":[["402e577a.9942b8","1e80e12b.08e96f"]]},{"id":"402e577a.9942b8","type":"for","name":"for_each_VMs","xml":"<for index=\"i\" start=\"0\" end=\"`$VNF.VMCount`\" >","comments":"","outputs":1,"x":1246.6666717529297,"y":1987.666748046875,"z":"214d83f7.3c518c","wires":[["f67c30dc.e3327"]]},{"id":"f67c30dc.e3327","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1310.6666717529297,"y":2053,"z":"214d83f7.3c518c","wires":[["43a0f845.a872c8"]]},{"id":"8dd7506b.ff07f","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1996.6666717529297,"y":2103,"z":"214d83f7.3c518c","wires":[["5519adf3.6b21c4","62c19bb2.6e4ff4"]]},{"id":"62c19bb2.6e4ff4","type":"execute","name":"execute_SendUEBEvent","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`'Failure in updatig Error in AAI for '+$VNF.VM[$i].VNFC`\"/>\n<parameter name='output.status.message' value=\"`'Failure in updatig Error in AAI for '+$VNF.VM[$i].VNFC`\"/>\n\n\n","comments":"","outputs":1,"x":2190.6666717529297,"y":2040,"z":"214d83f7.3c518c","wires":[["b88c942f.647928"]]},{"id":"b88c942f.647928","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2394.6666717529297,"y":2041,"z":"214d83f7.3c518c","wires":[[]]},{"id":"5519adf3.6b21c4","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":2161.6666717529297,"y":2163,"z":"214d83f7.3c518c","wires":[]},{"id":"f0ec0e5b.68c6","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2249.6666717529297,"y":973,"z":"214d83f7.3c518c","wires":[["a8c9d533.157048"]]},{"id":"1e80e12b.08e96f","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1205.6666717529297,"y":2241,"z":"214d83f7.3c518c","wires":[["b275796.53f2988","4c597638.4430e8"]]},{"id":"4c597638.4430e8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":1437.666732788086,"y":2285,"z":"214d83f7.3c518c","wires":[]},{"id":"b275796.53f2988","type":"execute","name":"execute_SendUEBEvent","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`'Stack not found with id: '+$VNF.heat-stack-id`\"/>\n<parameter name='output.status.message' value=\"`'Stack not found with id: '+$VNF.heat-stack-id`\"/>\n","comments":"","outputs":1,"x":1477.666732788086,"y":2228,"z":"214d83f7.3c518c","wires":[["6f875274.e7da5c"]]},{"id":"6f875274.e7da5c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1698.6666717529297,"y":2224,"z":"214d83f7.3c518c","wires":[[]]},{"id":"82d02640.710dc8","type":"update","name":"update","xml":"<update resource='SQL' force='true' plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' key=\"UPDATE UPLOAD_CONFIG SET PENDING_DELETE='Y' where VNF_ID = $input.action-identifiers.vnf-id\">","comments":"","outputs":1,"x":487.4444274902344,"y":1245.8418579101562,"z":"214d83f7.3c518c","wires":[["f2a83f28.727f8","e85986a4.fe52f8"]]},{"id":"e85986a4.fe52f8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":651.0158538818359,"y":1183.6987915039062,"z":"214d83f7.3c518c","wires":[["1dbbd253.259b4e"]]},{"id":"f2a83f28.727f8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":645.7062225341797,"y":1290.1268920898438,"z":"214d83f7.3c518c","wires":[["5cfca817.a09e08"]]},{"id":"1dbbd253.259b4e","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":820.4444427490234,"y":1184.8577270507812,"z":"214d83f7.3c518c","wires":[["5cfca817.a09e08","eb213ae1.5247d8"]]},{"id":"5cfca817.a09e08","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n","comments":"","x":907.3729934692383,"y":1289.9843034744263,"z":"214d83f7.3c518c","wires":[]},{"id":"d95314ce.20c6c8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1021.047607421875,"y":1196.7144775390625,"z":"214d83f7.3c518c","wires":[[]]},{"id":"eb213ae1.5247d8","type":"execute","name":"execute_SendUEBEvent","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`'SQL Exception : Unable to execute Update query for  '+$input.action-identifiers.vnf-id`\"/>\n<parameter name='output.status.message' value=\"`'SQL Exception : Unable to execute Update query for  '+$input.action-identifiers.vnf-id`\"/>\n","comments":"","outputs":1,"x":980.2959442138672,"y":1123.273681640625,"z":"214d83f7.3c518c","wires":[["d95314ce.20c6c8"]]},{"id":"8842ebb3.34ae88","type":"execute","name":"execute: flatAndAddToContext","xml":"<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />","comments":"","outputs":1,"x":364.33331298828125,"y":322.8888854980469,"z":"214d83f7.3c518c","wires":[["78b42273.8539ac","20f2de7b.a00212","45f44361.d41d9c"]]},{"id":"78b42273.8539ac","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":592.3333435058594,"y":365.88885498046875,"z":"214d83f7.3c518c","wires":[["c5b3ed4c.7a51e"]]},{"id":"73d772ff.d3cd6c","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />","comments":"","x":486.99999618530273,"y":651.6666946411133,"z":"214d83f7.3c518c","wires":[]},{"id":"40aa2873.9839d8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":275.6667175292969,"y":577.1429710388184,"z":"214d83f7.3c518c","wires":[["73d772ff.d3cd6c","7bb5a0a6.e48e1"]]},{"id":"7bb5a0a6.e48e1","type":"execute","name":"Report_Error_Flattening_Payload_Json","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />","comments":"","outputs":1,"x":564.5714111328125,"y":504.5238914489746,"z":"214d83f7.3c518c","wires":[["6772c7b9.c47d68"]]},{"id":"6772c7b9.c47d68","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":649.8572235107422,"y":575.9524984359741,"z":"214d83f7.3c518c","wires":[[]]},{"id":"20f2de7b.a00212","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":100,"y":578.6666679382324,"z":"214d83f7.3c518c","wires":[["40aa2873.9839d8"]]},{"id":"d0048652.b34e78","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in loading Json flattening plugin\" />","comments":"","x":494,"y":874.666690826416,"z":"214d83f7.3c518c","wires":[]},{"id":"1b04dee7.d382d1","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":282.66672134399414,"y":800.1429672241211,"z":"214d83f7.3c518c","wires":[["d0048652.b34e78","1bd902de.9423ad"]]},{"id":"1bd902de.9423ad","type":"execute","name":"Report_Error_Loading_Json_Flattening_Plugin","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure in loading Json flattening plugin\" />","comments":"","outputs":1,"x":571.5714149475098,"y":727.5238876342773,"z":"214d83f7.3c518c","wires":[["f2afc01e.a912c"]]},{"id":"f2afc01e.a912c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":656.8572273254395,"y":798.9524946212769,"z":"214d83f7.3c518c","wires":[[]]},{"id":"45f44361.d41d9c","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":107,"y":798.6666679382324,"z":"214d83f7.3c518c","wires":[["1b04dee7.d382d1"]]},{"id":"30776976.0fc246","type":"execute","name":"Report_Success_in_Terminate","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='reportSuccess' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"TERMINATE event executed successfully\" />","comments":"","outputs":1,"x":1212.6666259765625,"y":1419.0000610351562,"z":"214d83f7.3c518c","wires":[["8e5bf1b1.4b98e","3651cf1b.ebe7d"]]},{"id":"8e5bf1b1.4b98e","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1283.6666564941406,"y":1486.6666641235352,"z":"214d83f7.3c518c","wires":[["621d1ea9.529a"]]},{"id":"3651cf1b.ebe7d","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1480.6665954589844,"y":1416.6666870117188,"z":"214d83f7.3c518c","wires":[[]]}]