summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaka <tc012c@att.com>2017-12-22 13:13:53 -0500
committerTaka <tc012c@att.com>2017-12-22 13:14:50 -0500
commit2b281254999abce8c6e905d8b26627f25f0eff2e (patch)
tree00fd7ac4c7f568c7a7a0d5de21785c4e7cc4fdee
parentf2614e766147fd345058f137852eeaf892181fc1 (diff)
Platform Hardening for DG Json files - Part 2
Change-Id: Ia11df00de6f114ab63200efaaeff3a2b22a17b83 Issue-ID: APPC-305 Signed-off-by: Taka <tc012c@att.com>
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_StopVM_VM_2.0.0.json670
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VM_2.0.0.json1254
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VNFC_2.0.2.json1278
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VNF_2.0.1.json2877
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VNF_2.0.2.json2823
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_FIREWALL_Configure_2.0.0.json128
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_Generic_Audit_2.0.0.json3186
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_Generic_Stop_2.0.0.json760
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_Generic_Sync_2.0.0.json2986
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_Generic_Terminate_2.0.0.json1503
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_Generic_Terminate_2.0.1.json1833
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_GetRunningConfig_2.0.0.json1125
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_SWITCH_Restart_2.0.0.json128
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_VSBG_Test_2.0.0.0.json276
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_VSBG_Test_2.0.0.1.json319
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_VSRX_ConfigModify_2.0.0.json724
16 files changed, 14269 insertions, 7601 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_StopVM_VM_2.0.0.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_StopVM_VM_2.0.0.json
index b47c06d6f..dbba49a90 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_StopVM_VM_2.0.0.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_StopVM_VM_2.0.0.json
@@ -1 +1,669 @@
-[{"id":"1cef050a.1dfbcb","type":"dgstart","name":"DGSTART","outputs":1,"x":141.515625,"y":164.4333267211914,"z":"a6b16db5.af508","wires":[["a9d8f072.10cbd"]]},{"id":"a9d8f072.10cbd","type":"service-logic","name":"APPC 2.0.0","module":"APPC","version":"2.0.0","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.0'>","outputs":1,"x":318.5157165527344,"y":164,"z":"a6b16db5.af508","wires":[["46c68f6c.01837"]]},{"id":"46c68f6c.01837","type":"method","name":"StopVM_VM","xml":"<method rpc='StopVM_VM' mode='sync'>\n","comments":"","outputs":1,"x":260.97997665405273,"y":255.8214054107666,"z":"a6b16db5.af508","wires":[["fd5f6afc.5b61a8"]]},{"id":"ed427ea8.f19f5","type":"execute","name":"Stop","xml":"<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='stopServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$stop-vm-url`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$AICIdentity`\" />\n","comments":"","outputs":1,"x":1105.3989791870117,"y":605.2190837860107,"z":"a6b16db5.af508","wires":[["b5b4b5a6.7469d8","d5e5239f.dcc79"]]},{"id":"b5b4b5a6.7469d8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1226.303726196289,"y":770.7907104492188,"z":"a6b16db5.af508","wires":[["ed170974.4288c8"]]},{"id":"d5e5239f.dcc79","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1261.5160751342773,"y":572.1476917266846,"z":"a6b16db5.af508","wires":[["249fafc6.75699"]]},{"id":"a3ddab0f.be74c8","type":"block","name":"block","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1904.9443244934082,"y":761.433759689331,"z":"a6b16db5.af508","wires":[["dbdf325c.08025","f2981778.0beac8","e1c0fbcb.5e70d8"]]},{"id":"dbdf325c.08025","type":"set","name":"Set error message","xml":"<set>\n<parameter name='event-message' value=\"`'Failure while stopping the server: ' + $stop-vm-url`\"/>\n","comments":"","x":2087.516101837158,"y":722.1479930877686,"z":"a6b16db5.af508","wires":[]},{"id":"f2981778.0beac8","type":"record","name":"Log error","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$event-message`\"/>\n","comments":"","outputs":1,"x":2079.945056915283,"y":762.3383617401123,"z":"a6b16db5.af508","wires":[[]]},{"id":"44750395.80221c","type":"set","name":"Set Success Message","xml":"<set>\n<parameter name='success-message' value=\"`'Stop succeeded for the server : ' + $stop-vm-url`\"/>\n\n\n","comments":"","x":1916.2298202514648,"y":403.2907085418701,"z":"a6b16db5.af508","wires":[]},{"id":"5c22eb96.f3da94","type":"record","name":"Log message","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$success-message`\"/>\n","comments":"","outputs":1,"x":1906.0870056152344,"y":454.86212062835693,"z":"a6b16db5.af508","wires":[[]]},{"id":"64459e63.09ed5","type":"switchNode","name":"switch:Last Attempt","xml":"<switch test='`$stopRetryCount == $retryIndex`'>\n","comments":"","outputs":1,"x":1554.9280242919922,"y":767.0052223205566,"z":"a6b16db5.af508","wires":[["76293fdb.a702e","c9e6ef87.507db"]]},{"id":"c9e6ef87.507db","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1763.8207893371582,"y":759.3266429901123,"z":"a6b16db5.af508","wires":[["a3ddab0f.be74c8"]]},{"id":"76293fdb.a702e","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1749.1777744293213,"y":872.0405941009521,"z":"a6b16db5.af508","wires":[["ebef8c77.3f0be"]]},{"id":"2b09b8ff.3e3148","type":"for","name":"Loop","xml":"<for index=\"retryIndex\" start=\"1\" end=\"`$stopRetryCount + 1`\" >","comments":"","outputs":1,"x":614.6270370483398,"y":610.1476726531982,"z":"a6b16db5.af508","wires":[["9f75fd7d.6a168"]]},{"id":"ebef8c77.3f0be","type":"record","name":"Log error","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Stop attempt ' + $retryIndex + ' of ' + $stopRetryCount + ' failed for server : ' + $stop-vm-url + '. Retrying.'`\"/>\n","comments":"","outputs":1,"x":1992.2613925933838,"y":870.2905941009521,"z":"a6b16db5.af508","wires":[[]]},{"id":"e1c0fbcb.5e70d8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":2095.960437774658,"y":811.5766429901123,"z":"a6b16db5.af508","wires":[]},{"id":"ab4f157e.b95da8","type":"returnSuccess","name":"return success","xml":"<return status='success'>","comments":"","x":1914.3252487182617,"y":579.4334754943848,"z":"a6b16db5.af508","wires":[]},{"id":"249fafc6.75699","type":"switchNode","name":"switch STATUS","xml":"<switch test='`$STOP_STATUS`'>\n","comments":"","outputs":1,"x":1422.3092880249023,"y":573.7031383514404,"z":"a6b16db5.af508","wires":[["bfaa23ff.9722f","6d690331.49ee2c","335e834f.a28b2c"]]},{"id":"bfaa23ff.9722f","type":"other","name":"ERROR","xml":"<outcome value='ERROR'>\n","comments":"","outputs":1,"x":1503.8330841064453,"y":659.6078596115112,"z":"a6b16db5.af508","wires":[["ed170974.4288c8"]]},{"id":"6d690331.49ee2c","type":"success","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":1669.2617568969727,"y":542.6078939437866,"z":"a6b16db5.af508","wires":[["85005452.136278"]]},{"id":"ed170974.4288c8","type":"block","name":"block","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1387.2457962036133,"y":767.8937721252441,"z":"a6b16db5.af508","wires":[["64459e63.09ed5"]]},{"id":"fd5f6afc.5b61a8","type":"switchNode","name":"switch STATUS","xml":"<switch test='`$STOP_STATUS`'>\n","comments":"","outputs":1,"x":238.10294723510742,"y":523.8015937805176,"z":"a6b16db5.af508","wires":[["517f7561.af124c","15485fed.56523","ddbde736.0b20d8","4810dc09.1ec194"]]},{"id":"15485fed.56523","type":"other","name":"ERROR","xml":"<outcome value='ERROR'>\n","comments":"","outputs":1,"x":412.3886528015137,"y":588.087329864502,"z":"a6b16db5.af508","wires":[["8f66cbff.7a29e8"]]},{"id":"517f7561.af124c","type":"success","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":407.8174858093262,"y":461.08732986450195,"z":"a6b16db5.af508","wires":[["8f66cbff.7a29e8"]]},{"id":"ddbde736.0b20d8","type":"other","name":"CONTEXT_NOT_FOUND","xml":"<outcome value='CONTEXT_NOT_FOUND'>\n","comments":"","outputs":1,"x":419.53152084350586,"y":676.6587200164795,"z":"a6b16db5.af508","wires":[["b496c2e5.7e0b7"]]},{"id":"335e834f.a28b2c","type":"other","name":"CONTEXT_NOT_FOUND","xml":"<outcome value='CONTEXT_NOT_FOUND'>\n","comments":"","outputs":1,"x":1725.245979309082,"y":622.3729629516602,"z":"a6b16db5.af508","wires":[["a3ddab0f.be74c8"]]},{"id":"784c3e4a.5134e","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":499.5314750671387,"y":878.0872135162354,"z":"a6b16db5.af508","wires":[]},{"id":"b496c2e5.7e0b7","type":"block","name":"block","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":275.2457695007324,"y":826.658694267273,"z":"a6b16db5.af508","wires":[["784c3e4a.5134e","34ff62bb.1ea1ce","c3ad6392.97ef"]]},{"id":"4810dc09.1ec194","type":"success","name":"EMPTY","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":408.1029472351074,"y":520.9444465637207,"z":"a6b16db5.af508","wires":[["8f66cbff.7a29e8"]]},{"id":"34ff62bb.1ea1ce","type":"set","name":"Set error message","xml":"<set>\n<parameter name='event-message' value=\"Invalid AICIdentity or tenant or credentials\"/>\n","comments":"","x":523.8172416687012,"y":782.3729972839355,"z":"a6b16db5.af508","wires":[]},{"id":"c3ad6392.97ef","type":"record","name":"Log error","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$event-message`\"/>\n","comments":"","outputs":1,"x":506.24620056152344,"y":823.9919185638428,"z":"a6b16db5.af508","wires":[[]]},{"id":"8f66cbff.7a29e8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":616.6743812561035,"y":516.6587257385254,"z":"a6b16db5.af508","wires":[["614e98a0.740898","2b09b8ff.3e3148","630a1e7d.61b31"]]},{"id":"614e98a0.740898","type":"switchNode","name":"switch : stopRetryCount >= 0","xml":"<switch test='`$stopRetryCount >= 0`'>\n","comments":"","outputs":1,"x":886.6744194030762,"y":448.08729553222656,"z":"a6b16db5.af508","wires":[["1f5b5e63.c28f42","e7474230.d8845"]]},{"id":"1f5b5e63.c28f42","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1103.817211151123,"y":406.65876388549805,"z":"a6b16db5.af508","wires":[["e793bc34.ec31a"]]},{"id":"e7474230.d8845","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1110.9600982666016,"y":483.80166721343994,"z":"a6b16db5.af508","wires":[["af7b47ca.fc8588"]]},{"id":"af7b47ca.fc8588","type":"set","name":"increment stopRetryCount","xml":"<set>\n<parameter name=\"stopRetryCount\" value=\"`$stopRetryCount + 1`\" />\n","comments":"","x":1293.817195892334,"y":482.37305450439453,"z":"a6b16db5.af508","wires":[]},{"id":"e793bc34.ec31a","type":"set","name":"set stopRetryCount","xml":"<set>\n<parameter name='stopRetryCount' value='1' />\n","comments":"","x":1275.2457847595215,"y":405.2301845550537,"z":"a6b16db5.af508","wires":[]},{"id":"85005452.136278","type":"block","name":"block","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1691.515609741211,"y":450.1476058959961,"z":"a6b16db5.af508","wires":[["44750395.80221c","5c22eb96.f3da94","ab4f157e.b95da8","40c219cc.406928"]]},{"id":"630a1e7d.61b31","type":"set","name":"initialize exitLoop","xml":"<set>\n<parameter name='exitLoop' value='false' />\n","comments":"","x":851.5155944824219,"y":340.14762115478516,"z":"a6b16db5.af508","wires":[]},{"id":"40c219cc.406928","type":"set","name":"set exitLoop","xml":"<set>\n<parameter name='exitLoop' value='true' />\n","comments":"","x":1921.5157165527344,"y":514.4333572387695,"z":"a6b16db5.af508","wires":[]},{"id":"9f75fd7d.6a168","type":"switchNode","name":"switch exitLoop","xml":"<switch test='`$exitLoop`'>\n","comments":"","outputs":1,"x":781.5155944824219,"y":608.7190322875977,"z":"a6b16db5.af508","wires":[["e7b114e6.a3f9c8","91b0004b.02402"]]},{"id":"e7b114e6.a3f9c8","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":950.0869522094727,"y":610.1476383209229,"z":"a6b16db5.af508","wires":[["ed427ea8.f19f5"]]},{"id":"91b0004b.02402","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":947.2299499511719,"y":675.861946105957,"z":"a6b16db5.af508","wires":[[]]}]
+[
+ {
+ "id": "1cef050a.1dfbcb",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 141.515625,
+ "y": 164.4333267211914,
+ "z": "a6b16db5.af508",
+ "wires": [
+ [
+ "a9d8f072.10cbd"
+ ]
+ ]
+ },
+ {
+ "id": "a9d8f072.10cbd",
+ "type": "service-logic",
+ "name": "APPC 2.0.0",
+ "module": "APPC",
+ "version": "2.0.0",
+ "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.0'>",
+ "outputs": 1,
+ "x": 318.5157165527344,
+ "y": 164,
+ "z": "a6b16db5.af508",
+ "wires": [
+ [
+ "46c68f6c.01837"
+ ]
+ ]
+ },
+ {
+ "id": "46c68f6c.01837",
+ "type": "method",
+ "name": "StopVM_VM",
+ "xml": "<method rpc='StopVM_VM' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 260.97997665405273,
+ "y": 255.8214054107666,
+ "z": "a6b16db5.af508",
+ "wires": [
+ [
+ "fd5f6afc.5b61a8"
+ ]
+ ]
+ },
+ {
+ "id": "ed427ea8.f19f5",
+ "type": "execute",
+ "name": "Stop",
+ "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='stopServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$stop-vm-url`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$AICIdentity`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1105.3989791870117,
+ "y": 605.2190837860107,
+ "z": "a6b16db5.af508",
+ "wires": [
+ [
+ "b5b4b5a6.7469d8",
+ "d5e5239f.dcc79"
+ ]
+ ]
+ },
+ {
+ "id": "b5b4b5a6.7469d8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1226.303726196289,
+ "y": 770.7907104492188,
+ "z": "a6b16db5.af508",
+ "wires": [
+ [
+ "ed170974.4288c8"
+ ]
+ ]
+ },
+ {
+ "id": "d5e5239f.dcc79",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1261.5160751342773,
+ "y": 572.1476917266846,
+ "z": "a6b16db5.af508",
+ "wires": [
+ [
+ "249fafc6.75699"
+ ]
+ ]
+ },
+ {
+ "id": "a3ddab0f.be74c8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1904.9443244934082,
+ "y": 761.433759689331,
+ "z": "a6b16db5.af508",
+ "wires": [
+ [
+ "dbdf325c.08025",
+ "f2981778.0beac8",
+ "e1c0fbcb.5e70d8"
+ ]
+ ]
+ },
+ {
+ "id": "dbdf325c.08025",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='event-message' value=\"`'Failure while stopping the server: ' + $stop-vm-url`\"/>\n",
+ "comments": "",
+ "x": 2087.516101837158,
+ "y": 722.1479930877686,
+ "z": "a6b16db5.af508",
+ "wires": []
+ },
+ {
+ "id": "f2981778.0beac8",
+ "type": "record",
+ "name": "Log error",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$event-message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2079.945056915283,
+ "y": 762.3383617401123,
+ "z": "a6b16db5.af508",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "44750395.80221c",
+ "type": "set",
+ "name": "Set Success Message",
+ "xml": "<set>\n<parameter name='success-message' value=\"`'Stop succeeded for the server : ' + $stop-vm-url`\"/>\n\n\n",
+ "comments": "",
+ "x": 1916.2298202514648,
+ "y": 403.2907085418701,
+ "z": "a6b16db5.af508",
+ "wires": []
+ },
+ {
+ "id": "5c22eb96.f3da94",
+ "type": "record",
+ "name": "Log message",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$success-message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1906.0870056152344,
+ "y": 454.86212062835693,
+ "z": "a6b16db5.af508",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "64459e63.09ed5",
+ "type": "switchNode",
+ "name": "switch:Last Attempt",
+ "xml": "<switch test='`$stopRetryCount == $retryIndex`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1554.9280242919922,
+ "y": 767.0052223205566,
+ "z": "a6b16db5.af508",
+ "wires": [
+ [
+ "76293fdb.a702e",
+ "c9e6ef87.507db"
+ ]
+ ]
+ },
+ {
+ "id": "c9e6ef87.507db",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1763.8207893371582,
+ "y": 759.3266429901123,
+ "z": "a6b16db5.af508",
+ "wires": [
+ [
+ "a3ddab0f.be74c8"
+ ]
+ ]
+ },
+ {
+ "id": "76293fdb.a702e",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1749.1777744293213,
+ "y": 872.0405941009521,
+ "z": "a6b16db5.af508",
+ "wires": [
+ [
+ "ebef8c77.3f0be"
+ ]
+ ]
+ },
+ {
+ "id": "2b09b8ff.3e3148",
+ "type": "for",
+ "name": "Loop",
+ "xml": "<for index=\"retryIndex\" start=\"1\" end=\"`$stopRetryCount + 1`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 614.6270370483398,
+ "y": 610.1476726531982,
+ "z": "a6b16db5.af508",
+ "wires": [
+ [
+ "9f75fd7d.6a168"
+ ]
+ ]
+ },
+ {
+ "id": "ebef8c77.3f0be",
+ "type": "record",
+ "name": "Log error",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Stop attempt ' + $retryIndex + ' of ' + $stopRetryCount + ' failed for server : ' + $stop-vm-url + '. Retrying.'`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1992.2613925933838,
+ "y": 870.2905941009521,
+ "z": "a6b16db5.af508",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e1c0fbcb.5e70d8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 2095.960437774658,
+ "y": 811.5766429901123,
+ "z": "a6b16db5.af508",
+ "wires": []
+ },
+ {
+ "id": "ab4f157e.b95da8",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>",
+ "comments": "",
+ "x": 1914.3252487182617,
+ "y": 579.4334754943848,
+ "z": "a6b16db5.af508",
+ "wires": []
+ },
+ {
+ "id": "249fafc6.75699",
+ "type": "switchNode",
+ "name": "switch STATUS",
+ "xml": "<switch test='`$STOP_STATUS`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1422.3092880249023,
+ "y": 573.7031383514404,
+ "z": "a6b16db5.af508",
+ "wires": [
+ [
+ "bfaa23ff.9722f",
+ "6d690331.49ee2c",
+ "335e834f.a28b2c"
+ ]
+ ]
+ },
+ {
+ "id": "bfaa23ff.9722f",
+ "type": "other",
+ "name": "ERROR",
+ "xml": "<outcome value='ERROR'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1503.8330841064453,
+ "y": 659.6078596115112,
+ "z": "a6b16db5.af508",
+ "wires": [
+ [
+ "ed170974.4288c8"
+ ]
+ ]
+ },
+ {
+ "id": "6d690331.49ee2c",
+ "type": "success",
+ "name": "SUCCESS",
+ "xml": "<outcome value='SUCCESS'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1669.2617568969727,
+ "y": 542.6078939437866,
+ "z": "a6b16db5.af508",
+ "wires": [
+ [
+ "85005452.136278"
+ ]
+ ]
+ },
+ {
+ "id": "ed170974.4288c8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1387.2457962036133,
+ "y": 767.8937721252441,
+ "z": "a6b16db5.af508",
+ "wires": [
+ [
+ "64459e63.09ed5"
+ ]
+ ]
+ },
+ {
+ "id": "fd5f6afc.5b61a8",
+ "type": "switchNode",
+ "name": "switch STATUS",
+ "xml": "<switch test='`$STOP_STATUS`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 238.10294723510742,
+ "y": 523.8015937805176,
+ "z": "a6b16db5.af508",
+ "wires": [
+ [
+ "517f7561.af124c",
+ "15485fed.56523",
+ "ddbde736.0b20d8",
+ "4810dc09.1ec194"
+ ]
+ ]
+ },
+ {
+ "id": "15485fed.56523",
+ "type": "other",
+ "name": "ERROR",
+ "xml": "<outcome value='ERROR'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 412.3886528015137,
+ "y": 588.087329864502,
+ "z": "a6b16db5.af508",
+ "wires": [
+ [
+ "8f66cbff.7a29e8"
+ ]
+ ]
+ },
+ {
+ "id": "517f7561.af124c",
+ "type": "success",
+ "name": "SUCCESS",
+ "xml": "<outcome value='SUCCESS'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 407.8174858093262,
+ "y": 461.08732986450195,
+ "z": "a6b16db5.af508",
+ "wires": [
+ [
+ "8f66cbff.7a29e8"
+ ]
+ ]
+ },
+ {
+ "id": "ddbde736.0b20d8",
+ "type": "other",
+ "name": "CONTEXT_NOT_FOUND",
+ "xml": "<outcome value='CONTEXT_NOT_FOUND'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 419.53152084350586,
+ "y": 676.6587200164795,
+ "z": "a6b16db5.af508",
+ "wires": [
+ [
+ "b496c2e5.7e0b7"
+ ]
+ ]
+ },
+ {
+ "id": "335e834f.a28b2c",
+ "type": "other",
+ "name": "CONTEXT_NOT_FOUND",
+ "xml": "<outcome value='CONTEXT_NOT_FOUND'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1725.245979309082,
+ "y": 622.3729629516602,
+ "z": "a6b16db5.af508",
+ "wires": [
+ [
+ "a3ddab0f.be74c8"
+ ]
+ ]
+ },
+ {
+ "id": "784c3e4a.5134e",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 499.5314750671387,
+ "y": 878.0872135162354,
+ "z": "a6b16db5.af508",
+ "wires": []
+ },
+ {
+ "id": "b496c2e5.7e0b7",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 275.2457695007324,
+ "y": 826.658694267273,
+ "z": "a6b16db5.af508",
+ "wires": [
+ [
+ "784c3e4a.5134e",
+ "34ff62bb.1ea1ce",
+ "c3ad6392.97ef"
+ ]
+ ]
+ },
+ {
+ "id": "4810dc09.1ec194",
+ "type": "success",
+ "name": "EMPTY",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 408.1029472351074,
+ "y": 520.9444465637207,
+ "z": "a6b16db5.af508",
+ "wires": [
+ [
+ "8f66cbff.7a29e8"
+ ]
+ ]
+ },
+ {
+ "id": "34ff62bb.1ea1ce",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='event-message' value=\"Invalid AICIdentity or tenant or credentials\"/>\n",
+ "comments": "",
+ "x": 523.8172416687012,
+ "y": 782.3729972839355,
+ "z": "a6b16db5.af508",
+ "wires": []
+ },
+ {
+ "id": "c3ad6392.97ef",
+ "type": "record",
+ "name": "Log error",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$event-message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 506.24620056152344,
+ "y": 823.9919185638428,
+ "z": "a6b16db5.af508",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8f66cbff.7a29e8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 616.6743812561035,
+ "y": 516.6587257385254,
+ "z": "a6b16db5.af508",
+ "wires": [
+ [
+ "614e98a0.740898",
+ "2b09b8ff.3e3148",
+ "630a1e7d.61b31"
+ ]
+ ]
+ },
+ {
+ "id": "614e98a0.740898",
+ "type": "switchNode",
+ "name": "switch : stopRetryCount >= 0",
+ "xml": "<switch test='`$stopRetryCount >= 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 886.6744194030762,
+ "y": 448.08729553222656,
+ "z": "a6b16db5.af508",
+ "wires": [
+ [
+ "1f5b5e63.c28f42",
+ "e7474230.d8845"
+ ]
+ ]
+ },
+ {
+ "id": "1f5b5e63.c28f42",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1103.817211151123,
+ "y": 406.65876388549805,
+ "z": "a6b16db5.af508",
+ "wires": [
+ [
+ "e793bc34.ec31a"
+ ]
+ ]
+ },
+ {
+ "id": "e7474230.d8845",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1110.9600982666016,
+ "y": 483.80166721343994,
+ "z": "a6b16db5.af508",
+ "wires": [
+ [
+ "af7b47ca.fc8588"
+ ]
+ ]
+ },
+ {
+ "id": "af7b47ca.fc8588",
+ "type": "set",
+ "name": "increment stopRetryCount",
+ "xml": "<set>\n<parameter name=\"stopRetryCount\" value=\"`$stopRetryCount + 1`\" />\n",
+ "comments": "",
+ "x": 1293.817195892334,
+ "y": 482.37305450439453,
+ "z": "a6b16db5.af508",
+ "wires": []
+ },
+ {
+ "id": "e793bc34.ec31a",
+ "type": "set",
+ "name": "set stopRetryCount",
+ "xml": "<set>\n<parameter name='stopRetryCount' value='1' />\n",
+ "comments": "",
+ "x": 1275.2457847595215,
+ "y": 405.2301845550537,
+ "z": "a6b16db5.af508",
+ "wires": []
+ },
+ {
+ "id": "85005452.136278",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1691.515609741211,
+ "y": 450.1476058959961,
+ "z": "a6b16db5.af508",
+ "wires": [
+ [
+ "44750395.80221c",
+ "5c22eb96.f3da94",
+ "ab4f157e.b95da8",
+ "40c219cc.406928"
+ ]
+ ]
+ },
+ {
+ "id": "630a1e7d.61b31",
+ "type": "set",
+ "name": "initialize exitLoop",
+ "xml": "<set>\n<parameter name='exitLoop' value='false' />\n",
+ "comments": "",
+ "x": 851.5155944824219,
+ "y": 340.14762115478516,
+ "z": "a6b16db5.af508",
+ "wires": []
+ },
+ {
+ "id": "40c219cc.406928",
+ "type": "set",
+ "name": "set exitLoop",
+ "xml": "<set>\n<parameter name='exitLoop' value='true' />\n",
+ "comments": "",
+ "x": 1921.5157165527344,
+ "y": 514.4333572387695,
+ "z": "a6b16db5.af508",
+ "wires": []
+ },
+ {
+ "id": "9f75fd7d.6a168",
+ "type": "switchNode",
+ "name": "switch exitLoop",
+ "xml": "<switch test='`$exitLoop`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 781.5155944824219,
+ "y": 608.7190322875977,
+ "z": "a6b16db5.af508",
+ "wires": [
+ [
+ "e7b114e6.a3f9c8",
+ "91b0004b.02402"
+ ]
+ ]
+ },
+ {
+ "id": "e7b114e6.a3f9c8",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 950.0869522094727,
+ "y": 610.1476383209229,
+ "z": "a6b16db5.af508",
+ "wires": [
+ [
+ "ed427ea8.f19f5"
+ ]
+ ]
+ },
+ {
+ "id": "91b0004b.02402",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 947.2299499511719,
+ "y": 675.861946105957,
+ "z": "a6b16db5.af508",
+ "wires": [
+ []
+ ]
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VM_2.0.0.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VM_2.0.0.json
index 872ee1be0..b6e30fab0 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VM_2.0.0.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VM_2.0.0.json
@@ -1,627 +1,627 @@
-[
- {
- "id": "4a37fdf2.6a2504",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 114,
- "y": 144,
- "z": "bff4e0f.991972",
- "wires": [
- [
- "24ca19d3.fe69f6"
- ]
- ]
- },
- {
- "id": "24ca19d3.fe69f6",
- "type": "service-logic",
- "name": "APPC 2.0.0",
- "module": "APPC",
- "version": "2.0.0",
- "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.0'>",
- "outputs": 1,
- "x": 261,
- "y": 144,
- "z": "bff4e0f.991972",
- "wires": [
- [
- "68e5e092.be1d4"
- ]
- ]
- },
- {
- "id": "68e5e092.be1d4",
- "type": "method",
- "name": "Stop_VM",
- "xml": "<method rpc='Stop_VM' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 413.5,
- "y": 144,
- "z": "bff4e0f.991972",
- "wires": [
- [
- "79ce376b.14ba38"
- ]
- ]
- },
- {
- "id": "546085a8.48136c",
- "type": "execute",
- "name": "Resolve Stop Application DG",
- "xml": "<execute plugin='org.onap.appc.dg.common.VNFCDgResolverPlugin' method='resolveVNFCDg'>\n<parameter name=\"vnfType\" value='`$vnf.type`' />\n<parameter name=\"vnfcType\" value='`$vnfcFlow[$i].vnfcType`' /> \n<parameter name=\"action\" value=\"Stop_Application\" />\n<parameter name=\"api-ver\" value='`$input.common-header.api-ver`' />\n<parameter name=\"prefix\" value='StopApplication' />",
- "comments": "",
- "outputs": 1,
- "x": 315.5,
- "y": 364,
- "z": "bff4e0f.991972",
- "wires": [
- [
- "af254db7.09d53",
- "27344cac.0eda34"
- ]
- ]
- },
- {
- "id": "af254db7.09d53",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 546,
- "y": 444,
- "z": "bff4e0f.991972",
- "wires": [
- [
- "b3421a0a.ab34d8"
- ]
- ]
- },
- {
- "id": "4a4711ec.83e88",
- "type": "call",
- "name": "Call Stop Application DG",
- "xml": "<call module='`$StopApplication.dg_module`' rpc='`$StopApplication.dg_name`' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 742,
- "y": 364,
- "z": "bff4e0f.991972",
- "wires": [
- [
- "5b84fc8a.59ac94",
- "c108322b.df0e7",
- "3efda8ab.632bf8"
- ]
- ]
- },
- {
- "id": "5b84fc8a.59ac94",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 990,
- "y": 364,
- "z": "bff4e0f.991972",
- "wires": [
- [
- "3c46d78d.4277c8"
- ]
- ]
- },
- {
- "id": "7892211.d99b2e",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1146,
- "y": 244,
- "z": "bff4e0f.991972",
- "wires": [
- [
- "b3421a0a.ab34d8",
- "2013c4a3.b2f33c",
- "f600a7ce.f7f418"
- ]
- ]
- },
- {
- "id": "b3421a0a.ab34d8",
- "type": "call",
- "name": "Call StopVM_VM",
- "xml": "<call module='APPC' rpc='StopVM_VM' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1398,
- "y": 444,
- "z": "bff4e0f.991972",
- "wires": [
- [
- "823575c7.9529b8",
- "403b9a.8f504468",
- "ff7db04.0cfe85"
- ]
- ]
- },
- {
- "id": "823575c7.9529b8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1646,
- "y": 304,
- "z": "bff4e0f.991972",
- "wires": [
- [
- "f628fc33.96856"
- ]
- ]
- },
- {
- "id": "403b9a.8f504468",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1650,
- "y": 444,
- "z": "bff4e0f.991972",
- "wires": [
- [
- "ea7f288e.c58648"
- ]
- ]
- },
- {
- "id": "27344cac.0eda34",
- "type": "other",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 546,
- "y": 364,
- "z": "bff4e0f.991972",
- "wires": [
- [
- "4a4711ec.83e88"
- ]
- ]
- },
- {
- "id": "c108322b.df0e7",
- "type": "other",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 986,
- "y": 244,
- "z": "bff4e0f.991972",
- "wires": [
- [
- "7892211.d99b2e"
- ]
- ]
- },
- {
- "id": "3efda8ab.632bf8",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 995,
- "y": 144,
- "z": "bff4e0f.991972",
- "wires": [
- [
- "191e02b6.f79f4d"
- ]
- ]
- },
- {
- "id": "191e02b6.f79f4d",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1806,
- "y": 144,
- "z": "bff4e0f.991972",
- "wires": [
- [
- "8812042b.ba9358",
- "f628fc33.96856"
- ]
- ]
- },
- {
- "id": "8812042b.ba9358",
- "type": "set",
- "name": "Set event message",
- "xml": "<set>\n<parameter name='event-message' value=\"`'Cannot find DG: ' + $StopApplication.dg_module + ' ' + $StopApplication.dg_name`\"/>\n\n\n",
- "comments": "",
- "x": 2085.5,
- "y": 144,
- "z": "bff4e0f.991972",
- "wires": []
- },
- {
- "id": "59b9a03e.8323b",
- "type": "set",
- "name": "init",
- "xml": "<set>\n<parameter name='StopApplicationFailed' value='false' />\n",
- "comments": "",
- "outputs": 1,
- "x": 246,
- "y": 244,
- "z": "bff4e0f.991972",
- "wires": [
- []
- ]
- },
- {
- "id": "79ce376b.14ba38",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 106,
- "y": 244,
- "z": "bff4e0f.991972",
- "wires": [
- [
- "59b9a03e.8323b",
- "546085a8.48136c"
- ]
- ]
- },
- {
- "id": "ea7f288e.c58648",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1806,
- "y": 444,
- "z": "bff4e0f.991972",
- "wires": [
- [
- "d59b6aa1.c91618",
- "b8335fae.52296"
- ]
- ]
- },
- {
- "id": "3c46d78d.4277c8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1146,
- "y": 364,
- "z": "bff4e0f.991972",
- "wires": [
- [
- "b3421a0a.ab34d8",
- "b8335fae.52296"
- ]
- ]
- },
- {
- "id": "2013c4a3.b2f33c",
- "type": "set",
- "name": "Set Stop Application Failed",
- "xml": "<set>\n<parameter name='StopApplicationFailed' value='true' />\n",
- "comments": "",
- "outputs": 1,
- "x": 1429.5,
- "y": 204,
- "z": "bff4e0f.991972",
- "wires": [
- []
- ]
- },
- {
- "id": "d59b6aa1.c91618",
- "type": "switchNode",
- "name": "Switch Stop Application Failed",
- "xml": "<switch test=\"`$StopApplicationFailed`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 2035.5,
- "y": 471,
- "z": "bff4e0f.991972",
- "wires": [
- [
- "b987da03.0dc0f8",
- "8fa7fbb8.8355c8"
- ]
- ]
- },
- {
- "id": "b987da03.0dc0f8",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2266,
- "y": 444,
- "z": "bff4e0f.991972",
- "wires": [
- [
- "98412d6e.2237"
- ]
- ]
- },
- {
- "id": "98412d6e.2237",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 2465,
- "y": 444,
- "z": "bff4e0f.991972",
- "wires": []
- },
- {
- "id": "fffd4e3c.8b204",
- "type": "returnSuccess",
- "name": "return success",
- "xml": "<return status='success'>\n",
- "comments": "",
- "x": 2471,
- "y": 504,
- "z": "bff4e0f.991972",
- "wires": []
- },
- {
- "id": "8fa7fbb8.8355c8",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2266,
- "y": 504,
- "z": "bff4e0f.991972",
- "wires": [
- [
- "fffd4e3c.8b204"
- ]
- ]
- },
- {
- "id": "ff7db04.0cfe85",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1655,
- "y": 204,
- "z": "bff4e0f.991972",
- "wires": [
- [
- "c640b015.2be11"
- ]
- ]
- },
- {
- "id": "1dffaf3f.e12151",
- "type": "execute",
- "name": "OutputMessageBuilder",
- "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"`$event-message`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2509,
- "y": 122,
- "z": "bff4e0f.991972",
- "wires": [
- []
- ]
- },
- {
- "id": "f628fc33.96856",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2046,
- "y": 304,
- "z": "bff4e0f.991972",
- "wires": [
- [
- "f600a7ce.f7f418",
- "cf5c9d26.942c4"
- ]
- ]
- },
- {
- "id": "c41ea253.33c72",
- "type": "set",
- "name": "Set event message",
- "xml": "<set>\n<parameter name='event-message' value=\"Cannot find DG: StopVM_VM\"/>\n\n\n",
- "comments": "",
- "x": 2085.5,
- "y": 204,
- "z": "bff4e0f.991972",
- "wires": []
- },
- {
- "id": "2186d059.4b82f",
- "type": "record",
- "name": "Log error",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$event-message`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2465,
- "y": 71,
- "z": "bff4e0f.991972",
- "wires": [
- []
- ]
- },
- {
- "id": "cf5c9d26.942c4",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 2465,
- "y": 304,
- "z": "bff4e0f.991972",
- "wires": []
- },
- {
- "id": "c640b015.2be11",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1806,
- "y": 204,
- "z": "bff4e0f.991972",
- "wires": [
- [
- "c41ea253.33c72",
- "f628fc33.96856"
- ]
- ]
- },
- {
- "id": "5fb32110.cadf8",
- "type": "execute",
- "name": "Report Error",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"event-message\" value=\"`$event-message`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2478,
- "y": 176,
- "z": "bff4e0f.991972",
- "wires": [
- []
- ]
- },
- {
- "id": "f600a7ce.f7f418",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2266,
- "y": 244,
- "z": "bff4e0f.991972",
- "wires": [
- [
- "2186d059.4b82f",
- "1dffaf3f.e12151",
- "5fb32110.cadf8",
- "a2ebc53c.230e08"
- ]
- ]
- },
- {
- "id": "b8335fae.52296",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2446,
- "y": 364,
- "z": "bff4e0f.991972",
- "wires": [
- [
- "72a691f7.431cd",
- "2b14f2c8.13f01e",
- "292317f2.1be5c8"
- ]
- ]
- },
- {
- "id": "2b14f2c8.13f01e",
- "type": "execute",
- "name": "Report Success",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='reportSuccess' >\n<parameter name=\"event-message\" value=\"`$success-message`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2684.5,
- "y": 358,
- "z": "bff4e0f.991972",
- "wires": [
- []
- ]
- },
- {
- "id": "72a691f7.431cd",
- "type": "record",
- "name": "Log success",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$success-message`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2674,
- "y": 300,
- "z": "bff4e0f.991972",
- "wires": [
- []
- ]
- },
- {
- "id": "a2ebc53c.230e08",
- "type": "set",
- "name": "Set failure code and message",
- "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$event-message`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 2531,
- "y": 229,
- "z": "bff4e0f.991972",
- "wires": [
- []
- ]
- },
- {
- "id": "292317f2.1be5c8",
- "type": "set",
- "name": "Set success code and message",
- "xml": "<set>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value=\"`$success-message`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 2737,
- "y": 412,
- "z": "bff4e0f.991972",
- "wires": [
- []
- ]
- }
-]
+[
+ {
+ "id": "4a37fdf2.6a2504",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 114,
+ "y": 144,
+ "z": "bff4e0f.991972",
+ "wires": [
+ [
+ "24ca19d3.fe69f6"
+ ]
+ ]
+ },
+ {
+ "id": "24ca19d3.fe69f6",
+ "type": "service-logic",
+ "name": "APPC 2.0.0",
+ "module": "APPC",
+ "version": "2.0.0",
+ "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.0'>",
+ "outputs": 1,
+ "x": 261,
+ "y": 144,
+ "z": "bff4e0f.991972",
+ "wires": [
+ [
+ "68e5e092.be1d4"
+ ]
+ ]
+ },
+ {
+ "id": "68e5e092.be1d4",
+ "type": "method",
+ "name": "Stop_VM",
+ "xml": "<method rpc='Stop_VM' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 413.5,
+ "y": 144,
+ "z": "bff4e0f.991972",
+ "wires": [
+ [
+ "79ce376b.14ba38"
+ ]
+ ]
+ },
+ {
+ "id": "546085a8.48136c",
+ "type": "execute",
+ "name": "Resolve Stop Application DG",
+ "xml": "<execute plugin='org.onap.appc.dg.common.VNFCDgResolverPlugin' method='resolveVNFCDg'>\n<parameter name=\"vnfType\" value='`$vnf.type`' />\n<parameter name=\"vnfcType\" value='`$vnfcFlow[$i].vnfcType`' /> \n<parameter name=\"action\" value=\"Stop_Application\" />\n<parameter name=\"api-ver\" value='`$input.common-header.api-ver`' />\n<parameter name=\"prefix\" value='StopApplication' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 315.5,
+ "y": 364,
+ "z": "bff4e0f.991972",
+ "wires": [
+ [
+ "af254db7.09d53",
+ "27344cac.0eda34"
+ ]
+ ]
+ },
+ {
+ "id": "af254db7.09d53",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 546,
+ "y": 444,
+ "z": "bff4e0f.991972",
+ "wires": [
+ [
+ "b3421a0a.ab34d8"
+ ]
+ ]
+ },
+ {
+ "id": "4a4711ec.83e88",
+ "type": "call",
+ "name": "Call Stop Application DG",
+ "xml": "<call module='`$StopApplication.dg_module`' rpc='`$StopApplication.dg_name`' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 742,
+ "y": 364,
+ "z": "bff4e0f.991972",
+ "wires": [
+ [
+ "5b84fc8a.59ac94",
+ "c108322b.df0e7",
+ "3efda8ab.632bf8"
+ ]
+ ]
+ },
+ {
+ "id": "5b84fc8a.59ac94",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 990,
+ "y": 364,
+ "z": "bff4e0f.991972",
+ "wires": [
+ [
+ "3c46d78d.4277c8"
+ ]
+ ]
+ },
+ {
+ "id": "7892211.d99b2e",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1146,
+ "y": 244,
+ "z": "bff4e0f.991972",
+ "wires": [
+ [
+ "b3421a0a.ab34d8",
+ "2013c4a3.b2f33c",
+ "f600a7ce.f7f418"
+ ]
+ ]
+ },
+ {
+ "id": "b3421a0a.ab34d8",
+ "type": "call",
+ "name": "Call StopVM_VM",
+ "xml": "<call module='APPC' rpc='StopVM_VM' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1398,
+ "y": 444,
+ "z": "bff4e0f.991972",
+ "wires": [
+ [
+ "823575c7.9529b8",
+ "403b9a.8f504468",
+ "ff7db04.0cfe85"
+ ]
+ ]
+ },
+ {
+ "id": "823575c7.9529b8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1646,
+ "y": 304,
+ "z": "bff4e0f.991972",
+ "wires": [
+ [
+ "f628fc33.96856"
+ ]
+ ]
+ },
+ {
+ "id": "403b9a.8f504468",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1650,
+ "y": 444,
+ "z": "bff4e0f.991972",
+ "wires": [
+ [
+ "ea7f288e.c58648"
+ ]
+ ]
+ },
+ {
+ "id": "27344cac.0eda34",
+ "type": "other",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 546,
+ "y": 364,
+ "z": "bff4e0f.991972",
+ "wires": [
+ [
+ "4a4711ec.83e88"
+ ]
+ ]
+ },
+ {
+ "id": "c108322b.df0e7",
+ "type": "other",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 986,
+ "y": 244,
+ "z": "bff4e0f.991972",
+ "wires": [
+ [
+ "7892211.d99b2e"
+ ]
+ ]
+ },
+ {
+ "id": "3efda8ab.632bf8",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 995,
+ "y": 144,
+ "z": "bff4e0f.991972",
+ "wires": [
+ [
+ "191e02b6.f79f4d"
+ ]
+ ]
+ },
+ {
+ "id": "191e02b6.f79f4d",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1806,
+ "y": 144,
+ "z": "bff4e0f.991972",
+ "wires": [
+ [
+ "8812042b.ba9358",
+ "f628fc33.96856"
+ ]
+ ]
+ },
+ {
+ "id": "8812042b.ba9358",
+ "type": "set",
+ "name": "Set event message",
+ "xml": "<set>\n<parameter name='event-message' value=\"`'Cannot find DG: ' + $StopApplication.dg_module + ' ' + $StopApplication.dg_name`\"/>\n\n\n",
+ "comments": "",
+ "x": 2085.5,
+ "y": 144,
+ "z": "bff4e0f.991972",
+ "wires": []
+ },
+ {
+ "id": "59b9a03e.8323b",
+ "type": "set",
+ "name": "init",
+ "xml": "<set>\n<parameter name='StopApplicationFailed' value='false' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 246,
+ "y": 244,
+ "z": "bff4e0f.991972",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "79ce376b.14ba38",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 106,
+ "y": 244,
+ "z": "bff4e0f.991972",
+ "wires": [
+ [
+ "59b9a03e.8323b",
+ "546085a8.48136c"
+ ]
+ ]
+ },
+ {
+ "id": "ea7f288e.c58648",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1806,
+ "y": 444,
+ "z": "bff4e0f.991972",
+ "wires": [
+ [
+ "d59b6aa1.c91618",
+ "b8335fae.52296"
+ ]
+ ]
+ },
+ {
+ "id": "3c46d78d.4277c8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1146,
+ "y": 364,
+ "z": "bff4e0f.991972",
+ "wires": [
+ [
+ "b3421a0a.ab34d8",
+ "b8335fae.52296"
+ ]
+ ]
+ },
+ {
+ "id": "2013c4a3.b2f33c",
+ "type": "set",
+ "name": "Set Stop Application Failed",
+ "xml": "<set>\n<parameter name='StopApplicationFailed' value='true' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1429.5,
+ "y": 204,
+ "z": "bff4e0f.991972",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d59b6aa1.c91618",
+ "type": "switchNode",
+ "name": "Switch Stop Application Failed",
+ "xml": "<switch test=\"`$StopApplicationFailed`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2035.5,
+ "y": 471,
+ "z": "bff4e0f.991972",
+ "wires": [
+ [
+ "b987da03.0dc0f8",
+ "8fa7fbb8.8355c8"
+ ]
+ ]
+ },
+ {
+ "id": "b987da03.0dc0f8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2266,
+ "y": 444,
+ "z": "bff4e0f.991972",
+ "wires": [
+ [
+ "98412d6e.2237"
+ ]
+ ]
+ },
+ {
+ "id": "98412d6e.2237",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 2465,
+ "y": 444,
+ "z": "bff4e0f.991972",
+ "wires": []
+ },
+ {
+ "id": "fffd4e3c.8b204",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n",
+ "comments": "",
+ "x": 2471,
+ "y": 504,
+ "z": "bff4e0f.991972",
+ "wires": []
+ },
+ {
+ "id": "8fa7fbb8.8355c8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2266,
+ "y": 504,
+ "z": "bff4e0f.991972",
+ "wires": [
+ [
+ "fffd4e3c.8b204"
+ ]
+ ]
+ },
+ {
+ "id": "ff7db04.0cfe85",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1655,
+ "y": 204,
+ "z": "bff4e0f.991972",
+ "wires": [
+ [
+ "c640b015.2be11"
+ ]
+ ]
+ },
+ {
+ "id": "1dffaf3f.e12151",
+ "type": "execute",
+ "name": "OutputMessageBuilder",
+ "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"`$event-message`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2509,
+ "y": 122,
+ "z": "bff4e0f.991972",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f628fc33.96856",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2046,
+ "y": 304,
+ "z": "bff4e0f.991972",
+ "wires": [
+ [
+ "f600a7ce.f7f418",
+ "cf5c9d26.942c4"
+ ]
+ ]
+ },
+ {
+ "id": "c41ea253.33c72",
+ "type": "set",
+ "name": "Set event message",
+ "xml": "<set>\n<parameter name='event-message' value=\"Cannot find DG: StopVM_VM\"/>\n\n\n",
+ "comments": "",
+ "x": 2085.5,
+ "y": 204,
+ "z": "bff4e0f.991972",
+ "wires": []
+ },
+ {
+ "id": "2186d059.4b82f",
+ "type": "record",
+ "name": "Log error",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$event-message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2465,
+ "y": 71,
+ "z": "bff4e0f.991972",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cf5c9d26.942c4",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 2465,
+ "y": 304,
+ "z": "bff4e0f.991972",
+ "wires": []
+ },
+ {
+ "id": "c640b015.2be11",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1806,
+ "y": 204,
+ "z": "bff4e0f.991972",
+ "wires": [
+ [
+ "c41ea253.33c72",
+ "f628fc33.96856"
+ ]
+ ]
+ },
+ {
+ "id": "5fb32110.cadf8",
+ "type": "execute",
+ "name": "Report Error",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"event-message\" value=\"`$event-message`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2478,
+ "y": 176,
+ "z": "bff4e0f.991972",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f600a7ce.f7f418",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2266,
+ "y": 244,
+ "z": "bff4e0f.991972",
+ "wires": [
+ [
+ "2186d059.4b82f",
+ "1dffaf3f.e12151",
+ "5fb32110.cadf8",
+ "a2ebc53c.230e08"
+ ]
+ ]
+ },
+ {
+ "id": "b8335fae.52296",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2446,
+ "y": 364,
+ "z": "bff4e0f.991972",
+ "wires": [
+ [
+ "72a691f7.431cd",
+ "2b14f2c8.13f01e",
+ "292317f2.1be5c8"
+ ]
+ ]
+ },
+ {
+ "id": "2b14f2c8.13f01e",
+ "type": "execute",
+ "name": "Report Success",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='reportSuccess' >\n<parameter name=\"event-message\" value=\"`$success-message`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2684.5,
+ "y": 358,
+ "z": "bff4e0f.991972",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "72a691f7.431cd",
+ "type": "record",
+ "name": "Log success",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$success-message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2674,
+ "y": 300,
+ "z": "bff4e0f.991972",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a2ebc53c.230e08",
+ "type": "set",
+ "name": "Set failure code and message",
+ "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$event-message`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2531,
+ "y": 229,
+ "z": "bff4e0f.991972",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "292317f2.1be5c8",
+ "type": "set",
+ "name": "Set success code and message",
+ "xml": "<set>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value=\"`$success-message`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2737,
+ "y": 412,
+ "z": "bff4e0f.991972",
+ "wires": [
+ []
+ ]
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VNFC_2.0.2.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VNFC_2.0.2.json
index 4cb03c82f..3d4767ab4 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VNFC_2.0.2.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VNFC_2.0.2.json
@@ -1,850 +1,428 @@
-[
- {
- "id": "6bb80f2c.7080b",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 158,
- "y": 80,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "6b619ec8.d45c4"
- ]
- ]
- },
- {
- "id": "6b619ec8.d45c4",
- "type": "service-logic",
- "name": "APPC 2.0.2",
- "module": "APPC",
- "version": "2.0.2",
- "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.2'>",
- "outputs": 1,
- "x": 326.0001220703125,
- "y": 81,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "c6bac291.2c2d3"
- ]
- ]
- },
- {
- "id": "c6bac291.2c2d3",
- "type": "method",
- "name": "Stop_VNFC",
- "xml": "<method rpc='Stop_VNFC' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 254.00015258789062,
- "y": 155,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "f6ef3aa.b96dbc8"
- ]
- ]
- },
- {
- "id": "f6ef3aa.b96dbc8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 204.0001220703125,
- "y": 237.99999809265137,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "7faaeb57.5e7824",
- "fc170e86.4107f",
- "5ea187ee.d6e158",
- "41b645cc.41c3fc"
- ]
- ]
- },
- {
- "id": "7faaeb57.5e7824",
- "type": "execute",
- "name": "Update_AAI_Stopping",
- "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 = $vnfcName' />\n<parameter name=\"attributeName\" value=\"orchestration-status\" />\n<parameter name=\"attributeValue\" value=\"Stopping\" />",
- "comments": "",
- "outputs": 1,
- "x": 920.00048828125,
- "y": 172,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "76cf3ef.ad105c",
- "3e9e1468.83185c",
- "3f3edb07.2f9944"
- ]
- ]
- },
- {
- "id": "3e9e1468.83185c",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1666.000732421875,
- "y": 275.99999809265137,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "c1bc1cba.f920b"
- ]
- ]
- },
- {
- "id": "3f3edb07.2f9944",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1682,
- "y": 339.99999809265137,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "f8673aca.705658"
- ]
- ]
- },
- {
- "id": "76cf3ef.ad105c",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1663.0000305175781,
- "y": 409,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "c832b521.3d9768"
- ]
- ]
- },
- {
- "id": "c1bc1cba.f920b",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1838.8891906738281,
- "y": 273.8888854980469,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "8cac271.4e263d8",
- "d65062b7.3cbfd"
- ]
- ]
- },
- {
- "id": "f8673aca.705658",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1914.8892059326172,
- "y": 338.35894775390625,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "71a4120e.5d054c",
- "4a1462f9.672d7c"
- ]
- ]
- },
- {
- "id": "c832b521.3d9768",
- "type": "switchNode",
- "name": "switch",
- "xml": "<switch test='`$postResource_result`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1810.1106262207031,
- "y": 407.8888854980469,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "c52b0e2c.d1338",
- "e724ae4f.d3c13"
- ]
- ]
- },
- {
- "id": "c52b0e2c.d1338",
- "type": "outcome",
- "name": "NOT_FOUND",
- "xml": "<outcome value='NOT_FOUND'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1976.1111145019531,
- "y": 388.8888854980469,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "c7d68d2.879e37"
- ]
- ]
- },
- {
- "id": "e724ae4f.d3c13",
- "type": "outcome",
- "name": "FAILURE",
- "xml": "<outcome value='FAILURE'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1970.1112670898438,
- "y": 447.8888854980469,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "f34e4663.0043f8"
- ]
- ]
- },
- {
- "id": "c7d68d2.879e37",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2158.1114807128906,
- "y": 386.8888854980469,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "40cd2698.77b968",
- "fdb3d9d6.7fb368"
- ]
- ]
- },
- {
- "id": "f34e4663.0043f8",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2152.1114807128906,
- "y": 448.888916015625,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "88d48d7b.011a9",
- "b834e7a3.fb5ca8"
- ]
- ]
- },
- {
- "id": "b834e7a3.fb5ca8",
- "type": "execute",
- "name": "OutputMessageBuilder",
- "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"`'Error occurred while updating VNF details in A&amp;AI for '+ $vnfcName`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2391.1122131347656,
- "y": 437.8889465332031,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "b735bff9.feb5e"
- ]
- ]
- },
- {
- "id": "88d48d7b.011a9",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 2374.1122131347656,
- "y": 497.888916015625,
- "z": "b84e704e.6dc59",
- "wires": []
- },
- {
- "id": "8cac271.4e263d8",
- "type": "execute",
- "name": "OutputMessageBuilder",
- "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"`'Error occurred while updating VNF details in A&amp;AI for '+ $vnfcName`\"/>\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2063.2223358154297,
- "y": 190.88888549804688,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "d058580f.a167c8"
- ]
- ]
- },
- {
- "id": "d65062b7.3cbfd",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 2060.2223358154297,
- "y": 237.88885498046875,
- "z": "b84e704e.6dc59",
- "wires": []
- },
- {
- "id": "4a1462f9.672d7c",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 2103.2223358154297,
- "y": 336.8888854980469,
- "z": "b84e704e.6dc59",
- "wires": []
- },
- {
- "id": "71a4120e.5d054c",
- "type": "execute",
- "name": "OutputMessageBuilder",
- "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"`'Error occurred while updating VNF details in A&amp;AI for '+ $vnfcName`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2112.2223358154297,
- "y": 289.888916015625,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "b49279c1.cbf648"
- ]
- ]
- },
- {
- "id": "fdb3d9d6.7fb368",
- "type": "execute",
- "name": "OutputMessageBuilder",
- "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"`'Error occurred while updating VNF details in A&amp;AI for : '+ $vnfcName`\"/>\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2391.2220764160156,
- "y": 339.8888854980469,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "78ec3f34.90138"
- ]
- ]
- },
- {
- "id": "40cd2698.77b968",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 2373.2220764160156,
- "y": 385.88885498046875,
- "z": "b84e704e.6dc59",
- "wires": []
- },
- {
- "id": "fc170e86.4107f",
- "type": "for",
- "name": "for_each_vm",
- "xml": "<for index=\"i\" start=\"0\" end=\"`$vmCount`\" >",
- "comments": "",
- "outputs": 1,
- "x": 408.00018310546875,
- "y": 261.8888854980469,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "ad2f571e.472378"
- ]
- ]
- },
- {
- "id": "c04c4a2.7a0a3b8",
- "type": "execute",
- "name": "Update_AA&I_Error",
- "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 = $vnfcName' />\n<parameter name=\"attributeName\" value=\"orchestration-status\" />\n<parameter name=\"attributeValue\" value=\"Error\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 1292.0003967285156,
- "y": 520.5237102508545,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "3e9e1468.83185c",
- "3f3edb07.2f9944",
- "76cf3ef.ad105c"
- ]
- ]
- },
- {
- "id": "2b6c1bfa.73a104",
- "type": "execute",
- "name": "update_AA&I_Stopped",
- "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 = $vnfcName' />\n<parameter name=\"attributeName\" value=\"orchestration-status\" />\n<parameter name=\"attributeValue\" value=\"Stopped\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 1268.4282531738281,
- "y": 639.9525737762451,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "3e9e1468.83185c",
- "3f3edb07.2f9944",
- "76cf3ef.ad105c"
- ]
- ]
- },
- {
- "id": "ad2f571e.472378",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>\n",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 454.0000915527344,
- "y": 331.8888854980469,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "e049cef5.ca3d3",
- "6103761f.d41698",
- "f1d156a7.37a158"
- ]
- ]
- },
- {
- "id": "630101.74f3df",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 963.7541046142578,
- "y": 420.9959783554077,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "2057f935.74b346",
- "523d6a77.8b8ea4",
- "b06e9efa.c9bbb"
- ]
- ]
- },
- {
- "id": "5ea187ee.d6e158",
- "type": "set",
- "name": "init_vm_failed_count",
- "xml": "<set>\n<parameter name='stopFailedVmCount' value='0' />\n",
- "comments": "",
- "x": 568.7778625488281,
- "y": 165.88888549804688,
- "z": "b84e704e.6dc59",
- "wires": []
- },
- {
- "id": "41b645cc.41c3fc",
- "type": "switchNode",
- "name": "switch VNFC Stop Success",
- "xml": "<switch test='`$stopFailedVmCount == 0`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 486,
- "y": 615.8890228271484,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "d6d0256a.e73ea8",
- "e60e85fa.0569a8"
- ]
- ]
- },
- {
- "id": "e60e85fa.0569a8",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 756.7500305175781,
- "y": 655.6389141082764,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "8b02220e.5cbf4"
- ]
- ]
- },
- {
- "id": "d6d0256a.e73ea8",
- "type": "outcomeFalse",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 761.2500610351562,
- "y": 579.6388854980469,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "ed61f50.6ab0708"
- ]
- ]
- },
- {
- "id": "72ebe700.9eb218",
- "type": "returnSuccess",
- "name": "return success",
- "xml": "<return status='success'>\n",
- "comments": "",
- "x": 1259.749755859375,
- "y": 717.5555400848389,
- "z": "b84e704e.6dc59",
- "wires": []
- },
- {
- "id": "370d52b3.3d830e",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 1274.5188751220703,
- "y": 601.1556091308594,
- "z": "b84e704e.6dc59",
- "wires": []
- },
- {
- "id": "8b02220e.5cbf4",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1010,
- "y": 656.1110820770264,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "72ebe700.9eb218",
- "2b6c1bfa.73a104",
- "b07b98f7.65d868"
- ]
- ]
- },
- {
- "id": "ed61f50.6ab0708",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1042.0000610351562,
- "y": 579.1110534667969,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "370d52b3.3d830e",
- "c04c4a2.7a0a3b8",
- "170bee40.e3fdf2"
- ]
- ]
- },
- {
- "id": "2057f935.74b346",
- "type": "set",
- "name": "Update Error message and Counts",
- "xml": "<set>\n<parameter name=\"stopFailedVmCount\" value=\"`$stopFailedVmCount + 1`\" />\n<parameter name=\"event-message\" value=\"`'Error occurred while stopping VM: ' + $vm[$i].url`\" />\n",
- "comments": "",
- "x": 1256.0000610351562,
- "y": 366,
- "z": "b84e704e.6dc59",
- "wires": []
- },
- {
- "id": "523d6a77.8b8ea4",
- "type": "record",
- "name": "Log event",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$event-message`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1207.2222290039062,
- "y": 413,
- "z": "b84e704e.6dc59",
- "wires": [
- []
- ]
- },
- {
- "id": "b06e9efa.c9bbb",
- "type": "execute",
- "name": "OutputMessageBuilder",
- "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"`$event-message`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1189.0896606445312,
- "y": 466.1873149871826,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "3ccb5c62.3b2bb4"
- ]
- ]
- },
- {
- "id": "e049cef5.ca3d3",
- "type": "record",
- "name": "Log message",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Attempting to stop the server : ' + $vm[$i].url`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 674.4287185668945,
- "y": 237.82540893554688,
- "z": "b84e704e.6dc59",
- "wires": [
- []
- ]
- },
- {
- "id": "6103761f.d41698",
- "type": "set",
- "name": "set stop parameters",
- "xml": "<set>\n<parameter name=\"stop-vm-url\" value=\"`$vm[$i].url`\" />\n<parameter name='stopRetryCount' value='3'/>\n",
- "comments": "",
- "x": 692.089729309082,
- "y": 299.2539978027344,
- "z": "b84e704e.6dc59",
- "wires": []
- },
- {
- "id": "f1d156a7.37a158",
- "type": "call",
- "name": "Stop_VM",
- "xml": "<call module='APPC' rpc='Stop_VM' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 639.089729309082,
- "y": 418.2539978027344,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "e3e85aa1.954ea8",
- "e5db30a9.cda31"
- ]
- ]
- },
- {
- "id": "e3e85aa1.954ea8",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 805.0001220703125,
- "y": 419.1111145019531,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "630101.74f3df"
- ]
- ]
- },
- {
- "id": "3ccb5c62.3b2bb4",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1367.0000610351562,
- "y": 467,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "ecdcb16f.8d932"
- ]
- ]
- },
- {
- "id": "d058580f.a167c8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2559.9999237060547,
- "y": 181.9999542236328,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "ecdcb16f.8d932"
- ]
- ]
- },
- {
- "id": "b49279c1.cbf648",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2570.9999237060547,
- "y": 280.9999542236328,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "ecdcb16f.8d932"
- ]
- ]
- },
- {
- "id": "78ec3f34.90138",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2573.0001678466797,
- "y": 347.99998474121094,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "ecdcb16f.8d932"
- ]
- ]
- },
- {
- "id": "b735bff9.feb5e",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2576.0001678466797,
- "y": 434.99998474121094,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "ecdcb16f.8d932"
- ]
- ]
- },
- {
- "id": "ecdcb16f.8d932",
- "type": "execute",
- "name": "Report_Error_To_DCAE",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"event-message\" value=\"`$event-message`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2441.666793823242,
- "y": 916.0000457763672,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "e628d16a.c904d"
- ]
- ]
- },
- {
- "id": "e628d16a.c904d",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2512.9525604248047,
- "y": 987.4286804199219,
- "z": "b84e704e.6dc59",
- "wires": [
- []
- ]
- },
- {
- "id": "170bee40.e3fdf2",
- "type": "set",
- "name": "Set AAI update Flag",
- "xml": "<set>\n<parameter name='AAIUpdateSuccessFlag' value='true' />\n",
- "comments": "",
- "x": 1288.0000305175781,
- "y": 562,
- "z": "b84e704e.6dc59",
- "wires": []
- },
- {
- "id": "b07b98f7.65d868",
- "type": "set",
- "name": "Set AAI update Flag",
- "xml": "<set>\n<parameter name='AAIUpdateSuccessFlag' value='true' />\n",
- "comments": "",
- "x": 1265.0000305175781,
- "y": 678.9999980926514,
- "z": "b84e704e.6dc59",
- "wires": []
- },
- {
- "id": "e71ab49c.bd0528",
- "type": "comment",
- "name": "Reporting handled in Stop_VM",
- "info": "",
- "comments": "",
- "x": 575.5000152587891,
- "y": 461.42862701416016,
- "z": "b84e704e.6dc59",
- "wires": []
- },
- {
- "id": "e5db30a9.cda31",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 796.5000152587891,
- "y": 346.75000762939453,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "1826c546.16091b"
- ]
- ]
- },
- {
- "id": "1826c546.16091b",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 958.2500152587891,
- "y": 343.7500047683716,
- "z": "b84e704e.6dc59",
- "wires": [
- [
- "2057f935.74b346"
- ]
- ]
- }
-]
+[
+ {
+ "id": "2c2b9aec.e12606",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 154.515625,
+ "y": 99.515625,
+ "z": "be4856d9.a2a4d8",
+ "wires": [
+ [
+ "d0031eb8.73f71"
+ ]
+ ]
+ },
+ {
+ "id": "d0031eb8.73f71",
+ "type": "service-logic",
+ "name": "APPC 2.0.2",
+ "module": "APPC",
+ "version": "2.0.2",
+ "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.2'>",
+ "outputs": 1,
+ "x": 322.5157470703125,
+ "y": 100.515625,
+ "z": "be4856d9.a2a4d8",
+ "wires": [
+ [
+ "c07b2dc4.c3d7f"
+ ]
+ ]
+ },
+ {
+ "id": "c07b2dc4.c3d7f",
+ "type": "method",
+ "name": "Stop_VNFC",
+ "xml": "<method rpc='Stop_VNFC' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 250.51577758789062,
+ "y": 174.515625,
+ "z": "be4856d9.a2a4d8",
+ "wires": [
+ [
+ "51d2e830.a418d8"
+ ]
+ ]
+ },
+ {
+ "id": "51d2e830.a418d8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 200.5157470703125,
+ "y": 257.51562309265137,
+ "z": "be4856d9.a2a4d8",
+ "wires": [
+ [
+ "d754706.d45689",
+ "e759d5.a6adc628",
+ "a6911ea1.2d434"
+ ]
+ ]
+ },
+ {
+ "id": "d754706.d45689",
+ "type": "for",
+ "name": "for_each_vm",
+ "xml": "<for index=\"i\" start=\"0\" end=\"`$vmCount`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 404.51580810546875,
+ "y": 281.4045104980469,
+ "z": "be4856d9.a2a4d8",
+ "wires": [
+ [
+ "7b5bb52c.64d1bc"
+ ]
+ ]
+ },
+ {
+ "id": "7b5bb52c.64d1bc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>\n",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 450.5157165527344,
+ "y": 351.4045104980469,
+ "z": "be4856d9.a2a4d8",
+ "wires": [
+ [
+ "dc2615e6.591b18",
+ "bb2fc7a6.92a118",
+ "39dbd8a.89d9528"
+ ]
+ ]
+ },
+ {
+ "id": "fce7d691.df1148",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 960.2697296142578,
+ "y": 440.5116033554077,
+ "z": "be4856d9.a2a4d8",
+ "wires": [
+ [
+ "785a10c1.ec7d4",
+ "2356f490.2391ec",
+ "ddeccbf.5b7ff38"
+ ]
+ ]
+ },
+ {
+ "id": "e759d5.a6adc628",
+ "type": "set",
+ "name": "init_vm_failed_count",
+ "xml": "<set>\n<parameter name='stopFailedVmCount' value='0' />\n",
+ "comments": "",
+ "x": 565.2934875488281,
+ "y": 185.40451049804688,
+ "z": "be4856d9.a2a4d8",
+ "wires": []
+ },
+ {
+ "id": "a6911ea1.2d434",
+ "type": "switchNode",
+ "name": "switch VNFC Stop Success",
+ "xml": "<switch test='`$stopFailedVmCount == 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 482.515625,
+ "y": 635.4046478271484,
+ "z": "be4856d9.a2a4d8",
+ "wires": [
+ [
+ "f642949.ee8e168",
+ "20652ae8.7cdbf6"
+ ]
+ ]
+ },
+ {
+ "id": "20652ae8.7cdbf6",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 753.2656555175781,
+ "y": 675.1545391082764,
+ "z": "be4856d9.a2a4d8",
+ "wires": [
+ [
+ "2ddea0d.965f26"
+ ]
+ ]
+ },
+ {
+ "id": "f642949.ee8e168",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 757.7656860351562,
+ "y": 599.1545104980469,
+ "z": "be4856d9.a2a4d8",
+ "wires": [
+ [
+ "1db254ab.78318b"
+ ]
+ ]
+ },
+ {
+ "id": "663a85cf.95916c",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n",
+ "comments": "",
+ "x": 1256.265380859375,
+ "y": 737.0711650848389,
+ "z": "be4856d9.a2a4d8",
+ "wires": []
+ },
+ {
+ "id": "8ed1de76.806e",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1271.0345001220703,
+ "y": 620.6712341308594,
+ "z": "be4856d9.a2a4d8",
+ "wires": []
+ },
+ {
+ "id": "2ddea0d.965f26",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1006.515625,
+ "y": 675.6267070770264,
+ "z": "be4856d9.a2a4d8",
+ "wires": [
+ [
+ "663a85cf.95916c"
+ ]
+ ]
+ },
+ {
+ "id": "1db254ab.78318b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1038.5156860351562,
+ "y": 598.6266784667969,
+ "z": "be4856d9.a2a4d8",
+ "wires": [
+ [
+ "8ed1de76.806e"
+ ]
+ ]
+ },
+ {
+ "id": "785a10c1.ec7d4",
+ "type": "set",
+ "name": "Update Error message and Counts",
+ "xml": "<set>\n<parameter name=\"stopFailedVmCount\" value=\"`$stopFailedVmCount + 1`\" />\n<parameter name=\"event-message\" value=\"`'Error occurred while stopping VM: ' + $vm[$i].url`\" />\n",
+ "comments": "",
+ "x": 1252.5156860351562,
+ "y": 385.515625,
+ "z": "be4856d9.a2a4d8",
+ "wires": []
+ },
+ {
+ "id": "2356f490.2391ec",
+ "type": "record",
+ "name": "Log event",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$event-message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1203.7378540039062,
+ "y": 432.515625,
+ "z": "be4856d9.a2a4d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ddeccbf.5b7ff38",
+ "type": "execute",
+ "name": "OutputMessageBuilder",
+ "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"`$event-message`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1185.6052856445312,
+ "y": 485.7029399871826,
+ "z": "be4856d9.a2a4d8",
+ "wires": [
+ [
+ "49923180.8058"
+ ]
+ ]
+ },
+ {
+ "id": "dc2615e6.591b18",
+ "type": "record",
+ "name": "Log message",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Attempting to stop the server : ' + $vm[$i].url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 670.9443435668945,
+ "y": 257.3410339355469,
+ "z": "be4856d9.a2a4d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bb2fc7a6.92a118",
+ "type": "set",
+ "name": "set stop parameters",
+ "xml": "<set>\n<parameter name=\"stop-vm-url\" value=\"`$vm[$i].url`\" />\n<parameter name='stopRetryCount' value='3'/>\n",
+ "comments": "",
+ "x": 688.605354309082,
+ "y": 318.7696228027344,
+ "z": "be4856d9.a2a4d8",
+ "wires": []
+ },
+ {
+ "id": "39dbd8a.89d9528",
+ "type": "call",
+ "name": "Stop_VM",
+ "xml": "<call module='APPC' rpc='Stop_VM' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 635.605354309082,
+ "y": 437.7696228027344,
+ "z": "be4856d9.a2a4d8",
+ "wires": [
+ [
+ "107e060e.8e912a",
+ "69953dc9.6b52b4"
+ ]
+ ]
+ },
+ {
+ "id": "107e060e.8e912a",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 801.5157470703125,
+ "y": 438.6267395019531,
+ "z": "be4856d9.a2a4d8",
+ "wires": [
+ [
+ "fce7d691.df1148"
+ ]
+ ]
+ },
+ {
+ "id": "49923180.8058",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1411.5156631469727,
+ "y": 483.51563835144043,
+ "z": "be4856d9.a2a4d8",
+ "wires": [
+ [
+ "75c05b4a.3558a4"
+ ]
+ ]
+ },
+ {
+ "id": "75c05b4a.3558a4",
+ "type": "execute",
+ "name": "Report_Error_To_DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"event-message\" value=\"`$event-message`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1656.1824798583984,
+ "y": 479.5157594680786,
+ "z": "be4856d9.a2a4d8",
+ "wires": [
+ [
+ "84387e07.b179b"
+ ]
+ ]
+ },
+ {
+ "id": "84387e07.b179b",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1925.4685592651367,
+ "y": 477.9444704055786,
+ "z": "be4856d9.a2a4d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7205688f.5f6df8",
+ "type": "comment",
+ "name": "Reporting handled in Stop_VM",
+ "info": "",
+ "comments": "",
+ "x": 572.0156402587891,
+ "y": 480.94425201416016,
+ "z": "be4856d9.a2a4d8",
+ "wires": []
+ },
+ {
+ "id": "69953dc9.6b52b4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 793.0156402587891,
+ "y": 366.26563262939453,
+ "z": "be4856d9.a2a4d8",
+ "wires": [
+ [
+ "f524d5fa.071df8"
+ ]
+ ]
+ },
+ {
+ "id": "f524d5fa.071df8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 954.7656402587891,
+ "y": 363.2656297683716,
+ "z": "be4856d9.a2a4d8",
+ "wires": [
+ [
+ "785a10c1.ec7d4"
+ ]
+ ]
+ }
+] \ No newline at end of file
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VNF_2.0.1.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VNF_2.0.1.json
index 37689727d..0581db164 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VNF_2.0.1.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VNF_2.0.1.json
@@ -1,1882 +1,995 @@
-[
- {
- "id": "2ad2ccc0.ed45b4",
- "type": "method",
- "name": "Stop_VNF",
- "xml": "<method rpc='Stop_VNF' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 151.80625915527344,
- "y": 143.82501220703125,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "44594fa2.fbe3f"
- ]
- ]
- },
- {
- "id": "2bb548d1.038db8",
- "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": 134.80625915527344,
- "y": 94.82501220703125,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "2ad2ccc0.ed45b4"
- ]
- ]
- },
- {
- "id": "4082b484.03120c",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 126.80625915527344,
- "y": 44.82501220703125,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "2bb548d1.038db8"
- ]
- ]
- },
- {
- "id": "83e59925.56b318",
- "type": "execute",
- "name": "execute_getVNF_Hierarchy",
- "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getVnfHierarchy'>\n<parameter name=\"resourceKey\" value=\"`$input.action-identifiers.vnf-id`\" />",
- "comments": "",
- "outputs": 1,
- "x": 322.80625915527344,
- "y": 279.82501220703125,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "8ac1338f.645fc",
- "ff4ad31d.954dd"
- ]
- ]
- },
- {
- "id": "8ac1338f.645fc",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 558.0919799804688,
- "y": 276.6821460723877,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "42e4db07.e3a004"
- ]
- ]
- },
- {
- "id": "b224c8e0.aa4aa8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>\n",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1383.6636505126953,
- "y": 271.39640855789185,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "2e7cae15.9739c2",
- "5a7bd217.41064c"
- ]
- ]
- },
- {
- "id": "2e7cae15.9739c2",
- "type": "for",
- "name": "for_each_VNFC",
- "xml": "<for index=\"i\" start=\"0\" end=\"`$vnf.vnfcCount`\" >",
- "comments": "",
- "outputs": 1,
- "x": 1576.3779830932617,
- "y": 281.2535433769226,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "66e4ace7.4d9064"
- ]
- ]
- },
- {
- "id": "66e4ace7.4d9064",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>\n",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1688.3779602050781,
- "y": 214.53926372528076,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "a282aae0.bfc518"
- ]
- ]
- },
- {
- "id": "a282aae0.bfc518",
- "type": "execute",
- "name": "execute_UpdateAA&I",
- "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='postResource'>\n<parameter name=\"resourceType\" value=\"vnfc\" />\n<parameter name=\"prefix\" value=\"vnfc\" />\n<parameter name=\"resourceKey\" value='vnfc-name = $vnf.vnfc[$i].name' />\n<parameter name=\"attributeName\" value=\"orchestration-status\" />\n<parameter name=\"attributeValue\" value=\"Stopping\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 1797.0922775268555,
- "y": 281.2535524368286,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "ec4c8d57.0618d",
- "7d2185c7.30c2ac"
- ]
- ]
- },
- {
- "id": "ec4c8d57.0618d",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2060.234848022461,
- "y": 282.3964385986328,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "ab283aed.271ac8"
- ]
- ]
- },
- {
- "id": "5a7bd217.41064c",
- "type": "returnSuccess",
- "name": "return success",
- "xml": "<return status='success'>\n",
- "comments": "",
- "x": 1570.0922012329102,
- "y": 338.5391764640808,
- "z": "6ca06960.9ba8c8",
- "wires": []
- },
- {
- "id": "ff4ad31d.954dd",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 567.0919570922852,
- "y": 55.110724449157715,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "6c94868d.aae958"
- ]
- ]
- },
- {
- "id": "6fe91ea6.db8d6",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 924.3776931762695,
- "y": 103.39643800258636,
- "z": "6ca06960.9ba8c8",
- "wires": []
- },
- {
- "id": "8d10ba17.c1d1d8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3507.806266784668,
- "y": 393.39647102355957,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "72c01457.77e3ec"
- ]
- ]
- },
- {
- "id": "e6d70e75.2a057",
- "type": "execute",
- "name": "execute_update_AA&I",
- "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='postResource'>\n<parameter name=\"resourceType\" value=\"vnfc\" />\n<parameter name=\"prefix\" value=\"vnfc\" />\n<parameter name=\"resourceKey\" value='vnfc-name = $vnf.vnfc[$i].name' />\n<parameter name=\"attributeName\" value=\"orchestration-status\" />\n<parameter name=\"attributeValue\" value=\"Stopped\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 4344.520042419434,
- "y": 941.9679336547852,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "d0d63af9.b80d38",
- "d148c424.424878"
- ]
- ]
- },
- {
- "id": "d0d63af9.b80d38",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4537.9484786987305,
- "y": 1047.1108417510986,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "650db065.a724f"
- ]
- ]
- },
- {
- "id": "3f25ae8f.106522",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 4884.9484786987305,
- "y": 1098.1108417510986,
- "z": "6ca06960.9ba8c8",
- "wires": []
- },
- {
- "id": "d148c424.424878",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4537.234298706055,
- "y": 849.825098991394,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "b4468ce9.c6cf8"
- ]
- ]
- },
- {
- "id": "7d2185c7.30c2ac",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1871.806297302246,
- "y": 574.3964910507202,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "612720cc.fa585"
- ]
- ]
- },
- {
- "id": "c38a3fd0.87d55",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 2195.3776321411133,
- "y": 663.253659248352,
- "z": "6ca06960.9ba8c8",
- "wires": []
- },
- {
- "id": "7dd6f598.8b1cec",
- "type": "execute",
- "name": "execute_Update_AA&I",
- "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='postResource'>\n<parameter name=\"resourceType\" value=\"vnfc\" />\n<parameter name=\"prefix\" value=\"vnfc\" />\n<parameter name=\"resourceKey\" value='vnfc-name = $vnf.vnfc[$i].name' />\n<parameter name=\"attributeName\" value=\"orchestration-status\" />\n<parameter name=\"attributeValue\" value=\"Error\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 4870.092239379883,
- "y": 556.5393600463867,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "18f700c0.f08b9f",
- "7857330d.66efac"
- ]
- ]
- },
- {
- "id": "18f700c0.f08b9f",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5141.806171417236,
- "y": 290.8250379562378,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "b12b12c2.9eb7c"
- ]
- ]
- },
- {
- "id": "cf5745dd.7215e8",
- "type": "comment",
- "name": "update VNFCs to STOPPING",
- "info": "",
- "comments": "",
- "x": 1877.663719177246,
- "y": 243.53924942016602,
- "z": "6ca06960.9ba8c8",
- "wires": []
- },
- {
- "id": "cf6aac11.4b0c6",
- "type": "comment",
- "name": "call south bound to STOP VMs",
- "info": "",
- "comments": "",
- "x": 3334.234130859375,
- "y": 214.25359535217285,
- "z": "6ca06960.9ba8c8",
- "wires": []
- },
- {
- "id": "11dd9c28.d271f4",
- "type": "comment",
- "name": "if failure from south bound then update as Error",
- "info": "",
- "comments": "",
- "x": 4865.3781661987305,
- "y": 625.9678764343262,
- "z": "6ca06960.9ba8c8",
- "wires": []
- },
- {
- "id": "d80c14d8.bd96b8",
- "type": "comment",
- "name": "STOPPED VNFCs in AA&I",
- "info": "",
- "comments": "",
- "x": 4375.377372741699,
- "y": 979.5393466949463,
- "z": "6ca06960.9ba8c8",
- "wires": []
- },
- {
- "id": "c68baa03.5c9d58",
- "type": "comment",
- "name": "Fetch all VMs and VNFCs from AA&I for given VNF_ID",
- "info": "",
- "comments": "",
- "x": 893.5205535888672,
- "y": 134.68215370178223,
- "z": "6ca06960.9ba8c8",
- "wires": []
- },
- {
- "id": "7857330d.66efac",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5133.664012908936,
- "y": 383.9679584503174,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "7d9e9e25.52a38"
- ]
- ]
- },
- {
- "id": "8c742a38.ba05e8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3472.0920181274414,
- "y": 64.68217468261719,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "c6bd2fa4.9a21b"
- ]
- ]
- },
- {
- "id": "c7dcb85c.c58e98",
- "type": "switchNode",
- "name": "switch",
- "xml": "<switch test='`$vnf.vnfcCount`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1000.6636810302734,
- "y": 274.1107292175293,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "2a4b0426.65c6ec",
- "cb718ed3.e8db4"
- ]
- ]
- },
- {
- "id": "2a4b0426.65c6ec",
- "type": "other",
- "name": "outcome_0",
- "xml": "<outcome value='0'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1269.0920867919922,
- "y": 54.253597259521484,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "96f75c8b.194df"
- ]
- ]
- },
- {
- "id": "cb718ed3.e8db4",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1204.9494018554688,
- "y": 275.96790313720703,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "b224c8e0.aa4aa8"
- ]
- ]
- },
- {
- "id": "72c01457.77e3ec",
- "type": "switchNode",
- "name": "switch",
- "xml": "<switch test='`$STOP_STATUS`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3689.806266784668,
- "y": 392.39647102355957,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "a2c47fe0.a0ecd",
- "66f529cc.fe2978",
- "241500fb.1944f"
- ]
- ]
- },
- {
- "id": "241500fb.1944f",
- "type": "success",
- "name": "outcome_SUCCESS",
- "xml": "<outcome value='SUCCESS'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3977.234817504883,
- "y": 728.8250350952148,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "e2750964.bdc668"
- ]
- ]
- },
- {
- "id": "a2c47fe0.a0ecd",
- "type": "other",
- "name": "outcome_CONTEXT_NOT_FOUND",
- "xml": "<outcome value='CONTEXT_NOT_FOUND'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3992.6638946533203,
- "y": 588.253643989563,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "393b640d.0244bc"
- ]
- ]
- },
- {
- "id": "66f529cc.fe2978",
- "type": "other",
- "name": "outcome_ERROR",
- "xml": "<outcome value='ERROR'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3889.806106567383,
- "y": 345.82506561279297,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "cf85dfe1.af032"
- ]
- ]
- },
- {
- "id": "309772d8.4e5b7e",
- "type": "execute",
- "name": "execute_STOP",
- "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='stopServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$vnf.vnfc[$i].vm[$j].url`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$AICIdentity`\" />\n\n",
- "comments": "",
- "outputs": 1,
- "x": 3332.092124938965,
- "y": 281.68220233917236,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "8d10ba17.c1d1d8",
- "8c742a38.ba05e8"
- ]
- ]
- },
- {
- "id": "42e4db07.e3a004",
- "type": "switchNode",
- "name": "switch",
- "xml": "<switch test='`$getVnfHierarchy_result`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 708.3776931762695,
- "y": 274.6822204589844,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "72046e0d.bb933",
- "d518e578.ced098"
- ]
- ]
- },
- {
- "id": "d518e578.ced098",
- "type": "outcome",
- "name": "FAILURE",
- "xml": "<outcome value='FAILURE'>\n",
- "comments": "",
- "outputs": 1,
- "x": 856.5921020507812,
- "y": 545.3964314460754,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "47090aaf.222fd4"
- ]
- ]
- },
- {
- "id": "3ca875a6.91ca8a",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 1337.1634483337402,
- "y": 622.1107501983643,
- "z": "6ca06960.9ba8c8",
- "wires": []
- },
- {
- "id": "72046e0d.bb933",
- "type": "outcome",
- "name": "SUCCESS",
- "xml": "<outcome value='SUCCESS'>\n",
- "comments": "",
- "outputs": 1,
- "x": 860.8062362670898,
- "y": 274.9679203033447,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "c7dcb85c.c58e98"
- ]
- ]
- },
- {
- "id": "9238af95.d5434",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 1623.3780059814453,
- "y": 108.68211364746094,
- "z": "6ca06960.9ba8c8",
- "wires": []
- },
- {
- "id": "ab283aed.271ac8",
- "type": "switchNode",
- "name": "switch",
- "xml": "<switch test='`$postResource_result`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2395.2348594665527,
- "y": 275.25357723236084,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "6d0cbea4.1461b",
- "1f6eff8a.e5b54",
- "e636c1f2.8920b"
- ]
- ]
- },
- {
- "id": "6d0cbea4.1461b",
- "type": "outcome",
- "name": "SUCCESS",
- "xml": "<outcome value='SUCCESS'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2595.8065185546875,
- "y": 280.5392837524414,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "a416e90c.481bf8"
- ]
- ]
- },
- {
- "id": "1f6eff8a.e5b54",
- "type": "outcome",
- "name": "NOT_FOUND",
- "xml": "<outcome value='NOT_FOUND'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2499.94917678833,
- "y": 58.253623962402344,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "1205f3e9.5a7d4c"
- ]
- ]
- },
- {
- "id": "da046d9.ba2ec9",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 2890.9491271972656,
- "y": 150.25355529785156,
- "z": "6ca06960.9ba8c8",
- "wires": []
- },
- {
- "id": "e636c1f2.8920b",
- "type": "outcome",
- "name": "FAILURE",
- "xml": "<outcome value='FAILURE'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2512.520534515381,
- "y": 566.6820755004883,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "56576d03.27cba4"
- ]
- ]
- },
- {
- "id": "3e14031.4c784fc",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 2832.377326965332,
- "y": 662.1107234954834,
- "z": "6ca06960.9ba8c8",
- "wires": []
- },
- {
- "id": "b4468ce9.c6cf8",
- "type": "switchNode",
- "name": "switch",
- "xml": "<switch test='`$postResource_result`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4699.948547363281,
- "y": 850.2536840438843,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "2ee7990e.1c4316",
- "6f0b83da.d4d43c",
- "34ee2bdc.3ca1f4"
- ]
- ]
- },
- {
- "id": "2ee7990e.1c4316",
- "type": "outcome",
- "name": "SUCCESS",
- "xml": "<outcome value='SUCCESS'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4885.663040161133,
- "y": 848.9679288864136,
- "z": "6ca06960.9ba8c8",
- "wires": [
- []
- ]
- },
- {
- "id": "6f0b83da.d4d43c",
- "type": "outcome",
- "name": "NOT_FOUND",
- "xml": "<outcome value='NOT_FOUND'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4890.663246154785,
- "y": 781.1107606887817,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "4e125db.cca88a4"
- ]
- ]
- },
- {
- "id": "34ee2bdc.3ca1f4",
- "type": "outcome",
- "name": "FAILURE",
- "xml": "<outcome value='FAILURE'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4873.662757873535,
- "y": 914.9679098129272,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "d85456e7.649b38"
- ]
- ]
- },
- {
- "id": "afa1afed.f8c2a",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 5254.0916748046875,
- "y": 843.6821527481079,
- "z": "6ca06960.9ba8c8",
- "wires": []
- },
- {
- "id": "eba950dc.7fc52",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 5281.520454406738,
- "y": 965.2535791397095,
- "z": "6ca06960.9ba8c8",
- "wires": []
- },
- {
- "id": "b12b12c2.9eb7c",
- "type": "switchNode",
- "name": "switch",
- "xml": "<switch test='`$postResource_result`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5268.235366821289,
- "y": 284.68217372894287,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "d69cd997.2dd228",
- "423e88af.767668",
- "fa8644b9.d21d88"
- ]
- ]
- },
- {
- "id": "d69cd997.2dd228",
- "type": "outcome",
- "name": "SUCCESS",
- "xml": "<outcome value='SUCCESS'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5515.94909286499,
- "y": 230.82503509521484,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "e7aae791.295e58"
- ]
- ]
- },
- {
- "id": "e7aae791.295e58",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 5767.806583404541,
- "y": 229.8250331878662,
- "z": "6ca06960.9ba8c8",
- "wires": []
- },
- {
- "id": "423e88af.767668",
- "type": "outcome",
- "name": "NOT_FOUND",
- "xml": "<outcome value='NOT_FOUND'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5517.949306488037,
- "y": 285.6821765899658,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "de0c10e.19725f"
- ]
- ]
- },
- {
- "id": "fa8644b9.d21d88",
- "type": "outcome",
- "name": "FAILURE",
- "xml": "<outcome value='FAILURE'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5510.806308746338,
- "y": 351.2536106109619,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "1af37740.e90369"
- ]
- ]
- },
- {
- "id": "6c94868d.aae958",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 719.0919456481934,
- "y": 53.8250093460083,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "12e86e5e.c1b0e2",
- "6fe91ea6.db8d6"
- ]
- ]
- },
- {
- "id": "12e86e5e.c1b0e2",
- "type": "execute",
- "name": "execute",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Exception in getting VNF Hierachy\" />\n\n",
- "comments": "",
- "outputs": 1,
- "x": 924.2348518371582,
- "y": 52.68215370178223,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "71efbd8d.60bce4"
- ]
- ]
- },
- {
- "id": "71efbd8d.60bce4",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1070.9491348266602,
- "y": 48.96786880493164,
- "z": "6ca06960.9ba8c8",
- "wires": [
- []
- ]
- },
- {
- "id": "47090aaf.222fd4",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1125.8301696777344,
- "y": 547.5870265960693,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "3ca875a6.91ca8a",
- "2d0d48a.2de4bb8"
- ]
- ]
- },
- {
- "id": "2d0d48a.2de4bb8",
- "type": "execute",
- "name": "execute",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure in getting VNF Hierachy\" />",
- "comments": "",
- "outputs": 1,
- "x": 1318.7348976135254,
- "y": 546.9679565429688,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "e59dddad.ddd8f"
- ]
- ]
- },
- {
- "id": "e59dddad.ddd8f",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1500.0206756591797,
- "y": 546.3965539932251,
- "z": "6ca06960.9ba8c8",
- "wires": [
- []
- ]
- },
- {
- "id": "96f75c8b.194df",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1449.3779220581055,
- "y": 55.682186126708984,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "9238af95.d5434",
- "31b238ff.837628"
- ]
- ]
- },
- {
- "id": "31b238ff.837628",
- "type": "execute",
- "name": "execute",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"VM Count is 0\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 1632.8066139221191,
- "y": 52.68215465545654,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "fabacb3e.76dd88"
- ]
- ]
- },
- {
- "id": "fabacb3e.76dd88",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1806.663703918457,
- "y": 54.39640235900879,
- "z": "6ca06960.9ba8c8",
- "wires": [
- []
- ]
- },
- {
- "id": "612720cc.fa585",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2019.3776931762695,
- "y": 572.9678936004639,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "94ab01a4.1db23",
- "c38a3fd0.87d55"
- ]
- ]
- },
- {
- "id": "94ab01a4.1db23",
- "type": "execute",
- "name": "execute",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Failure in updating AAI for' + $vnf.vnfc[$i].name`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 2190.8065032958984,
- "y": 569.8250732421875,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "6475da69.b758f4"
- ]
- ]
- },
- {
- "id": "6475da69.b758f4",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2324.0919036865234,
- "y": 569.6821899414062,
- "z": "6ca06960.9ba8c8",
- "wires": [
- []
- ]
- },
- {
- "id": "56576d03.27cba4",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2677.091682434082,
- "y": 564.1106910705566,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "2a4a5a93.3d21a6",
- "3e14031.4c784fc"
- ]
- ]
- },
- {
- "id": "2a4a5a93.3d21a6",
- "type": "execute",
- "name": "execute",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Exception in AAI Update for vnfc ' + $vnf.vnfc[$i].name`\" />\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2834.0919036865234,
- "y": 564.9678344726562,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "ba47576.cfe3ea8"
- ]
- ]
- },
- {
- "id": "ba47576.cfe3ea8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2961.2343254089355,
- "y": 564.6820840835571,
- "z": "6ca06960.9ba8c8",
- "wires": [
- []
- ]
- },
- {
- "id": "1205f3e9.5a7d4c",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2688.5206718444824,
- "y": 54.25362205505371,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "aea4cad3.f582f8",
- "da046d9.ba2ec9"
- ]
- ]
- },
- {
- "id": "aea4cad3.f582f8",
- "type": "execute",
- "name": "execute",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'VNFC not found in AAI : ' + $vnf.vnfc[$i].name`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 2888.2349891662598,
- "y": 53.68217754364014,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "28ad3523.91147a"
- ]
- ]
- },
- {
- "id": "28ad3523.91147a",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3047.66349029541,
- "y": 52.82505989074707,
- "z": "6ca06960.9ba8c8",
- "wires": [
- []
- ]
- },
- {
- "id": "c6bd2fa4.9a21b",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 4700.663116455078,
- "y": 66.39645004272461,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "8c1c2d57.93d6f",
- "7dd6f598.8b1cec"
- ]
- ]
- },
- {
- "id": "8c1c2d57.93d6f",
- "type": "execute",
- "name": "Report_Failure_in_Stop",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Failure in stop for:' + $vnf.vnfc[$i].vm[$j].url`\" />",
- "comments": "",
- "outputs": 1,
- "x": 4920.235027313232,
- "y": 93.11075019836426,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "cf878e2b.d033f"
- ]
- ]
- },
- {
- "id": "cf878e2b.d033f",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5104.234672546387,
- "y": 95.11075592041016,
- "z": "6ca06960.9ba8c8",
- "wires": [
- []
- ]
- },
- {
- "id": "393b640d.0244bc",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 4275.23503112793,
- "y": 582.3964748382568,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "7dd6f598.8b1cec",
- "322d698f.b46f96"
- ]
- ]
- },
- {
- "id": "322d698f.b46f96",
- "type": "execute",
- "name": "Report_Context_not_found",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Stop : Context not found:' + $vnf.vnfc[$i].vm[$j].url`\" />",
- "comments": "",
- "outputs": 1,
- "x": 4484.377815246582,
- "y": 327.39648818969727,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "10827cd0.8ad493"
- ]
- ]
- },
- {
- "id": "10827cd0.8ad493",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4852.236282348633,
- "y": 337.96788787841797,
- "z": "6ca06960.9ba8c8",
- "wires": [
- []
- ]
- },
- {
- "id": "cf85dfe1.af032",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 4107.235305786133,
- "y": 321.82503509521484,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "7dd6f598.8b1cec",
- "6a2b403b.59abf"
- ]
- ]
- },
- {
- "id": "6a2b403b.59abf",
- "type": "execute",
- "name": "Report_Error_occoured_while_stopping_the_server",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Stop : Error occoured while stopping the server:' + $vnf.vnfc[$i].vm[$j].url`\" />",
- "comments": "",
- "outputs": 1,
- "x": 4302.663665771484,
- "y": 182.6821699142456,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "9f3cbb50.15cf18"
- ]
- ]
- },
- {
- "id": "9f3cbb50.15cf18",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4645.235305786133,
- "y": 159.82500457763672,
- "z": "6ca06960.9ba8c8",
- "wires": [
- []
- ]
- },
- {
- "id": "4e125db.cca88a4",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 5087.663383483887,
- "y": 779.5393323898315,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "cbb3c57f.95eb28",
- "afa1afed.f8c2a"
- ]
- ]
- },
- {
- "id": "d85456e7.649b38",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 5084.520175933838,
- "y": 911.6821422576904,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "7a001de8.702584",
- "eba950dc.7fc52"
- ]
- ]
- },
- {
- "id": "650db065.a724f",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 4674.9484786987305,
- "y": 1043.1108417510986,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "746b0185.8192d",
- "3f25ae8f.106522"
- ]
- ]
- },
- {
- "id": "cbb3c57f.95eb28",
- "type": "execute",
- "name": "execute",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'VNFC not found in AAI : ' + $vnf.vnfc[$i].name`\" />",
- "comments": "",
- "outputs": 1,
- "x": 5251.949172973633,
- "y": 778.3964462280273,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "114932c4.f8447d"
- ]
- ]
- },
- {
- "id": "7a001de8.702584",
- "type": "execute",
- "name": "execute",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Exception in AAI Update for vnfc' + $vnf.vnfc[$i].name`\" />",
- "comments": "",
- "outputs": 1,
- "x": 5267.8060302734375,
- "y": 910.396402835846,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "bc6131ba.1ae98"
- ]
- ]
- },
- {
- "id": "114932c4.f8447d",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5424.948745727539,
- "y": 783.1107883453369,
- "z": "6ca06960.9ba8c8",
- "wires": [
- []
- ]
- },
- {
- "id": "bc6131ba.1ae98",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5435.09188079834,
- "y": 908.6821174621582,
- "z": "6ca06960.9ba8c8",
- "wires": [
- []
- ]
- },
- {
- "id": "746b0185.8192d",
- "type": "execute",
- "name": "execute",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Failure in updating AAI for' + $vnf.vnfc[$i].name`\" />",
- "comments": "",
- "outputs": 1,
- "x": 4877.234405517578,
- "y": 1038.967966079712,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "8080799.e130288"
- ]
- ]
- },
- {
- "id": "8080799.e130288",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5034.80583190918,
- "y": 1032.967966079712,
- "z": "6ca06960.9ba8c8",
- "wires": [
- []
- ]
- },
- {
- "id": "1cb1e0d0.21321f",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 120.80625915527344,
- "y": 282.7138977050781,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "83e59925.56b318"
- ]
- ]
- },
- {
- "id": "44594fa2.fbe3f",
- "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": 168.80625915527344,
- "y": 207.82500457763672,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "1cb1e0d0.21321f",
- "3fbfed99.b50af2",
- "3979a683.5741ca"
- ]
- ]
- },
- {
- "id": "d81b1f69.55285",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 5429.806198120117,
- "y": 651.8250112533569,
- "z": "6ca06960.9ba8c8",
- "wires": []
- },
- {
- "id": "7d9e9e25.52a38",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 5253.806259155273,
- "y": 561.5392456054688,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "ac55cbef.3c59f8",
- "d81b1f69.55285"
- ]
- ]
- },
- {
- "id": "ac55cbef.3c59f8",
- "type": "execute",
- "name": "execute",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Failure in updating AAI for' + $vnf.vnfc[$i].name`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 5425.235069274902,
- "y": 558.3964157104492,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "fb774fb4.e2f59"
- ]
- ]
- },
- {
- "id": "fb774fb4.e2f59",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5558.520469665527,
- "y": 558.2535419464111,
- "z": "6ca06960.9ba8c8",
- "wires": [
- []
- ]
- },
- {
- "id": "93300f92.e2643",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 6138.806259155273,
- "y": 369.82501220703125,
- "z": "6ca06960.9ba8c8",
- "wires": []
- },
- {
- "id": "de0c10e.19725f",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 5931.378036499023,
- "y": 289.8250732421875,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "d2b1eb53.8867c8",
- "93300f92.e2643"
- ]
- ]
- },
- {
- "id": "d2b1eb53.8867c8",
- "type": "execute",
- "name": "execute",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'VNFC not found in AAI : ' + $vnf.vnfc[$i].name`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 6136.092121124268,
- "y": 273.2536344528198,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "b1ffeaa3.1d0e98"
- ]
- ]
- },
- {
- "id": "b1ffeaa3.1d0e98",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 6295.520622253418,
- "y": 272.39651679992676,
- "z": "6ca06960.9ba8c8",
- "wires": [
- []
- ]
- },
- {
- "id": "aca35b5b.13df08",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 5871.806259155273,
- "y": 543.8250122070312,
- "z": "6ca06960.9ba8c8",
- "wires": []
- },
- {
- "id": "1af37740.e90369",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 5716.520614624023,
- "y": 445.8249797821045,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "a1f75570.727518",
- "aca35b5b.13df08"
- ]
- ]
- },
- {
- "id": "a1f75570.727518",
- "type": "execute",
- "name": "execute",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value='Exception in AAI Update for vnfc $vnf.vnfc[$i].name' />\n",
- "comments": "",
- "outputs": 1,
- "x": 5873.520835876465,
- "y": 446.6821231842041,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "b886c219.8fe3f"
- ]
- ]
- },
- {
- "id": "b886c219.8fe3f",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 6000.663257598877,
- "y": 446.396372795105,
- "z": "6ca06960.9ba8c8",
- "wires": [
- []
- ]
- },
- {
- "id": "9bfcb100.bea99",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
- "comments": "",
- "x": 490.8062286376953,
- "y": 486.4917526245117,
- "z": "6ca06960.9ba8c8",
- "wires": []
- },
- {
- "id": "920348a5.6809c8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 277.4729766845703,
- "y": 440.96797943115234,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "9bfcb100.bea99",
- "e0347aed.5c5778"
- ]
- ]
- },
- {
- "id": "e0347aed.5c5778",
- "type": "execute",
- "name": "Report_Error_Flattening_Payload_Json",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\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": 566.3776702880859,
- "y": 368.3488998413086,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "56f4d06f.7ca03"
- ]
- ]
- },
- {
- "id": "56f4d06f.7ca03",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 651.6634826660156,
- "y": 439.7775068283081,
- "z": "6ca06960.9ba8c8",
- "wires": [
- []
- ]
- },
- {
- "id": "3fbfed99.b50af2",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 101.80625915527344,
- "y": 442.4916763305664,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "920348a5.6809c8"
- ]
- ]
- },
- {
- "id": "3711d1.ecfd7e3",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in loading Json flattening plugin\" />",
- "comments": "",
- "x": 472.80625915527344,
- "y": 702.4916915893555,
- "z": "6ca06960.9ba8c8",
- "wires": []
- },
- {
- "id": "2330453d.90136a",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 284.4729804992676,
- "y": 663.9679756164551,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "3711d1.ecfd7e3",
- "ae76c4ea.4835d8"
- ]
- ]
- },
- {
- "id": "ae76c4ea.4835d8",
- "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=\"`$input.common-header.api-ver`\"/>\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": 573.3776741027832,
- "y": 591.3488960266113,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "280eab37.d94a44"
- ]
- ]
- },
- {
- "id": "280eab37.d94a44",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 658.6634864807129,
- "y": 662.7775030136108,
- "z": "6ca06960.9ba8c8",
- "wires": [
- []
- ]
- },
- {
- "id": "3979a683.5741ca",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 108.80625915527344,
- "y": 662.4916763305664,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "2330453d.90136a"
- ]
- ]
- },
- {
- "id": "e2750964.bdc668",
- "type": "execute",
- "name": "Report_Success_in_Stop",
- "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=\"`'STOP event executed successfully for ' + $vnf.vnfc[$i].vm[$j].url`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 3835.139602661133,
- "y": 936.4917221069336,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "69e98882.2de298",
- "cd83fd16.fabdc"
- ]
- ]
- },
- {
- "id": "69e98882.2de298",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4061.1395924886074,
- "y": 978.4916763305664,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "e6d70e75.2a057"
- ]
- ]
- },
- {
- "id": "cd83fd16.fabdc",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4095.1395924886074,
- "y": 870.4916763305664,
- "z": "6ca06960.9ba8c8",
- "wires": [
- []
- ]
- },
- {
- "id": "a416e90c.481bf8",
- "type": "for",
- "name": "for each vm",
- "xml": "<for index='j' start='0' end='`$vnf.vnfc[$i].vm_count`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 2817.4063720703125,
- "y": 281.8250198364258,
- "z": "6ca06960.9ba8c8",
- "wires": [
- [
- "309772d8.4e5b7e"
- ]
- ]
- }
-]
+[
+ {
+ "id": "7aab8ec8.1a85f",
+ "type": "method",
+ "name": "Stop_VNF",
+ "xml": "<method rpc='Stop_VNF' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 195.515625,
+ "y": 185.99999743700027,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "d58edcec.474ed"
+ ]
+ ]
+ },
+ {
+ "id": "133cf501.57196b",
+ "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": 178.515625,
+ "y": 136.99999743700027,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "7aab8ec8.1a85f"
+ ]
+ ]
+ },
+ {
+ "id": "f2d4b6bd.e9fe78",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 170.515625,
+ "y": 86.99999743700027,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "133cf501.57196b"
+ ]
+ ]
+ },
+ {
+ "id": "10cb6da5.ed2af2",
+ "type": "execute",
+ "name": "execute_getVNF_Hierarchy",
+ "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getVnfHierarchy'>\n<parameter name=\"resourceKey\" value=\"`$input.action-identifiers.vnf-id`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 366.515625,
+ "y": 321.9999974370003,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "7bf0cd43.c20a94",
+ "8c6d51e7.ec851"
+ ]
+ ]
+ },
+ {
+ "id": "7bf0cd43.c20a94",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 601.8013458251953,
+ "y": 318.8571313023567,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "671fde45.f3ec2"
+ ]
+ ]
+ },
+ {
+ "id": "1909915f.80952f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>\n",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1427.3730163574219,
+ "y": 313.57139378786087,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "5a0435a.602a7cc",
+ "83dc9647.5ac8f8"
+ ]
+ ]
+ },
+ {
+ "id": "5a0435a.602a7cc",
+ "type": "for",
+ "name": "for_each_VNFC",
+ "xml": "<for index=\"i\" start=\"0\" end=\"`$vnf.vnfcCount`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1620.0873489379883,
+ "y": 323.42852860689163,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "d18b1a5e.957f48"
+ ]
+ ]
+ },
+ {
+ "id": "d18b1a5e.957f48",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>\n",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1877.0873107910156,
+ "y": 316.714262008667,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "bd0d03fb.15959"
+ ]
+ ]
+ },
+ {
+ "id": "83dc9647.5ac8f8",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n",
+ "comments": "",
+ "x": 1613.8015670776367,
+ "y": 380.71416169404984,
+ "z": "e4b8e06b.cf1db",
+ "wires": []
+ },
+ {
+ "id": "8c6d51e7.ec851",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 610.8013229370117,
+ "y": 97.28570967912674,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "fd56da4e.b1df18"
+ ]
+ ]
+ },
+ {
+ "id": "5ec2c553.3f136c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 968.0870590209961,
+ "y": 145.5714232325554,
+ "z": "e4b8e06b.cf1db",
+ "wires": []
+ },
+ {
+ "id": "4efddd05.063b74",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2507.515655517578,
+ "y": 427.5714464187622,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "d2123e8b.243b1"
+ ]
+ ]
+ },
+ {
+ "id": "fc56be2d.2dfe4",
+ "type": "comment",
+ "name": "call south bound to STOP VMs",
+ "info": "",
+ "comments": "",
+ "x": 2333.943519592285,
+ "y": 248.4285707473755,
+ "z": "e4b8e06b.cf1db",
+ "wires": []
+ },
+ {
+ "id": "20f69487.9209ac",
+ "type": "comment",
+ "name": "Fetch all VMs and VNFCs from AA&I for given VNF_ID",
+ "info": "",
+ "comments": "",
+ "x": 937.2299194335938,
+ "y": 176.85713893175125,
+ "z": "e4b8e06b.cf1db",
+ "wires": []
+ },
+ {
+ "id": "7132108a.e7943",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2471.8014068603516,
+ "y": 98.85715007781982,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "9aa5f690.fedc98"
+ ]
+ ]
+ },
+ {
+ "id": "8505dc4d.81c32",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$vnf.vnfcCount`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1044.373046875,
+ "y": 316.2857144474983,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "b41114b8.f84498",
+ "cf12e40b.22a558"
+ ]
+ ]
+ },
+ {
+ "id": "b41114b8.f84498",
+ "type": "other",
+ "name": "outcome_0",
+ "xml": "<outcome value='0'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1312.8014526367188,
+ "y": 96.42858248949051,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "c7f79101.d0791"
+ ]
+ ]
+ },
+ {
+ "id": "cf12e40b.22a558",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1248.6587677001953,
+ "y": 318.14288836717606,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "1909915f.80952f"
+ ]
+ ]
+ },
+ {
+ "id": "d2123e8b.243b1",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$STOP_STATUS`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2689.515655517578,
+ "y": 426.5714464187622,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "c4d051e6.94156",
+ "223b5853.bc7248",
+ "7d6bbb09.c91c74"
+ ]
+ ]
+ },
+ {
+ "id": "7d6bbb09.c91c74",
+ "type": "success",
+ "name": "outcome_SUCCESS",
+ "xml": "<outcome value='SUCCESS'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2886.9440002441406,
+ "y": 616.0000953674316,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "9255191e.323288"
+ ]
+ ]
+ },
+ {
+ "id": "c4d051e6.94156",
+ "type": "other",
+ "name": "outcome_CONTEXT_NOT_FOUND",
+ "xml": "<outcome value='CONTEXT_NOT_FOUND'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2968.3731994628906,
+ "y": 431.42875480651855,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "b68c9d2f.03abb"
+ ]
+ ]
+ },
+ {
+ "id": "223b5853.bc7248",
+ "type": "other",
+ "name": "outcome_ERROR",
+ "xml": "<outcome value='ERROR'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2859.515411376953,
+ "y": 261.0000686645508,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "66ab2478.b22b6c"
+ ]
+ ]
+ },
+ {
+ "id": "e69c98f9.81b3b8",
+ "type": "execute",
+ "name": "execute_STOP",
+ "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='stopServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$vnf.vnfc[$i].vm[$j].url`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$AICIdentity`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2331.801513671875,
+ "y": 315.857177734375,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "4efddd05.063b74",
+ "7132108a.e7943"
+ ]
+ ]
+ },
+ {
+ "id": "671fde45.f3ec2",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$getVnfHierarchy_result`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 752.0870590209961,
+ "y": 316.8572056889534,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "529471b8.3bf56",
+ "ff040b01.b8a938"
+ ]
+ ]
+ },
+ {
+ "id": "ff040b01.b8a938",
+ "type": "outcome",
+ "name": "FAILURE",
+ "xml": "<outcome value='FAILURE'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 900.3014678955078,
+ "y": 587.5714166760445,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "17528b32.a4f1e5"
+ ]
+ ]
+ },
+ {
+ "id": "ad5dddcc.daa8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1380.8728141784668,
+ "y": 664.2857354283333,
+ "z": "e4b8e06b.cf1db",
+ "wires": []
+ },
+ {
+ "id": "529471b8.3bf56",
+ "type": "outcome",
+ "name": "SUCCESS",
+ "xml": "<outcome value='SUCCESS'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 904.5156021118164,
+ "y": 317.14290553331375,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "8505dc4d.81c32"
+ ]
+ ]
+ },
+ {
+ "id": "5f88b67a.05e118",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1667.0873718261719,
+ "y": 150.85709887742996,
+ "z": "e4b8e06b.cf1db",
+ "wires": []
+ },
+ {
+ "id": "fd56da4e.b1df18",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 762.8013114929199,
+ "y": 95.99999457597733,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "c1c13249.2efe",
+ "5ec2c553.3f136c"
+ ]
+ ]
+ },
+ {
+ "id": "c1c13249.2efe",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Exception in getting VNF Hierachy\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 967.9442176818848,
+ "y": 94.85713893175125,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "5ed7e4d2.2e46cc"
+ ]
+ ]
+ },
+ {
+ "id": "5ed7e4d2.2e46cc",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1114.6585006713867,
+ "y": 91.14285403490067,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "17528b32.a4f1e5",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1169.539535522461,
+ "y": 589.7620118260384,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "ad5dddcc.daa8",
+ "49093f15.60c06"
+ ]
+ ]
+ },
+ {
+ "id": "49093f15.60c06",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure in getting VNF Hierachy\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1362.444263458252,
+ "y": 589.1429417729378,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "8ca6a430.7b40e8"
+ ]
+ ]
+ },
+ {
+ "id": "8ca6a430.7b40e8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1543.7300415039062,
+ "y": 588.5715392231941,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c7f79101.d0791",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1493.087287902832,
+ "y": 97.85717135667801,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "5f88b67a.05e118",
+ "ad2a3769.ae6068"
+ ]
+ ]
+ },
+ {
+ "id": "ad2a3769.ae6068",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"VM Count is 0\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1676.5159797668457,
+ "y": 94.85713988542557,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "3835909f.475d"
+ ]
+ ]
+ },
+ {
+ "id": "3835909f.475d",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1850.3730697631836,
+ "y": 96.57138758897781,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9aa5f690.fedc98",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2686.372730255127,
+ "y": 100.57143020629883,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "8db8853f.7fcaf8",
+ "d73cd2cb.16b65"
+ ]
+ ]
+ },
+ {
+ "id": "8db8853f.7fcaf8",
+ "type": "execute",
+ "name": "Report_Failure_in_Stop",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Failure in stop for:' + $vnf.vnfc[$i].vm[$j].url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2910.9442749023438,
+ "y": 26.28573226928711,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "27068f74.7d0e6"
+ ]
+ ]
+ },
+ {
+ "id": "27068f74.7d0e6",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3118.944034576416,
+ "y": 26.285741806030273,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b68c9d2f.03abb",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3233.944496154785,
+ "y": 432.57154655456543,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "d20f4677.945158",
+ "b69b55c7.5f6a38"
+ ]
+ ]
+ },
+ {
+ "id": "d20f4677.945158",
+ "type": "execute",
+ "name": "Report_Context_not_found",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Stop : Context not found:' + $vnf.vnfc[$i].vm[$j].url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3470.0870819091797,
+ "y": 356.5715456008911,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "118aee11.46b0d2"
+ ]
+ ]
+ },
+ {
+ "id": "118aee11.46b0d2",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3677.945728302002,
+ "y": 355.1429567337036,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "66ab2478.b22b6c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3082.944549560547,
+ "y": 259.00003814697266,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "da9ba70e.c2cf78",
+ "fa640c44.5f07e"
+ ]
+ ]
+ },
+ {
+ "id": "da9ba70e.c2cf78",
+ "type": "execute",
+ "name": "Report_Error_occoured_while_stopping_the_server",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Stop : Error occoured while stopping the server:' + $vnf.vnfc[$i].vm[$j].url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3360.3733291625977,
+ "y": 175.85718441009521,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "584febc5.720db4"
+ ]
+ ]
+ },
+ {
+ "id": "584febc5.720db4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3667.944507598877,
+ "y": 175.00001049041748,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1a3bf07a.7db09",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 164.515625,
+ "y": 324.88888293504715,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "10cb6da5.ed2af2"
+ ]
+ ]
+ },
+ {
+ "id": "d58edcec.474ed",
+ "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": 212.515625,
+ "y": 249.99998980760574,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "1a3bf07a.7db09",
+ "6bbed6b0.76bbb8",
+ "8ae22b48.b34578"
+ ]
+ ]
+ },
+ {
+ "id": "901446a0.d01b48",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
+ "comments": "",
+ "x": 534.5155944824219,
+ "y": 528.6667378544807,
+ "z": "e4b8e06b.cf1db",
+ "wires": []
+ },
+ {
+ "id": "97d52391.40418",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 321.1823425292969,
+ "y": 483.14296466112137,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "901446a0.d01b48",
+ "2012efab.62e9c"
+ ]
+ ]
+ },
+ {
+ "id": "2012efab.62e9c",
+ "type": "execute",
+ "name": "Report_Error_Flattening_Payload_Json",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\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": 610.0870361328125,
+ "y": 410.5238850712776,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "189854e0.fff1bb"
+ ]
+ ]
+ },
+ {
+ "id": "189854e0.fff1bb",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 695.3728485107422,
+ "y": 481.95249205827713,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6bbed6b0.76bbb8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 145.515625,
+ "y": 484.66666156053543,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "97d52391.40418"
+ ]
+ ]
+ },
+ {
+ "id": "b17a5ad0.d90178",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in loading Json flattening plugin\" />",
+ "comments": "",
+ "x": 516.515625,
+ "y": 744.6666768193245,
+ "z": "e4b8e06b.cf1db",
+ "wires": []
+ },
+ {
+ "id": "de006b51.3b5e18",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 328.18234634399414,
+ "y": 706.1429608464241,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "b17a5ad0.d90178",
+ "29ae5003.54045"
+ ]
+ ]
+ },
+ {
+ "id": "29ae5003.54045",
+ "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=\"`$input.common-header.api-ver`\"/>\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": 617.0870399475098,
+ "y": 633.5238812565804,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "85fc1a71.4ab608"
+ ]
+ ]
+ },
+ {
+ "id": "85fc1a71.4ab608",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 702.3728523254395,
+ "y": 704.9524882435799,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8ae22b48.b34578",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 152.515625,
+ "y": 704.6666615605354,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "de006b51.3b5e18"
+ ]
+ ]
+ },
+ {
+ "id": "9255191e.323288",
+ "type": "execute",
+ "name": "Report_Success_in_Stop",
+ "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=\"`'STOP event executed successfully for ' + $vnf.vnfc[$i].vm[$j].url`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3150.848907470703,
+ "y": 615.6667442321777,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "532d79a5.93ece8",
+ "1508aca7.09b173"
+ ]
+ ]
+ },
+ {
+ "id": "532d79a5.93ece8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3355.848846435547,
+ "y": 682.6666536331177,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1508aca7.09b173",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3358.848850250244,
+ "y": 559.6666507720947,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bd0d03fb.15959",
+ "type": "for",
+ "name": "for each vm",
+ "xml": "<for index='j' start='0' end='`$vnf.vnfc[$i].vm_count`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2098.1159057617188,
+ "y": 316.00000762939453,
+ "z": "e4b8e06b.cf1db",
+ "wires": [
+ [
+ "e69c98f9.81b3b8"
+ ]
+ ]
+ },
+ {
+ "id": "fa640c44.5f07e",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 3242.515296936035,
+ "y": 335.5156714320183,
+ "z": "e4b8e06b.cf1db",
+ "wires": []
+ },
+ {
+ "id": "d73cd2cb.16b65",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 2879.515655517578,
+ "y": 173.51564693450928,
+ "z": "e4b8e06b.cf1db",
+ "wires": []
+ },
+ {
+ "id": "b69b55c7.5f6a38",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 3427.5157928466797,
+ "y": 489.5156707763672,
+ "z": "e4b8e06b.cf1db",
+ "wires": []
+ }
+] \ No newline at end of file
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VNF_2.0.2.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VNF_2.0.2.json
index 357dcf383..8c23e8b18 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VNF_2.0.2.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VNF_2.0.2.json
@@ -1,1460 +1,1363 @@
-[
- {
- "id": "b25ea899.d365d8",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 174.515625,
- "y": 391.515625,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "f1895f0c.4c6ea"
- ]
- ]
- },
- {
- "id": "f1895f0c.4c6ea",
- "type": "service-logic",
- "name": "APPC 2.0.2",
- "module": "APPC",
- "version": "2.0.2",
- "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.2'>",
- "outputs": 1,
- "x": 350.515625,
- "y": 391.515625,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "29d8b20c.bcc73e"
- ]
- ]
- },
- {
- "id": "29d8b20c.bcc73e",
- "type": "method",
- "name": "Stop_VNF",
- "xml": "<method rpc='Stop_VNF' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 182.51568603515625,
- "y": 473.515625,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "dd256332.18b52"
- ]
- ]
- },
- {
- "id": "3303293f.b715b6",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 734.5159301757812,
- "y": 415.515625,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "1160b666.e3e76a"
- ]
- ]
- },
- {
- "id": "de3c0f63.e4197",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 733.515869140625,
- "y": 363.515625,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "1160b666.e3e76a"
- ]
- ]
- },
- {
- "id": "2a306103.619fbe",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 729.5159301757812,
- "y": 455.51563262939453,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "1160b666.e3e76a"
- ]
- ]
- },
- {
- "id": "dd256332.18b52",
- "type": "execute",
- "name": "flatAndAddToContext",
- "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",
- "comments": "",
- "outputs": 1,
- "x": 422.5157165527344,
- "y": 472.51564025878906,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "3303293f.b715b6",
- "de3c0f63.e4197",
- "2a306103.619fbe",
- "60deb41e.71e38c"
- ]
- ]
- },
- {
- "id": "60deb41e.71e38c",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 252.51565551757812,
- "y": 580.5156555175781,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "c02b5f84.eb026"
- ]
- ]
- },
- {
- "id": "c02b5f84.eb026",
- "type": "execute",
- "name": "execute_getVnfHierarchy",
- "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getVnfHierarchy'>\n<parameter name=\"resourceKey\" value=\"`$input.action-identifiers.vnf-id`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 434.182373046875,
- "y": 580.5157165527344,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "f740cf84.95c9",
- "7eef4ecc.dbdbd"
- ]
- ]
- },
- {
- "id": "7eef4ecc.dbdbd",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 679.1823120117188,
- "y": 531.5156555175781,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "314e24d1.2af52c"
- ]
- ]
- },
- {
- "id": "f740cf84.95c9",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 404.1823425292969,
- "y": 650.5156860351562,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "dcc95947.dc16f8"
- ]
- ]
- },
- {
- "id": "dcc95947.dc16f8",
- "type": "switchNode",
- "name": "switch_getVnfHierarchy_result",
- "xml": "<switch test='`$getVnfHierarchy_result`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 492.18231201171875,
- "y": 713.6268310546875,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "26dec072.fac0a",
- "c73a3ef3.82e05"
- ]
- ]
- },
- {
- "id": "26dec072.fac0a",
- "type": "outcome",
- "name": "outcome_SUCCESS",
- "xml": "<outcome value='SUCCESS'>\n",
- "comments": "",
- "outputs": 1,
- "x": 495.18231201171875,
- "y": 787.6268310546875,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "445c9cba.fb5d94"
- ]
- ]
- },
- {
- "id": "c73a3ef3.82e05",
- "type": "outcome",
- "name": "outcome_FAILURE",
- "xml": "<outcome value='FAILURE'>\n",
- "comments": "",
- "outputs": 1,
- "x": 767.182373046875,
- "y": 639.6268310546875,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "8df5db13.758428"
- ]
- ]
- },
- {
- "id": "445c9cba.fb5d94",
- "type": "switchNode",
- "name": "switch_VNF_VMCount",
- "xml": "<switch test='`$VNF.VMCount`'>",
- "comments": "",
- "outputs": 1,
- "x": 610.1823425292969,
- "y": 853.7379150390625,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "43163179.13979",
- "a3b76bbf.32b818"
- ]
- ]
- },
- {
- "id": "43163179.13979",
- "type": "outcome",
- "name": "outcome_0",
- "xml": "<outcome value='0'>\n",
- "comments": "",
- "outputs": 1,
- "x": 834.1823120117188,
- "y": 755.73779296875,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "b911488a.955a38"
- ]
- ]
- },
- {
- "id": "a3b76bbf.32b818",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 564.1823120117188,
- "y": 916.7379150390625,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "1de7ef77.6f1701"
- ]
- ]
- },
- {
- "id": "1de7ef77.6f1701",
- "type": "execute",
- "name": "Get VNFC Execution Flow Data",
- "xml": "<execute plugin='org.onap.appc.dg.common.VnfExecutionFlow' method='getVnfExecutionFlowData' >\n<parameter name=\"DependencyType\" value='RESOURCE' />\n<parameter name=\"FlowStrategy\" value='REVERSE' />\n<parameter name=\"vnfType\" value='`$vnf.type`' />\n<parameter name=\"vnfVersion\" value='`$vnf.version`' />\n",
- "comments": "",
- "outputs": 1,
- "x": 596.1823120117188,
- "y": 969.8489990234375,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "62e8b7ae.830b88",
- "3ccb7956.965646"
- ]
- ]
- },
- {
- "id": "62e8b7ae.830b88",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 846.1823120117188,
- "y": 905.8489990234375,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "bf9622b3.21e47"
- ]
- ]
- },
- {
- "id": "1160b666.e3e76a",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 892.182487487793,
- "y": 414.515625,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "6fae0bcd.781004",
- "915b6526.fc9068"
- ]
- ]
- },
- {
- "id": "6a4cb650.71b798",
- "type": "execute",
- "name": "Report Error to DCAE",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"event-message\" value=\"`$event-message`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2930.0870666503906,
- "y": 979.8965454101562,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "b93bd4c0.a52508"
- ]
- ]
- },
- {
- "id": "b93bd4c0.a52508",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3104.3724670410156,
- "y": 977.3251953125,
- "z": "25788422.0cd1fc",
- "wires": [
- []
- ]
- },
- {
- "id": "6fae0bcd.781004",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
- "comments": "",
- "x": 969.5154304504395,
- "y": 488.0393295288086,
- "z": "25788422.0cd1fc",
- "wires": []
- },
- {
- "id": "314e24d1.2af52c",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 857.9600219726562,
- "y": 531.404541015625,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "cfef6dc8.945be",
- "1c582707.184b99"
- ]
- ]
- },
- {
- "id": "1c582707.184b99",
- "type": "execute",
- "name": "OutputMessageBuilder",
- "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"Failed to retrieve VNF details from A&amp;AI\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1281.9598999023438,
- "y": 537.404541015625,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "d5e38f40.40fcd"
- ]
- ]
- },
- {
- "id": "cfef6dc8.945be",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 1097.9600219726562,
- "y": 583.404541015625,
- "z": "25788422.0cd1fc",
- "wires": []
- },
- {
- "id": "d5e38f40.40fcd",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1496.9600219726562,
- "y": 474.4045104980469,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "6a4cb650.71b798"
- ]
- ]
- },
- {
- "id": "8df5db13.758428",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1010.8490600585938,
- "y": 640.6268310546875,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "8259cf4e.93836",
- "58014ac2.8034f4"
- ]
- ]
- },
- {
- "id": "58014ac2.8034f4",
- "type": "execute",
- "name": "OutputMessageBuilder",
- "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"Failed to retrieve VNF details from A&amp;AI\"/>\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1276.8490600585938,
- "y": 638.6268310546875,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "848f3b70.e46888"
- ]
- ]
- },
- {
- "id": "848f3b70.e46888",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1500.8490600585938,
- "y": 548.6268310546875,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "6a4cb650.71b798"
- ]
- ]
- },
- {
- "id": "8259cf4e.93836",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 1258.8490600585938,
- "y": 687.6268310546875,
- "z": "25788422.0cd1fc",
- "wires": []
- },
- {
- "id": "b911488a.955a38",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1022.5156860351562,
- "y": 756.7379455566406,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "10549a32.dff226",
- "fe639385.f254b"
- ]
- ]
- },
- {
- "id": "fe639385.f254b",
- "type": "execute",
- "name": "OutputMessageBuilder",
- "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1287.5156860351562,
- "y": 738.7379150390625,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "d6ec24dc.40d138"
- ]
- ]
- },
- {
- "id": "d6ec24dc.40d138",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1520.5156860351562,
- "y": 646.7379150390625,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "6a4cb650.71b798"
- ]
- ]
- },
- {
- "id": "10549a32.dff226",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 1252.5156860351562,
- "y": 806.7379150390625,
- "z": "25788422.0cd1fc",
- "wires": []
- },
- {
- "id": "bf9622b3.21e47",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1014.515625,
- "y": 906.9600830078125,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "b19f523c.7b27f",
- "ca1fafca.d9e25"
- ]
- ]
- },
- {
- "id": "ca1fafca.d9e25",
- "type": "execute",
- "name": "OutputMessageBuilder",
- "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1293.515625,
- "y": 872.9600830078125,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "5d09f297.44349c"
- ]
- ]
- },
- {
- "id": "5d09f297.44349c",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1522.5156860351562,
- "y": 733.9601135253906,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "6a4cb650.71b798"
- ]
- ]
- },
- {
- "id": "b19f523c.7b27f",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 1258.5155639648438,
- "y": 942.9601440429688,
- "z": "25788422.0cd1fc",
- "wires": []
- },
- {
- "id": "741ec63e.47b658",
- "type": "execute",
- "name": "Resolve VNFC DG",
- "xml": "<execute plugin='org.onap.appc.dg.common.VNFCDgResolverPlugin' method='resolveVNFCDg'>\n<parameter name=\"vnfType\" value='`$vnf.type`' />\n<parameter name=\"vnfcType\" value='`$vnfcFlow[$i].vnfcType`' /> \n<parameter name=\"action\" value=\"Stop\" />\n<parameter name=\"api-ver\" value='`$input.common-header.api-ver`' /> \n<parameter name=\"prefix\" value=\"Stop\" />",
- "comments": "",
- "outputs": 1,
- "x": 1256.7380676269531,
- "y": 1276.1823425292969,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "ce601d5.d4914e",
- "ca1cbabc.1584a8"
- ]
- ]
- },
- {
- "id": "1d9ddab5.667815",
- "type": "for",
- "name": "for_each_vnfcFlow",
- "xml": "<for index='i' start='0' end='`$vnfcFlowCount`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 850.7379302978516,
- "y": 1259.1824035644531,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "b0ac43b7.cee43"
- ]
- ]
- },
- {
- "id": "504ee939.7682f8",
- "type": "set",
- "name": "set vnfc parameters",
- "xml": "<set>\n<parameter name='vnfcName' value='`$vnfcFlow[$i].vnfcName`' />\n<parameter name='vnfcType' value='`$vnfcFlow[$i].vnfcType`' />\n<parameter name='vmCount' value='`$vnfcFlow[$i].vmCount`' />\n<parameter name='input.action' value='`$input.action`' />\n<parameter name='AAIUpdateSuccessFlag' value='false' />\n\n",
- "comments": "",
- "x": 1261.7376708984375,
- "y": 1091.2935180664062,
- "z": "25788422.0cd1fc",
- "wires": []
- },
- {
- "id": "6688cc5b.a481f4",
- "type": "call",
- "name": "call VNFC DG",
- "xml": "<call module='`$Stop.dg_module`' rpc='`$Stop.dg_name`' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1592.7378234863281,
- "y": 1318.2936096191406,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "d62f7e05.fc757",
- "867811c.94c21f",
- "abe16d65.fa0ad"
- ]
- ]
- },
- {
- "id": "1ff36a5c.3a1fa6",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 622.7380981445312,
- "y": 1258.1824645996094,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "1d9ddab5.667815",
- "cacb482f.c409f8",
- "442ba77d.874db8"
- ]
- ]
- },
- {
- "id": "ce601d5.d4914e",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1431.7375793457031,
- "y": 1318.1824035644531,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "6688cc5b.a481f4"
- ]
- ]
- },
- {
- "id": "ca1cbabc.1584a8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1443.7377014160156,
- "y": 1237.1824035644531,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "9a471db7.e302b"
- ]
- ]
- },
- {
- "id": "9a471db7.e302b",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1625.7376708984375,
- "y": 1236.1824035644531,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "2b7c2fc2.fce28",
- "d1b96ddb.ec598"
- ]
- ]
- },
- {
- "id": "2b7c2fc2.fce28",
- "type": "execute",
- "name": "OutputMessageBuilder",
- "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"`'Failed to retrieve VNFC DG for ' + $vnfcFlow[$i].vnfcType`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1905.7377624511719,
- "y": 1195.1825256347656,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "7b9666da.06bef8"
- ]
- ]
- },
- {
- "id": "867811c.94c21f",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1782.5155944824219,
- "y": 1278.4046936035156,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "a8bdf6b0.355778"
- ]
- ]
- },
- {
- "id": "d62f7e05.fc757",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1771.5156555175781,
- "y": 1361.4049072265625,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "d9f2c28b.c7429"
- ]
- ]
- },
- {
- "id": "a8bdf6b0.355778",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1959.9599914550781,
- "y": 1278.4046936035156,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "44681b66.f4c3a4",
- "9dc3e92d.6f7f18"
- ]
- ]
- },
- {
- "id": "44681b66.f4c3a4",
- "type": "execute",
- "name": "OutputMessageBuilder",
- "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"`'VNFC DG not found for: ' + $vnfcFlow[$i].vnfcName`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2185.960723876953,
- "y": 1279.4048156738281,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "5b4bdcd5.0244f4"
- ]
- ]
- },
- {
- "id": "d9f2c28b.c7429",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1920.4045715332031,
- "y": 1363.40478515625,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "6d279d37.78ccd4"
- ]
- ]
- },
- {
- "id": "b0ac43b7.cee43",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1038.4044647216797,
- "y": 1177.4045715332031,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "741ec63e.47b658",
- "504ee939.7682f8",
- "ba8e7dc8.b3d94"
- ]
- ]
- },
- {
- "id": "ba8e7dc8.b3d94",
- "type": "for",
- "name": "for_each_vm",
- "xml": "<for index='j' start='0' end='`$vmCount`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1262.515640258789,
- "y": 1177.9601135253906,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "73299151.c13e7"
- ]
- ]
- },
- {
- "id": "89ef910b.6f179",
- "type": "set",
- "name": "set VM url",
- "xml": "<set>\n<parameter name=\"vm[$j].url\" value='`$vnfcFlow[$i].vm[$j].url`' />\n\n\n\n\n\n",
- "comments": "",
- "x": 1681.515640258789,
- "y": 1174.9601135253906,
- "z": "25788422.0cd1fc",
- "wires": []
- },
- {
- "id": "73299151.c13e7",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1497.515640258789,
- "y": 1175.9601135253906,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "89ef910b.6f179"
- ]
- ]
- },
- {
- "id": "3ccb7956.965646",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 842.515625,
- "y": 962.7378540039062,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "926dd466.d05b38"
- ]
- ]
- },
- {
- "id": "926dd466.d05b38",
- "type": "switchNode",
- "name": "switch_dependencyModelFound",
- "xml": "<switch test='`$dependencyModelFound`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 606.5157470703125,
- "y": 1043.1823120117188,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "bcdaaae8.15d2e8",
- "a9b756f3.902238"
- ]
- ]
- },
- {
- "id": "bcdaaae8.15d2e8",
- "type": "outcome",
- "name": "outcome_false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 955.1824340820312,
- "y": 1014.2933959960938,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "a3432c6e.32994"
- ]
- ]
- },
- {
- "id": "a9b756f3.902238",
- "type": "outcome",
- "name": "outcome_true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 568.5156860351562,
- "y": 1148.1822814941406,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "1ff36a5c.3a1fa6"
- ]
- ]
- },
- {
- "id": "a3432c6e.32994",
- "type": "call",
- "name": "call Stop VNF without Model DG",
- "xml": "<call module='APPC' rpc='Stop_VNF' version='2.0.1' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1233.5154876708984,
- "y": 1004.7378845214844,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "28d59860.ed9638",
- "b6692659.08be28",
- "85aacc05.3e737"
- ]
- ]
- },
- {
- "id": "28d59860.ed9638",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1490.2933197021484,
- "y": 954.8490295410156,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "ddc29a60.9b4398"
- ]
- ]
- },
- {
- "id": "b6692659.08be28",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1493.2933197021484,
- "y": 995.8490295410156,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "7e1f30ff.7a6f7"
- ]
- ]
- },
- {
- "id": "ddc29a60.9b4398",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1677.7377319335938,
- "y": 943.8490371704102,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "fabbee43.1dc99",
- "f7377249.220f5"
- ]
- ]
- },
- {
- "id": "f7377249.220f5",
- "type": "execute",
- "name": "OutputMessageBuilder",
- "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"Stop DG not found\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1895.7378845214844,
- "y": 919.8490371704102,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "9324252c.fadd38"
- ]
- ]
- },
- {
- "id": "fabbee43.1dc99",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 1905.7378845214844,
- "y": 974.8490982055664,
- "z": "25788422.0cd1fc",
- "wires": []
- },
- {
- "id": "7e1f30ff.7a6f7",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 1730.182357788086,
- "y": 990.8491516113281,
- "z": "25788422.0cd1fc",
- "wires": []
- },
- {
- "id": "85aacc05.3e737",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1502.2933654785156,
- "y": 1035.8489990234375,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "8d846ad5.9a88c8"
- ]
- ]
- },
- {
- "id": "8d846ad5.9a88c8",
- "type": "returnSuccess",
- "name": "return success",
- "xml": "<return status='success'>\n\n",
- "comments": "",
- "x": 1736.2933197021484,
- "y": 1034.8490295410156,
- "z": "25788422.0cd1fc",
- "wires": []
- },
- {
- "id": "442ba77d.874db8",
- "type": "set",
- "name": "init failed VNFC count",
- "xml": "<set>\n<parameter name='stopFailedVNFCCount' value='0' />\n",
- "comments": "",
- "x": 892.6267242431641,
- "y": 1101.1824035644531,
- "z": "25788422.0cd1fc",
- "wires": []
- },
- {
- "id": "cacb482f.c409f8",
- "type": "switchNode",
- "name": "switch_server_restart_success",
- "xml": "<switch test='`$stopFailedVNFCCount == 0`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 895.8489379882812,
- "y": 1446.1825866699219,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "11544b2a.bebbb5",
- "9af5b3b0.6ce16"
- ]
- ]
- },
- {
- "id": "11544b2a.bebbb5",
- "type": "outcomeFalse",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1126.0988464355469,
- "y": 1408.9324645996094,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "7d480213.47e71c"
- ]
- ]
- },
- {
- "id": "9af5b3b0.6ce16",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1123.5989379882812,
- "y": 1467.9324645996094,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "744fa6c6.b167d8"
- ]
- ]
- },
- {
- "id": "7d480213.47e71c",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1302.8488464355469,
- "y": 1409.4046325683594,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "9bb8d081.6d716"
- ]
- ]
- },
- {
- "id": "9bb8d081.6d716",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 1545.367691040039,
- "y": 1409.4493408203125,
- "z": "25788422.0cd1fc",
- "wires": []
- },
- {
- "id": "744fa6c6.b167d8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1303.8489379882812,
- "y": 1468.4046325683594,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "306bf572.a2195a"
- ]
- ]
- },
- {
- "id": "306bf572.a2195a",
- "type": "returnSuccess",
- "name": "return success",
- "xml": "<return status='success'>\n",
- "comments": "",
- "x": 1540.5986938476562,
- "y": 1468.8492126464844,
- "z": "25788422.0cd1fc",
- "wires": []
- },
- {
- "id": "89bf85ab.857028",
- "type": "set",
- "name": "update failed VNFC count",
- "xml": "<set>\n<parameter name=\"stopFailedVNFCCount\" value=\"`$stopFailedVNFCCount + 1`\" />\n",
- "comments": "",
- "x": 2546.6261291503906,
- "y": 1402.0712890625,
- "z": "25788422.0cd1fc",
- "wires": []
- },
- {
- "id": "abe16d65.fa0ad",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1785.5156555175781,
- "y": 1320.4049072265625,
- "z": "25788422.0cd1fc",
- "wires": [
- []
- ]
- },
- {
- "id": "915b6526.fc9068",
- "type": "execute",
- "name": "OutputMessageBuilder",
- "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"Failure in flattening payload Json\" />",
- "comments": "",
- "outputs": 1,
- "x": 1266.5155639648438,
- "y": 391.18228912353516,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "88963945.2b6798"
- ]
- ]
- },
- {
- "id": "88963945.2b6798",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1476.5155639648438,
- "y": 387.18228912353516,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "6a4cb650.71b798"
- ]
- ]
- },
- {
- "id": "9324252c.fadd38",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2103.515594482422,
- "y": 923.1822891235352,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "6a4cb650.71b798"
- ]
- ]
- },
- {
- "id": "7b9666da.06bef8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2109.1819763183594,
- "y": 1194.8490295410156,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "6a4cb650.71b798"
- ]
- ]
- },
- {
- "id": "5b4bdcd5.0244f4",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2374.1827697753906,
- "y": 1279.8489990234375,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "6a4cb650.71b798"
- ]
- ]
- },
- {
- "id": "d1b96ddb.ec598",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 1875.9600524902344,
- "y": 1234.8490295410156,
- "z": "25788422.0cd1fc",
- "wires": []
- },
- {
- "id": "9dc3e92d.6f7f18",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 2160.960479736328,
- "y": 1318.9600830078125,
- "z": "25788422.0cd1fc",
- "wires": []
- },
- {
- "id": "6d279d37.78ccd4",
- "type": "switchNode",
- "name": "AAIUpdateSuccessFlag ?",
- "xml": "<switch test='`$AAIUpdateSuccessFlag == true`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2126.6263732910156,
- "y": 1363.9600830078125,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "ba58c904.507168",
- "a925e3d2.fb1ff"
- ]
- ]
- },
- {
- "id": "a925e3d2.fb1ff",
- "type": "outcomeFalse",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2333.4044494628906,
- "y": 1340.960205078125,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "fda81ffe.7d7c7"
- ]
- ]
- },
- {
- "id": "ba58c904.507168",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2332.9044494628906,
- "y": 1401.960205078125,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "89bf85ab.857028"
- ]
- ]
- },
- {
- "id": "ae5453ba.3f87c",
- "type": "execute",
- "name": "OutputMessageBuilder",
- "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"`'AAI update for VNFC ' + $vnfcName + ' failed. Not proceeding to the next VNFC.'`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 2692.6266174316406,
- "y": 1288.9600830078125,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "c93a0a4b.c48288"
- ]
- ]
- },
- {
- "id": "c93a0a4b.c48288",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2723.8487854003906,
- "y": 1171.404296875,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "6a4cb650.71b798"
- ]
- ]
- },
- {
- "id": "c5c2ca6e.d26dc8",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 2684.6263732910156,
- "y": 1339.515380859375,
- "z": "25788422.0cd1fc",
- "wires": []
- },
- {
- "id": "fda81ffe.7d7c7",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2478.6266174316406,
- "y": 1339.9600830078125,
- "z": "25788422.0cd1fc",
- "wires": [
- [
- "ae5453ba.3f87c",
- "c5c2ca6e.d26dc8"
- ]
- ]
- }
-]
+[
+ {
+ "id": "4586add3.72b8e4",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 147.66665649414062,
+ "y": 116.99999809265137,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "7d5898b3.b9ca18"
+ ]
+ ]
+ },
+ {
+ "id": "7d5898b3.b9ca18",
+ "type": "service-logic",
+ "name": "APPC 2.0.2",
+ "module": "APPC",
+ "version": "2.0.2",
+ "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.2'>",
+ "outputs": 1,
+ "x": 323.6666564941406,
+ "y": 116.99999809265137,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "20d1624d.4a9ede"
+ ]
+ ]
+ },
+ {
+ "id": "20d1624d.4a9ede",
+ "type": "method",
+ "name": "Stop_VNF",
+ "xml": "<method rpc='Stop_VNF' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 155.66671752929688,
+ "y": 198.99999809265137,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "78cb5a30.2d2c04"
+ ]
+ ]
+ },
+ {
+ "id": "d844391f.78ca28",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 707.6669616699219,
+ "y": 140.99999809265137,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "c9814409.fb9758"
+ ]
+ ]
+ },
+ {
+ "id": "37ba8905.e49496",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 706.6669006347656,
+ "y": 88.99999809265137,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "c9814409.fb9758"
+ ]
+ ]
+ },
+ {
+ "id": "98ba4a73.15f9b8",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 702.6669616699219,
+ "y": 181.0000057220459,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "c9814409.fb9758"
+ ]
+ ]
+ },
+ {
+ "id": "78cb5a30.2d2c04",
+ "type": "execute",
+ "name": "flatAndAddToContext",
+ "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 395.666748046875,
+ "y": 198.00001335144043,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "d844391f.78ca28",
+ "37ba8905.e49496",
+ "98ba4a73.15f9b8",
+ "3c40d4c6.d5aeac"
+ ]
+ ]
+ },
+ {
+ "id": "3c40d4c6.d5aeac",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 225.66668701171875,
+ "y": 306.0000286102295,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "bf8e0710.af29d8"
+ ]
+ ]
+ },
+ {
+ "id": "bf8e0710.af29d8",
+ "type": "execute",
+ "name": "execute_getVnfHierarchy",
+ "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getVnfHierarchy'>\n<parameter name=\"resourceKey\" value=\"`$input.action-identifiers.vnf-id`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 407.3334045410156,
+ "y": 306.00008964538574,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "2e6691e0.dfcebe",
+ "1e453ec7.081121"
+ ]
+ ]
+ },
+ {
+ "id": "1e453ec7.081121",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 652.3333435058594,
+ "y": 257.0000286102295,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "e4110085.49b6c"
+ ]
+ ]
+ },
+ {
+ "id": "2e6691e0.dfcebe",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 377.3333740234375,
+ "y": 376.0000591278076,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "9d0146ea.f51af8"
+ ]
+ ]
+ },
+ {
+ "id": "9d0146ea.f51af8",
+ "type": "switchNode",
+ "name": "switch_getVnfHierarchy_result",
+ "xml": "<switch test='`$getVnfHierarchy_result`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 465.3333435058594,
+ "y": 439.11120414733887,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "6f8a5202.a1cefc",
+ "be5279d0.2f4128"
+ ]
+ ]
+ },
+ {
+ "id": "6f8a5202.a1cefc",
+ "type": "outcome",
+ "name": "outcome_SUCCESS",
+ "xml": "<outcome value='SUCCESS'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 468.3333435058594,
+ "y": 513.1112041473389,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "3596dfbd.c9e1"
+ ]
+ ]
+ },
+ {
+ "id": "be5279d0.2f4128",
+ "type": "outcome",
+ "name": "outcome_FAILURE",
+ "xml": "<outcome value='FAILURE'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 740.3334045410156,
+ "y": 365.11120414733887,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "b98f2210.d922e"
+ ]
+ ]
+ },
+ {
+ "id": "3596dfbd.c9e1",
+ "type": "switchNode",
+ "name": "switch_VNF_VMCount",
+ "xml": "<switch test='`$VNF.VMCount`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 583.3333740234375,
+ "y": 579.2222881317139,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "ddce16c4.f368e8",
+ "6899ea89.94a984"
+ ]
+ ]
+ },
+ {
+ "id": "ddce16c4.f368e8",
+ "type": "outcome",
+ "name": "outcome_0",
+ "xml": "<outcome value='0'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 807.3333435058594,
+ "y": 481.22216606140137,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "cc2a0266.6bb72"
+ ]
+ ]
+ },
+ {
+ "id": "6899ea89.94a984",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 537.3333435058594,
+ "y": 642.2222881317139,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "a37439b3.82fd88"
+ ]
+ ]
+ },
+ {
+ "id": "a37439b3.82fd88",
+ "type": "execute",
+ "name": "Get VNFC Execution Flow Data",
+ "xml": "<execute plugin='org.onap.appc.dg.common.VnfExecutionFlow' method='getVnfExecutionFlowData' >\n<parameter name=\"DependencyType\" value='RESOURCE' />\n<parameter name=\"FlowStrategy\" value='REVERSE' />\n<parameter name=\"vnfType\" value='`$vnf.type`' />\n<parameter name=\"vnfVersion\" value='`$vnf.version`' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 569.3333435058594,
+ "y": 695.3333721160889,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "231659d2.5f54e6",
+ "843b3b69.3e4b58"
+ ]
+ ]
+ },
+ {
+ "id": "231659d2.5f54e6",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 819.3333435058594,
+ "y": 631.3333721160889,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "d808d134.67813"
+ ]
+ ]
+ },
+ {
+ "id": "c9814409.fb9758",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 865.3335189819336,
+ "y": 139.99999809265137,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "5955da0d.4a6ce4",
+ "7cbdcb18.b9e1b4"
+ ]
+ ]
+ },
+ {
+ "id": "ccca564b.0565a8",
+ "type": "execute",
+ "name": "Report Error to DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"event-message\" value=\"`$event-message`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3056.238136291504,
+ "y": 1008.3809490203857,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "388eaa6a.5e3386"
+ ]
+ ]
+ },
+ {
+ "id": "388eaa6a.5e3386",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3296.5236206054688,
+ "y": 1006.8095712661743,
+ "z": "ceba7166.8262d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5955da0d.4a6ce4",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
+ "comments": "",
+ "x": 942.6664619445801,
+ "y": 213.52370262145996,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "e4110085.49b6c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 831.1110534667969,
+ "y": 256.88891410827637,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "912353f9.d003c",
+ "7c4d73a3.e99a3c"
+ ]
+ ]
+ },
+ {
+ "id": "7c4d73a3.e99a3c",
+ "type": "execute",
+ "name": "OutputMessageBuilder",
+ "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"Failed to retrieve VNF details from A&amp;AI\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1255.1109313964844,
+ "y": 262.88891410827637,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "2d93b41d.ff6e5c"
+ ]
+ ]
+ },
+ {
+ "id": "912353f9.d003c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1071.1110534667969,
+ "y": 308.88891410827637,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "2d93b41d.ff6e5c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1470.1110534667969,
+ "y": 199.88888359069824,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "ccca564b.0565a8"
+ ]
+ ]
+ },
+ {
+ "id": "b98f2210.d922e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 984.0000915527344,
+ "y": 366.11120414733887,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "8201ca81.8d7f18",
+ "3bef4d5d.970862"
+ ]
+ ]
+ },
+ {
+ "id": "3bef4d5d.970862",
+ "type": "execute",
+ "name": "OutputMessageBuilder",
+ "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"Failed to retrieve VNF details from A&amp;AI\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1250.0000915527344,
+ "y": 364.11120414733887,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "7b1cfaf6.d327e4"
+ ]
+ ]
+ },
+ {
+ "id": "7b1cfaf6.d327e4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1474.0000915527344,
+ "y": 274.11120414733887,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "ccca564b.0565a8"
+ ]
+ ]
+ },
+ {
+ "id": "8201ca81.8d7f18",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1232.0000915527344,
+ "y": 413.11120414733887,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "cc2a0266.6bb72",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 995.6667175292969,
+ "y": 482.222318649292,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "add4f3d3.65a9",
+ "27236690.84a33a"
+ ]
+ ]
+ },
+ {
+ "id": "27236690.84a33a",
+ "type": "execute",
+ "name": "OutputMessageBuilder",
+ "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1260.6667175292969,
+ "y": 464.22228813171387,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "3fd2e01d.3411a"
+ ]
+ ]
+ },
+ {
+ "id": "3fd2e01d.3411a",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1493.6667175292969,
+ "y": 372.22228813171387,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "ccca564b.0565a8"
+ ]
+ ]
+ },
+ {
+ "id": "add4f3d3.65a9",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1225.6667175292969,
+ "y": 532.2222881317139,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "d808d134.67813",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 987.6666564941406,
+ "y": 632.4444561004639,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "7000e454.172a3c",
+ "990fc0df.d6773"
+ ]
+ ]
+ },
+ {
+ "id": "990fc0df.d6773",
+ "type": "execute",
+ "name": "OutputMessageBuilder",
+ "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1266.6666564941406,
+ "y": 598.4444561004639,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "8e3d26c1.bf47f8"
+ ]
+ ]
+ },
+ {
+ "id": "8e3d26c1.bf47f8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1495.6667175292969,
+ "y": 459.444486618042,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "ccca564b.0565a8"
+ ]
+ ]
+ },
+ {
+ "id": "7000e454.172a3c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1231.6665954589844,
+ "y": 668.4445171356201,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "b8aa3889.7209c8",
+ "type": "execute",
+ "name": "Resolve VNFC DG",
+ "xml": "<execute plugin='org.onap.appc.dg.common.VNFCDgResolverPlugin' method='resolveVNFCDg'>\n<parameter name=\"vnfType\" value='`$vnf.type`' />\n<parameter name=\"vnfcType\" value='`$vnfcFlow[$i].vnfcType`' /> \n<parameter name=\"action\" value=\"Stop\" />\n<parameter name=\"api-ver\" value='`$input.common-header.api-ver`' /> \n<parameter name=\"prefix\" value=\"Stop\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1229.8890991210938,
+ "y": 1001.6667156219482,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "78ffac58.5bbb44",
+ "6393e48d.ec989c"
+ ]
+ ]
+ },
+ {
+ "id": "8e6da284.981f9",
+ "type": "for",
+ "name": "for_each_vnfcFlow",
+ "xml": "<for index='i' start='0' end='`$vnfcFlowCount`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 823.8889617919922,
+ "y": 984.6667766571045,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "70f4968b.a82928"
+ ]
+ ]
+ },
+ {
+ "id": "ce32f050.265b7",
+ "type": "set",
+ "name": "set vnfc parameters",
+ "xml": "<set>\n<parameter name='vnfcName' value='`$vnfcFlow[$i].vnfcName`' />\n<parameter name='vnfcType' value='`$vnfcFlow[$i].vnfcType`' />\n<parameter name='vmCount' value='`$vnfcFlow[$i].vmCount`' />\n<parameter name='input.action' value='`$input.action`' />\n<parameter name='AAIUpdateSuccessFlag' value='false' />\n\n",
+ "comments": "",
+ "x": 1234.8887023925781,
+ "y": 816.7778911590576,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "887b627d.c97a8",
+ "type": "call",
+ "name": "call VNFC DG",
+ "xml": "<call module='`$Stop.dg_module`' rpc='`$Stop.dg_name`' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1565.8888549804688,
+ "y": 1043.777982711792,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "6533192e.879128",
+ "58906d35.181134",
+ "442b432d.240c7c"
+ ]
+ ]
+ },
+ {
+ "id": "cbbe11be.d981a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 595.8891296386719,
+ "y": 983.6668376922607,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "8e6da284.981f9",
+ "15e2db11.9c2565",
+ "a3a56435.1499b8"
+ ]
+ ]
+ },
+ {
+ "id": "78ffac58.5bbb44",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1404.8886108398438,
+ "y": 1043.6667766571045,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "887b627d.c97a8"
+ ]
+ ]
+ },
+ {
+ "id": "6393e48d.ec989c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1416.8887329101562,
+ "y": 962.6667766571045,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "a908427a.f6794"
+ ]
+ ]
+ },
+ {
+ "id": "a908427a.f6794",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1598.8887023925781,
+ "y": 961.6667766571045,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "8a33d68e.ec1d38",
+ "dfe19af0.82cae8"
+ ]
+ ]
+ },
+ {
+ "id": "8a33d68e.ec1d38",
+ "type": "execute",
+ "name": "OutputMessageBuilder",
+ "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"`'Failed to retrieve VNFC DG for ' + $vnfcFlow[$i].vnfcType`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1878.8887939453125,
+ "y": 920.666898727417,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "b660ac91.d5c89"
+ ]
+ ]
+ },
+ {
+ "id": "58906d35.181134",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1755.6666259765625,
+ "y": 1003.889066696167,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "189a360d.9b1b7a"
+ ]
+ ]
+ },
+ {
+ "id": "6533192e.879128",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1744.6666870117188,
+ "y": 1086.8892803192139,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "c1ac2b61.ebcd48"
+ ]
+ ]
+ },
+ {
+ "id": "189a360d.9b1b7a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1933.1110229492188,
+ "y": 1003.889066696167,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "8e652c3a.e5c4b",
+ "cc1a4643.f06768"
+ ]
+ ]
+ },
+ {
+ "id": "8e652c3a.e5c4b",
+ "type": "execute",
+ "name": "OutputMessageBuilder",
+ "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"`'VNFC DG not found for: ' + $vnfcFlow[$i].vnfcName`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2159.1117553710938,
+ "y": 1004.8891887664795,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "329eb5e7.704f5a"
+ ]
+ ]
+ },
+ {
+ "id": "c1ac2b61.ebcd48",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1864.555778503418,
+ "y": 1146.8891859054565,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "4f71e379.3c6aec",
+ "ce52794e.01e988",
+ "ccca564b.0565a8"
+ ]
+ ]
+ },
+ {
+ "id": "70f4968b.a82928",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1011.5554962158203,
+ "y": 902.8889446258545,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "b8aa3889.7209c8",
+ "ce32f050.265b7",
+ "dd46ca2e.b2ed28"
+ ]
+ ]
+ },
+ {
+ "id": "dd46ca2e.b2ed28",
+ "type": "for",
+ "name": "for_each_vm",
+ "xml": "<for index='j' start='0' end='`$vmCount`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1235.6666717529297,
+ "y": 903.444486618042,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "1683b9e4.841dd6"
+ ]
+ ]
+ },
+ {
+ "id": "e368d2ea.e45a5",
+ "type": "set",
+ "name": "set VM url",
+ "xml": "<set>\n<parameter name=\"vm[$j].url\" value='`$vnfcFlow[$i].vm[$j].url`' />\n\n\n\n\n\n",
+ "comments": "",
+ "x": 1654.6666717529297,
+ "y": 900.444486618042,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "1683b9e4.841dd6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1470.6666717529297,
+ "y": 901.444486618042,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "e368d2ea.e45a5"
+ ]
+ ]
+ },
+ {
+ "id": "843b3b69.3e4b58",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 815.6666564941406,
+ "y": 688.2222270965576,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "86888bb3.7f43d8"
+ ]
+ ]
+ },
+ {
+ "id": "86888bb3.7f43d8",
+ "type": "switchNode",
+ "name": "switch_dependencyModelFound",
+ "xml": "<switch test='`$dependencyModelFound`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 579.6667785644531,
+ "y": 768.6666851043701,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "b8dad876.1ba5e8",
+ "65f96c78.705ce4"
+ ]
+ ]
+ },
+ {
+ "id": "b8dad876.1ba5e8",
+ "type": "outcome",
+ "name": "outcome_false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 928.3334655761719,
+ "y": 739.7777690887451,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "6aa48c84.8869e4"
+ ]
+ ]
+ },
+ {
+ "id": "65f96c78.705ce4",
+ "type": "outcome",
+ "name": "outcome_true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 541.6667175292969,
+ "y": 873.666654586792,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "cbbe11be.d981a"
+ ]
+ ]
+ },
+ {
+ "id": "6aa48c84.8869e4",
+ "type": "call",
+ "name": "call Stop VNF without Model DG",
+ "xml": "<call module='APPC' rpc='Stop_VNF' version='2.0.1' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1206.666519165039,
+ "y": 730.2222576141357,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "e399aa39.d4ed78",
+ "820cfe48.755dc",
+ "5ed7c0f.a206a4"
+ ]
+ ]
+ },
+ {
+ "id": "e399aa39.d4ed78",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1463.444351196289,
+ "y": 680.333402633667,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "aaebcdd9.9731c"
+ ]
+ ]
+ },
+ {
+ "id": "820cfe48.755dc",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1466.444351196289,
+ "y": 721.333402633667,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "482420ae.93334"
+ ]
+ ]
+ },
+ {
+ "id": "aaebcdd9.9731c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1650.8887634277344,
+ "y": 669.3334102630615,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "4bcf49ab.6d9658",
+ "1b04e855.6d0158"
+ ]
+ ]
+ },
+ {
+ "id": "1b04e855.6d0158",
+ "type": "execute",
+ "name": "OutputMessageBuilder",
+ "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"Stop DG not found\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1868.888916015625,
+ "y": 645.3334102630615,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "9ccb600d.3735f"
+ ]
+ ]
+ },
+ {
+ "id": "4bcf49ab.6d9658",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1878.888916015625,
+ "y": 700.3334712982178,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "482420ae.93334",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1703.3333892822266,
+ "y": 716.3335247039795,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "5ed7c0f.a206a4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1475.4443969726562,
+ "y": 761.3333721160889,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "15648934.830567"
+ ]
+ ]
+ },
+ {
+ "id": "15648934.830567",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n\n",
+ "comments": "",
+ "x": 1709.444351196289,
+ "y": 760.333402633667,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "a3a56435.1499b8",
+ "type": "set",
+ "name": "init failed VNFC count",
+ "xml": "<set>\n<parameter name='stopFailedVNFCCount' value='0' />\n",
+ "comments": "",
+ "x": 865.7777557373047,
+ "y": 826.6667766571045,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "15e2db11.9c2565",
+ "type": "switchNode",
+ "name": "switch_server_restart_success",
+ "xml": "<switch test='`$stopFailedVNFCCount == 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 868.9999694824219,
+ "y": 1171.6669597625732,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "7f31de58.8d30f",
+ "20361085.667b9"
+ ]
+ ]
+ },
+ {
+ "id": "7f31de58.8d30f",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1099.2498779296875,
+ "y": 1134.4168376922607,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "ecef896a.6dc048"
+ ]
+ ]
+ },
+ {
+ "id": "20361085.667b9",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1096.7499694824219,
+ "y": 1193.4168376922607,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "8035937a.e0a66"
+ ]
+ ]
+ },
+ {
+ "id": "ecef896a.6dc048",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1275.9998779296875,
+ "y": 1134.8890056610107,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "294dfebc.038382"
+ ]
+ ]
+ },
+ {
+ "id": "294dfebc.038382",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1518.5187225341797,
+ "y": 1134.9337139129639,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "8035937a.e0a66",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1276.9999694824219,
+ "y": 1193.8890056610107,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "1bb10a80.dfce06"
+ ]
+ ]
+ },
+ {
+ "id": "1bb10a80.dfce06",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n",
+ "comments": "",
+ "x": 1513.7497253417969,
+ "y": 1194.3335857391357,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "4f71e379.3c6aec",
+ "type": "set",
+ "name": "update failed VNFC count",
+ "xml": "<set>\n<parameter name=\"stopFailedVNFCCount\" value=\"`$stopFailedVNFCCount + 1`\" />\n",
+ "comments": "",
+ "x": 2078.7774658203125,
+ "y": 1079.5556888580322,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "442b432d.240c7c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1758.6666870117188,
+ "y": 1045.8892803192139,
+ "z": "ceba7166.8262d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7cbdcb18.b9e1b4",
+ "type": "execute",
+ "name": "OutputMessageBuilder",
+ "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"Failure in flattening payload Json\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1239.6665954589844,
+ "y": 116.66666221618652,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "55f619c7.8d89d8"
+ ]
+ ]
+ },
+ {
+ "id": "55f619c7.8d89d8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1449.6665954589844,
+ "y": 112.66666221618652,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "ccca564b.0565a8"
+ ]
+ ]
+ },
+ {
+ "id": "9ccb600d.3735f",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2076.6666259765625,
+ "y": 648.6666622161865,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "ccca564b.0565a8"
+ ]
+ ]
+ },
+ {
+ "id": "b660ac91.d5c89",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2082.3330078125,
+ "y": 920.333402633667,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "ccca564b.0565a8"
+ ]
+ ]
+ },
+ {
+ "id": "329eb5e7.704f5a",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2347.3338012695312,
+ "y": 1005.3333721160889,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "ccca564b.0565a8"
+ ]
+ ]
+ },
+ {
+ "id": "dfe19af0.82cae8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1849.111083984375,
+ "y": 960.333402633667,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "cc1a4643.f06768",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 2134.1115112304688,
+ "y": 1044.4444561004639,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "ce52794e.01e988",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 2030.7777938842773,
+ "y": 1204.9997863769531,
+ "z": "ceba7166.8262d",
+ "wires": []
+ }
+] \ No newline at end of file
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_FIREWALL_Configure_2.0.0.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_FIREWALL_Configure_2.0.0.json
index ffa01e614..fea2e5cd9 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_FIREWALL_Configure_2.0.0.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_FIREWALL_Configure_2.0.0.json
@@ -1 +1,127 @@
-[{"id":"e300eb8d.e228b8","type":"dgstart","name":"DGSTART","outputs":1,"x":146,"y":152,"z":"8266ef6c.2a723","wires":[["78eca58a.cc28fc"]]},{"id":"78eca58a.cc28fc","type":"service-logic","name":"APPC 2.0.0","module":"APPC","version":"2.0.0","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.0'>","outputs":1,"x":150,"y":242,"z":"8266ef6c.2a723","wires":[["89a3ba51.457e08"]]},{"id":"89a3ba51.457e08","type":"method","name":"FIREWALL_Configure","xml":"<method rpc='FIREWALL_Configure' mode='sync'>\n","comments":"","outputs":1,"x":171,"y":328,"z":"8266ef6c.2a723","wires":[["203050e6.0500a"]]},{"id":"f056109.d3d72f","type":"execute","name":"execute","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"output.status.dgerror.code\" value=\"503\" />\n","comments":"","outputs":1,"x":627,"y":325,"z":"8266ef6c.2a723","wires":[["bb728ed6.12c5","a6f6f578.370da8"]]},{"id":"203050e6.0500a","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":426,"y":329,"z":"8266ef6c.2a723","wires":[["f056109.d3d72f"]]},{"id":"bb728ed6.12c5","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":815,"y":335,"z":"8266ef6c.2a723","wires":[["e13eb078.a647"]]},{"id":"e13eb078.a647","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n\n","comments":"","x":1001,"y":332,"z":"8266ef6c.2a723","wires":[]},{"id":"a6f6f578.370da8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":773,"y":398,"z":"8266ef6c.2a723","wires":[["e13eb078.a647"]]}]
+[
+ {
+ "id": "e300eb8d.e228b8",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 146,
+ "y": 152,
+ "z": "8266ef6c.2a723",
+ "wires": [
+ [
+ "78eca58a.cc28fc"
+ ]
+ ]
+ },
+ {
+ "id": "78eca58a.cc28fc",
+ "type": "service-logic",
+ "name": "APPC 2.0.0",
+ "module": "APPC",
+ "version": "2.0.0",
+ "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.0'>",
+ "outputs": 1,
+ "x": 150,
+ "y": 242,
+ "z": "8266ef6c.2a723",
+ "wires": [
+ [
+ "89a3ba51.457e08"
+ ]
+ ]
+ },
+ {
+ "id": "89a3ba51.457e08",
+ "type": "method",
+ "name": "FIREWALL_Configure",
+ "xml": "<method rpc='FIREWALL_Configure' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 171,
+ "y": 328,
+ "z": "8266ef6c.2a723",
+ "wires": [
+ [
+ "203050e6.0500a"
+ ]
+ ]
+ },
+ {
+ "id": "f056109.d3d72f",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"output.status.dgerror.code\" value=\"503\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 627,
+ "y": 325,
+ "z": "8266ef6c.2a723",
+ "wires": [
+ [
+ "bb728ed6.12c5",
+ "a6f6f578.370da8"
+ ]
+ ]
+ },
+ {
+ "id": "203050e6.0500a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 426,
+ "y": 329,
+ "z": "8266ef6c.2a723",
+ "wires": [
+ [
+ "f056109.d3d72f"
+ ]
+ ]
+ },
+ {
+ "id": "bb728ed6.12c5",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 815,
+ "y": 335,
+ "z": "8266ef6c.2a723",
+ "wires": [
+ [
+ "e13eb078.a647"
+ ]
+ ]
+ },
+ {
+ "id": "e13eb078.a647",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n\n",
+ "comments": "",
+ "x": 1001,
+ "y": 332,
+ "z": "8266ef6c.2a723",
+ "wires": []
+ },
+ {
+ "id": "a6f6f578.370da8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 773,
+ "y": 398,
+ "z": "8266ef6c.2a723",
+ "wires": [
+ [
+ "e13eb078.a647"
+ ]
+ ]
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_Generic_Audit_2.0.0.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_Generic_Audit_2.0.0.json
index 6e9925b14..3e1633809 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_Generic_Audit_2.0.0.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_Generic_Audit_2.0.0.json
@@ -1,1427 +1,1759 @@
-[{
- "id": "81a02ecc.e61b6",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 119.66666412353516,
- "y": 84.08333426713943,
- "z": "f16b4873.701568",
- "wires": [["98597336.3c647"]]
-},
- {
- "id": "98597336.3c647",
- "type": "service-logic",
- "name": "APPC 2.0.0",
- "module": "APPC",
- "version": "2.0.0",
- "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.0'>",
- "outputs": 1,
- "x": 299.66666412353516,
- "y": 84.08333426713943,
- "z": "f16b4873.701568",
- "wires": [["3dddb84a.a123f8"]]
- },
- {
- "id": "3dddb84a.a123f8",
- "type": "method",
- "name": "Generic_Audit",
- "xml": "<method rpc='Generic_Audit' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 478.66666412353516,
- "y": 84.08333426713943,
- "z": "f16b4873.701568",
- "wires": [["d043d660.7cbce8"]]
- },
- {
- "id": "7490fc55.b23eb4",
- "type": "get-resource",
- "name": "Retrieve current config details",
- "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"SELECT service_description, vnf_name, vm_name, vnf_type, vnfc_type, host_ip_address , content FROM UPLOAD_CONFIG WHERE vnf_id = $input.action-identifiers.vnf-id AND config_indicator='Current' AND (pending_delete IS NULL OR pending_delete != 'Y')\" pfx=\"currnt-config[]\">",
- "comments": "",
- "outputs": 1,
- "x": 458.08617401123047,
- "y": 480.8665657043457,
- "z": "f16b4873.701568",
- "wires": [["dceb4c56.95345",
- "a55ef9f.1845d08",
- "7c43698a.2b9eb8"]]
- },
- {
- "id": "7c43698a.2b9eb8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 733.3759384155273,
- "y": 418.58686447143555,
- "z": "f16b4873.701568",
- "wires": [["90511868.d5a528"]]
- },
- {
- "id": "dceb4c56.95345",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>",
- "comments": "",
- "outputs": 1,
- "x": 740.3759994506836,
- "y": 483.3646430969238,
- "z": "f16b4873.701568",
- "wires": [["867bd8aa.3a55e8"]]
- },
- {
- "id": "a55ef9f.1845d08",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 672.5982284545898,
- "y": 533.0313148498535,
- "z": "f16b4873.701568",
- "wires": [["30e459ed.1b9986"]]
- },
- {
- "id": "7eaffd91.5e2494",
- "type": "execute",
- "name": "Report Error to DCAE",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1195.2260360717773,
- "y": 496.9629249572754,
- "z": "f16b4873.701568",
- "wires": [[]]
- },
- {
- "id": "2bbc2c8c.227ae4",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$error-message`\"/>\n",
- "comments": "",
- "x": 1189.986717224121,
- "y": 542.1509742736816,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "2c17d4fd.27bcac",
- "type": "set",
- "name": "Set error message",
- "xml": "<set>\n<parameter name='error-message' value=\"`'Current configuration not found in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>",
- "comments": "",
- "x": 1180.593650817871,
- "y": 411.1424140930176,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "d4c8b998.7b4678",
- "type": "set",
- "name": "Set error message",
- "xml": "<set>\n<parameter name='error-message' value=\"`'Error while retrieving current configuration from the repository for the vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
- "comments": "",
- "x": 1182.2346420288086,
- "y": 368.0569190979004,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "90511868.d5a528",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 894.4568099975586,
- "y": 417.4757499694824,
- "z": "f16b4873.701568",
- "wires": [["d4c8b998.7b4678",
- "7eaffd91.5e2494",
- "2bbc2c8c.227ae4",
- "ac51bff5.352e5"]]
- },
- {
- "id": "867bd8aa.3a55e8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 905.0124130249023,
- "y": 481.2535285949707,
- "z": "f16b4873.701568",
- "wires": [["2c17d4fd.27bcac",
- "7eaffd91.5e2494",
- "2bbc2c8c.227ae4",
- "ac51bff5.352e5"]]
- },
- {
- "id": "30e459ed.1b9986",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 302.56404876708984,
- "y": 631.1004371643066,
- "z": "f16b4873.701568",
- "wires": [["b79fac1d.f13e1",
- "925cca6f.85b738",
- "a844b2a2.8681f",
- "dda489b7.a7bc78"]]
- },
- {
- "id": "b79fac1d.f13e1",
- "type": "for",
- "name": "for each current config",
- "xml": "<for index=\"i\" start=\"0\" end=\"`$currnt-config_length`\" >\n",
- "comments": "",
- "outputs": 1,
- "x": 530.6324081420898,
- "y": 631.4679908752441,
- "z": "f16b4873.701568",
- "wires": [["67f30b25.070c24"]]
- },
- {
- "id": "eb62c9d8.e05988",
- "type": "set",
- "name": "Set context",
- "xml": "<set>\n<parameter name='service-description' value=\"`$currnt-config[$i].service-description`\" />\n<parameter name='vm-name' value=\"`$currnt-config[$i].vm-name`\" />\n<parameter name='vnf-type' value=\"`$currnt-config[$i].vnf-type`\" />\n<parameter name='vnfc-type' value=\"`$currnt-config[$i].vnfc-type`\" />\n<parameter name='host-ip-address' value=\"`$currnt-config[$i].host-ip-address`\" />\n<parameter name='vnf-name' value=\"`$currnt-config[$i].vnf-name`\" />\n<parameter name='current-config' value=\"`$currnt-config[$i].content`\" />\n\n",
- "comments": "",
- "x": 806.4786605834961,
- "y": 609.6987953186035,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "c66c9b28.d58e38",
- "type": "call",
- "name": "Call Retrieve running Config DG",
- "xml": "<call rpc='GetRunningConfig' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 857.4786605834961,
- "y": 666.6988258361816,
- "z": "f16b4873.701568",
- "wires": [["e6375b8c.512fa8",
- "b4636b56.55a038",
- "67a55747.3e2588"]]
- },
- {
- "id": "67f30b25.070c24",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 552.7863082885742,
- "y": 729.6218299865723,
- "z": "f16b4873.701568",
- "wires": [["eb62c9d8.e05988",
- "c66c9b28.d58e38",
- "1a5aec1c.ab3e44",
- "58111dc9.5f25b4",
- "b86d049a.13a1b8"]]
- },
- {
- "id": "e6375b8c.512fa8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1118.5898056030273,
- "y": 613.6987342834473,
- "z": "f16b4873.701568",
- "wires": [["5a971e26.a7171"]]
- },
- {
- "id": "b4636b56.55a038",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>",
- "comments": "",
- "outputs": 1,
- "x": 1119.0341415405273,
- "y": 666.6988258361816,
- "z": "f16b4873.701568",
- "wires": [["bd38a484.bd0a98"]]
- },
- {
- "id": "67a55747.3e2588",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1123.1452865600586,
- "y": 710.8098487854004,
- "z": "f16b4873.701568",
- "wires": [[]]
- },
- {
- "id": "5a971e26.a7171",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1268.145408630371,
- "y": 613.6987342834473,
- "z": "f16b4873.701568",
- "wires": [["72158f5.d06fd7",
- "580bd65f.53d9c8",
- "c4fa8668.3392a8"]]
- },
- {
- "id": "bd38a484.bd0a98",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1270.478660583496,
- "y": 664.5876808166504,
- "z": "f16b4873.701568",
- "wires": [["c433e537.6d3cf8",
- "72158f5.d06fd7",
- "580bd65f.53d9c8",
- "c4fa8668.3392a8"]]
- },
- {
- "id": "c433e537.6d3cf8",
- "type": "set",
- "name": "Set error message",
- "xml": "<set>\n<parameter name='error-message' value='DG to retrieve running configuration not found'/>",
- "comments": "",
- "x": 1512.7009506225586,
- "y": 639.5876808166504,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "580bd65f.53d9c8",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
- "comments": "",
- "x": 1534.5471725463867,
- "y": 884.4338417053223,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "72158f5.d06fd7",
- "type": "execute",
- "name": "Report Error to DCAE",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1548.5471420288086,
- "y": 806.4338111877441,
- "z": "f16b4873.701568",
- "wires": [[]]
- },
- {
- "id": "752bb299.feb57c",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 250.66664123535156,
- "y": 412.99244117736816,
- "z": "f16b4873.701568",
- "wires": [["7490fc55.b23eb4",
- "7c0de445.f1cc6c"]]
- },
- {
- "id": "ac51bff5.352e5",
- "type": "record",
- "name": "Log error",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1153.3589096069336,
- "y": 454.77563858032227,
- "z": "f16b4873.701568",
- "wires": [[]]
- },
- {
- "id": "c4fa8668.3392a8",
- "type": "record",
- "name": "Log error",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1493.024314880371,
- "y": 765.1839942932129,
- "z": "f16b4873.701568",
- "wires": [[]]
- },
- {
- "id": "7c0de445.f1cc6c",
- "type": "record",
- "name": "Log message",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Retrieving current configuration details from the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 440.08553314208984,
- "y": 414.57805252075195,
- "z": "f16b4873.701568",
- "wires": [[]]
- },
- {
- "id": "925cca6f.85b738",
- "type": "record",
- "name": "Log message",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Audit action successful for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 524.6198310852051,
- "y": 1553.2725563049316,
- "z": "f16b4873.701568",
- "wires": [[]]
- },
- {
- "id": "a844b2a2.8681f",
- "type": "returnSuccess",
- "name": "return success",
- "xml": "<return status='success'>\n",
- "comments": "",
- "x": 502.4659614562988,
- "y": 1623.2724342346191,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "a97ef4e9.131748",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1059.9563827514648,
- "y": 923.8037452697754,
- "z": "f16b4873.701568",
- "wires": [["7f859626.3ecfd8"]]
- },
- {
- "id": "8225d505.2c9498",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>",
- "comments": "",
- "outputs": 1,
- "x": 1063.9565048217773,
- "y": 978.5815773010254,
- "z": "f16b4873.701568",
- "wires": [["bde3e23.e488b2"]]
- },
- {
- "id": "57cfd6f7.764c38",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 926.1786422729492,
- "y": 1035.2482738494873,
- "z": "f16b4873.701568",
- "wires": [["fb928b6.eef3f78"]]
- },
- {
- "id": "bde3e23.e488b2",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1348.5930557250977,
- "y": 974.4703979492188,
- "z": "f16b4873.701568",
- "wires": [["1d860eb4.38f4b1",
- "e4322d3b.8d1ab",
- "9380a644.f57908",
- "a832eaf1.bc4ea8"]]
- },
- {
- "id": "7f859626.3ecfd8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1348.0373153686523,
- "y": 923.692569732666,
- "z": "f16b4873.701568",
- "wires": [["e4322d3b.8d1ab",
- "9380a644.f57908",
- "a832eaf1.bc4ea8",
- "1d860eb4.38f4b1"]]
- },
- {
- "id": "1d860eb4.38f4b1",
- "type": "set",
- "name": "Set error message",
- "xml": "<set>\n<parameter name='error-message' value=\"`'Error comparing current and running configuration for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n<parameter name='error-code' value='500'/>",
- "comments": "",
- "x": 1638.1741561889648,
- "y": 973.3591957092285,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "fb928b6.eef3f78",
- "type": "switchNode",
- "name": "switch",
- "xml": "<switch test='`$STATUS`'>",
- "comments": "",
- "outputs": 1,
- "x": 1053.6667098999023,
- "y": 1070.083408355713,
- "z": "f16b4873.701568",
- "wires": [["8e39a0cd.ee399",
- "d61b176c.169178",
- "fd1426ee.97bc68"]]
- },
- {
- "id": "8e39a0cd.ee399",
- "type": "success",
- "name": "no match",
- "xml": "<outcome value='FAILURE'>",
- "comments": "",
- "outputs": 1,
- "x": 1209.6667098999023,
- "y": 1071.833408355713,
- "z": "f16b4873.701568",
- "wires": [["328dd4e4.27801c"]]
- },
- {
- "id": "328dd4e4.27801c",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1372.666790008545,
- "y": 1085.0833568572998,
- "z": "f16b4873.701568",
- "wires": [["e4322d3b.8d1ab",
- "9380a644.f57908",
- "a832eaf1.bc4ea8",
- "764e8614.57f5c8",
- "5aeed919.b83438",
- "93ba279d.5bcbb8"]]
- },
- {
- "id": "77ff9a98.2bf224",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1353.6667098999023,
- "y": 1033.5833778381348,
- "z": "f16b4873.701568",
- "wires": [["e4322d3b.8d1ab",
- "9380a644.f57908",
- "a832eaf1.bc4ea8",
- "1d860eb4.38f4b1"]]
- },
- {
- "id": "e4322d3b.8d1ab",
- "type": "record",
- "name": "Log error",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$Error-Message`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1624.6667098999023,
- "y": 1100.083408355713,
- "z": "f16b4873.701568",
- "wires": [[]]
- },
- {
- "id": "9380a644.f57908",
- "type": "execute",
- "name": "Report Error to DCAE",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1645.5338973999023,
- "y": 1201.2707862854004,
- "z": "f16b4873.701568",
- "wires": [[]]
- },
- {
- "id": "a832eaf1.bc4ea8",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='error-code' value=\"`$error-code`\"/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$error-message`\"/>\n",
- "comments": "",
- "x": 1715.2946853637695,
- "y": 1460.458869934082,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "1a5aec1c.ab3e44",
- "type": "execute",
- "name": "Compare",
- "xml": "<execute plugin='org.onap.sdnc.config.audit.node.CompareNode' method='compare' >\n<parameter name='sourceDataType' value=\"Current\" />\n<parameter name='sourceData' value=\"`$current-config`\" />\n<parameter name='targetDataType' value=\"Running\" />\n<parameter name='targetData' value=\"`$running-config.content`\" />\n<parameter name='compareDataType' value=\"`$protocol`\" />",
- "comments": "",
- "outputs": 1,
- "x": 769.6667098999023,
- "y": 967.0834083557129,
- "z": "f16b4873.701568",
- "wires": [["a97ef4e9.131748",
- "8225d505.2c9498",
- "57cfd6f7.764c38"]]
- },
- {
- "id": "764e8614.57f5c8",
- "type": "set",
- "name": "Set error message",
- "xml": "<set>\n<parameter name='error-message' value=\"`$Error-Message`\"/>\n<parameter name='error-code' value=\"`$Error-code`\"/>\n",
- "comments": "",
- "x": 1637.6666793823242,
- "y": 1052.0833187103271,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "87b58856.047f68",
- "type": "set",
- "name": "Set error message",
- "xml": "<set>\n<parameter name='error-message' value=\"`'Running configuration not found in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>",
- "comments": "",
- "x": 1513.1740951538086,
- "y": 727.0833473205566,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "f549e445.f74888",
- "type": "set",
- "name": "Set error message",
- "xml": "<set>\n<parameter name='error-message' value=\"`'Error while retrieving running configuration from the repository for the vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
- "comments": "",
- "x": 1507.815086364746,
- "y": 680.9978675842285,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "6cdf93fd.27cd0c",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1274.037239074707,
- "y": 747.416690826416,
- "z": "f16b4873.701568",
- "wires": [["f549e445.f74888",
- "c4fa8668.3392a8",
- "72158f5.d06fd7",
- "580bd65f.53d9c8",
- "b79736f.f56eac8"]]
- },
- {
- "id": "cea9c726.916838",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1281.592903137207,
- "y": 797.1944618225098,
- "z": "f16b4873.701568",
- "wires": [["87b58856.047f68",
- "c4fa8668.3392a8",
- "72158f5.d06fd7",
- "580bd65f.53d9c8",
- "b79736f.f56eac8"]]
- },
- {
- "id": "183d6159.f57e3f",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>",
- "comments": "",
- "outputs": 1,
- "x": 1127.956428527832,
- "y": 797.3055458068848,
- "z": "f16b4873.701568",
- "wires": [["cea9c726.916838"]]
- },
- {
- "id": "4f9c33fe.ee7c6c",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1128.9562454223633,
- "y": 749.5278053283691,
- "z": "f16b4873.701568",
- "wires": [["6cdf93fd.27cd0c"]]
- },
- {
- "id": "58111dc9.5f25b4",
- "type": "get-resource",
- "name": "Retrieve Running config details DB",
- "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\" SELECT upload_config_id, request_id, originator_id, service_description, action, upload_date, vnf_id, vnf_name, vm_name, vnf_type, vnfc_type, host_ip_address, config_indicator, pending_delete ,content FROM UPLOAD_CONFIG WHERE UPLOAD_CONFIG_ID = $runningConfig.UPLOAD-CONFIG-ID\" pfx=\"running-config\" >",
- "comments": "",
- "outputs": 1,
- "x": 865.6666488647461,
- "y": 793.8074684143066,
- "z": "f16b4873.701568",
- "wires": [["183d6159.f57e3f",
- "4f9c33fe.ee7c6c",
- "5fa98c15.aa8b74"]]
- },
- {
- "id": "5fa98c15.aa8b74",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1126.6665115356445,
- "y": 847.0833778381348,
- "z": "f16b4873.701568",
- "wires": [[]]
- },
- {
- "id": "d61b176c.169178",
- "type": "success",
- "name": "match",
- "xml": "<outcome value='SUCCESS'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1202.6667175292969,
- "y": 1132.0834693908691,
- "z": "f16b4873.701568",
- "wires": [["5584c2d4.ec7c8c"]]
- },
- {
- "id": "fd1426ee.97bc68",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1213.6667098999023,
- "y": 1027.083408355713,
- "z": "f16b4873.701568",
- "wires": [["77ff9a98.2bf224"]]
- },
- {
- "id": "b86d049a.13a1b8",
- "type": "set",
- "name": "Set Running Config ID",
- "xml": "<set>\n<parameter name='output.payload.upload-config-id[$i]' value='`$runningConfig.UPLOAD-CONFIG-ID`' />",
- "comments": "",
- "x": 845.7777938842773,
- "y": 728.4167518615723,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "dda489b7.a7bc78",
- "type": "execute",
- "name": "Generate output payload",
- "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='generateOutputPayloadFromContext' >",
- "comments": "",
- "outputs": 1,
- "x": 593.8887214660645,
- "y": 1493.5281105041504,
- "z": "f16b4873.701568",
- "wires": [["96b89330.eeb7f",
- "23bea1a6.82114e",
- "dabc8dd4.4c031"]]
- },
- {
- "id": "96b89330.eeb7f",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 823.888843536377,
- "y": 1431.5280494689941,
- "z": "f16b4873.701568",
- "wires": [["5584053a.68313c"]]
- },
- {
- "id": "23bea1a6.82114e",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 835.888843536377,
- "y": 1494.5281105041504,
- "z": "f16b4873.701568",
- "wires": [["5584053a.68313c"]]
- },
- {
- "id": "dabc8dd4.4c031",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 830.8887214660645,
- "y": 1558.5280494689941,
- "z": "f16b4873.701568",
- "wires": [[]]
- },
- {
- "id": "5584053a.68313c",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1025.555591583252,
- "y": 1494.5280494689941,
- "z": "f16b4873.701568",
- "wires": [["2fc5495.ed614b6",
- "34834985.8ba986"]]
- },
- {
- "id": "34834985.8ba986",
- "type": "execute",
- "name": "Report error to DCAE",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure while generating output payload JSON\" />",
- "comments": "",
- "outputs": 1,
- "x": 1270.460132598877,
- "y": 1496.9089088439941,
- "z": "f16b4873.701568",
- "wires": [[]]
- },
- {
- "id": "2fc5495.ed614b6",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
- "comments": "",
- "x": 1257.888599395752,
- "y": 1549.0517311096191,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "5aeed919.b83438",
- "type": "execute",
- "name": "Generate output payload",
- "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='generateOutputPayloadFromContext' >",
- "comments": "",
- "outputs": 1,
- "x": 1674.3334579467773,
- "y": 1149.5278358459473,
- "z": "f16b4873.701568",
- "wires": [["2f4b01d0.23640e",
- "fc0cdc70.37ff2",
- "bf7d7229.c2d58"]]
- },
- {
- "id": "2f4b01d0.23640e",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1893.3335494995117,
- "y": 1115.527744293213,
- "z": "f16b4873.701568",
- "wires": [["db92eec9.b5f62"]]
- },
- {
- "id": "fc0cdc70.37ff2",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1895.3335494995117,
- "y": 1161.5278663635254,
- "z": "f16b4873.701568",
- "wires": [["db92eec9.b5f62"]]
- },
- {
- "id": "bf7d7229.c2d58",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1895.3334579467773,
- "y": 1204.5277137756348,
- "z": "f16b4873.701568",
- "wires": [[]]
- },
- {
- "id": "db92eec9.b5f62",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2088.0002975463867,
- "y": 1136.527744293213,
- "z": "f16b4873.701568",
- "wires": [["e04cb8f.eb7b748",
- "254d3066.a4bc5"]]
- },
- {
- "id": "254d3066.a4bc5",
- "type": "execute",
- "name": "Report error to DCAE",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure while generating output payload JSON\" />",
- "comments": "",
- "outputs": 1,
- "x": 2286.904960632324,
- "y": 1093.908603668213,
- "z": "f16b4873.701568",
- "wires": [[]]
- },
- {
- "id": "e04cb8f.eb7b748",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
- "comments": "",
- "x": 2263.333427429199,
- "y": 1181.051670074463,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "b79736f.f56eac8",
- "type": "execute",
- "name": "Generate output payload",
- "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='generateOutputPayloadFromContext' >",
- "comments": "",
- "outputs": 1,
- "x": 1561.1111373901367,
- "y": 843.416690826416,
- "z": "f16b4873.701568",
- "wires": [["97850b52.a31cd8",
- "41d36ebc.ba016",
- "e6d25885.e4e788"]]
- },
- {
- "id": "97850b52.a31cd8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1805.111228942871,
- "y": 809.4165992736816,
- "z": "f16b4873.701568",
- "wires": [["847cbebd.ab185"]]
- },
- {
- "id": "41d36ebc.ba016",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1807.111228942871,
- "y": 855.4167213439941,
- "z": "f16b4873.701568",
- "wires": [["847cbebd.ab185"]]
- },
- {
- "id": "e6d25885.e4e788",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1807.1111373901367,
- "y": 898.4165687561035,
- "z": "f16b4873.701568",
- "wires": [[]]
- },
- {
- "id": "847cbebd.ab185",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1999.777976989746,
- "y": 830.4165992736816,
- "z": "f16b4873.701568",
- "wires": [["e2703a71.5e2d08",
- "7312ce6e.051b1"]]
- },
- {
- "id": "7312ce6e.051b1",
- "type": "execute",
- "name": "Report error to DCAE",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure while generating output payload JSON\" />",
- "comments": "",
- "outputs": 1,
- "x": 2198.6826400756836,
- "y": 787.7974586486816,
- "z": "f16b4873.701568",
- "wires": [[]]
- },
- {
- "id": "e2703a71.5e2d08",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
- "comments": "",
- "x": 2175.1111068725586,
- "y": 874.9405250549316,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "5584c2d4.ec7c8c",
- "type": "switchNode",
- "name": "switch",
- "xml": "<switch test='`$Publish_Config`'>",
- "comments": "",
- "outputs": 1,
- "x": 1240.1670684814453,
- "y": 1266.083574295044,
- "z": "f16b4873.701568",
- "wires": [["b07cce86.c2267",
- "54d48804.2f6488"]]
- },
- {
- "id": "b07cce86.c2267",
- "type": "outcome",
- "name": "Outcome: y",
- "xml": "<outcome value='y'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1414.1669692993164,
- "y": 1246.7502841949463,
- "z": "f16b4873.701568",
- "wires": [["93ba279d.5bcbb8"]]
- },
- {
- "id": "54d48804.2f6488",
- "type": "outcome",
- "name": "Outcome: Y",
- "xml": "<outcome value='Y'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1411.0838241577148,
- "y": 1289.833547592163,
- "z": "f16b4873.701568",
- "wires": [["93ba279d.5bcbb8"]]
- },
- {
- "id": "93ba279d.5bcbb8",
- "type": "execute",
- "name": "execute CvaasDataIntoContext",
- "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='cvaasFileNameAndFileContentToContext' >\n<parameter name=\"cvaas-directory-path\" value=\"/opt/app/bvc/cvaas\" />\n<parameter name=\"appc-instance-id\" value=\"appc001\" />\n<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1769.583999633789,
- "y": 1298.8338718414307,
- "z": "f16b4873.701568",
- "wires": [["4f8601db.1cc81",
- "d4ee7229.fae85"]]
- },
- {
- "id": "4f8601db.1cc81",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2036.8341751098633,
- "y": 1299.8340373039246,
- "z": "f16b4873.701568",
- "wires": [["17c3243e.6f760c"]]
- },
- {
- "id": "17c3243e.6f760c",
- "type": "record",
- "name": "record cvass",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"`$cvaas-file-name`\"/>\n<parameter name=\"record\" value=\"`$cvaas-file-content`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2219.349090576172,
- "y": 1307.599196434021,
- "z": "f16b4873.701568",
- "wires": [["1befff30.f1b281",
- "e5a0a1ba.78591"]]
- },
- {
- "id": "1befff30.f1b281",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2469.364891052246,
- "y": 1320.3642568588257,
- "z": "f16b4873.701568",
- "wires": [["d4049805.d34618"]]
- },
- {
- "id": "e5a0a1ba.78591",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2471.3645401000977,
- "y": 1369.364426612854,
- "z": "f16b4873.701568",
- "wires": [["d4049805.d34618"]]
- },
- {
- "id": "d4049805.d34618",
- "type": "execute",
- "name": "execute CheckFileCreated",
- "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='checkFileCreated' >\n<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2706.364604949951,
- "y": 1343.3643054962158,
- "z": "f16b4873.701568",
- "wires": [["8587844.5a70378",
- "13a60653.f2418a"]]
- },
- {
- "id": "8587844.5a70378",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2956.850357055664,
- "y": 1421.5993309020996,
- "z": "f16b4873.701568",
- "wires": [[]]
- },
- {
- "id": "a89beb23.e0d968",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 3162.849021911621,
- "y": 1374.5991201400757,
- "z": "f16b4873.701568",
- "wires": [["6c7eaa88.024dc4",
- "fd02487c.77b308",
- "e5102b5c.3b53c8",
- "45de7390.486dfc"]]
- },
- {
- "id": "6c7eaa88.024dc4",
- "type": "set",
- "name": "Set error message",
- "xml": "<set>\n<parameter name='error-message' value=\"`'Cvass file could not be created'`\"/>",
- "comments": "",
- "x": 3427.404800415039,
- "y": 1313.487928390503,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "fd02487c.77b308",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$output.status.message`\"/>",
- "comments": "",
- "x": 3404.251720428467,
- "y": 1498.3346118927002,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "e5102b5c.3b53c8",
- "type": "execute",
- "name": "OutputMessageBuilder",
- "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />",
- "comments": "",
- "outputs": 1,
- "x": 3436.0007400512695,
- "y": 1429.4880809783936,
- "z": "f16b4873.701568",
- "wires": [["89703cbf.30313"]]
- },
- {
- "id": "89703cbf.30313",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3634.1327743530273,
- "y": 1436.0382852554321,
- "z": "f16b4873.701568",
- "wires": [["892031d3.9e1bd"]]
- },
- {
- "id": "892031d3.9e1bd",
- "type": "execute",
- "name": "Report error to DCAE",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3835.000331878662,
- "y": 1436.4882678985596,
- "z": "f16b4873.701568",
- "wires": [[]]
- },
- {
- "id": "45de7390.486dfc",
- "type": "record",
- "name": "Log error",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3399.500015258789,
- "y": 1378.4880485534668,
- "z": "f16b4873.701568",
- "wires": [[]]
- },
- {
- "id": "d4ee7229.fae85",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2056.666831970215,
- "y": 1465.0834197998047,
- "z": "f16b4873.701568",
- "wires": [["86d0a871.815158"]]
- },
- {
- "id": "a2c9685e.16d318",
- "type": "execute",
- "name": "OutputMessageBuilder",
- "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2398.667205810547,
- "y": 1463.083589553833,
- "z": "f16b4873.701568",
- "wires": [["d7d7645d.5e76c8"]]
- },
- {
- "id": "d7d7645d.5e76c8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2604.79891204834,
- "y": 1463.6331634521484,
- "z": "f16b4873.701568",
- "wires": [["80effa9c.33fce8"]]
- },
- {
- "id": "80effa9c.33fce8",
- "type": "execute",
- "name": "Report Error to DCAE",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2812.7992248535156,
- "y": 1464.633376121521,
- "z": "f16b4873.701568",
- "wires": [[]]
- },
- {
- "id": "86d0a871.815158",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2208.666831970215,
- "y": 1465.0834197998047,
- "z": "f16b4873.701568",
- "wires": [["a2c9685e.16d318",
- "897e770a.605f58"]]
- },
- {
- "id": "897e770a.605f58",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$output.status.message`\"/>",
- "comments": "",
- "x": 2371.666831970215,
- "y": 1552.0834197998047,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "d043d660.7cbce8",
- "type": "execute",
- "name": "Set payload in Context",
- "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",
- "comments": "",
- "outputs": 1,
- "x": 738.6666793823242,
- "y": 86.75000667572021,
- "z": "f16b4873.701568",
- "wires": [["3c42bbb1.da71f4",
- "d63e629f.39f9",
- "17b5a1dd.0754de",
- "4fad0fe1.40343"]]
- },
- {
- "id": "d63e629f.39f9",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1033.666648864746,
- "y": 20,
- "z": "f16b4873.701568",
- "wires": [["51284245.e89c1c"]]
- },
- {
- "id": "17b5a1dd.0754de",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1034.666648864746,
- "y": 70,
- "z": "f16b4873.701568",
- "wires": [["51284245.e89c1c"]]
- },
- {
- "id": "4fad0fe1.40343",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1027.666648864746,
- "y": 125.00001525878906,
- "z": "f16b4873.701568",
- "wires": [["51284245.e89c1c"]]
- },
- {
- "id": "3c42bbb1.da71f4",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1024.6667098999023,
- "y": 180.7500114440918,
- "z": "f16b4873.701568",
- "wires": [["752bb299.feb57c"]]
- },
- {
- "id": "51284245.e89c1c",
- "type": "block",
- "name": "block",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1241.3332901000977,
- "y": 113.00000190734863,
- "z": "f16b4873.701568",
- "wires": [["41523e11.c90e9",
- "a9abc91a.956e38"]]
- },
- {
- "id": "a9abc91a.956e38",
- "type": "execute",
- "name": "OutputMessageBuilder",
- "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"Failure in flattening payload Json\" />",
- "comments": "",
- "outputs": 1,
- "x": 1471.666358947754,
- "y": 64.88888740539551,
- "z": "f16b4873.701568",
- "wires": [["10f72f11.953841"]]
- },
- {
- "id": "41523e11.c90e9",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
- "comments": "",
- "x": 1438.6662368774414,
- "y": 113.52372932434082,
- "z": "f16b4873.701568",
- "wires": []
- },
- {
- "id": "10f72f11.953841",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1679.7613906860352,
- "y": 64.17462348937988,
- "z": "f16b4873.701568",
- "wires": [["789d293f.1e9dc8"]]
- },
- {
- "id": "789d293f.1e9dc8",
- "type": "execute",
- "name": "Report Error to DCAE",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"event-message\" value=\"`$event-message`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1881.3329238891602,
- "y": 63.88888740539551,
- "z": "f16b4873.701568",
- "wires": [[]]
- },
- {
- "id": "13a60653.f2418a",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3001.3334045410156,
- "y": 1327.9999796748161,
- "z": "f16b4873.701568",
- "wires": [["a89beb23.e0d968"]]
- }]
+[
+ {
+ "id": "81a02ecc.e61b6",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 119.66666412353516,
+ "y": 84.08333426713943,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "98597336.3c647"
+ ]
+ ]
+ },
+ {
+ "id": "98597336.3c647",
+ "type": "service-logic",
+ "name": "APPC 2.0.0",
+ "module": "APPC",
+ "version": "2.0.0",
+ "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.0'>",
+ "outputs": 1,
+ "x": 299.66666412353516,
+ "y": 84.08333426713943,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "3dddb84a.a123f8"
+ ]
+ ]
+ },
+ {
+ "id": "3dddb84a.a123f8",
+ "type": "method",
+ "name": "Generic_Audit",
+ "xml": "<method rpc='Generic_Audit' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 478.66666412353516,
+ "y": 84.08333426713943,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "d043d660.7cbce8"
+ ]
+ ]
+ },
+ {
+ "id": "7490fc55.b23eb4",
+ "type": "get-resource",
+ "name": "Retrieve current config details",
+ "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"SELECT service_description, vnf_name, vm_name, vnf_type, vnfc_type, host_ip_address , content FROM UPLOAD_CONFIG WHERE vnf_id = $input.action-identifiers.vnf-id AND config_indicator='Current' AND (pending_delete IS NULL OR pending_delete != 'Y')\" pfx=\"currnt-config[]\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 458.08617401123047,
+ "y": 480.8665657043457,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "dceb4c56.95345",
+ "a55ef9f.1845d08",
+ "7c43698a.2b9eb8"
+ ]
+ ]
+ },
+ {
+ "id": "7c43698a.2b9eb8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 733.3759384155273,
+ "y": 418.58686447143555,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "90511868.d5a528"
+ ]
+ ]
+ },
+ {
+ "id": "dceb4c56.95345",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 740.3759994506836,
+ "y": 483.3646430969238,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "867bd8aa.3a55e8"
+ ]
+ ]
+ },
+ {
+ "id": "a55ef9f.1845d08",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 672.5982284545898,
+ "y": 533.0313148498535,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "30e459ed.1b9986"
+ ]
+ ]
+ },
+ {
+ "id": "7eaffd91.5e2494",
+ "type": "execute",
+ "name": "Report Error to DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1195.2260360717773,
+ "y": 496.9629249572754,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2bbc2c8c.227ae4",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$error-message`\"/>\n",
+ "comments": "",
+ "x": 1189.986717224121,
+ "y": 542.1509742736816,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "2c17d4fd.27bcac",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='error-message' value=\"`'Current configuration not found in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>",
+ "comments": "",
+ "x": 1180.593650817871,
+ "y": 411.1424140930176,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "d4c8b998.7b4678",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='error-message' value=\"`'Error while retrieving current configuration from the repository for the vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
+ "comments": "",
+ "x": 1182.2346420288086,
+ "y": 368.0569190979004,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "90511868.d5a528",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 894.4568099975586,
+ "y": 417.4757499694824,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "d4c8b998.7b4678",
+ "7eaffd91.5e2494",
+ "2bbc2c8c.227ae4",
+ "ac51bff5.352e5"
+ ]
+ ]
+ },
+ {
+ "id": "867bd8aa.3a55e8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 905.0124130249023,
+ "y": 481.2535285949707,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "2c17d4fd.27bcac",
+ "7eaffd91.5e2494",
+ "2bbc2c8c.227ae4",
+ "ac51bff5.352e5"
+ ]
+ ]
+ },
+ {
+ "id": "30e459ed.1b9986",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 302.56404876708984,
+ "y": 631.1004371643066,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "b79fac1d.f13e1",
+ "925cca6f.85b738",
+ "a844b2a2.8681f",
+ "dda489b7.a7bc78"
+ ]
+ ]
+ },
+ {
+ "id": "b79fac1d.f13e1",
+ "type": "for",
+ "name": "for each current config",
+ "xml": "<for index=\"i\" start=\"0\" end=\"`$currnt-config_length`\" >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 530.6324081420898,
+ "y": 631.4679908752441,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "67f30b25.070c24"
+ ]
+ ]
+ },
+ {
+ "id": "eb62c9d8.e05988",
+ "type": "set",
+ "name": "Set context",
+ "xml": "<set>\n<parameter name='service-description' value=\"`$currnt-config[$i].service-description`\" />\n<parameter name='vm-name' value=\"`$currnt-config[$i].vm-name`\" />\n<parameter name='vnf-type' value=\"`$currnt-config[$i].vnf-type`\" />\n<parameter name='vnfc-type' value=\"`$currnt-config[$i].vnfc-type`\" />\n<parameter name='host-ip-address' value=\"`$currnt-config[$i].host-ip-address`\" />\n<parameter name='vnf-name' value=\"`$currnt-config[$i].vnf-name`\" />\n<parameter name='current-config' value=\"`$currnt-config[$i].content`\" />\n\n",
+ "comments": "",
+ "x": 806.4786605834961,
+ "y": 609.6987953186035,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "c66c9b28.d58e38",
+ "type": "call",
+ "name": "Call Retrieve running Config DG",
+ "xml": "<call rpc='GetRunningConfig' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 857.4786605834961,
+ "y": 666.6988258361816,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "e6375b8c.512fa8",
+ "b4636b56.55a038",
+ "67a55747.3e2588"
+ ]
+ ]
+ },
+ {
+ "id": "67f30b25.070c24",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 552.7863082885742,
+ "y": 729.6218299865723,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "eb62c9d8.e05988",
+ "c66c9b28.d58e38",
+ "1a5aec1c.ab3e44",
+ "58111dc9.5f25b4",
+ "b86d049a.13a1b8"
+ ]
+ ]
+ },
+ {
+ "id": "e6375b8c.512fa8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1118.5898056030273,
+ "y": 613.6987342834473,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "5a971e26.a7171"
+ ]
+ ]
+ },
+ {
+ "id": "b4636b56.55a038",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1119.0341415405273,
+ "y": 666.6988258361816,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "bd38a484.bd0a98"
+ ]
+ ]
+ },
+ {
+ "id": "67a55747.3e2588",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1123.1452865600586,
+ "y": 710.8098487854004,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5a971e26.a7171",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1268.145408630371,
+ "y": 613.6987342834473,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "72158f5.d06fd7",
+ "580bd65f.53d9c8",
+ "c4fa8668.3392a8"
+ ]
+ ]
+ },
+ {
+ "id": "bd38a484.bd0a98",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1270.478660583496,
+ "y": 664.5876808166504,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "c433e537.6d3cf8",
+ "72158f5.d06fd7",
+ "580bd65f.53d9c8",
+ "c4fa8668.3392a8"
+ ]
+ ]
+ },
+ {
+ "id": "c433e537.6d3cf8",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='error-message' value='DG to retrieve running configuration not found'/>",
+ "comments": "",
+ "x": 1512.7009506225586,
+ "y": 639.5876808166504,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "580bd65f.53d9c8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
+ "comments": "",
+ "x": 1534.5471725463867,
+ "y": 884.4338417053223,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "72158f5.d06fd7",
+ "type": "execute",
+ "name": "Report Error to DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1548.5471420288086,
+ "y": 806.4338111877441,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "752bb299.feb57c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 250.66664123535156,
+ "y": 412.99244117736816,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "7490fc55.b23eb4",
+ "7c0de445.f1cc6c"
+ ]
+ ]
+ },
+ {
+ "id": "ac51bff5.352e5",
+ "type": "record",
+ "name": "Log error",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1153.3589096069336,
+ "y": 454.77563858032227,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c4fa8668.3392a8",
+ "type": "record",
+ "name": "Log error",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1493.024314880371,
+ "y": 765.1839942932129,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7c0de445.f1cc6c",
+ "type": "record",
+ "name": "Log message",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Retrieving current configuration details from the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 440.08553314208984,
+ "y": 414.57805252075195,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "925cca6f.85b738",
+ "type": "record",
+ "name": "Log message",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Audit action successful for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 524.6198310852051,
+ "y": 1553.2725563049316,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a844b2a2.8681f",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n",
+ "comments": "",
+ "x": 502.4659614562988,
+ "y": 1623.2724342346191,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "a97ef4e9.131748",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1059.9563827514648,
+ "y": 923.8037452697754,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "7f859626.3ecfd8"
+ ]
+ ]
+ },
+ {
+ "id": "8225d505.2c9498",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1063.9565048217773,
+ "y": 978.5815773010254,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "bde3e23.e488b2"
+ ]
+ ]
+ },
+ {
+ "id": "57cfd6f7.764c38",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 926.1786422729492,
+ "y": 1035.2482738494873,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "fb928b6.eef3f78"
+ ]
+ ]
+ },
+ {
+ "id": "bde3e23.e488b2",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1348.5930557250977,
+ "y": 974.4703979492188,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "1d860eb4.38f4b1",
+ "e4322d3b.8d1ab",
+ "9380a644.f57908",
+ "a832eaf1.bc4ea8"
+ ]
+ ]
+ },
+ {
+ "id": "7f859626.3ecfd8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1348.0373153686523,
+ "y": 923.692569732666,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "e4322d3b.8d1ab",
+ "9380a644.f57908",
+ "a832eaf1.bc4ea8",
+ "1d860eb4.38f4b1"
+ ]
+ ]
+ },
+ {
+ "id": "1d860eb4.38f4b1",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='error-message' value=\"`'Error comparing current and running configuration for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n<parameter name='error-code' value='500'/>",
+ "comments": "",
+ "x": 1638.1741561889648,
+ "y": 973.3591957092285,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "fb928b6.eef3f78",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$STATUS`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1053.6667098999023,
+ "y": 1070.083408355713,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "8e39a0cd.ee399",
+ "d61b176c.169178",
+ "fd1426ee.97bc68"
+ ]
+ ]
+ },
+ {
+ "id": "8e39a0cd.ee399",
+ "type": "success",
+ "name": "no match",
+ "xml": "<outcome value='FAILURE'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1209.6667098999023,
+ "y": 1071.833408355713,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "328dd4e4.27801c"
+ ]
+ ]
+ },
+ {
+ "id": "328dd4e4.27801c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1372.666790008545,
+ "y": 1085.0833568572998,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "e4322d3b.8d1ab",
+ "9380a644.f57908",
+ "a832eaf1.bc4ea8",
+ "764e8614.57f5c8",
+ "5aeed919.b83438",
+ "93ba279d.5bcbb8"
+ ]
+ ]
+ },
+ {
+ "id": "77ff9a98.2bf224",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1353.6667098999023,
+ "y": 1033.5833778381348,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "e4322d3b.8d1ab",
+ "9380a644.f57908",
+ "a832eaf1.bc4ea8",
+ "1d860eb4.38f4b1"
+ ]
+ ]
+ },
+ {
+ "id": "e4322d3b.8d1ab",
+ "type": "record",
+ "name": "Log error",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$Error-Message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1624.6667098999023,
+ "y": 1100.083408355713,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9380a644.f57908",
+ "type": "execute",
+ "name": "Report Error to DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1645.5338973999023,
+ "y": 1201.2707862854004,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a832eaf1.bc4ea8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value=\"`$error-code`\"/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$error-message`\"/>\n",
+ "comments": "",
+ "x": 1715.2946853637695,
+ "y": 1460.458869934082,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "1a5aec1c.ab3e44",
+ "type": "execute",
+ "name": "Compare",
+ "xml": "<execute plugin='onap.onap.sdnc.config.audit.node.CompareNode' method='compare' >\n<parameter name='sourceDataType' value=\"Current\" />\n<parameter name='sourceData' value=\"`$current-config`\" />\n<parameter name='targetDataType' value=\"Running\" />\n<parameter name='targetData' value=\"`$running-config.content`\" />\n<parameter name='compareDataType' value=\"`$protocol`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 769.6667098999023,
+ "y": 967.0834083557129,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "a97ef4e9.131748",
+ "8225d505.2c9498",
+ "57cfd6f7.764c38"
+ ]
+ ]
+ },
+ {
+ "id": "764e8614.57f5c8",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='error-message' value=\"`$Error-Message`\"/>\n<parameter name='error-code' value=\"`$Error-code`\"/>\n",
+ "comments": "",
+ "x": 1637.6666793823242,
+ "y": 1052.0833187103271,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "87b58856.047f68",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='error-message' value=\"`'Running configuration not found in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>",
+ "comments": "",
+ "x": 1513.1740951538086,
+ "y": 727.0833473205566,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "f549e445.f74888",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='error-message' value=\"`'Error while retrieving running configuration from the repository for the vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
+ "comments": "",
+ "x": 1507.815086364746,
+ "y": 680.9978675842285,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "6cdf93fd.27cd0c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1274.037239074707,
+ "y": 747.416690826416,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "f549e445.f74888",
+ "c4fa8668.3392a8",
+ "72158f5.d06fd7",
+ "580bd65f.53d9c8",
+ "b79736f.f56eac8"
+ ]
+ ]
+ },
+ {
+ "id": "cea9c726.916838",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1281.592903137207,
+ "y": 797.1944618225098,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "87b58856.047f68",
+ "c4fa8668.3392a8",
+ "72158f5.d06fd7",
+ "580bd65f.53d9c8",
+ "b79736f.f56eac8"
+ ]
+ ]
+ },
+ {
+ "id": "183d6159.f57e3f",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1127.956428527832,
+ "y": 797.3055458068848,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "cea9c726.916838"
+ ]
+ ]
+ },
+ {
+ "id": "4f9c33fe.ee7c6c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1128.9562454223633,
+ "y": 749.5278053283691,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "6cdf93fd.27cd0c"
+ ]
+ ]
+ },
+ {
+ "id": "58111dc9.5f25b4",
+ "type": "get-resource",
+ "name": "Retrieve Running config details DB",
+ "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\" SELECT upload_config_id, request_id, originator_id, service_description, action, upload_date, vnf_id, vnf_name, vm_name, vnf_type, vnfc_type, host_ip_address, config_indicator, pending_delete ,content FROM UPLOAD_CONFIG WHERE UPLOAD_CONFIG_ID = $runningConfig.UPLOAD-CONFIG-ID\" pfx=\"running-config\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 865.6666488647461,
+ "y": 793.8074684143066,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "183d6159.f57e3f",
+ "4f9c33fe.ee7c6c",
+ "5fa98c15.aa8b74"
+ ]
+ ]
+ },
+ {
+ "id": "5fa98c15.aa8b74",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1126.6665115356445,
+ "y": 847.0833778381348,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d61b176c.169178",
+ "type": "success",
+ "name": "match",
+ "xml": "<outcome value='SUCCESS'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1202.6667175292969,
+ "y": 1132.0834693908691,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "5584c2d4.ec7c8c"
+ ]
+ ]
+ },
+ {
+ "id": "fd1426ee.97bc68",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1213.6667098999023,
+ "y": 1027.083408355713,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "77ff9a98.2bf224"
+ ]
+ ]
+ },
+ {
+ "id": "b86d049a.13a1b8",
+ "type": "set",
+ "name": "Set Running Config ID",
+ "xml": "<set>\n<parameter name='output.payload.upload-config-id[$i]' value='`$runningConfig.UPLOAD-CONFIG-ID`' />",
+ "comments": "",
+ "x": 845.7777938842773,
+ "y": 728.4167518615723,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "dda489b7.a7bc78",
+ "type": "execute",
+ "name": "Generate output payload",
+ "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='generateOutputPayloadFromContext' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 593.8887214660645,
+ "y": 1493.5281105041504,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "96b89330.eeb7f",
+ "23bea1a6.82114e",
+ "dabc8dd4.4c031"
+ ]
+ ]
+ },
+ {
+ "id": "96b89330.eeb7f",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 823.888843536377,
+ "y": 1431.5280494689941,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "5584053a.68313c"
+ ]
+ ]
+ },
+ {
+ "id": "23bea1a6.82114e",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 835.888843536377,
+ "y": 1494.5281105041504,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "5584053a.68313c"
+ ]
+ ]
+ },
+ {
+ "id": "dabc8dd4.4c031",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 830.8887214660645,
+ "y": 1558.5280494689941,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5584053a.68313c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1025.555591583252,
+ "y": 1494.5280494689941,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "2fc5495.ed614b6",
+ "34834985.8ba986"
+ ]
+ ]
+ },
+ {
+ "id": "34834985.8ba986",
+ "type": "execute",
+ "name": "Report error to DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure while generating output payload JSON\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1270.460132598877,
+ "y": 1496.9089088439941,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2fc5495.ed614b6",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
+ "comments": "",
+ "x": 1257.888599395752,
+ "y": 1549.0517311096191,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "5aeed919.b83438",
+ "type": "execute",
+ "name": "Generate output payload",
+ "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='generateOutputPayloadFromContext' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1674.3334579467773,
+ "y": 1149.5278358459473,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "2f4b01d0.23640e",
+ "fc0cdc70.37ff2",
+ "bf7d7229.c2d58"
+ ]
+ ]
+ },
+ {
+ "id": "2f4b01d0.23640e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1893.3335494995117,
+ "y": 1115.527744293213,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "db92eec9.b5f62"
+ ]
+ ]
+ },
+ {
+ "id": "fc0cdc70.37ff2",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1895.3335494995117,
+ "y": 1161.5278663635254,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "db92eec9.b5f62"
+ ]
+ ]
+ },
+ {
+ "id": "bf7d7229.c2d58",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1895.3334579467773,
+ "y": 1204.5277137756348,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "db92eec9.b5f62",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2088.0002975463867,
+ "y": 1136.527744293213,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "e04cb8f.eb7b748",
+ "254d3066.a4bc5"
+ ]
+ ]
+ },
+ {
+ "id": "254d3066.a4bc5",
+ "type": "execute",
+ "name": "Report error to DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure while generating output payload JSON\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2286.904960632324,
+ "y": 1093.908603668213,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e04cb8f.eb7b748",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
+ "comments": "",
+ "x": 2263.333427429199,
+ "y": 1181.051670074463,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "b79736f.f56eac8",
+ "type": "execute",
+ "name": "Generate output payload",
+ "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='generateOutputPayloadFromContext' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1561.1111373901367,
+ "y": 843.416690826416,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "97850b52.a31cd8",
+ "41d36ebc.ba016",
+ "e6d25885.e4e788"
+ ]
+ ]
+ },
+ {
+ "id": "97850b52.a31cd8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1805.111228942871,
+ "y": 809.4165992736816,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "847cbebd.ab185"
+ ]
+ ]
+ },
+ {
+ "id": "41d36ebc.ba016",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1807.111228942871,
+ "y": 855.4167213439941,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "847cbebd.ab185"
+ ]
+ ]
+ },
+ {
+ "id": "e6d25885.e4e788",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1807.1111373901367,
+ "y": 898.4165687561035,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "847cbebd.ab185",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1999.777976989746,
+ "y": 830.4165992736816,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "e2703a71.5e2d08",
+ "7312ce6e.051b1"
+ ]
+ ]
+ },
+ {
+ "id": "7312ce6e.051b1",
+ "type": "execute",
+ "name": "Report error to DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure while generating output payload JSON\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2198.6826400756836,
+ "y": 787.7974586486816,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e2703a71.5e2d08",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
+ "comments": "",
+ "x": 2175.1111068725586,
+ "y": 874.9405250549316,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "5584c2d4.ec7c8c",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$Publish_Config`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1240.1670684814453,
+ "y": 1266.083574295044,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "b07cce86.c2267",
+ "54d48804.2f6488"
+ ]
+ ]
+ },
+ {
+ "id": "b07cce86.c2267",
+ "type": "outcome",
+ "name": "Outcome: y",
+ "xml": "<outcome value='y'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1414.1669692993164,
+ "y": 1246.7502841949463,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "93ba279d.5bcbb8"
+ ]
+ ]
+ },
+ {
+ "id": "54d48804.2f6488",
+ "type": "outcome",
+ "name": "Outcome: Y",
+ "xml": "<outcome value='Y'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1411.0838241577148,
+ "y": 1289.833547592163,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "93ba279d.5bcbb8"
+ ]
+ ]
+ },
+ {
+ "id": "93ba279d.5bcbb8",
+ "type": "execute",
+ "name": "execute CvaasDataIntoContext",
+ "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='cvaasFileNameAndFileContentToContext' >\n<parameter name=\"cvaas-directory-path\" value=\"/opt/app/bvc/cvaas\" />\n<parameter name=\"appc-instance-id\" value=\"appc001\" />\n<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1769.583999633789,
+ "y": 1298.8338718414307,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "4f8601db.1cc81",
+ "d4ee7229.fae85"
+ ]
+ ]
+ },
+ {
+ "id": "4f8601db.1cc81",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2036.8341751098633,
+ "y": 1299.8340373039246,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "17c3243e.6f760c"
+ ]
+ ]
+ },
+ {
+ "id": "17c3243e.6f760c",
+ "type": "record",
+ "name": "record cvass",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"`$cvaas-file-name`\"/>\n<parameter name=\"record\" value=\"`$cvaas-file-content`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2219.349090576172,
+ "y": 1307.599196434021,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "1befff30.f1b281",
+ "e5a0a1ba.78591"
+ ]
+ ]
+ },
+ {
+ "id": "1befff30.f1b281",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2469.364891052246,
+ "y": 1320.3642568588257,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "d4049805.d34618"
+ ]
+ ]
+ },
+ {
+ "id": "e5a0a1ba.78591",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2471.3645401000977,
+ "y": 1369.364426612854,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "d4049805.d34618"
+ ]
+ ]
+ },
+ {
+ "id": "d4049805.d34618",
+ "type": "execute",
+ "name": "execute CheckFileCreated",
+ "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='checkFileCreated' >\n<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2706.364604949951,
+ "y": 1343.3643054962158,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "8587844.5a70378",
+ "13a60653.f2418a"
+ ]
+ ]
+ },
+ {
+ "id": "8587844.5a70378",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2956.850357055664,
+ "y": 1421.5993309020996,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a89beb23.e0d968",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3162.849021911621,
+ "y": 1374.5991201400757,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "6c7eaa88.024dc4",
+ "fd02487c.77b308",
+ "e5102b5c.3b53c8",
+ "45de7390.486dfc"
+ ]
+ ]
+ },
+ {
+ "id": "6c7eaa88.024dc4",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='error-message' value=\"`'Cvass file could not be created'`\"/>",
+ "comments": "",
+ "x": 3427.404800415039,
+ "y": 1313.487928390503,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "fd02487c.77b308",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$output.status.message`\"/>",
+ "comments": "",
+ "x": 3404.251720428467,
+ "y": 1498.3346118927002,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "e5102b5c.3b53c8",
+ "type": "execute",
+ "name": "OutputMessageBuilder",
+ "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3436.0007400512695,
+ "y": 1429.4880809783936,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "89703cbf.30313"
+ ]
+ ]
+ },
+ {
+ "id": "89703cbf.30313",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3634.1327743530273,
+ "y": 1436.0382852554321,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "892031d3.9e1bd"
+ ]
+ ]
+ },
+ {
+ "id": "892031d3.9e1bd",
+ "type": "execute",
+ "name": "Report error to DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3835.000331878662,
+ "y": 1436.4882678985596,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "45de7390.486dfc",
+ "type": "record",
+ "name": "Log error",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3399.500015258789,
+ "y": 1378.4880485534668,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d4ee7229.fae85",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2056.666831970215,
+ "y": 1465.0834197998047,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "86d0a871.815158"
+ ]
+ ]
+ },
+ {
+ "id": "a2c9685e.16d318",
+ "type": "execute",
+ "name": "OutputMessageBuilder",
+ "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2398.667205810547,
+ "y": 1463.083589553833,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "d7d7645d.5e76c8"
+ ]
+ ]
+ },
+ {
+ "id": "d7d7645d.5e76c8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2604.79891204834,
+ "y": 1463.6331634521484,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "80effa9c.33fce8"
+ ]
+ ]
+ },
+ {
+ "id": "80effa9c.33fce8",
+ "type": "execute",
+ "name": "Report Error to DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2812.7992248535156,
+ "y": 1464.633376121521,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "86d0a871.815158",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2208.666831970215,
+ "y": 1465.0834197998047,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "a2c9685e.16d318",
+ "897e770a.605f58"
+ ]
+ ]
+ },
+ {
+ "id": "897e770a.605f58",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$output.status.message`\"/>",
+ "comments": "",
+ "x": 2371.666831970215,
+ "y": 1552.0834197998047,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "d043d660.7cbce8",
+ "type": "execute",
+ "name": "Set payload in Context",
+ "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 738.6666793823242,
+ "y": 86.75000667572021,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "3c42bbb1.da71f4",
+ "d63e629f.39f9",
+ "17b5a1dd.0754de",
+ "4fad0fe1.40343"
+ ]
+ ]
+ },
+ {
+ "id": "d63e629f.39f9",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1033.666648864746,
+ "y": 20,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "51284245.e89c1c"
+ ]
+ ]
+ },
+ {
+ "id": "17b5a1dd.0754de",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1034.666648864746,
+ "y": 70,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "51284245.e89c1c"
+ ]
+ ]
+ },
+ {
+ "id": "4fad0fe1.40343",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1027.666648864746,
+ "y": 125.00001525878906,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "51284245.e89c1c"
+ ]
+ ]
+ },
+ {
+ "id": "3c42bbb1.da71f4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1024.6667098999023,
+ "y": 180.7500114440918,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "752bb299.feb57c"
+ ]
+ ]
+ },
+ {
+ "id": "51284245.e89c1c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1241.3332901000977,
+ "y": 113.00000190734863,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "41523e11.c90e9",
+ "a9abc91a.956e38"
+ ]
+ ]
+ },
+ {
+ "id": "a9abc91a.956e38",
+ "type": "execute",
+ "name": "OutputMessageBuilder",
+ "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"Failure in flattening payload Json\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1471.666358947754,
+ "y": 64.88888740539551,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "10f72f11.953841"
+ ]
+ ]
+ },
+ {
+ "id": "41523e11.c90e9",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
+ "comments": "",
+ "x": 1438.6662368774414,
+ "y": 113.52372932434082,
+ "z": "f16b4873.701568",
+ "wires": []
+ },
+ {
+ "id": "10f72f11.953841",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1679.7613906860352,
+ "y": 64.17462348937988,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "789d293f.1e9dc8"
+ ]
+ ]
+ },
+ {
+ "id": "789d293f.1e9dc8",
+ "type": "execute",
+ "name": "Report Error to DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"event-message\" value=\"`$event-message`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1881.3329238891602,
+ "y": 63.88888740539551,
+ "z": "f16b4873.701568",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "13a60653.f2418a",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3001.3334045410156,
+ "y": 1327.9999796748161,
+ "z": "f16b4873.701568",
+ "wires": [
+ [
+ "a89beb23.e0d968"
+ ]
+ ]
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_Generic_Stop_2.0.0.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_Generic_Stop_2.0.0.json
index f043b7adb..ac229be21 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_Generic_Stop_2.0.0.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_Generic_Stop_2.0.0.json
@@ -1 +1,759 @@
-[{"id":"7e2fb931.5cb6a8","type":"method","name":"Generic_Stop","xml":"<method rpc='Generic_Stop' mode='sync'>\n","comments":"","outputs":1,"x":246,"y":93,"z":"a4e67f56.cb2c9","wires":[["2587b8bb.e5e958"]]},{"id":"ec3c7234.5264c","type":"service-logic","name":"APPC 2.0.0","module":"APPC","version":"2.0.0","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.0'>","outputs":1,"x":327,"y":29,"z":"a4e67f56.cb2c9","wires":[["7e2fb931.5cb6a8"]]},{"id":"315a077d.12b998","type":"dgstart","name":"DGSTART","outputs":1,"x":151,"y":29,"z":"a4e67f56.cb2c9","wires":[["ec3c7234.5264c"]]},{"id":"2587b8bb.e5e958","type":"execute","name":"execute_getVNF_Hierarchy","xml":"<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='getVnfHierarchy'>\n<parameter name=\"resourceKey\" value=\"`$org.onap.appc.vfid`\" />","comments":"","outputs":1,"x":171,"y":198,"z":"a4e67f56.cb2c9","wires":[["9dcb5f4b.e5edc","cbcbe34a.531c7"]]},{"id":"9dcb5f4b.e5edc","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":142,"y":374,"z":"a4e67f56.cb2c9","wires":[["682f2d38.85dcf4"]]},{"id":"ef252110.98a58","type":"block","name":"block : atomic","xml":"<block atomic='true'>\n","atomic":"true","comments":"","outputs":1,"x":459,"y":643,"z":"a4e67f56.cb2c9","wires":[["8564038a.20f11","99f8b9e.6458b48"]]},{"id":"8564038a.20f11","type":"for","name":"for_each_VMs","xml":"<for index=\"i\" start=\"0\" end=\"`$VNF.VMCount`\" >","comments":"","outputs":1,"x":606,"y":470,"z":"a4e67f56.cb2c9","wires":[["d55f4a78.4ab358"]]},{"id":"d55f4a78.4ab358","type":"block","name":"block : atomic","xml":"<block atomic='true'>\n","atomic":"true","comments":"","outputs":1,"x":748,"y":399,"z":"a4e67f56.cb2c9","wires":[["8fc22181.f2a49"]]},{"id":"8fc22181.f2a49","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=\"STOPPING\" />\n","comments":"","outputs":1,"x":901,"y":470,"z":"a4e67f56.cb2c9","wires":[["a9079be8.d4a478","9876fdec.6f37b"]]},{"id":"a9079be8.d4a478","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1007,"y":244,"z":"a4e67f56.cb2c9","wires":[["8115b889.f550c8"]]},{"id":"99f8b9e.6458b48","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n","comments":"","x":624,"y":833,"z":"a4e67f56.cb2c9","wires":[]},{"id":"cbcbe34a.531c7","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":403,"y":156,"z":"a4e67f56.cb2c9","wires":[["e1b9b789.f64058"]]},{"id":"88300794.7ebab8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":774,"y":125,"z":"a4e67f56.cb2c9","wires":[]},{"id":"16f41970.2b9937","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1436,"y":335,"z":"a4e67f56.cb2c9","wires":[["209159f2.bcb756"]]},{"id":"c8ee356c.0659d8","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=\"STOPPED\" />\n","comments":"","outputs":1,"x":1857,"y":585,"z":"a4e67f56.cb2c9","wires":[["4d7443c4.c8179c","8b55dde0.3bbb"]]},{"id":"4d7443c4.c8179c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2089,"y":733,"z":"a4e67f56.cb2c9","wires":[["f46b9146.02c08"]]},{"id":"e8c9cfc3.43aba","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":2436,"y":784,"z":"a4e67f56.cb2c9","wires":[]},{"id":"8b55dde0.3bbb","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2074,"y":400,"z":"a4e67f56.cb2c9","wires":[["c7b8b650.debeb8"]]},{"id":"9876fdec.6f37b","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":740,"y":596,"z":"a4e67f56.cb2c9","wires":[["ee34ffbb.23891"]]},{"id":"e0f1fadf.9c0e38","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":995,"y":762,"z":"a4e67f56.cb2c9","wires":[]},{"id":"25ea35c8.19f71a","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":1920.0000305175781,"y":236,"z":"a4e67f56.cb2c9","wires":[["34ca0aa7.90eda6","a0a350ed.07716"]]},{"id":"34ca0aa7.90eda6","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2120,"y":312,"z":"a4e67f56.cb2c9","wires":[["e98338be.9afa58"]]},{"id":"4b5d9174.e2d7d","type":"comment","name":"update VNFCs to STOPPING","info":"","comments":"","x":863,"y":518,"z":"a4e67f56.cb2c9","wires":[]},{"id":"fd5a214f.ebac2","type":"comment","name":"call south bound to STOP VMs","info":"","comments":"","x":1321,"y":63,"z":"a4e67f56.cb2c9","wires":[]},{"id":"69e7f6ee.f0f488","type":"comment","name":"if failure from south bound then update as Error","info":"","comments":"","x":1905,"y":69,"z":"a4e67f56.cb2c9","wires":[]},{"id":"5a8b51ce.7d4ff","type":"comment","name":"STOPPED VNFCs in AA&I","info":"","comments":"","x":2105,"y":574,"z":"a4e67f56.cb2c9","wires":[]},{"id":"6c7dacf5.ea4894","type":"comment","name":"Fetch all VMs and VNFCs from AA&I for given VNF_ID","info":"","comments":"","x":596,"y":182,"z":"a4e67f56.cb2c9","wires":[]},{"id":"84f683a0.d9fcb","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":2233,"y":110,"z":"a4e67f56.cb2c9","wires":[]},{"id":"a0a350ed.07716","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2099,"y":148,"z":"a4e67f56.cb2c9","wires":[["84f683a0.d9fcb"]]},{"id":"74105ed4.70bad","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1416,"y":102,"z":"a4e67f56.cb2c9","wires":[["b8a6176c.8ff0e8"]]},{"id":"333d173e.eb68a8","type":"switchNode","name":"switch","xml":"<switch test='`$VNF.VMCount`'>\n","comments":"","outputs":1,"x":136,"y":670.0000305175781,"z":"a4e67f56.cb2c9","wires":[["f1e14e66.f97c6","ddd6b13.e25e15"]]},{"id":"f1e14e66.f97c6","type":"other","name":"outcome_0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":333,"y":552.0000305175781,"z":"a4e67f56.cb2c9","wires":[["debeaa94.ae7058"]]},{"id":"ddd6b13.e25e15","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":319,"y":683.0000305175781,"z":"a4e67f56.cb2c9","wires":[["ef252110.98a58"]]},{"id":"209159f2.bcb756","type":"switchNode","name":"switch","xml":"<switch test='`$STOP_STATUS`'>\n","comments":"","outputs":1,"x":1618,"y":334,"z":"a4e67f56.cb2c9","wires":[["727f90cf.4e78e","6bc80951.a39408","5a17e4b6.24cc2c"]]},{"id":"727f90cf.4e78e","type":"success","name":"outcome_SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":1845,"y":464,"z":"a4e67f56.cb2c9","wires":[["c8ee356c.0659d8"]]},{"id":"6bc80951.a39408","type":"other","name":"outcome_SERVER_NOT_FOUND","xml":"<outcome value='SERVER_NOT_FOUND'>\n","comments":"","outputs":1,"x":1608,"y":227,"z":"a4e67f56.cb2c9","wires":[["f58c9809.cd0798"]]},{"id":"5a17e4b6.24cc2c","type":"other","name":"outcome_ERROR","xml":"<outcome value='ERROR'>\n","comments":"","outputs":1,"x":1783,"y":324,"z":"a4e67f56.cb2c9","wires":[["22896989.a0c9c6"]]},{"id":"6a7166f0.3d8308","type":"execute","name":"execute_STOP","xml":"<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='stopServer'>\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":1326,"y":239,"z":"a4e67f56.cb2c9","wires":[["16f41970.2b9937","74105ed4.70bad"]]},{"id":"682f2d38.85dcf4","type":"switchNode","name":"switch","xml":"<switch test='`$getVnfHierarchy_result`'>\n","comments":"","outputs":1,"x":128,"y":492.0000305175781,"z":"a4e67f56.cb2c9","wires":[["cbff0a6a.206938","bf5be080.c5c5e"]]},{"id":"bf5be080.c5c5e","type":"outcome","name":"FAILURE","xml":"<outcome value='FAILURE'>\n","comments":"","outputs":1,"x":271,"y":437,"z":"a4e67f56.cb2c9","wires":[["646e1f85.cb186"]]},{"id":"c13b792d.778058","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":483,"y":318,"z":"a4e67f56.cb2c9","wires":[]},{"id":"cbff0a6a.206938","type":"outcome","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":129,"y":568.0000305175781,"z":"a4e67f56.cb2c9","wires":[["333d173e.eb68a8"]]},{"id":"10c91a07.a117c6","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":583,"y":425,"z":"a4e67f56.cb2c9","wires":[]},{"id":"8115b889.f550c8","type":"switchNode","name":"switch","xml":"<switch test='`$postResource_result`'>\n","comments":"","outputs":1,"x":1092,"y":344,"z":"a4e67f56.cb2c9","wires":[["1127dc8f.3f9963","c9595f20.2a9c8","a2f5ef46.94c16"]]},{"id":"1127dc8f.3f9963","type":"outcome","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":1209,"y":111,"z":"a4e67f56.cb2c9","wires":[["6a7166f0.3d8308"]]},{"id":"c9595f20.2a9c8","type":"outcome","name":"NOT_FOUND","xml":"<outcome value='NOT_FOUND'>\n","comments":"","outputs":1,"x":1341,"y":427,"z":"a4e67f56.cb2c9","wires":[["f8f3a23a.eb879"]]},{"id":"8217861.f831678","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":1572,"y":559,"z":"a4e67f56.cb2c9","wires":[]},{"id":"a2f5ef46.94c16","type":"outcome","name":"FAILURE","xml":"<outcome value='FAILURE'>\n","comments":"","outputs":1,"x":1205,"y":514,"z":"a4e67f56.cb2c9","wires":[["e97be688.52f7b8"]]},{"id":"833e99d3.8e1fc8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":1392,"y":748,"z":"a4e67f56.cb2c9","wires":[]},{"id":"c7b8b650.debeb8","type":"switchNode","name":"switch","xml":"<switch test='`$postResource_result`'>\n","comments":"","outputs":1,"x":2251,"y":519,"z":"a4e67f56.cb2c9","wires":[["b7c2ee30.1eb72","e4923dfa.c9afb","b90b071c.055b78"]]},{"id":"b7c2ee30.1eb72","type":"outcome","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":2451,"y":422,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"e4923dfa.c9afb","type":"outcome","name":"NOT_FOUND","xml":"<outcome value='NOT_FOUND'>\n","comments":"","outputs":1,"x":2456,"y":527,"z":"a4e67f56.cb2c9","wires":[["801303e7.59ed6"]]},{"id":"b90b071c.055b78","type":"outcome","name":"FAILURE","xml":"<outcome value='FAILURE'>\n","comments":"","outputs":1,"x":2459,"y":638,"z":"a4e67f56.cb2c9","wires":[["cfc89854.f4d468"]]},{"id":"a69ecbbf.1d5bc8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":2798,"y":531,"z":"a4e67f56.cb2c9","wires":[]},{"id":"2edb4a8d.6d3ab6","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":2854,"y":664,"z":"a4e67f56.cb2c9","wires":[]},{"id":"e98338be.9afa58","type":"switchNode","name":"switch","xml":"<switch test='`$postResource_result`'>\n","comments":"","outputs":1,"x":2225,"y":213,"z":"a4e67f56.cb2c9","wires":[["8822689b.0636b8","d848ce46.2a685","f77fa469.3a14b8"]]},{"id":"8822689b.0636b8","type":"outcome","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":2437,"y":102,"z":"a4e67f56.cb2c9","wires":[["81c78045.cc4b7"]]},{"id":"81c78045.cc4b7","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":2696,"y":101,"z":"a4e67f56.cb2c9","wires":[]},{"id":"d848ce46.2a685","type":"outcome","name":"NOT_FOUND","xml":"<outcome value='NOT_FOUND'>\n","comments":"","outputs":1,"x":2449,"y":184,"z":"a4e67f56.cb2c9","wires":[["9b1f5185.99c3d"]]},{"id":"9b1f5185.99c3d","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":2700,"y":185,"z":"a4e67f56.cb2c9","wires":[]},{"id":"f77fa469.3a14b8","type":"outcome","name":"FAILURE","xml":"<outcome value='FAILURE'>\n","comments":"","outputs":1,"x":2449,"y":291,"z":"a4e67f56.cb2c9","wires":[["8a3cbd67.71ce4"]]},{"id":"8a3cbd67.71ce4","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":2705,"y":293,"z":"a4e67f56.cb2c9","wires":[]},{"id":"e1b9b789.f64058","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":623,"y":74,"z":"a4e67f56.cb2c9","wires":[["ad90eade.1e4318","88300794.7ebab8"]]},{"id":"ad90eade.1e4318","type":"execute","name":"execute","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$org.onap.appc.vfid`\" />\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":761,"y":20,"z":"a4e67f56.cb2c9","wires":[["5162c75b.63a0f8"]]},{"id":"5162c75b.63a0f8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":922,"y":32,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"646e1f85.cb186","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":415,"y":253,"z":"a4e67f56.cb2c9","wires":[["c13b792d.778058","cfce6271.431d"]]},{"id":"cfce6271.431d","type":"execute","name":"execute","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$org.onap.appc.vfid`\" />\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\" />","comments":"","outputs":1,"x":576,"y":230,"z":"a4e67f56.cb2c9","wires":[["b23db4a.b34b848"]]},{"id":"b23db4a.b34b848","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":713,"y":218,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"debeaa94.ae7058","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":569,"y":352,"z":"a4e67f56.cb2c9","wires":[["10c91a07.a117c6","30d4ccc8.122954"]]},{"id":"30d4ccc8.122954","type":"execute","name":"execute","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$org.onap.appc.vfid`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"VM Count is 0\" />\n<parameter name=\"output.status.message\" value=\"VM Count is 0\" />","comments":"","outputs":1,"x":671,"y":289,"z":"a4e67f56.cb2c9","wires":[["7e7f8d2.f243e74"]]},{"id":"7e7f8d2.f243e74","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":812,"y":305,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"ee34ffbb.23891","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":819,"y":686,"z":"a4e67f56.cb2c9","wires":[["9c0e0f69.b19d1","e0f1fadf.9c0e38"]]},{"id":"9c0e0f69.b19d1","type":"execute","name":"execute","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$org.onap.appc.vfid`\" />\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":1009,"y":630,"z":"a4e67f56.cb2c9","wires":[["46b448f9.a03378"]]},{"id":"46b448f9.a03378","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1209,"y":717,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"e97be688.52f7b8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1201,"y":590,"z":"a4e67f56.cb2c9","wires":[["c7dca449.abdeb8","833e99d3.8e1fc8"]]},{"id":"c7dca449.abdeb8","type":"execute","name":"execute","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$org.onap.appc.vfid`\" />\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`\"/>","comments":"","outputs":1,"x":1390,"y":658,"z":"a4e67f56.cb2c9","wires":[["26eaa68f.bf82ea"]]},{"id":"26eaa68f.bf82ea","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1568,"y":652,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"f8f3a23a.eb879","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1431,"y":503,"z":"a4e67f56.cb2c9","wires":[["8b3b5e98.1be6d","8217861.f831678"]]},{"id":"8b3b5e98.1be6d","type":"execute","name":"execute","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$org.onap.appc.vfid`\" />\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`\"/>","comments":"","outputs":1,"x":1585,"y":461,"z":"a4e67f56.cb2c9","wires":[["13b89cf6.a36ed3"]]},{"id":"13b89cf6.a36ed3","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1693,"y":513,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"b8a6176c.8ff0e8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1446,"y":48,"z":"a4e67f56.cb2c9","wires":[["a45ba5fc.9feb68","25ea35c8.19f71a"]]},{"id":"a45ba5fc.9feb68","type":"execute","name":"execute","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$org.onap.appc.vfid`\" />\n<parameter name='org.onap.appc.dg.error' value=\"`'Failure in stop for '+$VNF.VM[$i].VNFC`\"/>\n<parameter name=\"output.status.message\" value=\"`'Failure in stop for '+$VNF.VM[$i].VNFC`\"/>","comments":"","outputs":1,"x":1587,"y":29,"z":"a4e67f56.cb2c9","wires":[["9bacb3e0.f2d41"]]},{"id":"9bacb3e0.f2d41","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1741,"y":31,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"f58c9809.cd0798","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1582,"y":164,"z":"a4e67f56.cb2c9","wires":[["25ea35c8.19f71a","10bd5099.1c07bf"]]},{"id":"10bd5099.1c07bf","type":"execute","name":"execute","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$org.onap.appc.vfid`\" />\n<parameter name='org.onap.appc.dg.error' value=\"`'Stop : Server not found '+$VNF.VM[$i].VNFC`\"/>\n<parameter name=\"output.status.message\" value=\"`'Stop : Server not found '+$VNF.VM[$i].VNFC`\"/>","comments":"","outputs":1,"x":1706,"y":99,"z":"a4e67f56.cb2c9","wires":[["677f73ad.c6c76c"]]},{"id":"677f73ad.c6c76c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1863,"y":102,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"22896989.a0c9c6","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1853.9999389648438,"y":163,"z":"a4e67f56.cb2c9","wires":[["25ea35c8.19f71a","1a1bb1b5.d95e6e"]]},{"id":"1a1bb1b5.d95e6e","type":"execute","name":"execute","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$org.onap.appc.vfid`\" />\n<parameter name='org.onap.appc.dg.error' value=\"`'Stop : Error occoured while stopping the server '+$VNF.VM[$i].VNFC`\"/>\n<parameter name=\"output.status.message\" value=\"`'Stop : Error occoured while stopping the server '+$VNF.VM[$i].VNFC`\"/>","comments":"","outputs":1,"x":1954,"y":144,"z":"a4e67f56.cb2c9","wires":[["89e55d1b.8bacb"]]},{"id":"89e55d1b.8bacb","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2083,"y":109,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"801303e7.59ed6","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2623,"y":514,"z":"a4e67f56.cb2c9","wires":[["6cc2dd3a.5ab1c4","a69ecbbf.1d5bc8"]]},{"id":"cfc89854.f4d468","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2627,"y":629,"z":"a4e67f56.cb2c9","wires":[["4f117e3b.87012","2edb4a8d.6d3ab6"]]},{"id":"f46b9146.02c08","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2226,"y":729,"z":"a4e67f56.cb2c9","wires":[["30bc77c5.9a7ea8","e8c9cfc3.43aba"]]},{"id":"6cc2dd3a.5ab1c4","type":"execute","name":"execute","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$org.onap.appc.vfid`\" />\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`\"/>","comments":"","outputs":1,"x":2793,"y":473,"z":"a4e67f56.cb2c9","wires":[["b58381a3.ec774"]]},{"id":"4f117e3b.87012","type":"execute","name":"execute","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$org.onap.appc.vfid`\" />\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`\"/>","comments":"","outputs":1,"x":2816,"y":592,"z":"a4e67f56.cb2c9","wires":[["ca332e3a.6a09e"]]},{"id":"b58381a3.ec774","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2966,"y":479,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"ca332e3a.6a09e","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":3049,"y":586,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"30bc77c5.9a7ea8","type":"execute","name":"execute","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$org.onap.appc.vfid`\" />\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`\"/>","comments":"","outputs":1,"x":2434,"y":702,"z":"a4e67f56.cb2c9","wires":[["2a4d844.64b3b7c"]]},{"id":"2a4d844.64b3b7c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2593,"y":706,"z":"a4e67f56.cb2c9","wires":[[]]}]
+[
+ {
+ "id": "ca7dff7a.9094d",
+ "type": "method",
+ "name": "Generic_Stop",
+ "xml": "<method rpc='Generic_Stop' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 240.515625,
+ "y": 163.515625,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "1a5a41f2.1d5d1e"
+ ]
+ ]
+ },
+ {
+ "id": "a4084d81.f30ab",
+ "type": "service-logic",
+ "name": "APPC 2.0.0",
+ "module": "APPC",
+ "version": "2.0.0",
+ "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.0'>",
+ "outputs": 1,
+ "x": 321.515625,
+ "y": 99.515625,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "ca7dff7a.9094d"
+ ]
+ ]
+ },
+ {
+ "id": "c6c533c7.a83e1",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 145.515625,
+ "y": 99.515625,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "a4084d81.f30ab"
+ ]
+ ]
+ },
+ {
+ "id": "1a5a41f2.1d5d1e",
+ "type": "execute",
+ "name": "execute_getVNF_Hierarchy",
+ "xml": "<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='getVnfHierarchy'>\n<parameter name=\"resourceKey\" value=\"`$org.onap.appc.vfid`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 165.515625,
+ "y": 268.515625,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "efd21b46.8816f8",
+ "ed27a5b5.b50f98"
+ ]
+ ]
+ },
+ {
+ "id": "efd21b46.8816f8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 136.515625,
+ "y": 444.515625,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "c04dc9bf.f2eb68"
+ ]
+ ]
+ },
+ {
+ "id": "877024dd.875ad8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>\n",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 418.5156555175781,
+ "y": 812.5156593322754,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "e04acb4c.378ec8",
+ "c5408647.b48898"
+ ]
+ ]
+ },
+ {
+ "id": "e04acb4c.378ec8",
+ "type": "for",
+ "name": "for_each_VMs",
+ "xml": "<for index=\"i\" start=\"0\" end=\"`$VNF.VMCount`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 600.5156402587891,
+ "y": 751.5156717300415,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "dbb8f0fa.9e0b3"
+ ]
+ ]
+ },
+ {
+ "id": "dbb8f0fa.9e0b3",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>\n",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 816.5157852172852,
+ "y": 732.5157337188721,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "6d56f0ff.3dd59"
+ ]
+ ]
+ },
+ {
+ "id": "c5408647.b48898",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n",
+ "comments": "",
+ "x": 618.515625,
+ "y": 903.515625,
+ "z": "e684c611.19f8f8",
+ "wires": []
+ },
+ {
+ "id": "ed27a5b5.b50f98",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 397.515625,
+ "y": 226.515625,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "acdb8393.ea85c"
+ ]
+ ]
+ },
+ {
+ "id": "d00e5710.5de668",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 753.5156593322754,
+ "y": 277.51562881469727,
+ "z": "e684c611.19f8f8",
+ "wires": []
+ },
+ {
+ "id": "5db910d8.c5b43",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1167.5156936645508,
+ "y": 779.5156507492065,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "803e4626.09a418"
+ ]
+ ]
+ },
+ {
+ "id": "1024a058.50944",
+ "type": "comment",
+ "name": "call south bound to STOP VMs",
+ "info": "",
+ "comments": "",
+ "x": 991.5157775878906,
+ "y": 642.5157160758972,
+ "z": "e684c611.19f8f8",
+ "wires": []
+ },
+ {
+ "id": "e850001b.1e176",
+ "type": "comment",
+ "name": "if failure from south bound then update as Error",
+ "info": "",
+ "comments": "",
+ "x": 1580.5157318115234,
+ "y": 771.5156402587891,
+ "z": "e684c611.19f8f8",
+ "wires": []
+ },
+ {
+ "id": "7b36d153.c79a3",
+ "type": "comment",
+ "name": "Fetch all VMs and VNFCs from AA&I for given VNF_ID",
+ "info": "",
+ "comments": "",
+ "x": 205.5,
+ "y": 321.5156307220459,
+ "z": "e684c611.19f8f8",
+ "wires": []
+ },
+ {
+ "id": "cfc7559f.a713e8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1193.5159339904785,
+ "y": 601.5156688690186,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "8ea909b3.9986f8"
+ ]
+ ]
+ },
+ {
+ "id": "b0a70389.467fe",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$VNF.VMCount`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 130.515625,
+ "y": 740.5156555175781,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "d708b7d2.075828",
+ "6a96238a.4fa3fc"
+ ]
+ ]
+ },
+ {
+ "id": "d708b7d2.075828",
+ "type": "other",
+ "name": "outcome_0",
+ "xml": "<outcome value='0'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 327.515625,
+ "y": 622.5156555175781,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "ae027dd.7a07f8"
+ ]
+ ]
+ },
+ {
+ "id": "6a96238a.4fa3fc",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 313.515625,
+ "y": 753.5156555175781,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "877024dd.875ad8"
+ ]
+ ]
+ },
+ {
+ "id": "803e4626.09a418",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$STOP_STATUS`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1320.515697479248,
+ "y": 817.515682220459,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "80e1612e.f1656",
+ "e09cd63d.1543d8",
+ "ca381933.f82c48"
+ ]
+ ]
+ },
+ {
+ "id": "80e1612e.f1656",
+ "type": "success",
+ "name": "outcome_SUCCESS",
+ "xml": "<outcome value='SUCCESS'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1438.5159759521484,
+ "y": 922.5157642364502,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e09cd63d.1543d8",
+ "type": "other",
+ "name": "outcome_SERVER_NOT_FOUND",
+ "xml": "<outcome value='SERVER_NOT_FOUND'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1548.5156707763672,
+ "y": 705.5156316757202,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "5c6438d1.7312f8"
+ ]
+ ]
+ },
+ {
+ "id": "ca381933.f82c48",
+ "type": "other",
+ "name": "outcome_ERROR",
+ "xml": "<outcome value='ERROR'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1564.5162200927734,
+ "y": 817.5157880783081,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "f4074405.cd8f08"
+ ]
+ ]
+ },
+ {
+ "id": "6d56f0ff.3dd59",
+ "type": "execute",
+ "name": "execute_STOP",
+ "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='stopServer'>\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": 1014.5158386230469,
+ "y": 699.5156421661377,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "5db910d8.c5b43",
+ "cfc7559f.a713e8"
+ ]
+ ]
+ },
+ {
+ "id": "c04dc9bf.f2eb68",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$getVnfHierarchy_result`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 122.515625,
+ "y": 562.5156555175781,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "2ab2d7.6e453d2a",
+ "bec897cf.c43018"
+ ]
+ ]
+ },
+ {
+ "id": "bec897cf.c43018",
+ "type": "outcome",
+ "name": "FAILURE",
+ "xml": "<outcome value='FAILURE'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 328.5156478881836,
+ "y": 513.5156383514404,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "9cdbbbf5.033ca8"
+ ]
+ ]
+ },
+ {
+ "id": "d83304f2.66e5a8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 720.5157051086426,
+ "y": 543.5156841278076,
+ "z": "e684c611.19f8f8",
+ "wires": []
+ },
+ {
+ "id": "2ab2d7.6e453d2a",
+ "type": "outcome",
+ "name": "SUCCESS",
+ "xml": "<outcome value='SUCCESS'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 123.515625,
+ "y": 638.5156555175781,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "b0a70389.467fe"
+ ]
+ ]
+ },
+ {
+ "id": "cb3e9caf.8319",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 726.5156593322754,
+ "y": 673.5157794952393,
+ "z": "e684c611.19f8f8",
+ "wires": []
+ },
+ {
+ "id": "acdb8393.ea85c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 576.5156707763672,
+ "y": 225.51562690734863,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "9125ec23.5af1e",
+ "d00e5710.5de668"
+ ]
+ ]
+ },
+ {
+ "id": "9125ec23.5af1e",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$org.onap.appc.vfid`\" />\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": 740.5156745910645,
+ "y": 167.515625,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "34f84fa0.3a691"
+ ]
+ ]
+ },
+ {
+ "id": "34f84fa0.3a691",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 904.5156478881836,
+ "y": 159.51562690734863,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9cdbbbf5.033ca8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 540.5156402587891,
+ "y": 496.5156831741333,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "d83304f2.66e5a8",
+ "af7e9776.180f88"
+ ]
+ ]
+ },
+ {
+ "id": "af7e9776.180f88",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$org.onap.appc.vfid`\" />\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\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 715.5156478881836,
+ "y": 422.5156660079956,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "681ab88c.171628"
+ ]
+ ]
+ },
+ {
+ "id": "681ab88c.171628",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 909.5157737731934,
+ "y": 430.5156497955322,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ae027dd.7a07f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 536.5156707763672,
+ "y": 625.5156555175781,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "cb3e9caf.8319",
+ "c474f9c9.17d698"
+ ]
+ ]
+ },
+ {
+ "id": "c474f9c9.17d698",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$org.onap.appc.vfid`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"VM Count is 0\" />\n<parameter name=\"output.status.message\" value=\"VM Count is 0\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 704.5157661437988,
+ "y": 585.5157165527344,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "82640172.803ee"
+ ]
+ ]
+ },
+ {
+ "id": "82640172.803ee",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 893.5157089233398,
+ "y": 587.5156536102295,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8ea909b3.9986f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1371.5159072875977,
+ "y": 596.5156952142715,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "7582f708.24e738",
+ "e0b313cc.a9ff"
+ ]
+ ]
+ },
+ {
+ "id": "7582f708.24e738",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$org.onap.appc.vfid`\" />\n<parameter name='org.onap.appc.dg.error' value=\"`'Failure in stop for '+$VNF.VM[$i].VNFC`\"/>\n<parameter name=\"output.status.message\" value=\"`'Failure in stop for '+$VNF.VM[$i].VNFC`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1519.5158462524414,
+ "y": 544.5156502723694,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "67dd3d00.c106f4"
+ ]
+ ]
+ },
+ {
+ "id": "67dd3d00.c106f4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1701.5156707763672,
+ "y": 545.5156326293945,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5c6438d1.7312f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1814.5158081054688,
+ "y": 704.5156326293945,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "33f2f58b.14107a",
+ "e46cf1e4.8837e"
+ ]
+ ]
+ },
+ {
+ "id": "33f2f58b.14107a",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$org.onap.appc.vfid`\" />\n<parameter name='org.onap.appc.dg.error' value=\"`'Stop : Server not found '+$VNF.VM[$i].VNFC`\"/>\n<parameter name=\"output.status.message\" value=\"`'Stop : Server not found '+$VNF.VM[$i].VNFC`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1982.5161743164062,
+ "y": 648.5156497955322,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "3d16d953.a6ba16"
+ ]
+ ]
+ },
+ {
+ "id": "3d16d953.a6ba16",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2155.5163345336914,
+ "y": 644.5156421661377,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e46cf1e4.8837e",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 2000.5159912109375,
+ "y": 730.5156602859497,
+ "z": "e684c611.19f8f8",
+ "wires": []
+ },
+ {
+ "id": "e0b313cc.a9ff",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1541.0156631469727,
+ "y": 641.5156307220459,
+ "z": "e684c611.19f8f8",
+ "wires": []
+ },
+ {
+ "id": "f4074405.cd8f08",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1815.0156784057617,
+ "y": 807.5156669616699,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "e70c442a.c81dd8",
+ "2878d96.6c81326"
+ ]
+ ]
+ },
+ {
+ "id": "e70c442a.c81dd8",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$org.onap.appc.vfid`\" />\n<parameter name='org.onap.appc.dg.error' value=\"`'Stop : Error while stopping '+$VNF.VM[$i].VNFC`\"/>\n<parameter name=\"output.status.message\" value=\"`'Stop : Error while stopping '+$VNF.VM[$i].VNFC`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1992.0164184570312,
+ "y": 776.5157022476196,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ [
+ "ac0f66e4.3fcbe8"
+ ]
+ ]
+ },
+ {
+ "id": "2878d96.6c81326",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 2005.0160522460938,
+ "y": 850.5156841278076,
+ "z": "e684c611.19f8f8",
+ "wires": []
+ },
+ {
+ "id": "ac0f66e4.3fcbe8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2167.016181945801,
+ "y": 775.5156650543213,
+ "z": "e684c611.19f8f8",
+ "wires": [
+ []
+ ]
+ }
+] \ No newline at end of file
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_Generic_Sync_2.0.0.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_Generic_Sync_2.0.0.json
index 3a4c7aa83..ef781c1e9 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_Generic_Sync_2.0.0.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_Generic_Sync_2.0.0.json
@@ -1,1345 +1,1641 @@
-[{
- "id": "9c13e82a.387b38",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 131.66665649414062,
- "y": 116.6666750907898,
- "z": "214b12db.e4ae8e",
- "wires": [["c8696732.57b668"]]
-},
- {
- "id": "c8696732.57b668",
- "type": "service-logic",
- "name": "APPC 2.0.0",
- "module": "APPC",
- "version": "2.0.0",
- "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.0'>",
- "outputs": 1,
- "x": 311.6666564941406,
- "y": 116.6666750907898,
- "z": "214b12db.e4ae8e",
- "wires": [["11c0a5be.fe5bfa"]]
- },
- {
- "id": "11c0a5be.fe5bfa",
- "type": "method",
- "name": "Sync",
- "xml": "<method rpc='Generic_Sync' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 490.6666564941406,
- "y": 116.6666750907898,
- "z": "214b12db.e4ae8e",
- "wires": [["cb484414.952458"]]
- },
- {
- "id": "9ec6a6d6.7a5678",
- "type": "get-resource",
- "name": "Retrieve current config details",
- "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"SELECT service_description, vnf_name, vm_name, vnf_type, vnfc_type, host_ip_address FROM UPLOAD_CONFIG WHERE vnf_id = $input.action-identifiers.vnf-id AND config_indicator='Current' AND (pending_delete IS NULL OR pending_delete != 'Y')\" pfx=\"currnt-config[]\">",
- "comments": "",
- "outputs": 1,
- "x": 519.0861930847168,
- "y": 437.4498953819275,
- "z": "214b12db.e4ae8e",
- "wires": [["a4a4499.da795b8",
- "d4b62675.cc3218",
- "f40aff31.110c9"]]
- },
- {
- "id": "f40aff31.110c9",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 771.3759498596191,
- "y": 365.17019033432007,
- "z": "214b12db.e4ae8e",
- "wires": [["841d3cc6.f08c7"]]
- },
- {
- "id": "a4a4499.da795b8",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>",
- "comments": "",
- "outputs": 1,
- "x": 776.3759956359863,
- "y": 436.947970867157,
- "z": "214b12db.e4ae8e",
- "wires": [["b9da4281.1adab"]]
- },
- {
- "id": "d4b62675.cc3218",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 773.598217010498,
- "y": 500.61465311050415,
- "z": "214b12db.e4ae8e",
- "wires": [["88d88ec0.cbcfa"]]
- },
- {
- "id": "2a1906ba.c69e1a",
- "type": "execute",
- "name": "Report Error to DCAE",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1229.2260704040527,
- "y": 539.5462489128113,
- "z": "214b12db.e4ae8e",
- "wires": [[]]
- },
- {
- "id": "2195ead0.db2c66",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$error-message`\"/>\n",
- "comments": "",
- "x": 1207.9867248535156,
- "y": 592.734308719635,
- "z": "214b12db.e4ae8e",
- "wires": []
- },
- {
- "id": "9e646937.3ed6a8",
- "type": "set",
- "name": "Set error message",
- "xml": "<set>\n<parameter name='error-message' value=\"`'Current configuration not found in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>",
- "comments": "",
- "x": 1214.5936851501465,
- "y": 436.7257466316223,
- "z": "214b12db.e4ae8e",
- "wires": []
- },
- {
- "id": "88cf09de.c0d5e8",
- "type": "set",
- "name": "Set error message",
- "xml": "<set>\n<parameter name='error-message' value=\"`'Error while retrieving current configuration from the repository for the vnf-id : ' + $input.action-identifiers.vnf-id`\"/>\n",
- "comments": "",
- "x": 1215.234661102295,
- "y": 384.6402335166931,
- "z": "214b12db.e4ae8e",
- "wires": []
- },
- {
- "id": "841d3cc6.f08c7",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 932.456859588623,
- "y": 365.05907678604126,
- "z": "214b12db.e4ae8e",
- "wires": [["88cf09de.c0d5e8",
- "2a1906ba.c69e1a",
- "2195ead0.db2c66",
- "1aa4df6e.f6da11"]]
- },
- {
- "id": "b9da4281.1adab",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 940.0124244689941,
- "y": 436.8368649482727,
- "z": "214b12db.e4ae8e",
- "wires": [["9e646937.3ed6a8",
- "2a1906ba.c69e1a",
- "2195ead0.db2c66",
- "1aa4df6e.f6da11"]]
- },
- {
- "id": "88d88ec0.cbcfa",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 409.5640525817871,
- "y": 615.6837515830994,
- "z": "214b12db.e4ae8e",
- "wires": [["7732a369.eb726c",
- "4f4a7a36.c2a284",
- "d5cea21b.c34aa",
- "11dcb423.01808c",
- "6d230a1.4a08cf4",
- "855ad0e4.d405c",
- "59566c79.8df204",
- "872a0177.f9c8f",
- "aa08d8db.e07148"]]
- },
- {
- "id": "7732a369.eb726c",
- "type": "for",
- "name": "for each current config",
- "xml": "<for index=\"i\" start=\"0\" end=\"`$currnt-config_length`\" >\n",
- "comments": "",
- "outputs": 1,
- "x": 657.6324729919434,
- "y": 616.0513052940369,
- "z": "214b12db.e4ae8e",
- "wires": [["842b0ba4.2b8248"]]
- },
- {
- "id": "ce31ce3d.765e7",
- "type": "set",
- "name": "Set context",
- "xml": "<set>\n<parameter name='service-description' value=\"`$currnt-config[$i].service-description`\" />\n<parameter name='vm-name' value=\"`$currnt-config[$i].vm-name`\" />\n<parameter name='vnf-type' value=\"`$currnt-config[$i].vnf-type`\" />\n<parameter name='vnfc-type' value=\"`$currnt-config[$i].vnfc-type`\" />\n<parameter name='host-ip-address' value=\"`$currnt-config[$i].host-ip-address`\" />\n<parameter name='vnf-name' value=\"`$currnt-config[$i].vnf-name`\" />\n",
- "comments": "",
- "x": 1072.4787254333496,
- "y": 616.2821097373962,
- "z": "214b12db.e4ae8e",
- "wires": []
- },
- {
- "id": "9fe7ebb1.f6f948",
- "type": "call",
- "name": "Call Retrieve running Config DG",
- "xml": "<call rpc='GetRunningConfig' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1104.4786949157715,
- "y": 674.28204870224,
- "z": "214b12db.e4ae8e",
- "wires": [["cd269b5.a716568",
- "4f80d854.e62828",
- "83342c8c.51a98"]]
- },
- {
- "id": "842b0ba4.2b8248",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 852.7863121032715,
- "y": 675.205144405365,
- "z": "214b12db.e4ae8e",
- "wires": [["ce31ce3d.765e7",
- "9fe7ebb1.f6f948",
- "dd580aa1.a817c8",
- "4c8c9a0.c6b3768"]]
- },
- {
- "id": "cd269b5.a716568",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1346.5898399353027,
- "y": 623.2819828987122,
- "z": "214b12db.e4ae8e",
- "wires": [["7e006a6b.da6ef4"]]
- },
- {
- "id": "4f80d854.e62828",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>",
- "comments": "",
- "outputs": 1,
- "x": 1358.034236907959,
- "y": 676.28204870224,
- "z": "214b12db.e4ae8e",
- "wires": [["6c663e2f.d966d"]]
- },
- {
- "id": "83342c8c.51a98",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1368.1451988220215,
- "y": 728.3930716514587,
- "z": "214b12db.e4ae8e",
- "wires": [[]]
- },
- {
- "id": "4f4a7a36.c2a284",
- "type": "update",
- "name": "Mark current configs as historic",
- "xml": "<update resource='SQL' force='true' plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' key=\"UPDATE UPLOAD_CONFIG SET config_indicator=null WHERE vnf_id = $input.action-identifiers.vnf-id AND config_indicator='Current' AND (pending_delete IS NULL OR pending_delete != 'Y')\">\n",
- "comments": "",
- "outputs": 1,
- "x": 801.5814094543457,
- "y": 1163.6410536766052,
- "z": "214b12db.e4ae8e",
- "wires": [["25e5bfd2.2129e",
- "baa57190.f5968"]]
- },
- {
- "id": "d5cea21b.c34aa",
- "type": "save",
- "name": "Store device config as 'Current'",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"INSERT INTO UPLOAD_CONFIG (request_id, originator_id, service_description, action, vnf_id, vnf_name, vm_name, vnf_type, vnfc_type, host_ip_address, config_indicator, content) SELECT request_id, originator_id, service_description, action, vnf_id, vnf_name, vm_name, vnf_type, vnfc_type, host_ip_address, 'Current', content FROM UPLOAD_CONFIG WHERE vnf_id = $input.action-identifiers.vnf-id AND config_indicator = 'Running' AND (pending_delete IS NULL OR pending_delete != 'Y')\" force='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 795.196704864502,
- "y": 1331.1795058250427,
- "z": "214b12db.e4ae8e",
- "wires": [["3111ae3b.b3f9e2",
- "f1f93963.7ca2d8"]]
- },
- {
- "id": "f1f93963.7ca2d8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1055.1968002319336,
- "y": 1375.1795058250427,
- "z": "214b12db.e4ae8e",
- "wires": [[]]
- },
- {
- "id": "3111ae3b.b3f9e2",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1050.1968002319336,
- "y": 1291.1795058250427,
- "z": "214b12db.e4ae8e",
- "wires": [["f16ab34d.41c77"]]
- },
- {
- "id": "25e5bfd2.2129e",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1060.581470489502,
- "y": 1218.6410384178162,
- "z": "214b12db.e4ae8e",
- "wires": [[]]
- },
- {
- "id": "baa57190.f5968",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1054.581470489502,
- "y": 1162.6410536766052,
- "z": "214b12db.e4ae8e",
- "wires": [["62bc5493.c88cfc"]]
- },
- {
- "id": "7e006a6b.da6ef4",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1497.1454181671143,
- "y": 623.2819752693176,
- "z": "214b12db.e4ae8e",
- "wires": [["f6c71fae.e8d17",
- "a278106d.b2101",
- "aac04b94.261c38",
- "4b77bb4a.9f7014"]]
- },
- {
- "id": "f6c71fae.e8d17",
- "type": "set",
- "name": "Set error message",
- "xml": "<set>\n<parameter name='error-message' value=\"`$error-message`\" />\n",
- "comments": "",
- "x": 1804.7011909484863,
- "y": 521.1709504127502,
- "z": "214b12db.e4ae8e",
- "wires": []
- },
- {
- "id": "6c663e2f.d966d",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1510.4786949157715,
- "y": 675.1709036827087,
- "z": "214b12db.e4ae8e",
- "wires": [["963a5bc6.b3e628",
- "a278106d.b2101",
- "aac04b94.261c38",
- "4b77bb4a.9f7014"]]
- },
- {
- "id": "963a5bc6.b3e628",
- "type": "set",
- "name": "Set error message",
- "xml": "<set>\n<parameter name='error-message' value='DG to retrieve running configuration not found'/>",
- "comments": "",
- "x": 1806.7012519836426,
- "y": 570.1709456443787,
- "z": "214b12db.e4ae8e",
- "wires": []
- },
- {
- "id": "62bc5493.c88cfc",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1223.359302520752,
- "y": 1163.6410536766052,
- "z": "214b12db.e4ae8e",
- "wires": [["fca9379c.f1ba58",
- "205f706d.16fb1",
- "15018948.152e47",
- "3521d3f3.e7bf6c",
- "4d82212c.2ef21"]]
- },
- {
- "id": "fca9379c.f1ba58",
- "type": "set",
- "name": "Set error message",
- "xml": "<set>\n<parameter name='error-message' value=\"`'Error while marking current configuration as historic in the repository for vnf-id:' + $input.action-identifiers.vnf-id`\" />\n",
- "comments": "",
- "x": 1451.6924629211426,
- "y": 1200.6411147117615,
- "z": "214b12db.e4ae8e",
- "wires": []
- },
- {
- "id": "f16ab34d.41c77",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1216.9744491577148,
- "y": 1293.1795058250427,
- "z": "214b12db.e4ae8e",
- "wires": [["4adc4f3b.17a16",
- "205f706d.16fb1",
- "15018948.152e47",
- "3521d3f3.e7bf6c",
- "4d82212c.2ef21"]]
- },
- {
- "id": "4adc4f3b.17a16",
- "type": "set",
- "name": "Set error message",
- "xml": "<set>\n<parameter name='error-message' value=\"`'Error while storing the new current configuration in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\" />\n",
- "comments": "",
- "x": 1443.529987335205,
- "y": 1245.2907118797302,
- "z": "214b12db.e4ae8e",
- "wires": []
- },
- {
- "id": "aac04b94.261c38",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
- "comments": "",
- "x": 1787.5473823547363,
- "y": 713.0171122550964,
- "z": "214b12db.e4ae8e",
- "wires": []
- },
- {
- "id": "a278106d.b2101",
- "type": "execute",
- "name": "Report Error to DCAE",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1816.5474433898926,
- "y": 663.0170950889587,
- "z": "214b12db.e4ae8e",
- "wires": [[]]
- },
- {
- "id": "15018948.152e47",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
- "comments": "",
- "x": 1436.7608222961426,
- "y": 1427.1369032859802,
- "z": "214b12db.e4ae8e",
- "wires": []
- },
- {
- "id": "205f706d.16fb1",
- "type": "execute",
- "name": "Report Error to DCAE",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1461.7608222961426,
- "y": 1337.1369032859802,
- "z": "214b12db.e4ae8e",
- "wires": [[]]
- },
- {
- "id": "f5cfbdb3.30a63",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 291.6666603088379,
- "y": 343.57577085494995,
- "z": "214b12db.e4ae8e",
- "wires": [["9ec6a6d6.7a5678",
- "58cdab19.f47684"]]
- },
- {
- "id": "1aa4df6e.f6da11",
- "type": "record",
- "name": "Log error",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1182.3589057922363,
- "y": 491.3589644432068,
- "z": "214b12db.e4ae8e",
- "wires": [[]]
- },
- {
- "id": "4b77bb4a.9f7014",
- "type": "record",
- "name": "Log error",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1778.0247383117676,
- "y": 613.7672305107117,
- "z": "214b12db.e4ae8e",
- "wires": [[]]
- },
- {
- "id": "3521d3f3.e7bf6c",
- "type": "record",
- "name": "Log error",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1427.1704940795898,
- "y": 1292.0814833641052,
- "z": "214b12db.e4ae8e",
- "wires": [[]]
- },
- {
- "id": "58cdab19.f47684",
- "type": "record",
- "name": "Log message",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Retrieving current configuration details from the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 481.0855522155762,
- "y": 343.16138219833374,
- "z": "214b12db.e4ae8e",
- "wires": [[]]
- },
- {
- "id": "11dcb423.01808c",
- "type": "record",
- "name": "Log message",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Marking current configuration as historic in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 735.7780342102051,
- "y": 1098.2382216453552,
- "z": "214b12db.e4ae8e",
- "wires": [[]]
- },
- {
- "id": "6d230a1.4a08cf4",
- "type": "record",
- "name": "Log message",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Storing device configuration as Current configuration in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 745.7009773254395,
- "y": 1274.3923964500427,
- "z": "214b12db.e4ae8e",
- "wires": [[]]
- },
- {
- "id": "855ad0e4.d405c",
- "type": "record",
- "name": "Log message",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Current configuration marked as historic in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 748.6198616027832,
- "y": 1218.4325575828552,
- "z": "214b12db.e4ae8e",
- "wires": [[]]
- },
- {
- "id": "59566c79.8df204",
- "type": "record",
- "name": "Log message",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Device configuration stored as Current configuration in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 735.6198616027832,
- "y": 1387.8555312156677,
- "z": "214b12db.e4ae8e",
- "wires": [[]]
- },
- {
- "id": "872a0177.f9c8f",
- "type": "returnSuccess",
- "name": "return success",
- "xml": "<return status='success'>\n",
- "comments": "",
- "x": 711.4660873413086,
- "y": 1504.8555312156677,
- "z": "214b12db.e4ae8e",
- "wires": []
- },
- {
- "id": "dd580aa1.a817c8",
- "type": "set",
- "name": "Set Running Config ID",
- "xml": "<set>\n<parameter name='output.payload.upload-config-id[$i]' value='`$runningConfig.UPLOAD-CONFIG-ID`' />\n\n",
- "comments": "",
- "x": 1083.6667442321777,
- "y": 733.0000834465027,
- "z": "214b12db.e4ae8e",
- "wires": []
- },
- {
- "id": "aa08d8db.e07148",
- "type": "execute",
- "name": "Generate output payload",
- "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='generateOutputPayloadFromContext' >",
- "comments": "",
- "outputs": 1,
- "x": 763.6667366027832,
- "y": 1445.0000014305115,
- "z": "214b12db.e4ae8e",
- "wires": [["1639668d.25e0d9",
- "264aed94.5a8e32",
- "397802b1.358f0e"]]
- },
- {
- "id": "1639668d.25e0d9",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1006.6668586730957,
- "y": 1425.9999403953552,
- "z": "214b12db.e4ae8e",
- "wires": [["a0b721e.ccba5e"]]
- },
- {
- "id": "264aed94.5a8e32",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1008.6668586730957,
- "y": 1471.0000014305115,
- "z": "214b12db.e4ae8e",
- "wires": [["a0b721e.ccba5e"]]
- },
- {
- "id": "397802b1.358f0e",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1011.6667366027832,
- "y": 1521.9999403953552,
- "z": "214b12db.e4ae8e",
- "wires": [[]]
- },
- {
- "id": "a0b721e.ccba5e",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1206.3336067199707,
- "y": 1482.9999403953552,
- "z": "214b12db.e4ae8e",
- "wires": [["a2cf5226.8165",
- "bd7acdda.91a63"]]
- },
- {
- "id": "bd7acdda.91a63",
- "type": "execute",
- "name": "Report error to DCAE",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure while generating output payload JSON\" />",
- "comments": "",
- "outputs": 1,
- "x": 1441.2381706237793,
- "y": 1484.3807997703552,
- "z": "214b12db.e4ae8e",
- "wires": [[]]
- },
- {
- "id": "a2cf5226.8165",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
- "comments": "",
- "x": 1425.6666374206543,
- "y": 1533.5236220359802,
- "z": "214b12db.e4ae8e",
- "wires": []
- },
- {
- "id": "4d82212c.2ef21",
- "type": "execute",
- "name": "Generate output payload",
- "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='generateOutputPayloadFromContext' >",
- "comments": "",
- "outputs": 1,
- "x": 1493.8887519836426,
- "y": 1385.0000014305115,
- "z": "214b12db.e4ae8e",
- "wires": [["425e2e54.04ff7",
- "d2f01dc7.e5e29",
- "481f9e71.90512"]]
- },
- {
- "id": "425e2e54.04ff7",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1740.8889350891113,
- "y": 1332.9999403953552,
- "z": "214b12db.e4ae8e",
- "wires": [["62fbe5e0.d9cdcc"]]
- },
- {
- "id": "d2f01dc7.e5e29",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1731.8889961242676,
- "y": 1386.0000014305115,
- "z": "214b12db.e4ae8e",
- "wires": [["62fbe5e0.d9cdcc"]]
- },
- {
- "id": "481f9e71.90512",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1733.888874053955,
- "y": 1435.9999403953552,
- "z": "214b12db.e4ae8e",
- "wires": [[]]
- },
- {
- "id": "62fbe5e0.d9cdcc",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1936.5558052062988,
- "y": 1356.9999403953552,
- "z": "214b12db.e4ae8e",
- "wires": [["23d2ce67.52c4d2",
- "49e01c1c.c64a44"]]
- },
- {
- "id": "49e01c1c.c64a44",
- "type": "execute",
- "name": "Report error to DCAE",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure while generating output payload JSON\" />",
- "comments": "",
- "outputs": 1,
- "x": 2165.460346221924,
- "y": 1355.3807997703552,
- "z": "214b12db.e4ae8e",
- "wires": [[]]
- },
- {
- "id": "23d2ce67.52c4d2",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
- "comments": "",
- "x": 2145.888813018799,
- "y": 1416.5236220359802,
- "z": "214b12db.e4ae8e",
- "wires": []
- },
- {
- "id": "f6b28639.a1c3a8",
- "type": "outcome",
- "name": "Outcome: y",
- "xml": "<outcome value='y'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1190.6666526794434,
- "y": 808.1822867393494,
- "z": "214b12db.e4ae8e",
- "wires": [["60059d22.c2ba54"]]
- },
- {
- "id": "4c8c9a0.c6b3768",
- "type": "switchNode",
- "name": "switch",
- "xml": "<switch test='`$Publish_Config`'>",
- "comments": "",
- "outputs": 1,
- "x": 1037.6666984558105,
- "y": 799.5156636238098,
- "z": "214b12db.e4ae8e",
- "wires": [["f6b28639.a1c3a8",
- "6d199d17.82f204"]]
- },
- {
- "id": "60059d22.c2ba54",
- "type": "get-resource",
- "name": "Retrieve Running config details DB",
- "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"SELECT upload_config_id, request_id, originator_id, service_description, action, upload_date, vnf_id, vnf_name, vm_name, vnf_type, vnfc_type, host_ip_address, config_indicator, pending_delete ,content FROM UPLOAD_CONFIG WHERE upload_config_id = $runningConfig.UPLOAD-CONFIG-ID\" pfx=\"running-config\">",
- "comments": "",
- "outputs": 1,
- "x": 1432.6667404174805,
- "y": 829.1823210716248,
- "z": "214b12db.e4ae8e",
- "wires": [["cdc99515.922c58",
- "9a6d5a51.faabc8",
- "9034241c.159aa8"]]
- },
- {
- "id": "cdc99515.922c58",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1690.6669082641602,
- "y": 840.1825032234192,
- "z": "214b12db.e4ae8e",
- "wires": [["7e300025.5253a"]]
- },
- {
- "id": "7e300025.5253a",
- "type": "execute",
- "name": "execute CvaasDataIntoContext",
- "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='cvaasFileNameAndFileContentToContext' >\n<parameter name=\"cvaas-directory-path\" value=\"/opt/app/bvc/cvaas\" />\n<parameter name=\"appc-instance-id\" value=\"appc01\" />\n<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1943.9172744750977,
- "y": 844.1830830574036,
- "z": "214b12db.e4ae8e",
- "wires": [["eb8bab96.3c6e98",
- "46abe9bb.2c0fd8",
- "ce71ba2a.e1ce38"]]
- },
- {
- "id": "eb8bab96.3c6e98",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2241.1673278808594,
- "y": 965.1831040382385,
- "z": "214b12db.e4ae8e",
- "wires": [["694c898b.ddbd58"]]
- },
- {
- "id": "46abe9bb.2c0fd8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2250.6669998168945,
- "y": 861.1828625202179,
- "z": "214b12db.e4ae8e",
- "wires": [["9fa2a21b.8af7c"]]
- },
- {
- "id": "ce71ba2a.e1ce38",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2257.667266845703,
- "y": 913.1830716133118,
- "z": "214b12db.e4ae8e",
- "wires": [["9fa2a21b.8af7c"]]
- },
- {
- "id": "9034241c.159aa8",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>",
- "comments": "",
- "outputs": 1,
- "x": 1524.9166564941406,
- "y": 1005.182294845581,
- "z": "214b12db.e4ae8e",
- "wires": [["567684cc.50b0dc"]]
- },
- {
- "id": "9a6d5a51.faabc8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1521.9165420532227,
- "y": 953.4044423103333,
- "z": "214b12db.e4ae8e",
- "wires": [["4bc0b87d.970378"]]
- },
- {
- "id": "4bc0b87d.970378",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1661.9975929260254,
- "y": 955.2935299873352,
- "z": "214b12db.e4ae8e",
- "wires": [["3ce78b3b.82fee4",
- "ce132d3c.9e7bb",
- "de31ac1.3cad05",
- "ba52c35d.d0a18"]]
- },
- {
- "id": "567684cc.50b0dc",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1661.553165435791,
- "y": 1014.0713334083557,
- "z": "214b12db.e4ae8e",
- "wires": [["ce132d3c.9e7bb",
- "de31ac1.3cad05",
- "ba52c35d.d0a18",
- "956742c7.415fd"]]
- },
- {
- "id": "ba52c35d.d0a18",
- "type": "record",
- "name": "Log error",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1859.8998336791992,
- "y": 1030.5936121940613,
- "z": "214b12db.e4ae8e",
- "wires": [[]]
- },
- {
- "id": "3ce78b3b.82fee4",
- "type": "set",
- "name": "Set error message",
- "xml": "<set>\n<parameter name='error-message' value=\"`'Error while retrieving running configuration from the repository for the vnf-id : ' + $input.action-identifiers.vnf-id`\"/>\n",
- "comments": "",
- "x": 1892.7756729125977,
- "y": 930.875011920929,
- "z": "214b12db.e4ae8e",
- "wires": []
- },
- {
- "id": "6d199d17.82f204",
- "type": "outcome",
- "name": "Outcome: Y",
- "xml": "<outcome value='Y'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1191.6667098999023,
- "y": 860.1822571754456,
- "z": "214b12db.e4ae8e",
- "wires": [["60059d22.c2ba54"]]
- },
- {
- "id": "956742c7.415fd",
- "type": "set",
- "name": "Set error message",
- "xml": "<set>\n<parameter name='error-message' value=\"`'Running configuration not found in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>",
- "comments": "",
- "x": 1891.1346130371094,
- "y": 979.9603943824768,
- "z": "214b12db.e4ae8e",
- "wires": []
- },
- {
- "id": "694c898b.ddbd58",
- "type": "record",
- "name": "record cvass",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"`$cvaas-file-name`\"/>\n<parameter name=\"record\" value=\"`$cvaas-file-content`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2417.917697906494,
- "y": 1007.1834092140198,
- "z": "214b12db.e4ae8e",
- "wires": [["e96f6416.e57a18",
- "9939c991.265c38"]]
- },
- {
- "id": "900e8879.a7b3f8",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
- "comments": "",
- "x": 2636.6667404174805,
- "y": 938.7069244384766,
- "z": "214b12db.e4ae8e",
- "wires": []
- },
- {
- "id": "4c75663f.43f0d8",
- "type": "execute",
- "name": "execute CheckFileCreated",
- "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='checkFileCreated' >\n<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2490.933391571045,
- "y": 1143.9486117362976,
- "z": "214b12db.e4ae8e",
- "wires": [["a473caa6.56a5f8",
- "18a86d58.a2caa3",
- "3498054b.73705a"]]
- },
- {
- "id": "4f4d3434.694adc",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2965.4338912963867,
- "y": 1122.9491600990295,
- "z": "214b12db.e4ae8e",
- "wires": [["8b90be34.c5f61",
- "cab8f54e.ec65e8",
- "feccd180.68417",
- "cd47c223.a0626"]]
- },
- {
- "id": "8b90be34.c5f61",
- "type": "set",
- "name": "Set error message",
- "xml": "<set>\n<parameter name='error-message' value=\"`'Cvass file could not be created'`\"/>",
- "comments": "",
- "x": 3205.9892539978027,
- "y": 1070.8379549980164,
- "z": "214b12db.e4ae8e",
- "wires": []
- },
- {
- "id": "feccd180.68417",
- "type": "record",
- "name": "Log error",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3182.3132286071777,
- "y": 1122.4345178604126,
- "z": "214b12db.e4ae8e",
- "wires": [[]]
- },
- {
- "id": "cab8f54e.ec65e8",
- "type": "execute",
- "name": "Report Error to DCAE",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3216.8359298706055,
- "y": 1174.6844897270203,
- "z": "214b12db.e4ae8e",
- "wires": [[]]
- },
- {
- "id": "18a86d58.a2caa3",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2745.9338912963867,
- "y": 1097.9491291046143,
- "z": "214b12db.e4ae8e",
- "wires": [["4f4d3434.694adc"]]
- },
- {
- "id": "a473caa6.56a5f8",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2754.9335975646973,
- "y": 1154.9489903450012,
- "z": "214b12db.e4ae8e",
- "wires": [["4f4d3434.694adc"]]
- },
- {
- "id": "3498054b.73705a",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2761.933582305908,
- "y": 1207.9490694999695,
- "z": "214b12db.e4ae8e",
- "wires": [[]]
- },
- {
- "id": "9fa2a21b.8af7c",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2456.3336868286133,
- "y": 883.1828720569611,
- "z": "214b12db.e4ae8e",
- "wires": [["900e8879.a7b3f8",
- "8652a63d.1ea618"]]
- },
- {
- "id": "8652a63d.1ea618",
- "type": "execute",
- "name": "Report error to DCAE",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Error while fetching cvass data\" />",
- "comments": "",
- "outputs": 1,
- "x": 2655.238349914551,
- "y": 840.5637314319611,
- "z": "214b12db.e4ae8e",
- "wires": [[]]
- },
- {
- "id": "e96f6416.e57a18",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2254.933277130127,
- "y": 1124.9486260414124,
- "z": "214b12db.e4ae8e",
- "wires": [["4c75663f.43f0d8"]]
- },
- {
- "id": "9939c991.265c38",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2255.9330825805664,
- "y": 1167.9487557411194,
- "z": "214b12db.e4ae8e",
- "wires": [["4c75663f.43f0d8"]]
- },
- {
- "id": "de31ac1.3cad05",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$error-message`\"/>\n",
- "comments": "",
- "x": 1875.5276527404785,
- "y": 1128.9689564704895,
- "z": "214b12db.e4ae8e",
- "wires": []
- },
- {
- "id": "ce132d3c.9e7bb",
- "type": "execute",
- "name": "Report Error to DCAE",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1900.7669982910156,
- "y": 1077.7808966636658,
- "z": "214b12db.e4ae8e",
- "wires": [[]]
- },
- {
- "id": "cb484414.952458",
- "type": "execute",
- "name": "Set payload in Context",
- "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",
- "comments": "",
- "outputs": 1,
- "x": 726.6667137145996,
- "y": 116.74999856948853,
- "z": "214b12db.e4ae8e",
- "wires": [["b20f9d10.79243",
- "c4b37771.d26c18",
- "b02ba377.938ab",
- "d871965c.fc6f98"]]
- },
- {
- "id": "c4b37771.d26c18",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1016.6667289733887,
- "y": 58.99999761581421,
- "z": "214b12db.e4ae8e",
- "wires": [["507fcd18.8ae1c4"]]
- },
- {
- "id": "b02ba377.938ab",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1017.6667289733887,
- "y": 108.99999761581421,
- "z": "214b12db.e4ae8e",
- "wires": [["507fcd18.8ae1c4"]]
- },
- {
- "id": "d871965c.fc6f98",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1010.6667289733887,
- "y": 164.00001287460327,
- "z": "214b12db.e4ae8e",
- "wires": [["507fcd18.8ae1c4"]]
- },
- {
- "id": "b20f9d10.79243",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1007.6667900085449,
- "y": 219.750009059906,
- "z": "214b12db.e4ae8e",
- "wires": [["f5cfbdb3.30a63"]]
- },
- {
- "id": "507fcd18.8ae1c4",
- "type": "block",
- "name": "block",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1224.3333702087402,
- "y": 151.99999952316284,
- "z": "214b12db.e4ae8e",
- "wires": [["2a1493.66c87b6e",
- "861e0870.0e6308"]]
- },
- {
- "id": "861e0870.0e6308",
- "type": "execute",
- "name": "OutputMessageBuilder",
- "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"Failure in flattening payload Json\" />",
- "comments": "",
- "outputs": 1,
- "x": 1454.6664390563965,
- "y": 103.88888502120972,
- "z": "214b12db.e4ae8e",
- "wires": [["b958118a.b4c35"]]
- },
- {
- "id": "2a1493.66c87b6e",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
- "comments": "",
- "x": 1421.666316986084,
- "y": 152.52372694015503,
- "z": "214b12db.e4ae8e",
- "wires": []
- },
- {
- "id": "b958118a.b4c35",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1662.7614707946777,
- "y": 103.17462110519409,
- "z": "214b12db.e4ae8e",
- "wires": [["61a0d1cf.928f8"]]
- },
- {
- "id": "61a0d1cf.928f8",
- "type": "execute",
- "name": "Report Error to DCAE",
- "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"event-message\" value=\"`$event-message`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1864.3330039978027,
- "y": 102.88888502120972,
- "z": "214b12db.e4ae8e",
- "wires": [[]]
- },
- {
- "id": "cd47c223.a0626",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$error-message`\"/>\n",
- "comments": "",
- "x": 3202.333251953125,
- "y": 1273,
- "z": "214b12db.e4ae8e",
- "wires": []
- }]
+[
+ {
+ "id": "9c13e82a.387b38",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 131.66665649414062,
+ "y": 116.6666750907898,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "c8696732.57b668"
+ ]
+ ]
+ },
+ {
+ "id": "c8696732.57b668",
+ "type": "service-logic",
+ "name": "APPC 2.0.0",
+ "module": "APPC",
+ "version": "2.0.0",
+ "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.0'>",
+ "outputs": 1,
+ "x": 311.6666564941406,
+ "y": 116.6666750907898,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "11c0a5be.fe5bfa"
+ ]
+ ]
+ },
+ {
+ "id": "11c0a5be.fe5bfa",
+ "type": "method",
+ "name": "Sync",
+ "xml": "<method rpc='Generic_Sync' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 490.6666564941406,
+ "y": 116.6666750907898,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "cb484414.952458"
+ ]
+ ]
+ },
+ {
+ "id": "9ec6a6d6.7a5678",
+ "type": "get-resource",
+ "name": "Retrieve current config details",
+ "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"SELECT service_description, vnf_name, vm_name, vnf_type, vnfc_type, host_ip_address FROM UPLOAD_CONFIG WHERE vnf_id = $input.action-identifiers.vnf-id AND config_indicator='Current' AND (pending_delete IS NULL OR pending_delete != 'Y')\" pfx=\"currnt-config[]\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 519.0861930847168,
+ "y": 437.4498953819275,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "a4a4499.da795b8",
+ "d4b62675.cc3218",
+ "f40aff31.110c9"
+ ]
+ ]
+ },
+ {
+ "id": "f40aff31.110c9",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 771.3759498596191,
+ "y": 365.17019033432007,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "841d3cc6.f08c7"
+ ]
+ ]
+ },
+ {
+ "id": "a4a4499.da795b8",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 776.3759956359863,
+ "y": 436.947970867157,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "b9da4281.1adab"
+ ]
+ ]
+ },
+ {
+ "id": "d4b62675.cc3218",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 773.598217010498,
+ "y": 500.61465311050415,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "88d88ec0.cbcfa"
+ ]
+ ]
+ },
+ {
+ "id": "2a1906ba.c69e1a",
+ "type": "execute",
+ "name": "Report Error to DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1229.2260704040527,
+ "y": 539.5462489128113,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2195ead0.db2c66",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$error-message`\"/>\n",
+ "comments": "",
+ "x": 1207.9867248535156,
+ "y": 592.734308719635,
+ "z": "214b12db.e4ae8e",
+ "wires": []
+ },
+ {
+ "id": "9e646937.3ed6a8",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='error-message' value=\"`'Current configuration not found in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>",
+ "comments": "",
+ "x": 1214.5936851501465,
+ "y": 436.7257466316223,
+ "z": "214b12db.e4ae8e",
+ "wires": []
+ },
+ {
+ "id": "88cf09de.c0d5e8",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='error-message' value=\"`'Error while retrieving current configuration from the repository for the vnf-id : ' + $input.action-identifiers.vnf-id`\"/>\n",
+ "comments": "",
+ "x": 1215.234661102295,
+ "y": 384.6402335166931,
+ "z": "214b12db.e4ae8e",
+ "wires": []
+ },
+ {
+ "id": "841d3cc6.f08c7",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 932.456859588623,
+ "y": 365.05907678604126,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "88cf09de.c0d5e8",
+ "2a1906ba.c69e1a",
+ "2195ead0.db2c66",
+ "1aa4df6e.f6da11"
+ ]
+ ]
+ },
+ {
+ "id": "b9da4281.1adab",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 940.0124244689941,
+ "y": 436.8368649482727,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "9e646937.3ed6a8",
+ "2a1906ba.c69e1a",
+ "2195ead0.db2c66",
+ "1aa4df6e.f6da11"
+ ]
+ ]
+ },
+ {
+ "id": "88d88ec0.cbcfa",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 409.5640525817871,
+ "y": 615.6837515830994,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "7732a369.eb726c",
+ "4f4a7a36.c2a284",
+ "d5cea21b.c34aa",
+ "11dcb423.01808c",
+ "6d230a1.4a08cf4",
+ "855ad0e4.d405c",
+ "59566c79.8df204",
+ "872a0177.f9c8f",
+ "aa08d8db.e07148"
+ ]
+ ]
+ },
+ {
+ "id": "7732a369.eb726c",
+ "type": "for",
+ "name": "for each current config",
+ "xml": "<for index=\"i\" start=\"0\" end=\"`$currnt-config_length`\" >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 657.6324729919434,
+ "y": 616.0513052940369,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "842b0ba4.2b8248"
+ ]
+ ]
+ },
+ {
+ "id": "ce31ce3d.765e7",
+ "type": "set",
+ "name": "Set context",
+ "xml": "<set>\n<parameter name='service-description' value=\"`$currnt-config[$i].service-description`\" />\n<parameter name='vm-name' value=\"`$currnt-config[$i].vm-name`\" />\n<parameter name='vnf-type' value=\"`$currnt-config[$i].vnf-type`\" />\n<parameter name='vnfc-type' value=\"`$currnt-config[$i].vnfc-type`\" />\n<parameter name='host-ip-address' value=\"`$currnt-config[$i].host-ip-address`\" />\n<parameter name='vnf-name' value=\"`$currnt-config[$i].vnf-name`\" />\n",
+ "comments": "",
+ "x": 1072.4787254333496,
+ "y": 616.2821097373962,
+ "z": "214b12db.e4ae8e",
+ "wires": []
+ },
+ {
+ "id": "9fe7ebb1.f6f948",
+ "type": "call",
+ "name": "Call Retrieve running Config DG",
+ "xml": "<call rpc='GetRunningConfig' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1104.4786949157715,
+ "y": 674.28204870224,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "cd269b5.a716568",
+ "4f80d854.e62828",
+ "83342c8c.51a98"
+ ]
+ ]
+ },
+ {
+ "id": "842b0ba4.2b8248",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 852.7863121032715,
+ "y": 675.205144405365,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "ce31ce3d.765e7",
+ "9fe7ebb1.f6f948",
+ "dd580aa1.a817c8",
+ "4c8c9a0.c6b3768"
+ ]
+ ]
+ },
+ {
+ "id": "cd269b5.a716568",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1346.5898399353027,
+ "y": 623.2819828987122,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "7e006a6b.da6ef4"
+ ]
+ ]
+ },
+ {
+ "id": "4f80d854.e62828",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1358.034236907959,
+ "y": 676.28204870224,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "6c663e2f.d966d"
+ ]
+ ]
+ },
+ {
+ "id": "83342c8c.51a98",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1368.1451988220215,
+ "y": 728.3930716514587,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4f4a7a36.c2a284",
+ "type": "update",
+ "name": "Mark current configs as historic",
+ "xml": "<update resource='SQL' force='true' plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' key=\"UPDATE UPLOAD_CONFIG SET config_indicator=null WHERE vnf_id = $input.action-identifiers.vnf-id AND config_indicator='Current' AND (pending_delete IS NULL OR pending_delete != 'Y')\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 801.5814094543457,
+ "y": 1163.6410536766052,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "25e5bfd2.2129e",
+ "baa57190.f5968"
+ ]
+ ]
+ },
+ {
+ "id": "d5cea21b.c34aa",
+ "type": "save",
+ "name": "Store device config as 'Current'",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"INSERT INTO UPLOAD_CONFIG (request_id, originator_id, service_description, action, vnf_id, vnf_name, vm_name, vnf_type, vnfc_type, host_ip_address, config_indicator, content) SELECT request_id, originator_id, service_description, action, vnf_id, vnf_name, vm_name, vnf_type, vnfc_type, host_ip_address, 'Current', content FROM UPLOAD_CONFIG WHERE vnf_id = $input.action-identifiers.vnf-id AND config_indicator = 'Running' AND (pending_delete IS NULL OR pending_delete != 'Y')\" force='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 795.196704864502,
+ "y": 1331.1795058250427,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "3111ae3b.b3f9e2",
+ "f1f93963.7ca2d8"
+ ]
+ ]
+ },
+ {
+ "id": "f1f93963.7ca2d8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1055.1968002319336,
+ "y": 1375.1795058250427,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3111ae3b.b3f9e2",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1050.1968002319336,
+ "y": 1291.1795058250427,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "f16ab34d.41c77"
+ ]
+ ]
+ },
+ {
+ "id": "25e5bfd2.2129e",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1060.581470489502,
+ "y": 1218.6410384178162,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "baa57190.f5968",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1054.581470489502,
+ "y": 1162.6410536766052,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "62bc5493.c88cfc"
+ ]
+ ]
+ },
+ {
+ "id": "7e006a6b.da6ef4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1497.1454181671143,
+ "y": 623.2819752693176,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "f6c71fae.e8d17",
+ "a278106d.b2101",
+ "aac04b94.261c38",
+ "4b77bb4a.9f7014"
+ ]
+ ]
+ },
+ {
+ "id": "f6c71fae.e8d17",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='error-message' value=\"`$error-message`\" />\n",
+ "comments": "",
+ "x": 1804.7011909484863,
+ "y": 521.1709504127502,
+ "z": "214b12db.e4ae8e",
+ "wires": []
+ },
+ {
+ "id": "6c663e2f.d966d",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1510.4786949157715,
+ "y": 675.1709036827087,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "963a5bc6.b3e628",
+ "a278106d.b2101",
+ "aac04b94.261c38",
+ "4b77bb4a.9f7014"
+ ]
+ ]
+ },
+ {
+ "id": "963a5bc6.b3e628",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='error-message' value='DG to retrieve running configuration not found'/>",
+ "comments": "",
+ "x": 1806.7012519836426,
+ "y": 570.1709456443787,
+ "z": "214b12db.e4ae8e",
+ "wires": []
+ },
+ {
+ "id": "62bc5493.c88cfc",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1223.359302520752,
+ "y": 1163.6410536766052,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "fca9379c.f1ba58",
+ "205f706d.16fb1",
+ "15018948.152e47",
+ "3521d3f3.e7bf6c",
+ "4d82212c.2ef21"
+ ]
+ ]
+ },
+ {
+ "id": "fca9379c.f1ba58",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='error-message' value=\"`'Error while marking current configuration as historic in the repository for vnf-id:' + $input.action-identifiers.vnf-id`\" />\n",
+ "comments": "",
+ "x": 1451.6924629211426,
+ "y": 1200.6411147117615,
+ "z": "214b12db.e4ae8e",
+ "wires": []
+ },
+ {
+ "id": "f16ab34d.41c77",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1216.9744491577148,
+ "y": 1293.1795058250427,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "4adc4f3b.17a16",
+ "205f706d.16fb1",
+ "15018948.152e47",
+ "3521d3f3.e7bf6c",
+ "4d82212c.2ef21"
+ ]
+ ]
+ },
+ {
+ "id": "4adc4f3b.17a16",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='error-message' value=\"`'Error while storing the new current configuration in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\" />\n",
+ "comments": "",
+ "x": 1443.529987335205,
+ "y": 1245.2907118797302,
+ "z": "214b12db.e4ae8e",
+ "wires": []
+ },
+ {
+ "id": "aac04b94.261c38",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
+ "comments": "",
+ "x": 1787.5473823547363,
+ "y": 713.0171122550964,
+ "z": "214b12db.e4ae8e",
+ "wires": []
+ },
+ {
+ "id": "a278106d.b2101",
+ "type": "execute",
+ "name": "Report Error to DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1816.5474433898926,
+ "y": 663.0170950889587,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "15018948.152e47",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
+ "comments": "",
+ "x": 1436.7608222961426,
+ "y": 1427.1369032859802,
+ "z": "214b12db.e4ae8e",
+ "wires": []
+ },
+ {
+ "id": "205f706d.16fb1",
+ "type": "execute",
+ "name": "Report Error to DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1461.7608222961426,
+ "y": 1337.1369032859802,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f5cfbdb3.30a63",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 291.6666603088379,
+ "y": 343.57577085494995,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "9ec6a6d6.7a5678",
+ "58cdab19.f47684"
+ ]
+ ]
+ },
+ {
+ "id": "1aa4df6e.f6da11",
+ "type": "record",
+ "name": "Log error",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1182.3589057922363,
+ "y": 491.3589644432068,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4b77bb4a.9f7014",
+ "type": "record",
+ "name": "Log error",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1778.0247383117676,
+ "y": 613.7672305107117,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3521d3f3.e7bf6c",
+ "type": "record",
+ "name": "Log error",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1427.1704940795898,
+ "y": 1292.0814833641052,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "58cdab19.f47684",
+ "type": "record",
+ "name": "Log message",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Retrieving current configuration details from the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 481.0855522155762,
+ "y": 343.16138219833374,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "11dcb423.01808c",
+ "type": "record",
+ "name": "Log message",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Marking current configuration as historic in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 735.7780342102051,
+ "y": 1098.2382216453552,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6d230a1.4a08cf4",
+ "type": "record",
+ "name": "Log message",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Storing device configuration as Current configuration in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 745.7009773254395,
+ "y": 1274.3923964500427,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "855ad0e4.d405c",
+ "type": "record",
+ "name": "Log message",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Current configuration marked as historic in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 748.6198616027832,
+ "y": 1218.4325575828552,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "59566c79.8df204",
+ "type": "record",
+ "name": "Log message",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Device configuration stored as Current configuration in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 735.6198616027832,
+ "y": 1387.8555312156677,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "872a0177.f9c8f",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n",
+ "comments": "",
+ "x": 711.4660873413086,
+ "y": 1504.8555312156677,
+ "z": "214b12db.e4ae8e",
+ "wires": []
+ },
+ {
+ "id": "dd580aa1.a817c8",
+ "type": "set",
+ "name": "Set Running Config ID",
+ "xml": "<set>\n<parameter name='output.payload.upload-config-id[$i]' value='`$runningConfig.UPLOAD-CONFIG-ID`' />\n\n",
+ "comments": "",
+ "x": 1083.6667442321777,
+ "y": 733.0000834465027,
+ "z": "214b12db.e4ae8e",
+ "wires": []
+ },
+ {
+ "id": "aa08d8db.e07148",
+ "type": "execute",
+ "name": "Generate output payload",
+ "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='generateOutputPayloadFromContext' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 763.6667366027832,
+ "y": 1445.0000014305115,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "1639668d.25e0d9",
+ "264aed94.5a8e32",
+ "397802b1.358f0e"
+ ]
+ ]
+ },
+ {
+ "id": "1639668d.25e0d9",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1006.6668586730957,
+ "y": 1425.9999403953552,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "a0b721e.ccba5e"
+ ]
+ ]
+ },
+ {
+ "id": "264aed94.5a8e32",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1008.6668586730957,
+ "y": 1471.0000014305115,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "a0b721e.ccba5e"
+ ]
+ ]
+ },
+ {
+ "id": "397802b1.358f0e",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1011.6667366027832,
+ "y": 1521.9999403953552,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a0b721e.ccba5e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1206.3336067199707,
+ "y": 1482.9999403953552,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "a2cf5226.8165",
+ "bd7acdda.91a63"
+ ]
+ ]
+ },
+ {
+ "id": "bd7acdda.91a63",
+ "type": "execute",
+ "name": "Report error to DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure while generating output payload JSON\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1441.2381706237793,
+ "y": 1484.3807997703552,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a2cf5226.8165",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
+ "comments": "",
+ "x": 1425.6666374206543,
+ "y": 1533.5236220359802,
+ "z": "214b12db.e4ae8e",
+ "wires": []
+ },
+ {
+ "id": "4d82212c.2ef21",
+ "type": "execute",
+ "name": "Generate output payload",
+ "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='generateOutputPayloadFromContext' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1493.8887519836426,
+ "y": 1385.0000014305115,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "425e2e54.04ff7",
+ "d2f01dc7.e5e29",
+ "481f9e71.90512"
+ ]
+ ]
+ },
+ {
+ "id": "425e2e54.04ff7",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1740.8889350891113,
+ "y": 1332.9999403953552,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "62fbe5e0.d9cdcc"
+ ]
+ ]
+ },
+ {
+ "id": "d2f01dc7.e5e29",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1731.8889961242676,
+ "y": 1386.0000014305115,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "62fbe5e0.d9cdcc"
+ ]
+ ]
+ },
+ {
+ "id": "481f9e71.90512",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1733.888874053955,
+ "y": 1435.9999403953552,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "62fbe5e0.d9cdcc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1936.5558052062988,
+ "y": 1356.9999403953552,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "23d2ce67.52c4d2",
+ "49e01c1c.c64a44"
+ ]
+ ]
+ },
+ {
+ "id": "49e01c1c.c64a44",
+ "type": "execute",
+ "name": "Report error to DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure while generating output payload JSON\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2165.460346221924,
+ "y": 1355.3807997703552,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "23d2ce67.52c4d2",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
+ "comments": "",
+ "x": 2145.888813018799,
+ "y": 1416.5236220359802,
+ "z": "214b12db.e4ae8e",
+ "wires": []
+ },
+ {
+ "id": "f6b28639.a1c3a8",
+ "type": "outcome",
+ "name": "Outcome: y",
+ "xml": "<outcome value='y'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1190.6666526794434,
+ "y": 808.1822867393494,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "60059d22.c2ba54"
+ ]
+ ]
+ },
+ {
+ "id": "4c8c9a0.c6b3768",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$Publish_Config`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1037.6666984558105,
+ "y": 799.5156636238098,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "f6b28639.a1c3a8",
+ "6d199d17.82f204"
+ ]
+ ]
+ },
+ {
+ "id": "60059d22.c2ba54",
+ "type": "get-resource",
+ "name": "Retrieve Running config details DB",
+ "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"SELECT upload_config_id, request_id, originator_id, service_description, action, upload_date, vnf_id, vnf_name, vm_name, vnf_type, vnfc_type, host_ip_address, config_indicator, pending_delete ,content FROM UPLOAD_CONFIG WHERE upload_config_id = $runningConfig.UPLOAD-CONFIG-ID\" pfx=\"running-config\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1432.6667404174805,
+ "y": 829.1823210716248,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "cdc99515.922c58",
+ "9a6d5a51.faabc8",
+ "9034241c.159aa8"
+ ]
+ ]
+ },
+ {
+ "id": "cdc99515.922c58",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1690.6669082641602,
+ "y": 840.1825032234192,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "7e300025.5253a"
+ ]
+ ]
+ },
+ {
+ "id": "7e300025.5253a",
+ "type": "execute",
+ "name": "execute CvaasDataIntoContext",
+ "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='cvaasFileNameAndFileContentToContext' >\n<parameter name=\"cvaas-directory-path\" value=\"/opt/app/bvc/cvaas\" />\n<parameter name=\"appc-instance-id\" value=\"appc01\" />\n<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1943.9172744750977,
+ "y": 844.1830830574036,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "eb8bab96.3c6e98",
+ "46abe9bb.2c0fd8",
+ "ce71ba2a.e1ce38"
+ ]
+ ]
+ },
+ {
+ "id": "eb8bab96.3c6e98",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2241.1673278808594,
+ "y": 965.1831040382385,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "694c898b.ddbd58"
+ ]
+ ]
+ },
+ {
+ "id": "46abe9bb.2c0fd8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2250.6669998168945,
+ "y": 861.1828625202179,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "9fa2a21b.8af7c"
+ ]
+ ]
+ },
+ {
+ "id": "ce71ba2a.e1ce38",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2257.667266845703,
+ "y": 913.1830716133118,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "9fa2a21b.8af7c"
+ ]
+ ]
+ },
+ {
+ "id": "9034241c.159aa8",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1524.9166564941406,
+ "y": 1005.182294845581,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "567684cc.50b0dc"
+ ]
+ ]
+ },
+ {
+ "id": "9a6d5a51.faabc8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1521.9165420532227,
+ "y": 953.4044423103333,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "4bc0b87d.970378"
+ ]
+ ]
+ },
+ {
+ "id": "4bc0b87d.970378",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1661.9975929260254,
+ "y": 955.2935299873352,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "3ce78b3b.82fee4",
+ "ce132d3c.9e7bb",
+ "de31ac1.3cad05",
+ "ba52c35d.d0a18"
+ ]
+ ]
+ },
+ {
+ "id": "567684cc.50b0dc",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1661.553165435791,
+ "y": 1014.0713334083557,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "ce132d3c.9e7bb",
+ "de31ac1.3cad05",
+ "ba52c35d.d0a18",
+ "956742c7.415fd"
+ ]
+ ]
+ },
+ {
+ "id": "ba52c35d.d0a18",
+ "type": "record",
+ "name": "Log error",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1859.8998336791992,
+ "y": 1030.5936121940613,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3ce78b3b.82fee4",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='error-message' value=\"`'Error while retrieving running configuration from the repository for the vnf-id : ' + $input.action-identifiers.vnf-id`\"/>\n",
+ "comments": "",
+ "x": 1892.7756729125977,
+ "y": 930.875011920929,
+ "z": "214b12db.e4ae8e",
+ "wires": []
+ },
+ {
+ "id": "6d199d17.82f204",
+ "type": "outcome",
+ "name": "Outcome: Y",
+ "xml": "<outcome value='Y'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1191.6667098999023,
+ "y": 860.1822571754456,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "60059d22.c2ba54"
+ ]
+ ]
+ },
+ {
+ "id": "956742c7.415fd",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='error-message' value=\"`'Running configuration not found in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>",
+ "comments": "",
+ "x": 1891.1346130371094,
+ "y": 979.9603943824768,
+ "z": "214b12db.e4ae8e",
+ "wires": []
+ },
+ {
+ "id": "694c898b.ddbd58",
+ "type": "record",
+ "name": "record cvass",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"`$cvaas-file-name`\"/>\n<parameter name=\"record\" value=\"`$cvaas-file-content`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2417.917697906494,
+ "y": 1007.1834092140198,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "e96f6416.e57a18",
+ "9939c991.265c38"
+ ]
+ ]
+ },
+ {
+ "id": "900e8879.a7b3f8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
+ "comments": "",
+ "x": 2636.6667404174805,
+ "y": 938.7069244384766,
+ "z": "214b12db.e4ae8e",
+ "wires": []
+ },
+ {
+ "id": "4c75663f.43f0d8",
+ "type": "execute",
+ "name": "execute CheckFileCreated",
+ "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='checkFileCreated' >\n<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2490.933391571045,
+ "y": 1143.9486117362976,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "a473caa6.56a5f8",
+ "18a86d58.a2caa3",
+ "3498054b.73705a"
+ ]
+ ]
+ },
+ {
+ "id": "4f4d3434.694adc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2965.4338912963867,
+ "y": 1122.9491600990295,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "8b90be34.c5f61",
+ "cab8f54e.ec65e8",
+ "feccd180.68417",
+ "cd47c223.a0626"
+ ]
+ ]
+ },
+ {
+ "id": "8b90be34.c5f61",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='error-message' value=\"`'Cvass file could not be created'`\"/>",
+ "comments": "",
+ "x": 3205.9892539978027,
+ "y": 1070.8379549980164,
+ "z": "214b12db.e4ae8e",
+ "wires": []
+ },
+ {
+ "id": "feccd180.68417",
+ "type": "record",
+ "name": "Log error",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3182.3132286071777,
+ "y": 1122.4345178604126,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cab8f54e.ec65e8",
+ "type": "execute",
+ "name": "Report Error to DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3216.8359298706055,
+ "y": 1174.6844897270203,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "18a86d58.a2caa3",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2745.9338912963867,
+ "y": 1097.9491291046143,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "4f4d3434.694adc"
+ ]
+ ]
+ },
+ {
+ "id": "a473caa6.56a5f8",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2754.9335975646973,
+ "y": 1154.9489903450012,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "4f4d3434.694adc"
+ ]
+ ]
+ },
+ {
+ "id": "3498054b.73705a",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2761.933582305908,
+ "y": 1207.9490694999695,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9fa2a21b.8af7c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2456.3336868286133,
+ "y": 883.1828720569611,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "900e8879.a7b3f8",
+ "8652a63d.1ea618"
+ ]
+ ]
+ },
+ {
+ "id": "8652a63d.1ea618",
+ "type": "execute",
+ "name": "Report error to DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Error while fetching cvass data\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2655.238349914551,
+ "y": 840.5637314319611,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e96f6416.e57a18",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2254.933277130127,
+ "y": 1124.9486260414124,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "4c75663f.43f0d8"
+ ]
+ ]
+ },
+ {
+ "id": "9939c991.265c38",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2255.9330825805664,
+ "y": 1167.9487557411194,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "4c75663f.43f0d8"
+ ]
+ ]
+ },
+ {
+ "id": "de31ac1.3cad05",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$error-message`\"/>\n",
+ "comments": "",
+ "x": 1875.5276527404785,
+ "y": 1128.9689564704895,
+ "z": "214b12db.e4ae8e",
+ "wires": []
+ },
+ {
+ "id": "ce132d3c.9e7bb",
+ "type": "execute",
+ "name": "Report Error to DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1900.7669982910156,
+ "y": 1077.7808966636658,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cb484414.952458",
+ "type": "execute",
+ "name": "Set payload in Context",
+ "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 726.6667137145996,
+ "y": 116.74999856948853,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "b20f9d10.79243",
+ "c4b37771.d26c18",
+ "b02ba377.938ab",
+ "d871965c.fc6f98"
+ ]
+ ]
+ },
+ {
+ "id": "c4b37771.d26c18",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1016.6667289733887,
+ "y": 58.99999761581421,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "507fcd18.8ae1c4"
+ ]
+ ]
+ },
+ {
+ "id": "b02ba377.938ab",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1017.6667289733887,
+ "y": 108.99999761581421,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "507fcd18.8ae1c4"
+ ]
+ ]
+ },
+ {
+ "id": "d871965c.fc6f98",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1010.6667289733887,
+ "y": 164.00001287460327,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "507fcd18.8ae1c4"
+ ]
+ ]
+ },
+ {
+ "id": "b20f9d10.79243",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1007.6667900085449,
+ "y": 219.750009059906,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "f5cfbdb3.30a63"
+ ]
+ ]
+ },
+ {
+ "id": "507fcd18.8ae1c4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1224.3333702087402,
+ "y": 151.99999952316284,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "2a1493.66c87b6e",
+ "861e0870.0e6308"
+ ]
+ ]
+ },
+ {
+ "id": "861e0870.0e6308",
+ "type": "execute",
+ "name": "OutputMessageBuilder",
+ "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"Failure in flattening payload Json\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1454.6664390563965,
+ "y": 103.88888502120972,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "b958118a.b4c35"
+ ]
+ ]
+ },
+ {
+ "id": "2a1493.66c87b6e",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
+ "comments": "",
+ "x": 1421.666316986084,
+ "y": 152.52372694015503,
+ "z": "214b12db.e4ae8e",
+ "wires": []
+ },
+ {
+ "id": "b958118a.b4c35",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1662.7614707946777,
+ "y": 103.17462110519409,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ [
+ "61a0d1cf.928f8"
+ ]
+ ]
+ },
+ {
+ "id": "61a0d1cf.928f8",
+ "type": "execute",
+ "name": "Report Error to DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"event-message\" value=\"`$event-message`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1864.3330039978027,
+ "y": 102.88888502120972,
+ "z": "214b12db.e4ae8e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cd47c223.a0626",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$error-message`\"/>\n",
+ "comments": "",
+ "x": 3202.333251953125,
+ "y": 1273,
+ "z": "214b12db.e4ae8e",
+ "wires": []
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_Generic_Terminate_2.0.0.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_Generic_Terminate_2.0.0.json
index d7ab5a28f..1e2542d61 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_Generic_Terminate_2.0.0.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_Generic_Terminate_2.0.0.json
@@ -1 +1,1502 @@
-[{"id":"e5c88bdc.d0f1b8","type":"method","name":"Generic_Terminate","xml":"<method rpc='Generic_Terminate' mode='sync'>\n","comments":"","outputs":1,"x":139,"y":234,"z":"a4e67f56.cb2c9","wires":[["ef72fe12.cfcd5"]]},{"id":"64a60c97.587824","type":"service-logic","name":"APPC 2.0.0","module":"APPC","version":"2.0.0","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.0'>","outputs":1,"x":139,"y":161,"z":"a4e67f56.cb2c9","wires":[["e5c88bdc.d0f1b8"]]},{"id":"6755c3b2.aaa76c","type":"dgstart","name":"DGSTART","outputs":1,"x":105,"y":67,"z":"a4e67f56.cb2c9","wires":[["64a60c97.587824"]]},{"id":"ef72fe12.cfcd5","type":"execute","name":"execute_getVNF_Hierarchy","xml":"<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='getVnfHierarchy'>\n<parameter name=\"resourceKey\" value=\"`$org.onap.appc.vfid`\" />","comments":"","outputs":1,"x":223,"y":398,"z":"a4e67f56.cb2c9","wires":[["fdbfcf4e.2d7b2","2f7c0400.250b9c","8cddc38f.7a40e"]]},{"id":"fdbfcf4e.2d7b2","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":553.0000152587891,"y":339,"z":"a4e67f56.cb2c9","wires":[["f433b6cb.9cd0e8"]]},{"id":"47c9978b.e11268","type":"block","name":"block : atomic","xml":"<block atomic='true'>\n","atomic":"true","comments":"","outputs":1,"x":254.00001525878906,"y":1011.0000610351562,"z":"a4e67f56.cb2c9","wires":[["aed1653d.64dc18","99961634.235f88","76a553b1.7a606c"]]},{"id":"aed1653d.64dc18","type":"for","name":"for_each_VMs","xml":"<for index=\"i\" start=\"0\" end=\"`$VNF.VMCount`\" >","comments":"","outputs":1,"x":712.0000152587891,"y":868,"z":"a4e67f56.cb2c9","wires":[["6300ae03.3e269"]]},{"id":"6300ae03.3e269","type":"block","name":"block : atomic","xml":"<block atomic='true'>\n","atomic":"true","comments":"","outputs":1,"x":802.0000152587891,"y":697,"z":"a4e67f56.cb2c9","wires":[["4eda765d.043368"]]},{"id":"4eda765d.043368","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":943.0000152587891,"y":791,"z":"a4e67f56.cb2c9","wires":[["7d068120.8613d","f2187f0b.202fc"]]},{"id":"7d068120.8613d","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1118.000015258789,"y":794,"z":"a4e67f56.cb2c9","wires":[["e362ad10.2e11d"]]},{"id":"2f7c0400.250b9c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":682.0000152587891,"y":235,"z":"a4e67f56.cb2c9","wires":[["56adc02f.e937d"]]},{"id":"dfc00961.e6fbe8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":1091.000015258789,"y":287,"z":"a4e67f56.cb2c9","wires":[]},{"id":"4c5b7745.303d88","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":1288.000259399414,"y":1528.000244140625,"z":"a4e67f56.cb2c9","wires":[["dff7c6ea.eb0978","dc1f3aaa.e732e8"]]},{"id":"dff7c6ea.eb0978","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1469.000259399414,"y":1585.000244140625,"z":"a4e67f56.cb2c9","wires":[["5fb4f85a.b03e08"]]},{"id":"6b9fbfd9.cf2c9","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":1554.000259399414,"y":1913.000244140625,"z":"a4e67f56.cb2c9","wires":[]},{"id":"dc1f3aaa.e732e8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1470.000259399414,"y":1454.000244140625,"z":"a4e67f56.cb2c9","wires":[["63511836.263ac8"]]},{"id":"f2187f0b.202fc","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1118.000015258789,"y":614,"z":"a4e67f56.cb2c9","wires":[["8818bd10.d6877"]]},{"id":"3d92ddfb.8dc4c2","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":1586.000015258789,"y":525,"z":"a4e67f56.cb2c9","wires":[]},{"id":"6451e1d4.3680a","type":"comment","name":"update VNFCs to terminating","info":"","comments":"","x":864.0000152587891,"y":840,"z":"a4e67f56.cb2c9","wires":[]},{"id":"506b2052.9606c","type":"comment","name":"call south bound to delete VMs","info":"","comments":"","x":1432.000015258789,"y":334,"z":"a4e67f56.cb2c9","wires":[]},{"id":"30134eb1.2eebb2","type":"comment","name":"Delete VNFCs from AA&I","info":"","comments":"","x":1315.000259399414,"y":1562.000244140625,"z":"a4e67f56.cb2c9","wires":[]},{"id":"ebe89a17.2b35b8","type":"comment","name":"Fetch all VMs and VNFCs from AA&I for given VNF_ID","info":"","comments":"","x":473,"y":451,"z":"a4e67f56.cb2c9","wires":[]},{"id":"18e86385.97557c","type":"switchNode","name":"switch","xml":"<switch test='`$VNF.VMCount`'>\n","comments":"","outputs":1,"x":378.00001525878906,"y":772,"z":"a4e67f56.cb2c9","wires":[["bcee071d.335558","b4629424.d467e8"]]},{"id":"bcee071d.335558","type":"other","name":"outcome_0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":551.0000152587891,"y":677,"z":"a4e67f56.cb2c9","wires":[["a252c9a0.508a08"]]},{"id":"b4629424.d467e8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":499.00001525878906,"y":862,"z":"a4e67f56.cb2c9","wires":[["47c9978b.e11268"]]},{"id":"f433b6cb.9cd0e8","type":"switchNode","name":"switch","xml":"<switch test='`$getVnfHierarchy_result`'>\n","comments":"","outputs":1,"x":468.00001525878906,"y":484,"z":"a4e67f56.cb2c9","wires":[["2bc5afad.f4405","88a36565.5b6378"]]},{"id":"2bc5afad.f4405","type":"outcome","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":467.00001525878906,"y":571,"z":"a4e67f56.cb2c9","wires":[["18e86385.97557c"]]},{"id":"88a36565.5b6378","type":"outcome","name":"FAILURE","xml":"<outcome value='FAILURE'>\n","comments":"","outputs":1,"x":723.0000152587891,"y":480,"z":"a4e67f56.cb2c9","wires":[["4c58c0ac.8a3ef"]]},{"id":"e362ad10.2e11d","type":"switchNode","name":"switch","xml":"<switch test='`$postResource_result`'>\n","comments":"","outputs":1,"x":1251.000015258789,"y":656,"z":"a4e67f56.cb2c9","wires":[["9ec19783.7ab378","473696eb.550988","bd1386b8.54ecc8"]]},{"id":"9ec19783.7ab378","type":"outcome","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":1407.000015258789,"y":624,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"473696eb.550988","type":"outcome","name":"NOT_FOUND","xml":"<outcome value='NOT_FOUND'>\n","comments":"","outputs":1,"x":1416.000015258789,"y":660,"z":"a4e67f56.cb2c9","wires":[["9c0a9e54.14d8"]]},{"id":"bd1386b8.54ecc8","type":"outcome","name":"FAILURE","xml":"<outcome value='FAILURE'>\n","comments":"","outputs":1,"x":1411.000015258789,"y":697,"z":"a4e67f56.cb2c9","wires":[["735daa43.6c16e4"]]},{"id":"63511836.263ac8","type":"switchNode","name":"switch","xml":"<switch test='`$deleteResource_result`'>\n","comments":"","outputs":1,"x":1683.000259399414,"y":1524.0002136230469,"z":"a4e67f56.cb2c9","wires":[["1d4ca514.9fd7db","8b41e5e2.b6a818","e61220f4.9537f"]]},{"id":"1d4ca514.9fd7db","type":"outcome","name":"SUCCESS","xml":"<outcome value='SUCCESS'>","comments":"","outputs":1,"x":1860.000259399414,"y":1490.000244140625,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"8b41e5e2.b6a818","type":"outcome","name":"NOT_FOUND","xml":"<outcome value='NOT_FOUND'>\n","comments":"","outputs":1,"x":1860.000259399414,"y":1604.000244140625,"z":"a4e67f56.cb2c9","wires":[["8763a75.b2f5c58"]]},{"id":"e61220f4.9537f","type":"outcome","name":"FAILURE","xml":"<outcome value='FAILURE'>\n","comments":"","outputs":1,"x":1854.000259399414,"y":1715.000244140625,"z":"a4e67f56.cb2c9","wires":[["2208fca1.c9af34"]]},{"id":"166ff874.3f4048","type":"returnFailure","name":"return failure","xml":"<return status='failure'>","comments":"","x":2184.000259399414,"y":1628.000244140625,"z":"a4e67f56.cb2c9","wires":[]},{"id":"39941f53.76089","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":2198.000259399414,"y":1761.000244140625,"z":"a4e67f56.cb2c9","wires":[]},{"id":"9e453cfe.7194d","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":830.0000152587891,"y":659,"z":"a4e67f56.cb2c9","wires":[]},{"id":"1d90c18b.5e663e","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":1784.000015258789,"y":667,"z":"a4e67f56.cb2c9","wires":[]},{"id":"2ef976e.d4afa8a","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":1746.0003509521484,"y":880,"z":"a4e67f56.cb2c9","wires":[]},{"id":"c65751bd.0458d","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":971.0000152587891,"y":504,"z":"a4e67f56.cb2c9","wires":[]},{"id":"56adc02f.e937d","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":800.0000152587891,"y":303,"z":"a4e67f56.cb2c9","wires":[["dfc00961.e6fbe8","acf0fd43.9e66"]]},{"id":"acf0fd43.9e66","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=\"`$org.onap.appc.vfid`\" />\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":1081.000015258789,"y":113,"z":"a4e67f56.cb2c9","wires":[["b33afed0.16dc"]]},{"id":"b33afed0.16dc","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1306.000015258789,"y":84,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"4c58c0ac.8a3ef","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":865.0000152587891,"y":446,"z":"a4e67f56.cb2c9","wires":[["c65751bd.0458d","a1e2c80e.64ad08"]]},{"id":"a1e2c80e.64ad08","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=\"`$org.onap.appc.vfid`\" />\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\"/>","comments":"","outputs":1,"x":931.0000152587891,"y":372,"z":"a4e67f56.cb2c9","wires":[["f137844c.665ea8"]]},{"id":"f137844c.665ea8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1138.000015258789,"y":388,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"a252c9a0.508a08","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":670.0000152587891,"y":615,"z":"a4e67f56.cb2c9","wires":[["9e453cfe.7194d","d07dd04b.ad633"]]},{"id":"d07dd04b.ad633","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=\"`$org.onap.appc.vfid`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"VM Count is 0\"/>\n<parameter name=\"output.status.message\" value=\"VM Count is 0\"/>","comments":"","outputs":1,"x":771.0000152587891,"y":543,"z":"a4e67f56.cb2c9","wires":[["c92631ce.23936"]]},{"id":"c92631ce.23936","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":937.0000152587891,"y":603,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"8818bd10.d6877","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1433.000015258789,"y":472,"z":"a4e67f56.cb2c9","wires":[["3d92ddfb.8dc4c2","b2f14fef.29f16"]]},{"id":"b2f14fef.29f16","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=\"`$org.onap.appc.vfid`\" />\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`\"/>","comments":"","outputs":1,"x":1658.000015258789,"y":470,"z":"a4e67f56.cb2c9","wires":[["9cabe4f.0b83218"]]},{"id":"9cabe4f.0b83218","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1861.000015258789,"y":473,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"735daa43.6c16e4","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1516.999984741211,"y":776,"z":"a4e67f56.cb2c9","wires":[["2ef976e.d4afa8a","61aa63f1.de487c"]]},{"id":"61aa63f1.de487c","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=\"`$org.onap.appc.vfid`\" />\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`\"/>","comments":"","outputs":1,"x":1789.000473022461,"y":793,"z":"a4e67f56.cb2c9","wires":[["cd2515bf.b00448"]]},{"id":"cd2515bf.b00448","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2010.0003814697266,"y":789.0000915527344,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"9c0a9e54.14d8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1578.999984741211,"y":665,"z":"a4e67f56.cb2c9","wires":[["1d90c18b.5e663e","c8b4dbe7.dbfbf8"]]},{"id":"c8b4dbe7.dbfbf8","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=\"`$org.onap.appc.vfid`\" />\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`\" />","comments":"","outputs":1,"x":1774.000015258789,"y":601,"z":"a4e67f56.cb2c9","wires":[["9720fcd3.38685"]]},{"id":"9720fcd3.38685","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1966.000259399414,"y":601,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"8763a75.b2f5c58","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2032.000259399414,"y":1598.000244140625,"z":"a4e67f56.cb2c9","wires":[["166ff874.3f4048","2d936263.c9b0de"]]},{"id":"2208fca1.c9af34","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2032.000259399414,"y":1719.000244140625,"z":"a4e67f56.cb2c9","wires":[["39941f53.76089","64428a52.6aacd4"]]},{"id":"2d936263.c9b0de","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=\"`$org.onap.appc.vfid`\" />\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":2206.000259399414,"y":1523.000244140625,"z":"a4e67f56.cb2c9","wires":[["5428dfc9.98ca2"]]},{"id":"64428a52.6aacd4","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=\"`$org.onap.appc.vfid`\" />\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`\"/>","comments":"","outputs":1,"x":2226.000259399414,"y":1682.000244140625,"z":"a4e67f56.cb2c9","wires":[["890502f.9d453"]]},{"id":"5428dfc9.98ca2","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2426.000259399414,"y":1525.000244140625,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"890502f.9d453","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2447.000259399414,"y":1677.000244140625,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"5fb4f85a.b03e08","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1365.000259399414,"y":1849.000244140625,"z":"a4e67f56.cb2c9","wires":[["6b9fbfd9.cf2c9","12808282.63fedd"]]},{"id":"12808282.63fedd","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=\"`$org.onap.appc.vfid`\" />\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`\"/>","comments":"","outputs":1,"x":1587.000259399414,"y":1846.000244140625,"z":"a4e67f56.cb2c9","wires":[["982395bf.926078"]]},{"id":"982395bf.926078","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1788.000259399414,"y":1847.000244140625,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"99961634.235f88","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":639.0000152587891,"y":1032,"z":"a4e67f56.cb2c9","wires":[["4c9c8ea6.0754a","dd76694.e3a1398","b8cb00c4.e2276"]]},{"id":"4c9c8ea6.0754a","type":"outcome","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":530.0000152587891,"y":1344,"z":"a4e67f56.cb2c9","wires":[["29494781.a54038"]]},{"id":"dd76694.e3a1398","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":825.9999847412109,"y":1123.0000305175781,"z":"a4e67f56.cb2c9","wires":[["9bbcc3c6.f3fc9"]]},{"id":"9bbcc3c6.f3fc9","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":984.9999847412109,"y":1206.0000305175781,"z":"a4e67f56.cb2c9","wires":[["816ffef8.3f001","e7013e5c.73cd3","eb94341d.daee38"]]},{"id":"b8ddaca8.31ca2","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":1800.999984741211,"y":1151.0000915527344,"z":"a4e67f56.cb2c9","wires":[["745adec2.0c18","386e30ca.c82d7"]]},{"id":"386e30ca.c82d7","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1960.000015258789,"y":1085.0001220703125,"z":"a4e67f56.cb2c9","wires":[["5af77541.eebf1c"]]},{"id":"f91f4f00.327fd","type":"outcome","name":"FAILURE","xml":"<outcome value='FAILURE'>\n","comments":"","outputs":1,"x":2238.999771118164,"y":1296.000244140625,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"1a39765.7ec2a8a","type":"outcome","name":"NOT_FOUND","xml":"<outcome value='NOT_FOUND'>\n","comments":"","outputs":1,"x":2247.999954223633,"y":1273.0001525878906,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"a65c14b7.f9fc18","type":"outcome","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":2233.000015258789,"y":1252.0001220703125,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"7b1f1fed.0097","type":"switchNode","name":"switch","xml":"<switch test='`$postResource_result`'>\n","comments":"","outputs":1,"x":2109.000015258789,"y":1205.0001220703125,"z":"a4e67f56.cb2c9","wires":[["f91f4f00.327fd","1a39765.7ec2a8a","a65c14b7.f9fc18"]]},{"id":"745adec2.0c18","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1962.000015258789,"y":1213.0001220703125,"z":"a4e67f56.cb2c9","wires":[["7b1f1fed.0097"]]},{"id":"816ffef8.3f001","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=\"`$org.onap.appc.vfid`\" />\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`\"/>","comments":"","outputs":1,"x":1240.000015258789,"y":1199,"z":"a4e67f56.cb2c9","wires":[["dde9085f.2ff908"]]},{"id":"dde9085f.2ff908","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1429.000015258789,"y":1191,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"b8cb00c4.e2276","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":803.9999847412109,"y":1174.0001525878906,"z":"a4e67f56.cb2c9","wires":[["9bbcc3c6.f3fc9"]]},{"id":"f2b0d1ec.808d1","type":"for","name":"for_each_VMs","xml":"<for index=\"i\" start=\"0\" end=\"`$VNF.VMCount`\" >","comments":"","outputs":1,"x":966.0000152587891,"y":1478.666748046875,"z":"a4e67f56.cb2c9","wires":[["a8b2ac3.d27705"]]},{"id":"e7013e5c.73cd3","type":"for","name":"for_each_VMs","xml":"<for index=\"i\" start=\"0\" end=\"`$VNF.VMCount`\" >","comments":"","outputs":1,"x":939.0000152587891,"y":1009.3333740234375,"z":"a4e67f56.cb2c9","wires":[["1ed3a2d4.2d0acd"]]},{"id":"e13c6788.af9018","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":1160.000015258789,"y":1013.3333740234375,"z":"a4e67f56.cb2c9","wires":[["f1d9ce42.3fc2","8a7dbf97.22061"]]},{"id":"422c2173.1d7ab","type":"switchNode","name":"switch_isServerFound","xml":"<switch test='`$serverFound`'>\n","comments":"","outputs":1,"x":1564.6666412353516,"y":1016.3333740234375,"z":"a4e67f56.cb2c9","wires":[["4a611b2.5a488e4","9f456a36.09d8f8","1750b09d.dd507f"]]},{"id":"4a611b2.5a488e4","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1765.666519165039,"y":1009.3333740234375,"z":"a4e67f56.cb2c9","wires":[["b8ddaca8.31ca2"]]},{"id":"9f456a36.09d8f8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1760.6666412353516,"y":1078.3333740234375,"z":"a4e67f56.cb2c9","wires":[["b8ddaca8.31ca2"]]},{"id":"e87932eb.920c2","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":2219.222183227539,"y":793.1111450195312,"z":"a4e67f56.cb2c9","wires":[["626a5a33.1f4184","133e3018.0ed4a"]]},{"id":"626a5a33.1f4184","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2432.222183227539,"y":889.1111755371094,"z":"a4e67f56.cb2c9","wires":[["6b98bf4a.6b6d1"]]},{"id":"84f94e68.c257","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":2576.222183227539,"y":1129.1111755371094,"z":"a4e67f56.cb2c9","wires":[]},{"id":"133e3018.0ed4a","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2422.222183227539,"y":717.1111755371094,"z":"a4e67f56.cb2c9","wires":[["61a1ee76.d7abf"]]},{"id":"3b27dd33.3249e2","type":"comment","name":"Delete VNFCs from AA&I","info":"","comments":"","x":2454.222183227539,"y":816.1111755371094,"z":"a4e67f56.cb2c9","wires":[]},{"id":"61a1ee76.d7abf","type":"switchNode","name":"switch","xml":"<switch test='`$deleteResource_result`'>\n","comments":"","outputs":1,"x":2614.222183227539,"y":720.1111755371094,"z":"a4e67f56.cb2c9","wires":[["cbf88535.3cc078","f10274f9.7c6708","b7ffbb29.5e80b8"]]},{"id":"cbf88535.3cc078","type":"outcome","name":"SUCCESS","xml":"<outcome value='SUCCESS'>","comments":"","outputs":1,"x":2839.222183227539,"y":721.1111755371094,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"f10274f9.7c6708","type":"outcome","name":"NOT_FOUND","xml":"<outcome value='NOT_FOUND'>\n","comments":"","outputs":1,"x":2839.222183227539,"y":835.1111755371094,"z":"a4e67f56.cb2c9","wires":[["97a5cdc3.5b14d"]]},{"id":"b7ffbb29.5e80b8","type":"outcome","name":"FAILURE","xml":"<outcome value='FAILURE'>\n","comments":"","outputs":1,"x":2833.222183227539,"y":946.1111755371094,"z":"a4e67f56.cb2c9","wires":[["83dd288f.4d99b8"]]},{"id":"a93117d7.575f58","type":"returnFailure","name":"return failure","xml":"<return status='failure'>","comments":"","x":3163.222183227539,"y":859.1111755371094,"z":"a4e67f56.cb2c9","wires":[]},{"id":"576510ce.7be8a","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":3177.222183227539,"y":992.1111755371094,"z":"a4e67f56.cb2c9","wires":[]},{"id":"97a5cdc3.5b14d","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":3011.222183227539,"y":829.1111755371094,"z":"a4e67f56.cb2c9","wires":[["a93117d7.575f58","1f9383ac.0e6aec"]]},{"id":"83dd288f.4d99b8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":3011.222183227539,"y":950.1111755371094,"z":"a4e67f56.cb2c9","wires":[["576510ce.7be8a","e5f1757c.6e8838"]]},{"id":"1f9383ac.0e6aec","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=\"`$org.onap.appc.vfid`\" />\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":3143.222183227539,"y":749.1111755371094,"z":"a4e67f56.cb2c9","wires":[["42e84307.cf497c"]]},{"id":"e5f1757c.6e8838","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=\"`$org.onap.appc.vfid`\" />\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`\"/>","comments":"","outputs":1,"x":3205.222183227539,"y":913.1111755371094,"z":"a4e67f56.cb2c9","wires":[["adf0db8.e0f4328"]]},{"id":"42e84307.cf497c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":3360.222183227539,"y":749.1111755371094,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"adf0db8.e0f4328","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":3384.222183227539,"y":910.1111755371094,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"6b98bf4a.6b6d1","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2384.222183227539,"y":1054.1111755371094,"z":"a4e67f56.cb2c9","wires":[["84f94e68.c257","ae3d5f22.e56e9"]]},{"id":"ae3d5f22.e56e9","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=\"`$org.onap.appc.vfid`\" />\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`\"/>","comments":"","outputs":1,"x":2609.222183227539,"y":998.1111755371094,"z":"a4e67f56.cb2c9","wires":[["3da27612.12e46a"]]},{"id":"3da27612.12e46a","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2797.222183227539,"y":1002.1111755371094,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"f1d9ce42.3fc2","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1363.000015258789,"y":1012,"z":"a4e67f56.cb2c9","wires":[["422c2173.1d7ab"]]},{"id":"8a7dbf97.22061","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1352.000015258789,"y":1082,"z":"a4e67f56.cb2c9","wires":[["b8ddaca8.31ca2"]]},{"id":"1ed3a2d4.2d0acd","type":"block","name":"block","xml":"<block atomic='true'>\n","atomic":"false","comments":"","outputs":1,"x":1030.000015258789,"y":959,"z":"a4e67f56.cb2c9","wires":[["e13c6788.af9018"]]},{"id":"8cddc38f.7a40e","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":776.0000152587891,"y":60,"z":"a4e67f56.cb2c9","wires":[["56adc02f.e937d"]]},{"id":"a8b2ac3.d27705","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1065.000015258789,"y":1535,"z":"a4e67f56.cb2c9","wires":[["4c5b7745.303d88"]]},{"id":"fcaee4fa.750418","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":859.0000152587891,"y":1532,"z":"a4e67f56.cb2c9","wires":[["f2b0d1ec.808d1"]]},{"id":"29494781.a54038","type":"switchNode","name":"switch","xml":"<switch test='`$TERMINATE_STATUS`'>\n","comments":"","outputs":1,"x":378.00001525878906,"y":1587,"z":"a4e67f56.cb2c9","wires":[["d79d038e.dc79d","b3678f24.77c0d","b71088d3.bcd548"]]},{"id":"b71088d3.bcd548","type":"other","name":"outcome_Stack_NOT_FOUND","xml":"<outcome value='STACK_NOT_FOUND'>\n","comments":"","outputs":1,"x":629.0000152587891,"y":1637,"z":"a4e67f56.cb2c9","wires":[["acf43fdf.f3f61"]]},{"id":"d79d038e.dc79d","type":"success","name":"outcome_SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":612.0000152587891,"y":1531,"z":"a4e67f56.cb2c9","wires":[["fcaee4fa.750418"]]},{"id":"b3678f24.77c0d","type":"other","name":"outcome_ERROR","xml":"<outcome value='ERROR'>\n","comments":"","outputs":1,"x":610.0000152587891,"y":1579,"z":"a4e67f56.cb2c9","wires":[["9bbcc3c6.f3fc9"]]},{"id":"eb94341d.daee38","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":1201.000015258789,"y":1285,"z":"a4e67f56.cb2c9","wires":[]},{"id":"5af77541.eebf1c","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":2181.999771118164,"y":1090.000244140625,"z":"a4e67f56.cb2c9","wires":[]},{"id":"f1c2445.9b079b8","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":851.0000152587891,"y":2108,"z":"a4e67f56.cb2c9","wires":[["4e5f0316.5b336c","9f4b4a3.064eeb8"]]},{"id":"9f4b4a3.064eeb8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1050.000015258789,"y":2087,"z":"a4e67f56.cb2c9","wires":[["41799e8a.78e08"]]},{"id":"4e5f0316.5b336c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1047.000015258789,"y":2132,"z":"a4e67f56.cb2c9","wires":[["63968449.9d15dc"]]},{"id":"63968449.9d15dc","type":"switchNode","name":"switch","xml":"<switch test='`$postResource_result`'>\n","comments":"","outputs":1,"x":1182.000015258789,"y":2136,"z":"a4e67f56.cb2c9","wires":[["f7c574be.4bda68","5b336450.0d264c","f6d95927.d64ee8"]]},{"id":"f7c574be.4bda68","type":"outcome","name":"FAILURE","xml":"<outcome value='FAILURE'>\n","comments":"","outputs":1,"x":1334.9998931884766,"y":2155.000244140625,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"5b336450.0d264c","type":"outcome","name":"NOT_FOUND","xml":"<outcome value='NOT_FOUND'>\n","comments":"","outputs":1,"x":1347.000015258789,"y":2137,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"f6d95927.d64ee8","type":"outcome","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":1326.000015258789,"y":2108,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"acf43fdf.f3f61","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":410.00001525878906,"y":1905,"z":"a4e67f56.cb2c9","wires":[["e077bff2.48865","423e8c1d.af2b24"]]},{"id":"e077bff2.48865","type":"for","name":"for_each_VMs","xml":"<for index=\"i\" start=\"0\" end=\"`$VNF.VMCount`\" >","comments":"","outputs":1,"x":757.0000152587891,"y":1967.666748046875,"z":"a4e67f56.cb2c9","wires":[["e27653a7.d320a"]]},{"id":"e27653a7.d320a","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":821.0000152587891,"y":2033,"z":"a4e67f56.cb2c9","wires":[["f1c2445.9b079b8"]]},{"id":"41799e8a.78e08","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1507.000015258789,"y":2083,"z":"a4e67f56.cb2c9","wires":[["9e96b820.10fa68","4bdee93a.d5fd18"]]},{"id":"4bdee93a.d5fd18","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=\"`$org.onap.appc.vfid`\" />\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`\"/>","comments":"","outputs":1,"x":1701.000015258789,"y":2020,"z":"a4e67f56.cb2c9","wires":[["f785dfe9.09653"]]},{"id":"f785dfe9.09653","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1905.000015258789,"y":2021,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"9e96b820.10fa68","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":1672.000015258789,"y":2143,"z":"a4e67f56.cb2c9","wires":[]},{"id":"1750b09d.dd507f","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1760.000015258789,"y":953,"z":"a4e67f56.cb2c9","wires":[["e87932eb.920c2"]]},{"id":"423e8c1d.af2b24","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":716.0000152587891,"y":2221,"z":"a4e67f56.cb2c9","wires":[["dad63133.72d13","650f38af.5e6678"]]},{"id":"650f38af.5e6678","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":948.0000762939453,"y":2265,"z":"a4e67f56.cb2c9","wires":[]},{"id":"dad63133.72d13","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=\"`$org.onap.appc.vfid`\" />\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`\"/>","comments":"","outputs":1,"x":988.0000762939453,"y":2208,"z":"a4e67f56.cb2c9","wires":[["6648d3dd.c3f94c"]]},{"id":"6648d3dd.c3f94c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1209.000015258789,"y":2204,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"76a553b1.7a606c","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n","comments":"","x":388.7063293457031,"y":1083.9843139648438,"z":"a4e67f56.cb2c9","wires":[]}]
+[
+ {
+ "id": "f83c268e.d1bb58",
+ "type": "method",
+ "name": "Generic_Terminate",
+ "xml": "<method rpc='Generic_Terminate' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1186.6666259765625,
+ "y": 363,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "fcf4c81a.879498"
+ ]
+ ]
+ },
+ {
+ "id": "30def200.89bc6e",
+ "type": "service-logic",
+ "name": "APPC 2.0.0",
+ "module": "APPC",
+ "version": "2.0.0",
+ "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.0'>",
+ "outputs": 1,
+ "x": 1186.6666259765625,
+ "y": 290,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "f83c268e.d1bb58"
+ ]
+ ]
+ },
+ {
+ "id": "31872417.acfc5c",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 1152.6666259765625,
+ "y": 196,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "30def200.89bc6e"
+ ]
+ ]
+ },
+ {
+ "id": "fcf4c81a.879498",
+ "type": "execute",
+ "name": "execute_getVNF_Hierarchy",
+ "xml": "<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='getVnfHierarchy'>\n<parameter name=\"resourceKey\" value=\"`$org.onap.appc.vfid`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1270.6666259765625,
+ "y": 527,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "edf023db.e06d1",
+ "897fcef6.f4f43",
+ "51cf567b.01c418"
+ ]
+ ]
+ },
+ {
+ "id": "edf023db.e06d1",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1536.6666412353516,
+ "y": 571.0000152587891,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "94b98cce.1d93"
+ ]
+ ]
+ },
+ {
+ "id": "7a82df3a.d1a4d",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>\n",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1306.6667709350586,
+ "y": 998.000171661377,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "46f11f3.8df6be",
+ "8581f2ac.9ea85"
+ ]
+ ]
+ },
+ {
+ "id": "897fcef6.f4f43",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1555.666706085205,
+ "y": 527.0000171661377,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "c9af19e3.15b048"
+ ]
+ ]
+ },
+ {
+ "id": "10bfc7cb.8fcd58",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1852.6669692993164,
+ "y": 565.0000429153442,
+ "z": "14e12983.4e6aa6",
+ "wires": []
+ },
+ {
+ "id": "d5ea6f5b.b5205",
+ "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": 2349.667091369629,
+ "y": 1651.0002574920654,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "d02cfddf.9de0e",
+ "76a74a0a.0ea194"
+ ]
+ ]
+ },
+ {
+ "id": "d02cfddf.9de0e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2516.6668853759766,
+ "y": 1714.000244140625,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "7135e7ee.4841f8"
+ ]
+ ]
+ },
+ {
+ "id": "428d0c37.25be74",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 2682.6672172546387,
+ "y": 1902.000207901001,
+ "z": "14e12983.4e6aa6",
+ "wires": []
+ },
+ {
+ "id": "76a74a0a.0ea194",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2580.6672286987305,
+ "y": 1652.0003757476807,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "f3545b33.a986f8"
+ ]
+ ]
+ },
+ {
+ "id": "5c9a0726.403448",
+ "type": "comment",
+ "name": "call south bound to delete VMs",
+ "info": "",
+ "comments": "",
+ "x": 1559.666732788086,
+ "y": 1059.0001707077026,
+ "z": "14e12983.4e6aa6",
+ "wires": []
+ },
+ {
+ "id": "547cbc39.dd1bf4",
+ "type": "comment",
+ "name": "Delete VNFCs from AA&I",
+ "info": "",
+ "comments": "",
+ "x": 2362.6668853759766,
+ "y": 1691.000244140625,
+ "z": "14e12983.4e6aa6",
+ "wires": []
+ },
+ {
+ "id": "9e27f06d.85f79",
+ "type": "comment",
+ "name": "Fetch all VMs and VNFCs from AA&I for given VNF_ID",
+ "info": "",
+ "comments": "",
+ "x": 1280.6665954589844,
+ "y": 460.0000457763672,
+ "z": "14e12983.4e6aa6",
+ "wires": []
+ },
+ {
+ "id": "ced39afe.982c58",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$VNF.VMCount`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1851.6666069030762,
+ "y": 821.0000553131104,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "9faa66d9.75dad8",
+ "d25e17f5.852928"
+ ]
+ ]
+ },
+ {
+ "id": "9faa66d9.75dad8",
+ "type": "other",
+ "name": "outcome_0",
+ "xml": "<outcome value='0'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2066.6669006347656,
+ "y": 800.0000858306885,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "ef236f48.8a162"
+ ]
+ ]
+ },
+ {
+ "id": "d25e17f5.852928",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2057.666732788086,
+ "y": 877.000057220459,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "7a82df3a.d1a4d"
+ ]
+ ]
+ },
+ {
+ "id": "94b98cce.1d93",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$getVnfHierarchy_result`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1584.6666107177734,
+ "y": 632.0000476837158,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "625f7343.9c22cc",
+ "6a298537.fdc07c"
+ ]
+ ]
+ },
+ {
+ "id": "625f7343.9c22cc",
+ "type": "outcome",
+ "name": "SUCCESS",
+ "xml": "<outcome value='SUCCESS'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1798.6667098999023,
+ "y": 705.0000953674316,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "ced39afe.982c58"
+ ]
+ ]
+ },
+ {
+ "id": "6a298537.fdc07c",
+ "type": "outcome",
+ "name": "FAILURE",
+ "xml": "<outcome value='FAILURE'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1797.667091369629,
+ "y": 642.0000495910645,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "8fcb60f6.6438c"
+ ]
+ ]
+ },
+ {
+ "id": "f3545b33.a986f8",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$deleteResource_result`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2730.6668853759766,
+ "y": 1653.0002136230469,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "cac794db.9a8648",
+ "1a06eda8.17e932",
+ "a4143e5e.83e55"
+ ]
+ ]
+ },
+ {
+ "id": "cac794db.9a8648",
+ "type": "outcome",
+ "name": "SUCCESS",
+ "xml": "<outcome value='SUCCESS'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2918.667106628418,
+ "y": 1604.0001945495605,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1a06eda8.17e932",
+ "type": "outcome",
+ "name": "NOT_FOUND",
+ "xml": "<outcome value='NOT_FOUND'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2927.6672286987305,
+ "y": 1706.0001983642578,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "8970627f.6c3b3"
+ ]
+ ]
+ },
+ {
+ "id": "a4143e5e.83e55",
+ "type": "outcome",
+ "name": "FAILURE",
+ "xml": "<outcome value='FAILURE'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2922.667106628418,
+ "y": 1772.0002002716064,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "afc51a77.fe5c98"
+ ]
+ ]
+ },
+ {
+ "id": "8baa9bfb.5d6d58",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>",
+ "comments": "",
+ "x": 3231.6668853759766,
+ "y": 1757.000244140625,
+ "z": "14e12983.4e6aa6",
+ "wires": []
+ },
+ {
+ "id": "8d11ca89.7b76c8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 3245.6668853759766,
+ "y": 1890.000244140625,
+ "z": "14e12983.4e6aa6",
+ "wires": []
+ },
+ {
+ "id": "ce0b8a6f.cbb6e8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 2463.6671028137207,
+ "y": 867.0000228881836,
+ "z": "14e12983.4e6aa6",
+ "wires": []
+ },
+ {
+ "id": "52575238.f0b54c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 2101.66739654541,
+ "y": 723.0001096725464,
+ "z": "14e12983.4e6aa6",
+ "wires": []
+ },
+ {
+ "id": "c9af19e3.15b048",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1728.6667098999023,
+ "y": 508.0000104904175,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "10bfc7cb.8fcd58",
+ "d7012b3d.acda88"
+ ]
+ ]
+ },
+ {
+ "id": "d7012b3d.acda88",
+ "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=\"`$org.onap.appc.vfid`\" />\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": 1949.6667098999023,
+ "y": 466.0000858306885,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "e8d82029.5691a"
+ ]
+ ]
+ },
+ {
+ "id": "e8d82029.5691a",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2093.667091369629,
+ "y": 384.00000286102295,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8fcb60f6.6438c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1969.6671447753906,
+ "y": 638.000078201294,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "52575238.f0b54c",
+ "d52b085a.04ef48"
+ ]
+ ]
+ },
+ {
+ "id": "d52b085a.04ef48",
+ "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=\"`$org.onap.appc.vfid`\" />\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\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2162.667221069336,
+ "y": 559.0000457763672,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "278cdbc9.71feb4"
+ ]
+ ]
+ },
+ {
+ "id": "278cdbc9.71feb4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2402.6674575805664,
+ "y": 561.0000901222229,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ef236f48.8a162",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2273.6670989990234,
+ "y": 803.0000514984131,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "ce0b8a6f.cbb6e8",
+ "b9e3d7de.b9a0a8"
+ ]
+ ]
+ },
+ {
+ "id": "b9e3d7de.b9a0a8",
+ "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=\"`$org.onap.appc.vfid`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"VM Count is 0\"/>\n<parameter name=\"output.status.message\" value=\"VM Count is 0\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2505.667167663574,
+ "y": 754.0000495910645,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "98d1819d.83b49"
+ ]
+ ]
+ },
+ {
+ "id": "98d1819d.83b49",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2708.667167663574,
+ "y": 757.0000514984131,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8970627f.6c3b3",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3024.6671104431152,
+ "y": 1652.0001983642578,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "8baa9bfb.5d6d58",
+ "5944e763.b11068"
+ ]
+ ]
+ },
+ {
+ "id": "afc51a77.fe5c98",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3079.6668853759766,
+ "y": 1848.000244140625,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "8d11ca89.7b76c8",
+ "9a6c9767.bdbfc8"
+ ]
+ ]
+ },
+ {
+ "id": "5944e763.b11068",
+ "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=\"`$org.onap.appc.vfid`\" />\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": 3253.6668853759766,
+ "y": 1652.000244140625,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "caa7ab11.9ed508"
+ ]
+ ]
+ },
+ {
+ "id": "9a6c9767.bdbfc8",
+ "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=\"`$org.onap.appc.vfid`\" />\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`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3273.6668853759766,
+ "y": 1811.000244140625,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "308e91fc.16bede"
+ ]
+ ]
+ },
+ {
+ "id": "caa7ab11.9ed508",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3473.6668853759766,
+ "y": 1654.000244140625,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "308e91fc.16bede",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3494.6668853759766,
+ "y": 1806.000244140625,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7135e7ee.4841f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2595.667152404785,
+ "y": 1801.0002670288086,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "428d0c37.25be74",
+ "8d733927.ea7898"
+ ]
+ ]
+ },
+ {
+ "id": "8d733927.ea7898",
+ "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=\"`$org.onap.appc.vfid`\" />\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`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2832.6671600341797,
+ "y": 1834.0002670288086,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "8925d0e3.3827d"
+ ]
+ ]
+ },
+ {
+ "id": "8925d0e3.3827d",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2987.667224884033,
+ "y": 1898.0002059936523,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "46f11f3.8df6be",
+ "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": 1556.6668395996094,
+ "y": 1010.0001735687256,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "44c7b265.62e9ac",
+ "d67219eb.d62c28",
+ "3fc6e808.5d1cc8"
+ ]
+ ]
+ },
+ {
+ "id": "44c7b265.62e9ac",
+ "type": "outcome",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1818.6667785644531,
+ "y": 1142.0002422332764,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "89cee1a7.7d5d7"
+ ]
+ ]
+ },
+ {
+ "id": "d67219eb.d62c28",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1825.6667861938477,
+ "y": 979.000114440918,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "dab60fb.3c14bf"
+ ]
+ ]
+ },
+ {
+ "id": "dab60fb.3c14bf",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2174.6669731140137,
+ "y": 1325.000238418579,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "e47089e7.f1a918",
+ "f0764748.712238",
+ "19ed5c38.f34424"
+ ]
+ ]
+ },
+ {
+ "id": "e47089e7.f1a918",
+ "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=\"`$org.onap.appc.vfid`\" />\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`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2413.6669845581055,
+ "y": 1331.000207901001,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "19493f99.649ce"
+ ]
+ ]
+ },
+ {
+ "id": "19493f99.649ce",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2622.6669883728027,
+ "y": 1332.000238418579,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3fc6e808.5d1cc8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1816.666847229004,
+ "y": 1060.0003595352173,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "dab60fb.3c14bf"
+ ]
+ ]
+ },
+ {
+ "id": "9bc52b09.c92fd8",
+ "type": "for",
+ "name": "for_each_VMs",
+ "xml": "<for index=\"i\" start=\"0\" end=\"`$VNF.VMCount`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 2016.6669692993164,
+ "y": 1771.6668796539307,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "df7a7824.5653d8"
+ ]
+ ]
+ },
+ {
+ "id": "f0764748.712238",
+ "type": "for",
+ "name": "for_each_VMs",
+ "xml": "<for index=\"i\" start=\"0\" end=\"`$VNF.VMCount`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 2369.6668548583984,
+ "y": 1271.3336067199707,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "868fe88c.7301e8"
+ ]
+ ]
+ },
+ {
+ "id": "818c559e.4cb718",
+ "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": 2618.6668548583984,
+ "y": 1276.3335456848145,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "3f4143a4.80004c",
+ "b57bdb5.2cb8228"
+ ]
+ ]
+ },
+ {
+ "id": "18541510.69eb3b",
+ "type": "switchNode",
+ "name": "switch_isServerFound",
+ "xml": "<switch test='`$serverFound`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3018.3336181640625,
+ "y": 1166.3335437774658,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "163f7eff.acd201",
+ "9e98e2c5.d6607",
+ "868d2e7f.71d1c"
+ ]
+ ]
+ },
+ {
+ "id": "163f7eff.acd201",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3233.3333053588867,
+ "y": 1090.3334465026855,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9e98e2c5.d6607",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3228.333427429199,
+ "y": 1159.3334465026855,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "2320dbe3.6a92b4"
+ ]
+ ]
+ },
+ {
+ "id": "69c28e48.1fa3c",
+ "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": 3266.8888092041016,
+ "y": 922.1111450195312,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "3ff9ac9c.f625e4",
+ "ceaf4599.100ea8"
+ ]
+ ]
+ },
+ {
+ "id": "3ff9ac9c.f625e4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3458.889087677002,
+ "y": 994.1112518310547,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "2db4836c.b73fcc"
+ ]
+ ]
+ },
+ {
+ "id": "35497a4f.799a06",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 3623.8888092041016,
+ "y": 1258.1111755371094,
+ "z": "14e12983.4e6aa6",
+ "wires": []
+ },
+ {
+ "id": "ceaf4599.100ea8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3469.8888092041016,
+ "y": 846.1111755371094,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "91d604ba.13fb98"
+ ]
+ ]
+ },
+ {
+ "id": "e7bbc869.ecb578",
+ "type": "comment",
+ "name": "Delete VNFCs from AA&I",
+ "info": "",
+ "comments": "",
+ "x": 3501.8888092041016,
+ "y": 945.1111755371094,
+ "z": "14e12983.4e6aa6",
+ "wires": []
+ },
+ {
+ "id": "91d604ba.13fb98",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$deleteResource_result`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3661.8888092041016,
+ "y": 849.1111755371094,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "5d30ebc9.dc6ae4",
+ "76afbe16.6a6d5",
+ "75743938.673418"
+ ]
+ ]
+ },
+ {
+ "id": "5d30ebc9.dc6ae4",
+ "type": "outcome",
+ "name": "SUCCESS",
+ "xml": "<outcome value='SUCCESS'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3886.8888092041016,
+ "y": 850.1111755371094,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "76afbe16.6a6d5",
+ "type": "outcome",
+ "name": "NOT_FOUND",
+ "xml": "<outcome value='NOT_FOUND'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3886.8888092041016,
+ "y": 964.1111755371094,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "e636eeac.1f63d"
+ ]
+ ]
+ },
+ {
+ "id": "75743938.673418",
+ "type": "outcome",
+ "name": "FAILURE",
+ "xml": "<outcome value='FAILURE'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3880.8888092041016,
+ "y": 1075.1111755371094,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "976ab411.8d69d8"
+ ]
+ ]
+ },
+ {
+ "id": "88b0bb13.f52698",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>",
+ "comments": "",
+ "x": 4210.888809204102,
+ "y": 988.1111755371094,
+ "z": "14e12983.4e6aa6",
+ "wires": []
+ },
+ {
+ "id": "58100195.5de98",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 4224.888809204102,
+ "y": 1121.1111755371094,
+ "z": "14e12983.4e6aa6",
+ "wires": []
+ },
+ {
+ "id": "e636eeac.1f63d",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4058.8888092041016,
+ "y": 958.1111755371094,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "88b0bb13.f52698",
+ "1dafbae0.9033d5"
+ ]
+ ]
+ },
+ {
+ "id": "976ab411.8d69d8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4058.8888092041016,
+ "y": 1079.1111755371094,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "58100195.5de98",
+ "52447fde.35749"
+ ]
+ ]
+ },
+ {
+ "id": "1dafbae0.9033d5",
+ "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=\"`$org.onap.appc.vfid`\" />\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": 4190.888809204102,
+ "y": 878.1111755371094,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "24981823.8dd628"
+ ]
+ ]
+ },
+ {
+ "id": "52447fde.35749",
+ "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=\"`$org.onap.appc.vfid`\" />\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`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4252.888809204102,
+ "y": 1042.1111755371094,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "b027be39.dc5ad"
+ ]
+ ]
+ },
+ {
+ "id": "24981823.8dd628",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4407.888809204102,
+ "y": 878.1111755371094,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b027be39.dc5ad",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4431.888809204102,
+ "y": 1039.1111755371094,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2db4836c.b73fcc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3557.888961791992,
+ "y": 1034.1113185882568,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "35497a4f.799a06",
+ "cace3825.d73698"
+ ]
+ ]
+ },
+ {
+ "id": "cace3825.d73698",
+ "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=\"`$org.onap.appc.vfid`\" />\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`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3719.8889694213867,
+ "y": 1138.111255645752,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "5a22678a.39a178"
+ ]
+ ]
+ },
+ {
+ "id": "5a22678a.39a178",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3845.8890991210938,
+ "y": 1214.11128616333,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3f4143a4.80004c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2840.6669845581055,
+ "y": 1220.0001697540283,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "18541510.69eb3b"
+ ]
+ ]
+ },
+ {
+ "id": "868fe88c.7301e8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2480.6669158935547,
+ "y": 1223.0002002716064,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "818c559e.4cb718"
+ ]
+ ]
+ },
+ {
+ "id": "51cf567b.01c418",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1565.666648864746,
+ "y": 479.00000286102295,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "c9af19e3.15b048"
+ ]
+ ]
+ },
+ {
+ "id": "df7a7824.5653d8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2146.666961669922,
+ "y": 1710.0000762939453,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "d5ea6f5b.b5205"
+ ]
+ ]
+ },
+ {
+ "id": "c38cb38c.27b49",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1867.6665878295898,
+ "y": 1715.0000133514404,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "9bc52b09.c92fd8"
+ ]
+ ]
+ },
+ {
+ "id": "89cee1a7.7d5d7",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$TERMINATE_STATUS`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1425.6666412353516,
+ "y": 1716,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "457280d4.81569",
+ "6716ce10.70381",
+ "e8c38fbe.c664c"
+ ]
+ ]
+ },
+ {
+ "id": "e8c38fbe.c664c",
+ "type": "other",
+ "name": "outcome_Stack_NOT_FOUND",
+ "xml": "<outcome value='STACK_NOT_FOUND'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1676.6666412353516,
+ "y": 1766,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "72712446.4f23cc"
+ ]
+ ]
+ },
+ {
+ "id": "457280d4.81569",
+ "type": "success",
+ "name": "outcome_SUCCESS",
+ "xml": "<outcome value='SUCCESS'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1656.6665802001953,
+ "y": 1711.0000743865967,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "c38cb38c.27b49"
+ ]
+ ]
+ },
+ {
+ "id": "6716ce10.70381",
+ "type": "other",
+ "name": "outcome_ERROR",
+ "xml": "<outcome value='ERROR'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1657.6667022705078,
+ "y": 1609.0000762939453,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "dab60fb.3c14bf"
+ ]
+ ]
+ },
+ {
+ "id": "19ed5c38.f34424",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 2306.6669845581055,
+ "y": 1431.0001783370972,
+ "z": "14e12983.4e6aa6",
+ "wires": []
+ },
+ {
+ "id": "2320dbe3.6a92b4",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 3260.666877746582,
+ "y": 1253.0004501342773,
+ "z": "14e12983.4e6aa6",
+ "wires": []
+ },
+ {
+ "id": "72712446.4f23cc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1739.6666069030762,
+ "y": 1842.999963760376,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "69e92cea.bf5ae4",
+ "b4b8c710.c65578"
+ ]
+ ]
+ },
+ {
+ "id": "868d2e7f.71d1c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3227.6668014526367,
+ "y": 1034.000072479248,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "69c28e48.1fa3c"
+ ]
+ ]
+ },
+ {
+ "id": "b4b8c710.c65578",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1890.6667098999023,
+ "y": 1918.999963760376,
+ "z": "14e12983.4e6aa6",
+ "wires": []
+ },
+ {
+ "id": "69e92cea.bf5ae4",
+ "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=\"`$org.onap.appc.vfid`\" />\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`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1990.6667709350586,
+ "y": 1842.9999618530273,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "a32efbe3.ee6958"
+ ]
+ ]
+ },
+ {
+ "id": "a32efbe3.ee6958",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2193.666835784912,
+ "y": 1843.0000228881836,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8581f2ac.9ea85",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n",
+ "comments": "",
+ "x": 1276.3730697631836,
+ "y": 1207.9844284057617,
+ "z": "14e12983.4e6aa6",
+ "wires": []
+ },
+ {
+ "id": "b57bdb5.2cb8228",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2830.6674156188965,
+ "y": 1284.0003261566162,
+ "z": "14e12983.4e6aa6",
+ "wires": [
+ [
+ "2320dbe3.6a92b4"
+ ]
+ ]
+ }
+] \ No newline at end of file
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_Generic_Terminate_2.0.1.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_Generic_Terminate_2.0.1.json
index 5b2491dfb..1d295368e 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_Generic_Terminate_2.0.1.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_Generic_Terminate_2.0.1.json
@@ -1 +1,1832 @@
-[{"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":[[]]}]
+[
+ {
+ "id": "3b011f31.e1f7c",
+ "type": "method",
+ "name": "Generic_Terminate",
+ "xml": "<method rpc='Generic_Terminate' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 198.515625,
+ "y": 208.99999809265137,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "363185d6.77050a"
+ ]
+ ]
+ },
+ {
+ "id": "725aaf7a.285c7",
+ "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": 198.515625,
+ "y": 135.99999809265137,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "3b011f31.e1f7c"
+ ]
+ ]
+ },
+ {
+ "id": "1631c842.aa0cb8",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 164.515625,
+ "y": 41.99999809265137,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "725aaf7a.285c7"
+ ]
+ ]
+ },
+ {
+ "id": "9bdc33fc.b923c",
+ "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": 695.5156860351562,
+ "y": 188.00002670288086,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "b2cb11a7.13bb8",
+ "d3d6019b.904a7",
+ "38504850.61d7b8"
+ ]
+ ]
+ },
+ {
+ "id": "b2cb11a7.13bb8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 982.5157775878906,
+ "y": 270.00004482269287,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "b9d79a3a.863048"
+ ]
+ ]
+ },
+ {
+ "id": "e5c9c763.079278",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>\n",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 438.5157241821289,
+ "y": 854.000150680542,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "d54dfb6c.b35808",
+ "e48a9296.17631"
+ ]
+ ]
+ },
+ {
+ "id": "d3d6019b.904a7",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 978.5156860351562,
+ "y": 224.00002002716064,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "744fa2f4.ec261c"
+ ]
+ ]
+ },
+ {
+ "id": "f7d85358.6288d",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1555.5156707763672,
+ "y": 237.00000762939453,
+ "z": "964268d8.247e58",
+ "wires": []
+ },
+ {
+ "id": "23b323e.b0706dc",
+ "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": 2641.5159606933594,
+ "y": 1268.000192642212,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "898a1900.25a4a8",
+ "47d1f240.1ab7dc"
+ ]
+ ]
+ },
+ {
+ "id": "898a1900.25a4a8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2822.5159606933594,
+ "y": 1325.000192642212,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "5986f2c2.fb67ec"
+ ]
+ ]
+ },
+ {
+ "id": "b0c9af91.6bcb4",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 2907.5159606933594,
+ "y": 1653.000192642212,
+ "z": "964268d8.247e58",
+ "wires": []
+ },
+ {
+ "id": "47d1f240.1ab7dc",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2823.5159606933594,
+ "y": 1194.000192642212,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "a05a06c0.e40ca8"
+ ]
+ ]
+ },
+ {
+ "id": "a9d64a75.bd6248",
+ "type": "comment",
+ "name": "call south bound to delete VMs",
+ "info": "",
+ "comments": "",
+ "x": 1971.515640258789,
+ "y": 331.99999809265137,
+ "z": "964268d8.247e58",
+ "wires": []
+ },
+ {
+ "id": "40ed368e.3ab5a8",
+ "type": "comment",
+ "name": "Delete VNFCs from AA&I",
+ "info": "",
+ "comments": "",
+ "x": 2668.5159606933594,
+ "y": 1302.000192642212,
+ "z": "964268d8.247e58",
+ "wires": []
+ },
+ {
+ "id": "9ce96bf3.5564d8",
+ "type": "comment",
+ "name": "Fetch all VMs and VNFCs from AA&I for given VNF_ID",
+ "info": "",
+ "comments": "",
+ "x": 722.5156555175781,
+ "y": 143.0000400543213,
+ "z": "964268d8.247e58",
+ "wires": []
+ },
+ {
+ "id": "1f360c85.7129b3",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$VNF.VMCount`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1190.5159187316895,
+ "y": 466.00019550323486,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "9255e068.9820d",
+ "286c3d59.1028e2"
+ ]
+ ]
+ },
+ {
+ "id": "9255e068.9820d",
+ "type": "other",
+ "name": "outcome_0",
+ "xml": "<outcome value='0'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1350.5156784057617,
+ "y": 433.00013542175293,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "2489a942.4a3516"
+ ]
+ ]
+ },
+ {
+ "id": "286c3d59.1028e2",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 918.5157470703125,
+ "y": 659.0001831054688,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "e5c9c763.079278"
+ ]
+ ]
+ },
+ {
+ "id": "b9d79a3a.863048",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$getVnfHierarchy_result`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1135.5156555175781,
+ "y": 265.0000400543213,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "84f363f0.e8e7",
+ "13086394.420dbc"
+ ]
+ ]
+ },
+ {
+ "id": "84f363f0.e8e7",
+ "type": "outcome",
+ "name": "SUCCESS",
+ "xml": "<outcome value='SUCCESS'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1160.5157012939453,
+ "y": 357.00007247924805,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "1f360c85.7129b3"
+ ]
+ ]
+ },
+ {
+ "id": "13086394.420dbc",
+ "type": "outcome",
+ "name": "FAILURE",
+ "xml": "<outcome value='FAILURE'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1309.5158462524414,
+ "y": 262.0000457763672,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "84ab69c7.596568"
+ ]
+ ]
+ },
+ {
+ "id": "a05a06c0.e40ca8",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$deleteResource_result`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3036.5159606933594,
+ "y": 1264.0001621246338,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "284cd65f.943f9a",
+ "594dbfa0.dad62",
+ "99f1090c.d7af38"
+ ]
+ ]
+ },
+ {
+ "id": "284cd65f.943f9a",
+ "type": "outcome",
+ "name": "SUCCESS",
+ "xml": "<outcome value='SUCCESS'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3213.5159606933594,
+ "y": 1230.000192642212,
+ "z": "964268d8.247e58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "594dbfa0.dad62",
+ "type": "outcome",
+ "name": "NOT_FOUND",
+ "xml": "<outcome value='NOT_FOUND'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3213.5159606933594,
+ "y": 1344.000192642212,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "8b2f310c.3a667"
+ ]
+ ]
+ },
+ {
+ "id": "99f1090c.d7af38",
+ "type": "outcome",
+ "name": "FAILURE",
+ "xml": "<outcome value='FAILURE'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3207.5159606933594,
+ "y": 1455.000192642212,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "b552b052.c7a2d"
+ ]
+ ]
+ },
+ {
+ "id": "4a876e4b.687d",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 3537.5159606933594,
+ "y": 1368.000192642212,
+ "z": "964268d8.247e58",
+ "wires": []
+ },
+ {
+ "id": "4c597d37.a62174",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 3551.5159606933594,
+ "y": 1501.000192642212,
+ "z": "964268d8.247e58",
+ "wires": []
+ },
+ {
+ "id": "8ae5f92a.6ca718",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1560.5157508850098,
+ "y": 599.0000905990601,
+ "z": "964268d8.247e58",
+ "wires": []
+ },
+ {
+ "id": "fc67ab6.6eaa158",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1654.5156707763672,
+ "y": 412.00004291534424,
+ "z": "964268d8.247e58",
+ "wires": []
+ },
+ {
+ "id": "744fa2f4.ec261c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1376.5156631469727,
+ "y": 195.00001525878906,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "f7d85358.6288d",
+ "c8406caa.cd573"
+ ]
+ ]
+ },
+ {
+ "id": "c8406caa.cd573",
+ "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": 1593.5157318115234,
+ "y": 124.00000190734863,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "cf262ce9.19e47"
+ ]
+ ]
+ },
+ {
+ "id": "cf262ce9.19e47",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1804.5157356262207,
+ "y": 123.00000190734863,
+ "z": "964268d8.247e58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "84ab69c7.596568",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1425.5158157348633,
+ "y": 342.00000762939453,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "fc67ab6.6eaa158",
+ "65bc229c.8e3e7c"
+ ]
+ ]
+ },
+ {
+ "id": "65bc229c.8e3e7c",
+ "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": 1726.5157928466797,
+ "y": 334.000039100647,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "aa2ec1f2.09915"
+ ]
+ ]
+ },
+ {
+ "id": "aa2ec1f2.09915",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1990.5158576965332,
+ "y": 391.0000467300415,
+ "z": "964268d8.247e58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2489a942.4a3516",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1416.515712738037,
+ "y": 542.0001201629639,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "8ae5f92a.6ca718",
+ "ceef1c28.04b3b"
+ ]
+ ]
+ },
+ {
+ "id": "ceef1c28.04b3b",
+ "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": 1623.5156860351562,
+ "y": 486.00011825561523,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "1cbe28de.fbbbc7"
+ ]
+ ]
+ },
+ {
+ "id": "1cbe28de.fbbbc7",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1838.5156936645508,
+ "y": 482.00012016296387,
+ "z": "964268d8.247e58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8b2f310c.3a667",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3385.5159606933594,
+ "y": 1338.000192642212,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "4a876e4b.687d",
+ "89f5923c.b131b"
+ ]
+ ]
+ },
+ {
+ "id": "b552b052.c7a2d",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3385.5159606933594,
+ "y": 1459.000192642212,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "4c597d37.a62174",
+ "5456f703.22e8b8"
+ ]
+ ]
+ },
+ {
+ "id": "89f5923c.b131b",
+ "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": 3559.5159606933594,
+ "y": 1263.000192642212,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "f3823a70.1d45e8"
+ ]
+ ]
+ },
+ {
+ "id": "5456f703.22e8b8",
+ "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": 3579.5159606933594,
+ "y": 1422.000192642212,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "acaaebad.6b05d8"
+ ]
+ ]
+ },
+ {
+ "id": "f3823a70.1d45e8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3779.5159606933594,
+ "y": 1265.000192642212,
+ "z": "964268d8.247e58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "acaaebad.6b05d8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3800.5159606933594,
+ "y": 1417.000192642212,
+ "z": "964268d8.247e58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5986f2c2.fb67ec",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2718.5159606933594,
+ "y": 1589.000192642212,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "b0c9af91.6bcb4",
+ "70159783.5c5988"
+ ]
+ ]
+ },
+ {
+ "id": "70159783.5c5988",
+ "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": 2940.5159606933594,
+ "y": 1586.000192642212,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "1d853e7.f8c78c2"
+ ]
+ ]
+ },
+ {
+ "id": "1d853e7.f8c78c2",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3141.5159606933594,
+ "y": 1587.000192642212,
+ "z": "964268d8.247e58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d54dfb6c.b35808",
+ "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": 866.5160369873047,
+ "y": 829.0000877380371,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "f2fa183b.fe2478",
+ "76390931.63f678",
+ "a248e01d.5554f"
+ ]
+ ]
+ },
+ {
+ "id": "f2fa183b.fe2478",
+ "type": "outcome",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1252.51566696167,
+ "y": 928.0000247955322,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "c74e4035.9683a"
+ ]
+ ]
+ },
+ {
+ "id": "76390931.63f678",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1240.5156936645508,
+ "y": 755.0001010894775,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "f8f7aee.725285"
+ ]
+ ]
+ },
+ {
+ "id": "f8f7aee.725285",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1528.5157318115234,
+ "y": 730.0000734329224,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "f99445f7.3ce2d8",
+ "8a56439.dd87dc",
+ "9342b26e.d79f8"
+ ]
+ ]
+ },
+ {
+ "id": "f99445f7.3ce2d8",
+ "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": 1799.515739440918,
+ "y": 723.0000419616699,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "865efb71.f65ad8"
+ ]
+ ]
+ },
+ {
+ "id": "865efb71.f65ad8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2031.515739440918,
+ "y": 716.0000743865967,
+ "z": "964268d8.247e58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a248e01d.5554f",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1225.515661239624,
+ "y": 846.0001335144043,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "f8f7aee.725285"
+ ]
+ ]
+ },
+ {
+ "id": "46beb99f.c7e858",
+ "type": "for",
+ "name": "for_each_VMs",
+ "xml": "<for index=\"i\" start=\"0\" end=\"`$VNF.VMCount`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1964.5156173706055,
+ "y": 1364.6667251586914,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "c6185f4d.2407a"
+ ]
+ ]
+ },
+ {
+ "id": "8a56439.dd87dc",
+ "type": "for",
+ "name": "for_each_VMs",
+ "xml": "<for index=\"i\" start=\"0\" end=\"`$VNF.VMCount`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1698.5156326293945,
+ "y": 661.3334426879883,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "d7bdbf57.26c59"
+ ]
+ ]
+ },
+ {
+ "id": "7faf4283.ee2c5c",
+ "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": 2122.515884399414,
+ "y": 642.3335418701172,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "5811b8e1.1d2788",
+ "c452c6e3.2270a8"
+ ]
+ ]
+ },
+ {
+ "id": "3dd16271.7df95e",
+ "type": "switchNode",
+ "name": "switch_isServerFound",
+ "xml": "<switch test='`$serverFound`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2351.18253326416,
+ "y": 701.3335514068604,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "5ffde0c2.e1cea",
+ "8af7e11f.7ec97",
+ "8970003d.899c7"
+ ]
+ ]
+ },
+ {
+ "id": "5ffde0c2.e1cea",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2602.182342529297,
+ "y": 719.3334407806396,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "3d14d236.13d75e"
+ ]
+ ]
+ },
+ {
+ "id": "8af7e11f.7ec97",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2471.1826095581055,
+ "y": 785.3333911895752,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "3d14d236.13d75e"
+ ]
+ ]
+ },
+ {
+ "id": "3901ca12.d18be6",
+ "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": 2983.738006591797,
+ "y": 662.1112365722656,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "64546985.ed5cb8",
+ "f30b8a9a.4898e8"
+ ]
+ ]
+ },
+ {
+ "id": "64546985.ed5cb8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3178.73779296875,
+ "y": 776.1111736297607,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "35855037.b86ab"
+ ]
+ ]
+ },
+ {
+ "id": "349a6222.b0f83e",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 3322.73779296875,
+ "y": 1016.1111736297607,
+ "z": "964268d8.247e58",
+ "wires": []
+ },
+ {
+ "id": "f30b8a9a.4898e8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3168.73779296875,
+ "y": 604.1111736297607,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "61f2cd5c.7a4204"
+ ]
+ ]
+ },
+ {
+ "id": "fe9d6d88.d73b",
+ "type": "comment",
+ "name": "Delete VNFCs from AA&I",
+ "info": "",
+ "comments": "",
+ "x": 3200.73779296875,
+ "y": 703.1111736297607,
+ "z": "964268d8.247e58",
+ "wires": []
+ },
+ {
+ "id": "61f2cd5c.7a4204",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$deleteResource_result`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3360.73779296875,
+ "y": 607.1111736297607,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "f04d10ed.eb8b5",
+ "f58520bc.39a13",
+ "ddbcc19.6b9554"
+ ]
+ ]
+ },
+ {
+ "id": "f04d10ed.eb8b5",
+ "type": "outcome",
+ "name": "SUCCESS",
+ "xml": "<outcome value='SUCCESS'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3585.73779296875,
+ "y": 608.1111736297607,
+ "z": "964268d8.247e58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f58520bc.39a13",
+ "type": "outcome",
+ "name": "NOT_FOUND",
+ "xml": "<outcome value='NOT_FOUND'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3585.73779296875,
+ "y": 722.1111736297607,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "1c3006e1.5f9999"
+ ]
+ ]
+ },
+ {
+ "id": "ddbcc19.6b9554",
+ "type": "outcome",
+ "name": "FAILURE",
+ "xml": "<outcome value='FAILURE'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3579.73779296875,
+ "y": 833.1111736297607,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "3bc91faf.9721e"
+ ]
+ ]
+ },
+ {
+ "id": "d570627e.ff9b6",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 3909.73779296875,
+ "y": 746.1111736297607,
+ "z": "964268d8.247e58",
+ "wires": []
+ },
+ {
+ "id": "839c4e83.7ba91",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 3923.73779296875,
+ "y": 879.1111736297607,
+ "z": "964268d8.247e58",
+ "wires": []
+ },
+ {
+ "id": "1c3006e1.5f9999",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3757.73779296875,
+ "y": 716.1111736297607,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "d570627e.ff9b6",
+ "77dc6d59.596044"
+ ]
+ ]
+ },
+ {
+ "id": "3bc91faf.9721e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3757.73779296875,
+ "y": 837.1111736297607,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "839c4e83.7ba91",
+ "9e8ba944.fc3f28"
+ ]
+ ]
+ },
+ {
+ "id": "77dc6d59.596044",
+ "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": 3889.73779296875,
+ "y": 636.1111736297607,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "5d5b4278.833adc"
+ ]
+ ]
+ },
+ {
+ "id": "9e8ba944.fc3f28",
+ "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": 3951.73779296875,
+ "y": 800.1111736297607,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "b736bbf9.05cf58"
+ ]
+ ]
+ },
+ {
+ "id": "5d5b4278.833adc",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4106.73779296875,
+ "y": 636.1111736297607,
+ "z": "964268d8.247e58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b736bbf9.05cf58",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4130.73779296875,
+ "y": 797.1111736297607,
+ "z": "964268d8.247e58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "35855037.b86ab",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3130.73779296875,
+ "y": 941.1111736297607,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "349a6222.b0f83e",
+ "3bb2497b.7c5ea6"
+ ]
+ ]
+ },
+ {
+ "id": "3bb2497b.7c5ea6",
+ "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": 3355.73779296875,
+ "y": 885.1111736297607,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "659440b.711e1c"
+ ]
+ ]
+ },
+ {
+ "id": "659440b.711e1c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3543.73779296875,
+ "y": 889.1111736297607,
+ "z": "964268d8.247e58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5811b8e1.1d2788",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2292.515766143799,
+ "y": 607.0000991821289,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "3dd16271.7df95e"
+ ]
+ ]
+ },
+ {
+ "id": "c452c6e3.2270a8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2268.515785217285,
+ "y": 819.9999866485596,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "3d14d236.13d75e"
+ ]
+ ]
+ },
+ {
+ "id": "d7bdbf57.26c59",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1929.5156021118164,
+ "y": 637.000036239624,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "7faf4283.ee2c5c"
+ ]
+ ]
+ },
+ {
+ "id": "38504850.61d7b8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 982.5158996582031,
+ "y": 174.00000286102295,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "744fa2f4.ec261c"
+ ]
+ ]
+ },
+ {
+ "id": "c6185f4d.2407a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2178.515739440918,
+ "y": 1352.999948501587,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "23b323e.b0706dc"
+ ]
+ ]
+ },
+ {
+ "id": "75318a54.96d274",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1751.5157089233398,
+ "y": 1366.0000095367432,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "46beb99f.c7e858"
+ ]
+ ]
+ },
+ {
+ "id": "c74e4035.9683a",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$TERMINATE_STATUS`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 917.5156402587891,
+ "y": 1584.9999980926514,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "4ad7e2e2.80fbbc",
+ "321d4258.ea6c8e",
+ "7fb5d4a0.d8d72c"
+ ]
+ ]
+ },
+ {
+ "id": "7fb5d4a0.d8d72c",
+ "type": "other",
+ "name": "outcome_Stack_NOT_FOUND",
+ "xml": "<outcome value='STACK_NOT_FOUND'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1168.515640258789,
+ "y": 1634.9999980926514,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "f6cd71b0.e103b"
+ ]
+ ]
+ },
+ {
+ "id": "4ad7e2e2.80fbbc",
+ "type": "success",
+ "name": "outcome_SUCCESS",
+ "xml": "<outcome value='SUCCESS'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1151.5157318115234,
+ "y": 1565.0000095367432,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "10447b00.3ac135"
+ ]
+ ]
+ },
+ {
+ "id": "321d4258.ea6c8e",
+ "type": "other",
+ "name": "outcome_ERROR",
+ "xml": "<outcome value='ERROR'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1147.5157318115234,
+ "y": 1483.0000104904175,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "f8f7aee.725285"
+ ]
+ ]
+ },
+ {
+ "id": "9342b26e.d79f8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1785.5157356262207,
+ "y": 796.0001058578491,
+ "z": "964268d8.247e58",
+ "wires": []
+ },
+ {
+ "id": "3d14d236.13d75e",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 2679.5155067443848,
+ "y": 851.0002326965332,
+ "z": "964268d8.247e58",
+ "wires": []
+ },
+ {
+ "id": "f6cd71b0.e103b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 949.5156402587891,
+ "y": 1902.9999980926514,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "cd903206.5b733",
+ "bfb6cbc7.f815b8"
+ ]
+ ]
+ },
+ {
+ "id": "8970003d.899c7",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2697.5157775878906,
+ "y": 581.0000352859497,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "3901ca12.d18be6"
+ ]
+ ]
+ },
+ {
+ "id": "bfb6cbc7.f815b8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1210.5157928466797,
+ "y": 1943.0000886917114,
+ "z": "964268d8.247e58",
+ "wires": []
+ },
+ {
+ "id": "cd903206.5b733",
+ "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": 1236.5158309936523,
+ "y": 1847.0000953674316,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "150ff9f8.81ec96"
+ ]
+ ]
+ },
+ {
+ "id": "150ff9f8.81ec96",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1475.5159225463867,
+ "y": 1847.9999618530273,
+ "z": "964268d8.247e58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e48a9296.17631",
+ "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": 544.2934722900391,
+ "y": 1087.8418626785278,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "72c89b11.854c54",
+ "d49586d4.b195e8"
+ ]
+ ]
+ },
+ {
+ "id": "d49586d4.b195e8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 707.8648986816406,
+ "y": 1025.6987962722778,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "54464c7.a69a6b4"
+ ]
+ ]
+ },
+ {
+ "id": "72c89b11.854c54",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 702.5552673339844,
+ "y": 1132.1268968582153,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "be28fb9e.5f28a8"
+ ]
+ ]
+ },
+ {
+ "id": "54464c7.a69a6b4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 877.2934875488281,
+ "y": 1026.8577318191528,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "be28fb9e.5f28a8",
+ "a160743d.7d7be8"
+ ]
+ ]
+ },
+ {
+ "id": "be28fb9e.5f28a8",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n",
+ "comments": "",
+ "x": 964.222038269043,
+ "y": 1131.9843082427979,
+ "z": "964268d8.247e58",
+ "wires": []
+ },
+ {
+ "id": "7ab9e974.61aa28",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1077.8966522216797,
+ "y": 1038.714482307434,
+ "z": "964268d8.247e58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a160743d.7d7be8",
+ "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": 1037.1449890136719,
+ "y": 965.2736864089966,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "7ab9e974.61aa28"
+ ]
+ ]
+ },
+ {
+ "id": "363185d6.77050a",
+ "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": 198.1823272705078,
+ "y": 286.88888931274414,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "de8a7c9e.836e2",
+ "826418f0.a63c28",
+ "85e99c65.4a4fa"
+ ]
+ ]
+ },
+ {
+ "id": "de8a7c9e.836e2",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 477.18240547180176,
+ "y": 188.88887405395508,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "9bdc33fc.b923c"
+ ]
+ ]
+ },
+ {
+ "id": "118166ac.45a069",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
+ "comments": "",
+ "x": 529.8490829467773,
+ "y": 430.6667289733887,
+ "z": "964268d8.247e58",
+ "wires": []
+ },
+ {
+ "id": "54ab5c3a.edf484",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 495.5158386230469,
+ "y": 342.1429901123047,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "118166ac.45a069",
+ "41001205.ed847c"
+ ]
+ ]
+ },
+ {
+ "id": "41001205.ed847c",
+ "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": 714.4206314086914,
+ "y": 296.52393341064453,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "4ca68541.0d26ac"
+ ]
+ ]
+ },
+ {
+ "id": "4ca68541.0d26ac",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 852.7063293457031,
+ "y": 350.9525852203369,
+ "z": "964268d8.247e58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "826418f0.a63c28",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 469.8490409851074,
+ "y": 267.6667642593384,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "54ab5c3a.edf484"
+ ]
+ ]
+ },
+ {
+ "id": "259c7a25.8f70b6",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in loading Json flattening plugin\" />",
+ "comments": "",
+ "x": 639.8489990234375,
+ "y": 594.6667098999023,
+ "z": "964268d8.247e58",
+ "wires": []
+ },
+ {
+ "id": "b2b2051d.e75f08",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 482.51572036743164,
+ "y": 502.14301776885986,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "259c7a25.8f70b6",
+ "20855cd9.639674"
+ ]
+ ]
+ },
+ {
+ "id": "20855cd9.639674",
+ "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": 775.4204406738281,
+ "y": 517.5239543914795,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "fac50adb.b1e8c8"
+ ]
+ ]
+ },
+ {
+ "id": "fac50adb.b1e8c8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1037.706211090088,
+ "y": 511.9525508880615,
+ "z": "964268d8.247e58",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "85e99c65.4a4fa",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 321.8489646911621,
+ "y": 488.66676139831543,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "b2b2051d.e75f08"
+ ]
+ ]
+ },
+ {
+ "id": "10447b00.3ac135",
+ "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": 1472.5158386230469,
+ "y": 1551.999948501587,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "783fc1dc.7345e",
+ "62150030.6031e"
+ ]
+ ]
+ },
+ {
+ "id": "783fc1dc.7345e",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1692.5157470703125,
+ "y": 1502.6666049957275,
+ "z": "964268d8.247e58",
+ "wires": [
+ [
+ "75318a54.96d274"
+ ]
+ ]
+ },
+ {
+ "id": "62150030.6031e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1663.5158004760742,
+ "y": 1598.6666975021362,
+ "z": "964268d8.247e58",
+ "wires": [
+ []
+ ]
+ }
+] \ No newline at end of file
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_GetRunningConfig_2.0.0.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_GetRunningConfig_2.0.0.json
index ef0e56534..41eeca446 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_GetRunningConfig_2.0.0.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_GetRunningConfig_2.0.0.json
@@ -1 +1,1124 @@
-[{"id":"2bf5503c.d388e","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":664.888916015625,"y":58.25000762939453,"z":"276d1f6b.9bb71","wires":[["dbafdb1b.934f58"]]},{"id":"faf55a2.8a3cca8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":749.138916015625,"y":374.75,"z":"276d1f6b.9bb71","wires":[["b59140c4.f0d26"]]},{"id":"5a7e4d0c.a3ad34","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":745.138916015625,"y":427.5,"z":"276d1f6b.9bb71","wires":[["eda2123c.64453"]]},{"id":"3371a22a.28dfee","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":667.888916015625,"y":127.25,"z":"276d1f6b.9bb71","wires":[["577dc0de.87c37"]]},{"id":"c372101a.aa5ea","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":665.1388549804688,"y":278.50000762939453,"z":"276d1f6b.9bb71","wires":[["2cc0ecf5.2756c4"]]},{"id":"feb957d9.9b3838","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":659.1388549804688,"y":213.25000762939453,"z":"276d1f6b.9bb71","wires":[["48d059a1.2c1378"]]},{"id":"757aad86.e63454","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":737.388916015625,"y":472.75,"z":"276d1f6b.9bb71","wires":[["cbdc9a91.622178"]]},{"id":"c6746ea4.d8171","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":736.888916015625,"y":523.75,"z":"276d1f6b.9bb71","wires":[["fbb83850.3ab008"]]},{"id":"4ac10f26.bb958","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1406.888916015625,"y":608.0000076293945,"z":"276d1f6b.9bb71","wires":[["8f213625.b48068"]]},{"id":"202e4abf.4f39b6","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1411.638916015625,"y":706.5000076293945,"z":"276d1f6b.9bb71","wires":[["db7afb3c.2c58c8"]]},{"id":"15804f82.f28b4","type":"success","name":"multipleRunningConfig","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":859.388916015625,"y":579.0000076293945,"z":"276d1f6b.9bb71","wires":[["64a22d10.d8c794"]]},{"id":"a20d1d4b.9026d","type":"get-resource","name":"Retrieve device credentials","xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"select USER_NAME , PASSWORD , PORT_NUMBER from DEVICE_AUTHENTICATION where VNF_TYPE = $vnf-type \" >\n<parameter name=\"nodeName\" value=\"retrieveDeviceCredentials\" />\n","comments":"","outputs":1,"x":429.63897705078125,"y":123,"z":"276d1f6b.9bb71","wires":[["2bf5503c.d388e","3371a22a.28dfee","d3311276.7aeb5"]]},{"id":"b39573b0.7834d","type":"call","name":"Call device interfacing DG","xml":"<call rpc='`$dg-rpc`' module = '`$module`' mode='sync'>\n<parameter name=\"nodeName\" value=\"callInterfacingDG\" />\n","comments":"","outputs":1,"x":479.888916015625,"y":428.75,"z":"276d1f6b.9bb71","wires":[["faf55a2.8a3cca8","5a7e4d0c.a3ad34","27a86a4d.b60b06"]]},{"id":"26e12fcf.61188","type":"get-resource","name":"Get device interfacing DG","xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"select dg_rpc , module , protocol from DEVICE_INTERFACE_PROTOCOL where VNF_TYPE = $vnf-type and DG_RPC is not null \" >\n<parameter name=\"nodeName\" value=\"getDeviceInterfacingDG\" />\n","comments":"","outputs":1,"x":406.638916015625,"y":277.75000762939453,"z":"276d1f6b.9bb71","wires":[["c372101a.aa5ea","feb957d9.9b3838","7730960.662fc6c"]]},{"id":"d1f75432.3fab98","type":"get-resource","name":"Check if running config exists","xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"select count(1) as value from UPLOAD_CONFIG where VNF_ID = $input.action-identifiers.vnf-id and ( if ( $vnfc-type = '' , VNFC_TYPE is NULL OR VNFC_TYPE = '' , VNFC_TYPE = $vnfc-type ) ) and HOST_IP_ADDRESS = $host-ip-address and CONFIG_INDICATOR = 'Running' AND (pending_delete IS NULL OR pending_delete != 'Y') \" force='true' pfx='runningConfig.count'>\n<parameter name=\"nodeName\" value=\"getDBRunningConf\" />\n","comments":"","outputs":1,"x":439.8889465332031,"y":562.5,"z":"276d1f6b.9bb71","wires":[["757aad86.e63454","c6746ea4.d8171","df801ff7.3334"]]},{"id":"6624b792.a4c4e8","type":"save","name":"Insert configuration","xml":"<save plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"INSERT INTO UPLOAD_CONFIG (REQUEST_ID, ORIGINATOR_ID, SERVICE_DESCRIPTION, ACTION, VNF_ID, VNF_NAME, VM_NAME, VNF_TYPE, VNFC_TYPE, HOST_IP_ADDRESS, CONFIG_INDICATOR, PENDING_DELETE, CONTENT ) VALUES ( $input.common-header.request-id , $input.common-header.originator-id , $service-description , $input.action , $input.action-identifiers.vnf-id , $vnf-name , $vm-name , $vnf-type , $vnfc-type , $host-ip-address , 'Running' , NULL , $device-running-config ) \" force='true' >\n<parameter name=\"nodeName\" value=\"InsertConfiguration\" />\n","comments":"","outputs":1,"x":1198.638916015625,"y":619.2500076293945,"z":"276d1f6b.9bb71","wires":[["4ac10f26.bb958","b2654dc9.f9d45"]]},{"id":"11aa7b01.78e3c5","type":"save","name":"Update configuration","xml":"<save plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"update UPLOAD_CONFIG set CONTENT = $device-running-config , REQUEST_ID = $input.common-header.request-id , ORIGINATOR_ID = $input.common-header.originator-id , SERVICE_DESCRIPTION = $service-description , ACTION = $input.action , UPLOAD_DATE = CURRENT_TIMESTAMP where VNF_ID = $input.action-identifiers.vnf-id and ( if ( $vnfc-type = '' , VNFC_TYPE is NULL OR VNFC_TYPE = '' , VNFC_TYPE = $vnfc-type ) ) and HOST_IP_ADDRESS = $host-ip-address and CONFIG_INDICATOR = 'Running' AND (pending_delete IS NULL OR pending_delete != 'Y') \" force='true' pfx='update'>\n<parameter name=\"nodeName\" value=\"updateConfiguration\" />\n","comments":"","outputs":1,"x":1198.1389045715332,"y":716,"z":"276d1f6b.9bb71","wires":[["202e4abf.4f39b6","5fee9fb0.f2325"]]},{"id":"2dbbd306.12300c","type":"switchNode","name":"switch","xml":"<switch test='`$runningConfig.count.value`'>\n","comments":"","outputs":1,"x":650.6389122009277,"y":614.2500095367432,"z":"276d1f6b.9bb71","wires":[["15804f82.f28b4","ede96b3d.4c0f28","c37b362b.01c868"]]},{"id":"c183af40.7e96b","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":164.38891983032227,"y":235.50000381469727,"z":"276d1f6b.9bb71","wires":[["a20d1d4b.9026d","b696a7db.8ca138"]]},{"id":"d3311276.7aeb5","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":477.13885498046875,"y":187.00000762939453,"z":"276d1f6b.9bb71","wires":[["26e12fcf.61188"]]},{"id":"27a86a4d.b60b06","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":441.63885498046875,"y":499.75,"z":"276d1f6b.9bb71","wires":[["d1f75432.3fab98"]]},{"id":"7730960.662fc6c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":263.1387939453125,"y":353.5,"z":"276d1f6b.9bb71","wires":[["29603b9a.2c5b84"]]},{"id":"df801ff7.3334","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":479.38885498046875,"y":664.75,"z":"276d1f6b.9bb71","wires":[["2dbbd306.12300c"]]},{"id":"b2654dc9.f9d45","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1408.638916015625,"y":657.2500076293945,"z":"276d1f6b.9bb71","wires":[["e8b89f13.0bbb4"]]},{"id":"35b04eb6.6d2212","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1024.638916015625,"y":631.2500076293945,"z":"276d1f6b.9bb71","wires":[["6624b792.a4c4e8"]]},{"id":"5fee9fb0.f2325","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1411.388916015625,"y":772.5000305175781,"z":"276d1f6b.9bb71","wires":[["e8b89f13.0bbb4"]]},{"id":"ed19ec7d.1ee2b","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1026.138916015625,"y":694.5000076293945,"z":"276d1f6b.9bb71","wires":[["11aa7b01.78e3c5"]]},{"id":"ede96b3d.4c0f28","type":"success","name":"noRunningConfig","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":850.638916015625,"y":630.0000076293945,"z":"276d1f6b.9bb71","wires":[["35b04eb6.6d2212"]]},{"id":"c37b362b.01c868","type":"failure","name":"runningConfigExists","xml":"<outcome value='1'>\n","comments":"","outputs":1,"x":854.138916015625,"y":695.0000076293945,"z":"276d1f6b.9bb71","wires":[["ed19ec7d.1ee2b"]]},{"id":"4896d6e4.5270f8","type":"method","name":"GetRunningConfig","xml":"<method rpc='GetRunningConfig' mode='sync'>\n","comments":"","outputs":1,"x":154.888916015625,"y":152,"z":"276d1f6b.9bb71","wires":[["c183af40.7e96b"]]},{"id":"13a41622.3f89ca","type":"service-logic","name":"APPC 2.0.0","module":"APPC","version":"2.0.0","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.0'>","outputs":1,"x":291.88890838623047,"y":67.25000190734863,"z":"276d1f6b.9bb71","wires":[["4896d6e4.5270f8"]]},{"id":"b696a7db.8ca138","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n","comments":"","x":144.88894653320312,"y":441.5,"z":"276d1f6b.9bb71","wires":[]},{"id":"251494ff.29474c","type":"dgstart","name":"DGSTART","outputs":1,"x":124.3889045715332,"y":68,"z":"276d1f6b.9bb71","wires":[["13a41622.3f89ca"]]},{"id":"dbafdb1b.934f58","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":839.888916015625,"y":59.750003814697266,"z":"276d1f6b.9bb71","wires":[["c5226259.21e3e","2490a85b.6f7c38","253f5533.50173a"]]},{"id":"c5226259.21e3e","type":"set","name":"Set error message","xml":"<set>\n<parameter name='node-error-message' value='Error while retrieving device credentials' />\n","comments":"","x":1046.388916015625,"y":46,"z":"276d1f6b.9bb71","wires":[]},{"id":"577dc0de.87c37","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":844.638916015625,"y":126.25,"z":"276d1f6b.9bb71","wires":[["920835f9.5449d8","2490a85b.6f7c38","253f5533.50173a"]]},{"id":"920835f9.5449d8","type":"set","name":"Set error message","xml":"<set>\n<parameter name='node-error-message' value=\"`'Device credentials not found for the ' + $vnf-type `\"/>\n","comments":"","x":1048.388916015625,"y":85.5,"z":"276d1f6b.9bb71","wires":[]},{"id":"48d059a1.2c1378","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":839.388916015625,"y":196.25000762939453,"z":"276d1f6b.9bb71","wires":[["ed173feb.0d45f","253f5533.50173a","2490a85b.6f7c38"]]},{"id":"2cc0ecf5.2756c4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":843.388916015625,"y":252.50000762939453,"z":"276d1f6b.9bb71","wires":[["e5af31d.d7d11d","253f5533.50173a","2490a85b.6f7c38"]]},{"id":"ed173feb.0d45f","type":"set","name":"Set error message","xml":"<set>\n<parameter name='node-error-message' value='Error while getting device interfacing DG details' />\n","comments":"","x":1053.3889045715332,"y":133.00000762939453,"z":"276d1f6b.9bb71","wires":[]},{"id":"e5af31d.d7d11d","type":"set","name":"Set error message","xml":"<set>\n<parameter name='node-error-message' value=\"`'Device Interfacing DG mapping not found for the ' + $vnf-type `\" />\n","comments":"","x":1051.138916015625,"y":176.00000762939453,"z":"276d1f6b.9bb71","wires":[]},{"id":"253f5533.50173a","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='`$node-error-message`' />","comments":"","x":1079.138916015625,"y":271.25000762939453,"z":"276d1f6b.9bb71","wires":[]},{"id":"b59140c4.f0d26","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":910.638916015625,"y":325,"z":"276d1f6b.9bb71","wires":[["11ce3fcd.175be","9a30398b.6a1268","81b0e59d.dd52a8"]]},{"id":"eda2123c.64453","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":924.638916015625,"y":410.25,"z":"276d1f6b.9bb71","wires":[["e924feb9.1fc4b","9a30398b.6a1268","81b0e59d.dd52a8"]]},{"id":"11ce3fcd.175be","type":"set","name":"Set error message","xml":"<set>\n<parameter name='node-error-message' value=\"`$error-message`\"/>\n","comments":"","x":1178.638916015625,"y":316.5,"z":"276d1f6b.9bb71","wires":[]},{"id":"e924feb9.1fc4b","type":"set","name":"Set error message","xml":"<set>\n<parameter name='node-error-message' value='Device Interfacing DG not found' />\n","comments":"","x":1180.638916015625,"y":359.75,"z":"276d1f6b.9bb71","wires":[]},{"id":"fbb83850.3ab008","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":941.138916015625,"y":522.75,"z":"276d1f6b.9bb71","wires":[["9897d37f.3e86f","81b0e59d.dd52a8","9a30398b.6a1268"]]},{"id":"cbdc9a91.622178","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":939.888916015625,"y":468.25,"z":"276d1f6b.9bb71","wires":[["1dd1ceae.7c5731","81b0e59d.dd52a8","9a30398b.6a1268"]]},{"id":"1dd1ceae.7c5731","type":"set","name":"Set error message","xml":"<set>\n<parameter name='node-error-message' value=\"`'Error while quering the running configuration in the repository for vnf-id:' + $input.action-identifiers.vnf-id + ' and Host-ip-address:' + $host-ip-address `\"/>\n","comments":"","x":1179.388916015625,"y":404.25,"z":"276d1f6b.9bb71","wires":[]},{"id":"9897d37f.3e86f","type":"set","name":"Set error message","xml":"<set>\n<parameter name='node-error-message' value=\"`'Error while quering the running configuration in the repository for vnf-id:' + $input.action-identifiers.vnf-id + ' and Host-ip-address:' + $host-ip-address `\" />\n","comments":"","x":1179.638916015625,"y":444.25,"z":"276d1f6b.9bb71","wires":[]},{"id":"81b0e59d.dd52a8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='`$node-error-message`' />","comments":"","x":1187.138916015625,"y":543.5,"z":"276d1f6b.9bb71","wires":[]},{"id":"64a22d10.d8c794","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1577.638916015625,"y":576.7500076293945,"z":"276d1f6b.9bb71","wires":[["d55829a0.692118","53f66547.a56dac","75356e6f.a67ac"]]},{"id":"d55829a0.692118","type":"set","name":"Set error message","xml":"<set>\n<parameter name='node-error-message' value='More than one running configuration available for a VNFC' />\n","comments":"","x":1803.388916015625,"y":530.2500610351562,"z":"276d1f6b.9bb71","wires":[]},{"id":"53f66547.a56dac","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='`$node-error-message`' />","comments":"","x":1802.638916015625,"y":710.0000305175781,"z":"276d1f6b.9bb71","wires":[]},{"id":"8f213625.b48068","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1582.138916015625,"y":632.75,"z":"276d1f6b.9bb71","wires":[["b2368a5.6789578","53f66547.a56dac","75356e6f.a67ac"]]},{"id":"b2368a5.6789578","type":"set","name":"Set error message","xml":"<set>\n<parameter name='node-error-message' value=\"`'Error while updating the running configuration in the repository for vnf-id:' + $input.action-identifiers.vnf-id + ' and Host-ip-address:' + $host-ip-address `\" />\n","comments":"","x":1806.638916015625,"y":575.2500305175781,"z":"276d1f6b.9bb71","wires":[]},{"id":"db7afb3c.2c58c8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1582.638916015625,"y":693.25,"z":"276d1f6b.9bb71","wires":[["cc111001.f32a8","53f66547.a56dac","75356e6f.a67ac"]]},{"id":"cc111001.f32a8","type":"set","name":"Set error message","xml":"<set>\n<parameter name='node-error-message' value=\"`'Error while updating the running configuration in the repository for vnf-id:' + $input.action-identifiers.vnf-id + ' and Host-ip-address:' + $host-ip-address `\" />\n","comments":"","x":1807.388916015625,"y":621.2500305175781,"z":"276d1f6b.9bb71","wires":[]},{"id":"2490a85b.6f7c38","type":"record","name":"Log error","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$node-error-message`\"/>\n","comments":"","outputs":1,"x":1070.888916015625,"y":227.25000762939453,"z":"276d1f6b.9bb71","wires":[[]]},{"id":"9a30398b.6a1268","type":"record","name":"Log error","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$node-error-message`\"/>\n","comments":"","outputs":1,"x":1186.888916015625,"y":499.25,"z":"276d1f6b.9bb71","wires":[[]]},{"id":"75356e6f.a67ac","type":"record","name":"Log error","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$node-error-message`\"/>\n","comments":"","outputs":1,"x":1800.888916015625,"y":663.2500305175781,"z":"276d1f6b.9bb71","wires":[[]]},{"id":"21660aea.e01ea6","type":"set","name":"set DG parameters","xml":"<set>\n<parameter name='config.vnf-type' value=\"`$vnf-type`\" />\n<parameter name='config.vnf-name' value=\"`$vnf-name`\" />\n<parameter name='config.protocol' value=\"`$protocol`\" />\n<parameter name='config.host-ip-address' value=\"`$host-ip-address`\" />\n<parameter name='config.user-name' value=\"`$USER-NAME`\" />\n<parameter name='config.password' value=\"`$PASSWORD`\" />\n<parameter name='config.port-number' value=\"`$PORT-NUMBER`\" />","comments":"","x":585.888916015625,"y":330,"z":"276d1f6b.9bb71","wires":[]},{"id":"29603b9a.2c5b84","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":395.888916015625,"y":353,"z":"276d1f6b.9bb71","wires":[["21660aea.e01ea6","b39573b0.7834d"]]},{"id":"e8b89f13.0bbb4","type":"get-resource","name":"Get Running Config Id","xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"select UPLOAD_CONFIG_ID from UPLOAD_CONFIG where VNF_ID = $input.action-identifiers.vnf-id and ( if ( $vnfc-type = '' , VNFC_TYPE is NULL OR VNFC_TYPE = '' , VNFC_TYPE = $vnfc-type ) ) and HOST_IP_ADDRESS = $host-ip-address and CONFIG_INDICATOR = 'Running' AND (pending_delete IS NULL OR pending_delete != 'Y') \" force='true' pfx='runningConfig'>\n","comments":"","outputs":1,"x":1648.888916015625,"y":779.3333435058594,"z":"276d1f6b.9bb71","wires":[["ab251259.3d74","d14179e1.547d98","aec5de94.0b1ee"]]},{"id":"ab251259.3d74","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2001.388916015625,"y":733.5833740234375,"z":"276d1f6b.9bb71","wires":[["bf29ea96.6ffa68"]]},{"id":"d14179e1.547d98","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1993.888916015625,"y":793.5833740234375,"z":"276d1f6b.9bb71","wires":[["e27c0f02.9b77"]]},{"id":"bf29ea96.6ffa68","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2158.8885498046875,"y":732.0833740234375,"z":"276d1f6b.9bb71","wires":[["5b24ae34.dd7d9","dfd2268c.d462e8","babb2c3a.ce283"]]},{"id":"5b24ae34.dd7d9","type":"set","name":"Set error message","xml":"<set>\n<parameter name='node-error-message' value=\"`'Error while quering the running configuration in the repository for vnf-id:' + $input.action-identifiers.vnf-id + ' and Host-ip-address:' + $host-ip-address `\"/>\n","comments":"","x":2393.3887939453125,"y":673.0833740234375,"z":"276d1f6b.9bb71","wires":[]},{"id":"babb2c3a.ce283","type":"record","name":"Log error","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$node-error-message`\"/>\n","comments":"","outputs":1,"x":2384.8885498046875,"y":772.0833740234375,"z":"276d1f6b.9bb71","wires":[[]]},{"id":"e27c0f02.9b77","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2159.1387939453125,"y":794.5833740234375,"z":"276d1f6b.9bb71","wires":[["cf88cbf8.678fd8","dfd2268c.d462e8","babb2c3a.ce283"]]},{"id":"dfd2268c.d462e8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='`$node-error-message`' />","comments":"","x":2400.1385498046875,"y":827.3333740234375,"z":"276d1f6b.9bb71","wires":[]},{"id":"aec5de94.0b1ee","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1985.388671875,"y":861.5833740234375,"z":"276d1f6b.9bb71","wires":[[]]},{"id":"cf88cbf8.678fd8","type":"set","name":"Set error message","xml":"<set>\n<parameter name='node-error-message' value=\"`'Error while quering the running configuration in the repository for vnf-id:' + $input.action-identifiers.vnf-id + ' and Host-ip-address:' + $host-ip-address `\" />\n","comments":"","x":2400.6387939453125,"y":723.0833740234375,"z":"276d1f6b.9bb71","wires":[]}]
+[
+ {
+ "id": "2bf5503c.d388e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 664.888916015625,
+ "y": 58.25000762939453,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "dbafdb1b.934f58"
+ ]
+ ]
+ },
+ {
+ "id": "faf55a2.8a3cca8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 749.138916015625,
+ "y": 374.75,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "b59140c4.f0d26"
+ ]
+ ]
+ },
+ {
+ "id": "5a7e4d0c.a3ad34",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 745.138916015625,
+ "y": 427.5,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "eda2123c.64453"
+ ]
+ ]
+ },
+ {
+ "id": "3371a22a.28dfee",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 667.888916015625,
+ "y": 127.25,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "577dc0de.87c37"
+ ]
+ ]
+ },
+ {
+ "id": "c372101a.aa5ea",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 665.1388549804688,
+ "y": 278.50000762939453,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "2cc0ecf5.2756c4"
+ ]
+ ]
+ },
+ {
+ "id": "feb957d9.9b3838",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 659.1388549804688,
+ "y": 213.25000762939453,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "48d059a1.2c1378"
+ ]
+ ]
+ },
+ {
+ "id": "757aad86.e63454",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 737.388916015625,
+ "y": 472.75,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "cbdc9a91.622178"
+ ]
+ ]
+ },
+ {
+ "id": "c6746ea4.d8171",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 736.888916015625,
+ "y": 523.75,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "fbb83850.3ab008"
+ ]
+ ]
+ },
+ {
+ "id": "4ac10f26.bb958",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1406.888916015625,
+ "y": 608.0000076293945,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "8f213625.b48068"
+ ]
+ ]
+ },
+ {
+ "id": "202e4abf.4f39b6",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1411.638916015625,
+ "y": 706.5000076293945,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "db7afb3c.2c58c8"
+ ]
+ ]
+ },
+ {
+ "id": "15804f82.f28b4",
+ "type": "success",
+ "name": "multipleRunningConfig",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 859.388916015625,
+ "y": 579.0000076293945,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "64a22d10.d8c794"
+ ]
+ ]
+ },
+ {
+ "id": "a20d1d4b.9026d",
+ "type": "get-resource",
+ "name": "Retrieve device credentials",
+ "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"select USER_NAME , PASSWORD , PORT_NUMBER from DEVICE_AUTHENTICATION where VNF_TYPE = $vnf-type \" >\n<parameter name=\"nodeName\" value=\"retrieveDeviceCredentials\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 429.63897705078125,
+ "y": 123,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "2bf5503c.d388e",
+ "3371a22a.28dfee",
+ "d3311276.7aeb5"
+ ]
+ ]
+ },
+ {
+ "id": "b39573b0.7834d",
+ "type": "call",
+ "name": "Call device interfacing DG",
+ "xml": "<call rpc='`$dg-rpc`' module = '`$module`' mode='sync'>\n<parameter name=\"nodeName\" value=\"callInterfacingDG\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 479.888916015625,
+ "y": 428.75,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "faf55a2.8a3cca8",
+ "5a7e4d0c.a3ad34",
+ "27a86a4d.b60b06"
+ ]
+ ]
+ },
+ {
+ "id": "26e12fcf.61188",
+ "type": "get-resource",
+ "name": "Get device interfacing DG",
+ "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"select dg_rpc , module , protocol from DEVICE_INTERFACE_PROTOCOL where VNF_TYPE = $vnf-type and DG_RPC is not null \" >\n<parameter name=\"nodeName\" value=\"getDeviceInterfacingDG\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 406.638916015625,
+ "y": 277.75000762939453,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "c372101a.aa5ea",
+ "feb957d9.9b3838",
+ "7730960.662fc6c"
+ ]
+ ]
+ },
+ {
+ "id": "d1f75432.3fab98",
+ "type": "get-resource",
+ "name": "Check if running config exists",
+ "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"select count(1) as value from UPLOAD_CONFIG where VNF_ID = $input.action-identifiers.vnf-id and ( if ( $vnfc-type = '' , VNFC_TYPE is NULL OR VNFC_TYPE = '' , VNFC_TYPE = $vnfc-type ) ) and HOST_IP_ADDRESS = $host-ip-address and CONFIG_INDICATOR = 'Running' AND (pending_delete IS NULL OR pending_delete != 'Y') \" force='true' pfx='runningConfig.count'>\n<parameter name=\"nodeName\" value=\"getDBRunningConf\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 439.8889465332031,
+ "y": 562.5,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "757aad86.e63454",
+ "c6746ea4.d8171",
+ "df801ff7.3334"
+ ]
+ ]
+ },
+ {
+ "id": "6624b792.a4c4e8",
+ "type": "save",
+ "name": "Insert configuration",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"INSERT INTO UPLOAD_CONFIG (REQUEST_ID, ORIGINATOR_ID, SERVICE_DESCRIPTION, ACTION, VNF_ID, VNF_NAME, VM_NAME, VNF_TYPE, VNFC_TYPE, HOST_IP_ADDRESS, CONFIG_INDICATOR, PENDING_DELETE, CONTENT ) VALUES ( $input.common-header.request-id , $input.common-header.originator-id , $service-description , $input.action , $input.action-identifiers.vnf-id , $vnf-name , $vm-name , $vnf-type , $vnfc-type , $host-ip-address , 'Running' , NULL , $device-running-config ) \" force='true' >\n<parameter name=\"nodeName\" value=\"InsertConfiguration\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1198.638916015625,
+ "y": 619.2500076293945,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "4ac10f26.bb958",
+ "b2654dc9.f9d45"
+ ]
+ ]
+ },
+ {
+ "id": "11aa7b01.78e3c5",
+ "type": "save",
+ "name": "Update configuration",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"update UPLOAD_CONFIG set CONTENT = $device-running-config , REQUEST_ID = $input.common-header.request-id , ORIGINATOR_ID = $input.common-header.originator-id , SERVICE_DESCRIPTION = $service-description , ACTION = $input.action , UPLOAD_DATE = CURRENT_TIMESTAMP where VNF_ID = $input.action-identifiers.vnf-id and ( if ( $vnfc-type = '' , VNFC_TYPE is NULL OR VNFC_TYPE = '' , VNFC_TYPE = $vnfc-type ) ) and HOST_IP_ADDRESS = $host-ip-address and CONFIG_INDICATOR = 'Running' AND (pending_delete IS NULL OR pending_delete != 'Y') \" force='true' pfx='update'>\n<parameter name=\"nodeName\" value=\"updateConfiguration\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1198.1389045715332,
+ "y": 716,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "202e4abf.4f39b6",
+ "5fee9fb0.f2325"
+ ]
+ ]
+ },
+ {
+ "id": "2dbbd306.12300c",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$runningConfig.count.value`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 650.6389122009277,
+ "y": 614.2500095367432,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "15804f82.f28b4",
+ "ede96b3d.4c0f28",
+ "c37b362b.01c868"
+ ]
+ ]
+ },
+ {
+ "id": "c183af40.7e96b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 164.38891983032227,
+ "y": 235.50000381469727,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "a20d1d4b.9026d",
+ "b696a7db.8ca138"
+ ]
+ ]
+ },
+ {
+ "id": "d3311276.7aeb5",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 477.13885498046875,
+ "y": 187.00000762939453,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "26e12fcf.61188"
+ ]
+ ]
+ },
+ {
+ "id": "27a86a4d.b60b06",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 441.63885498046875,
+ "y": 499.75,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "d1f75432.3fab98"
+ ]
+ ]
+ },
+ {
+ "id": "7730960.662fc6c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 263.1387939453125,
+ "y": 353.5,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "29603b9a.2c5b84"
+ ]
+ ]
+ },
+ {
+ "id": "df801ff7.3334",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 479.38885498046875,
+ "y": 664.75,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "2dbbd306.12300c"
+ ]
+ ]
+ },
+ {
+ "id": "b2654dc9.f9d45",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1408.638916015625,
+ "y": 657.2500076293945,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "e8b89f13.0bbb4"
+ ]
+ ]
+ },
+ {
+ "id": "35b04eb6.6d2212",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1024.638916015625,
+ "y": 631.2500076293945,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "6624b792.a4c4e8"
+ ]
+ ]
+ },
+ {
+ "id": "5fee9fb0.f2325",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1411.388916015625,
+ "y": 772.5000305175781,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "e8b89f13.0bbb4"
+ ]
+ ]
+ },
+ {
+ "id": "ed19ec7d.1ee2b",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1026.138916015625,
+ "y": 694.5000076293945,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "11aa7b01.78e3c5"
+ ]
+ ]
+ },
+ {
+ "id": "ede96b3d.4c0f28",
+ "type": "success",
+ "name": "noRunningConfig",
+ "xml": "<outcome value='0'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 850.638916015625,
+ "y": 630.0000076293945,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "35b04eb6.6d2212"
+ ]
+ ]
+ },
+ {
+ "id": "c37b362b.01c868",
+ "type": "failure",
+ "name": "runningConfigExists",
+ "xml": "<outcome value='1'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 854.138916015625,
+ "y": 695.0000076293945,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "ed19ec7d.1ee2b"
+ ]
+ ]
+ },
+ {
+ "id": "4896d6e4.5270f8",
+ "type": "method",
+ "name": "GetRunningConfig",
+ "xml": "<method rpc='GetRunningConfig' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 154.888916015625,
+ "y": 152,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "c183af40.7e96b"
+ ]
+ ]
+ },
+ {
+ "id": "13a41622.3f89ca",
+ "type": "service-logic",
+ "name": "APPC 2.0.0",
+ "module": "APPC",
+ "version": "2.0.0",
+ "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.0'>",
+ "outputs": 1,
+ "x": 291.88890838623047,
+ "y": 67.25000190734863,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "4896d6e4.5270f8"
+ ]
+ ]
+ },
+ {
+ "id": "b696a7db.8ca138",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n",
+ "comments": "",
+ "x": 144.88894653320312,
+ "y": 441.5,
+ "z": "276d1f6b.9bb71",
+ "wires": []
+ },
+ {
+ "id": "251494ff.29474c",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 124.3889045715332,
+ "y": 68,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "13a41622.3f89ca"
+ ]
+ ]
+ },
+ {
+ "id": "dbafdb1b.934f58",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 839.888916015625,
+ "y": 59.750003814697266,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "c5226259.21e3e",
+ "2490a85b.6f7c38",
+ "253f5533.50173a"
+ ]
+ ]
+ },
+ {
+ "id": "c5226259.21e3e",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='node-error-message' value='Error while retrieving device credentials' />\n",
+ "comments": "",
+ "x": 1046.388916015625,
+ "y": 46,
+ "z": "276d1f6b.9bb71",
+ "wires": []
+ },
+ {
+ "id": "577dc0de.87c37",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 844.638916015625,
+ "y": 126.25,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "920835f9.5449d8",
+ "2490a85b.6f7c38",
+ "253f5533.50173a"
+ ]
+ ]
+ },
+ {
+ "id": "920835f9.5449d8",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='node-error-message' value=\"`'Device credentials not found for the ' + $vnf-type `\"/>\n",
+ "comments": "",
+ "x": 1048.388916015625,
+ "y": 85.5,
+ "z": "276d1f6b.9bb71",
+ "wires": []
+ },
+ {
+ "id": "48d059a1.2c1378",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 839.388916015625,
+ "y": 196.25000762939453,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "ed173feb.0d45f",
+ "253f5533.50173a",
+ "2490a85b.6f7c38"
+ ]
+ ]
+ },
+ {
+ "id": "2cc0ecf5.2756c4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 843.388916015625,
+ "y": 252.50000762939453,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "e5af31d.d7d11d",
+ "253f5533.50173a",
+ "2490a85b.6f7c38"
+ ]
+ ]
+ },
+ {
+ "id": "ed173feb.0d45f",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='node-error-message' value='Error while getting device interfacing DG details' />\n",
+ "comments": "",
+ "x": 1053.3889045715332,
+ "y": 133.00000762939453,
+ "z": "276d1f6b.9bb71",
+ "wires": []
+ },
+ {
+ "id": "e5af31d.d7d11d",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='node-error-message' value=\"`'Device Interfacing DG mapping not found for the ' + $vnf-type `\" />\n",
+ "comments": "",
+ "x": 1051.138916015625,
+ "y": 176.00000762939453,
+ "z": "276d1f6b.9bb71",
+ "wires": []
+ },
+ {
+ "id": "253f5533.50173a",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='`$node-error-message`' />",
+ "comments": "",
+ "x": 1079.138916015625,
+ "y": 271.25000762939453,
+ "z": "276d1f6b.9bb71",
+ "wires": []
+ },
+ {
+ "id": "b59140c4.f0d26",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 910.638916015625,
+ "y": 325,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "11ce3fcd.175be",
+ "9a30398b.6a1268",
+ "81b0e59d.dd52a8"
+ ]
+ ]
+ },
+ {
+ "id": "eda2123c.64453",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 924.638916015625,
+ "y": 410.25,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "e924feb9.1fc4b",
+ "9a30398b.6a1268",
+ "81b0e59d.dd52a8"
+ ]
+ ]
+ },
+ {
+ "id": "11ce3fcd.175be",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='node-error-message' value=\"`$error-message`\"/>\n",
+ "comments": "",
+ "x": 1178.638916015625,
+ "y": 316.5,
+ "z": "276d1f6b.9bb71",
+ "wires": []
+ },
+ {
+ "id": "e924feb9.1fc4b",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='node-error-message' value='Device Interfacing DG not found' />\n",
+ "comments": "",
+ "x": 1180.638916015625,
+ "y": 359.75,
+ "z": "276d1f6b.9bb71",
+ "wires": []
+ },
+ {
+ "id": "fbb83850.3ab008",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 941.138916015625,
+ "y": 522.75,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "9897d37f.3e86f",
+ "81b0e59d.dd52a8",
+ "9a30398b.6a1268"
+ ]
+ ]
+ },
+ {
+ "id": "cbdc9a91.622178",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 939.888916015625,
+ "y": 468.25,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "1dd1ceae.7c5731",
+ "81b0e59d.dd52a8",
+ "9a30398b.6a1268"
+ ]
+ ]
+ },
+ {
+ "id": "1dd1ceae.7c5731",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='node-error-message' value=\"`'Error while quering the running configuration in the repository for vnf-id:' + $input.action-identifiers.vnf-id + ' and Host-ip-address:' + $host-ip-address `\"/>\n",
+ "comments": "",
+ "x": 1179.388916015625,
+ "y": 404.25,
+ "z": "276d1f6b.9bb71",
+ "wires": []
+ },
+ {
+ "id": "9897d37f.3e86f",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='node-error-message' value=\"`'Error while quering the running configuration in the repository for vnf-id:' + $input.action-identifiers.vnf-id + ' and Host-ip-address:' + $host-ip-address `\" />\n",
+ "comments": "",
+ "x": 1179.638916015625,
+ "y": 444.25,
+ "z": "276d1f6b.9bb71",
+ "wires": []
+ },
+ {
+ "id": "81b0e59d.dd52a8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='`$node-error-message`' />",
+ "comments": "",
+ "x": 1187.138916015625,
+ "y": 543.5,
+ "z": "276d1f6b.9bb71",
+ "wires": []
+ },
+ {
+ "id": "64a22d10.d8c794",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1577.638916015625,
+ "y": 576.7500076293945,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "d55829a0.692118",
+ "53f66547.a56dac",
+ "75356e6f.a67ac"
+ ]
+ ]
+ },
+ {
+ "id": "d55829a0.692118",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='node-error-message' value='More than one running configuration available for a VNFC' />\n",
+ "comments": "",
+ "x": 1803.388916015625,
+ "y": 530.2500610351562,
+ "z": "276d1f6b.9bb71",
+ "wires": []
+ },
+ {
+ "id": "53f66547.a56dac",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='`$node-error-message`' />",
+ "comments": "",
+ "x": 1802.638916015625,
+ "y": 710.0000305175781,
+ "z": "276d1f6b.9bb71",
+ "wires": []
+ },
+ {
+ "id": "8f213625.b48068",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1582.138916015625,
+ "y": 632.75,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "b2368a5.6789578",
+ "53f66547.a56dac",
+ "75356e6f.a67ac"
+ ]
+ ]
+ },
+ {
+ "id": "b2368a5.6789578",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='node-error-message' value=\"`'Error while updating the running configuration in the repository for vnf-id:' + $input.action-identifiers.vnf-id + ' and Host-ip-address:' + $host-ip-address `\" />\n",
+ "comments": "",
+ "x": 1806.638916015625,
+ "y": 575.2500305175781,
+ "z": "276d1f6b.9bb71",
+ "wires": []
+ },
+ {
+ "id": "db7afb3c.2c58c8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1582.638916015625,
+ "y": 693.25,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "cc111001.f32a8",
+ "53f66547.a56dac",
+ "75356e6f.a67ac"
+ ]
+ ]
+ },
+ {
+ "id": "cc111001.f32a8",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='node-error-message' value=\"`'Error while updating the running configuration in the repository for vnf-id:' + $input.action-identifiers.vnf-id + ' and Host-ip-address:' + $host-ip-address `\" />\n",
+ "comments": "",
+ "x": 1807.388916015625,
+ "y": 621.2500305175781,
+ "z": "276d1f6b.9bb71",
+ "wires": []
+ },
+ {
+ "id": "2490a85b.6f7c38",
+ "type": "record",
+ "name": "Log error",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$node-error-message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1070.888916015625,
+ "y": 227.25000762939453,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9a30398b.6a1268",
+ "type": "record",
+ "name": "Log error",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$node-error-message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1186.888916015625,
+ "y": 499.25,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "75356e6f.a67ac",
+ "type": "record",
+ "name": "Log error",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$node-error-message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1800.888916015625,
+ "y": 663.2500305175781,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "21660aea.e01ea6",
+ "type": "set",
+ "name": "set DG parameters",
+ "xml": "<set>\n<parameter name='config.vnf-type' value=\"`$vnf-type`\" />\n<parameter name='config.vnf-name' value=\"`$vnf-name`\" />\n<parameter name='config.protocol' value=\"`$protocol`\" />\n<parameter name='config.host-ip-address' value=\"`$host-ip-address`\" />\n<parameter name='config.user-name' value=\"`$USER-NAME`\" />\n<parameter name='config.password' value=\"`$PASSWORD`\" />\n<parameter name='config.port-number' value=\"`$PORT-NUMBER`\" />",
+ "comments": "",
+ "x": 585.888916015625,
+ "y": 330,
+ "z": "276d1f6b.9bb71",
+ "wires": []
+ },
+ {
+ "id": "29603b9a.2c5b84",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 395.888916015625,
+ "y": 353,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "21660aea.e01ea6",
+ "b39573b0.7834d"
+ ]
+ ]
+ },
+ {
+ "id": "e8b89f13.0bbb4",
+ "type": "get-resource",
+ "name": "Get Running Config Id",
+ "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"select UPLOAD_CONFIG_ID from UPLOAD_CONFIG where VNF_ID = $input.action-identifiers.vnf-id and ( if ( $vnfc-type = '' , VNFC_TYPE is NULL OR VNFC_TYPE = '' , VNFC_TYPE = $vnfc-type ) ) and HOST_IP_ADDRESS = $host-ip-address and CONFIG_INDICATOR = 'Running' AND (pending_delete IS NULL OR pending_delete != 'Y') \" force='true' pfx='runningConfig'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1648.888916015625,
+ "y": 779.3333435058594,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "ab251259.3d74",
+ "d14179e1.547d98",
+ "aec5de94.0b1ee"
+ ]
+ ]
+ },
+ {
+ "id": "ab251259.3d74",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2001.388916015625,
+ "y": 733.5833740234375,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "bf29ea96.6ffa68"
+ ]
+ ]
+ },
+ {
+ "id": "d14179e1.547d98",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1993.888916015625,
+ "y": 793.5833740234375,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "e27c0f02.9b77"
+ ]
+ ]
+ },
+ {
+ "id": "bf29ea96.6ffa68",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2158.8885498046875,
+ "y": 732.0833740234375,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "5b24ae34.dd7d9",
+ "dfd2268c.d462e8",
+ "babb2c3a.ce283"
+ ]
+ ]
+ },
+ {
+ "id": "5b24ae34.dd7d9",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='node-error-message' value=\"`'Error while quering the running configuration in the repository for vnf-id:' + $input.action-identifiers.vnf-id + ' and Host-ip-address:' + $host-ip-address `\"/>\n",
+ "comments": "",
+ "x": 2393.3887939453125,
+ "y": 673.0833740234375,
+ "z": "276d1f6b.9bb71",
+ "wires": []
+ },
+ {
+ "id": "babb2c3a.ce283",
+ "type": "record",
+ "name": "Log error",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$node-error-message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2384.8885498046875,
+ "y": 772.0833740234375,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e27c0f02.9b77",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2159.1387939453125,
+ "y": 794.5833740234375,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ [
+ "cf88cbf8.678fd8",
+ "dfd2268c.d462e8",
+ "babb2c3a.ce283"
+ ]
+ ]
+ },
+ {
+ "id": "dfd2268c.d462e8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='`$node-error-message`' />",
+ "comments": "",
+ "x": 2400.1385498046875,
+ "y": 827.3333740234375,
+ "z": "276d1f6b.9bb71",
+ "wires": []
+ },
+ {
+ "id": "aec5de94.0b1ee",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1985.388671875,
+ "y": 861.5833740234375,
+ "z": "276d1f6b.9bb71",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cf88cbf8.678fd8",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='node-error-message' value=\"`'Error while quering the running configuration in the repository for vnf-id:' + $input.action-identifiers.vnf-id + ' and Host-ip-address:' + $host-ip-address `\" />\n",
+ "comments": "",
+ "x": 2400.6387939453125,
+ "y": 723.0833740234375,
+ "z": "276d1f6b.9bb71",
+ "wires": []
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_SWITCH_Restart_2.0.0.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_SWITCH_Restart_2.0.0.json
index 4ad2d6b8b..a65258efd 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_SWITCH_Restart_2.0.0.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_SWITCH_Restart_2.0.0.json
@@ -1 +1,127 @@
-[{"id":"1a937537.26e25b","type":"dgstart","name":"DGSTART","outputs":1,"x":128,"y":84,"z":"766912fd.5b210c","wires":[["cb060236.e98d1"]]},{"id":"cb060236.e98d1","type":"service-logic","name":"APPC 2.0.0","module":"APPC","version":"2.0.0","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.0'>","outputs":1,"x":132,"y":174,"z":"766912fd.5b210c","wires":[["40de1ddd.58f674"]]},{"id":"40de1ddd.58f674","type":"method","name":"SWITCH_Restart","xml":"<method rpc='SWITCH_Restart' mode='sync'>\n","comments":"","outputs":1,"x":153,"y":260,"z":"766912fd.5b210c","wires":[["5b95ace9.c583d4"]]},{"id":"ec6eb90f.cac088","type":"execute","name":"execute","xml":"<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='waitMethod' >\n<parameter name=\"waitTime\" value=\"60000\" />\n","comments":"","outputs":1,"x":549,"y":260,"z":"766912fd.5b210c","wires":[["db7e112d.9bbe4","6aa99cde.cd13f4"]]},{"id":"5b95ace9.c583d4","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":364,"y":260,"z":"766912fd.5b210c","wires":[["ec6eb90f.cac088"]]},{"id":"db7e112d.9bbe4","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":725,"y":218,"z":"766912fd.5b210c","wires":[["d79b02d0.df76d"]]},{"id":"d79b02d0.df76d","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n\n","comments":"","x":910,"y":252,"z":"766912fd.5b210c","wires":[]},{"id":"6aa99cde.cd13f4","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":726,"y":283,"z":"766912fd.5b210c","wires":[["d79b02d0.df76d"]]}]
+[
+ {
+ "id": "1a937537.26e25b",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 128,
+ "y": 84,
+ "z": "766912fd.5b210c",
+ "wires": [
+ [
+ "cb060236.e98d1"
+ ]
+ ]
+ },
+ {
+ "id": "cb060236.e98d1",
+ "type": "service-logic",
+ "name": "APPC 2.0.0",
+ "module": "APPC",
+ "version": "2.0.0",
+ "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.0'>",
+ "outputs": 1,
+ "x": 132,
+ "y": 174,
+ "z": "766912fd.5b210c",
+ "wires": [
+ [
+ "40de1ddd.58f674"
+ ]
+ ]
+ },
+ {
+ "id": "40de1ddd.58f674",
+ "type": "method",
+ "name": "SWITCH_Restart",
+ "xml": "<method rpc='SWITCH_Restart' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 153,
+ "y": 260,
+ "z": "766912fd.5b210c",
+ "wires": [
+ [
+ "5b95ace9.c583d4"
+ ]
+ ]
+ },
+ {
+ "id": "ec6eb90f.cac088",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='waitMethod' >\n<parameter name=\"waitTime\" value=\"60000\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 549,
+ "y": 260,
+ "z": "766912fd.5b210c",
+ "wires": [
+ [
+ "db7e112d.9bbe4",
+ "6aa99cde.cd13f4"
+ ]
+ ]
+ },
+ {
+ "id": "5b95ace9.c583d4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 364,
+ "y": 260,
+ "z": "766912fd.5b210c",
+ "wires": [
+ [
+ "ec6eb90f.cac088"
+ ]
+ ]
+ },
+ {
+ "id": "db7e112d.9bbe4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 725,
+ "y": 218,
+ "z": "766912fd.5b210c",
+ "wires": [
+ [
+ "d79b02d0.df76d"
+ ]
+ ]
+ },
+ {
+ "id": "d79b02d0.df76d",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n\n",
+ "comments": "",
+ "x": 910,
+ "y": 252,
+ "z": "766912fd.5b210c",
+ "wires": []
+ },
+ {
+ "id": "6aa99cde.cd13f4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 726,
+ "y": 283,
+ "z": "766912fd.5b210c",
+ "wires": [
+ [
+ "d79b02d0.df76d"
+ ]
+ ]
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_VSBG_Test_2.0.0.0.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_VSBG_Test_2.0.0.0.json
index 9e3520049..a6ca54136 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_VSBG_Test_2.0.0.0.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_VSBG_Test_2.0.0.0.json
@@ -1 +1,275 @@
-[{"id":"f0a14063.49fef","type":"dgstart","name":"DGSTART","outputs":1,"x":144.66665649414062,"y":113,"z":"a4e67f56.cb2c9","wires":[["71609fd4.fe5e7"]]},{"id":"71609fd4.fe5e7","type":"service-logic","name":"APPC 2.0.0.0","module":"APPC","version":"2.0.0.0","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.0.0'>","outputs":1,"x":187.66665649414062,"y":161,"z":"a4e67f56.cb2c9","wires":[["7a306dce.e01f54"]]},{"id":"7a306dce.e01f54","type":"method","name":"VSBG_Test","xml":"<method rpc='VSBG_Test' mode='sync'>\n","comments":"","outputs":1,"x":233.66665649414062,"y":213,"z":"a4e67f56.cb2c9","wires":[["33d1bd3b.3839b2"]]},{"id":"f8461bde.e321d8","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n","comments":"","x":1050.3810119628906,"y":819.5714111328125,"z":"a4e67f56.cb2c9","wires":[]},{"id":"dcf02cbe.eaddb","type":"execute","name":"execute: operationStateValidation","xml":"<execute plugin='org.onap.appc.dg.netconf.NetconfClientPlugin' method='operationStateValidation' >\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n<parameter name=\"org.onap.appc.vftype\" value=\"`$vnf-type`\" />\n","comments":"","outputs":1,"x":642.6666564941406,"y":522,"z":"a4e67f56.cb2c9","wires":[["f5fa430a.9e4f7","1de49110.b5b6cf"]]},{"id":"1de49110.b5b6cf","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":948.4444274902344,"y":475.77777099609375,"z":"a4e67f56.cb2c9","wires":[["460816d8.46ee68"]]},{"id":"f5fa430a.9e4f7","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":956.3334045410156,"y":702.22216796875,"z":"a4e67f56.cb2c9","wires":[["f8461bde.e321d8"]]},{"id":"460816d8.46ee68","type":"execute","name":"execute: handleErrorToDCAE","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n<parameter name='output.status.message' value=\"`$org.onap.appc.dg.error`\" />\n","comments":"","outputs":1,"x":1058.4604187011719,"y":545.7619018554688,"z":"a4e67f56.cb2c9","wires":[["4160821.27be47c"]]},{"id":"39bde04b.627fc","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"`$org.onap.appc.dg.error`\" />\n<parameter name='output.status.code' value='401'/>","comments":"","x":1192.6665344238281,"y":702.857177734375,"z":"a4e67f56.cb2c9","wires":[]},{"id":"4160821.27be47c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1128.2380676269531,"y":645.4285888671875,"z":"a4e67f56.cb2c9","wires":[["39bde04b.627fc"]]},{"id":"33d1bd3b.3839b2","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":285.6666564941406,"y":264.0000305175781,"z":"a4e67f56.cb2c9","wires":[["23f9f2ae.ed9cde","ea3be85c.c64088"]]},{"id":"ea3be85c.c64088","type":"execute","name":"execute: getVNFData","xml":"<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getGenericVnfData' >","comments":"","outputs":1,"x":440.6665344238281,"y":312.00006103515625,"z":"a4e67f56.cb2c9","wires":[["d5e1f466.c9bfe8","cd5322eb.78cc6"]]},{"id":"23f9f2ae.ed9cde","type":"set","name":"set","xml":"<set>\n\t<parameter name='aai.vnfID' value='`$org.onap.appc.vfid`' />\n\t<parameter name='aai.prefix' value='aai.input.data' />\t","comments":"","x":455.6666564941406,"y":259.0000305175781,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"cd5322eb.78cc6","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":707.6666564941406,"y":260.3332824707031,"z":"a4e67f56.cb2c9","wires":[["a7848345.ee52c"]]},{"id":"d5e1f466.c9bfe8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":459.6666564941406,"y":379.9999694824219,"z":"a4e67f56.cb2c9","wires":[["82d20977.7a5348"]]},{"id":"a7848345.ee52c","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\n","comments":"","x":874.6666564941406,"y":259.3332824707031,"z":"a4e67f56.cb2c9","wires":[]},{"id":"ed1b86af.b4bf98","type":"set","name":"set","xml":"<set>\n\t<parameter name='org.onap.appc.vftype' value='`$aai.input.data.vnf-type`' />\t\n\t<parameter name='vnf-type' value='`$aai.input.data.vnf-type`' />","comments":"","x":716.6666564941406,"y":445,"z":"a4e67f56.cb2c9","wires":[[]]},{"id":"82d20977.7a5348","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":512.6666564941406,"y":445,"z":"a4e67f56.cb2c9","wires":[["ed1b86af.b4bf98","dcf02cbe.eaddb"]]}]
+[
+ {
+ "id": "f0a14063.49fef",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 144.66665649414062,
+ "y": 113,
+ "z": "a4e67f56.cb2c9",
+ "wires": [
+ [
+ "71609fd4.fe5e7"
+ ]
+ ]
+ },
+ {
+ "id": "71609fd4.fe5e7",
+ "type": "service-logic",
+ "name": "APPC 2.0.0.0",
+ "module": "APPC",
+ "version": "2.0.0.0",
+ "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.0.0'>",
+ "outputs": 1,
+ "x": 187.66665649414062,
+ "y": 161,
+ "z": "a4e67f56.cb2c9",
+ "wires": [
+ [
+ "7a306dce.e01f54"
+ ]
+ ]
+ },
+ {
+ "id": "7a306dce.e01f54",
+ "type": "method",
+ "name": "VSBG_Test",
+ "xml": "<method rpc='VSBG_Test' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 233.66665649414062,
+ "y": 213,
+ "z": "a4e67f56.cb2c9",
+ "wires": [
+ [
+ "33d1bd3b.3839b2"
+ ]
+ ]
+ },
+ {
+ "id": "f8461bde.e321d8",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n",
+ "comments": "",
+ "x": 1050.3810119628906,
+ "y": 819.5714111328125,
+ "z": "a4e67f56.cb2c9",
+ "wires": []
+ },
+ {
+ "id": "dcf02cbe.eaddb",
+ "type": "execute",
+ "name": "execute: operationStateValidation",
+ "xml": "<execute plugin='org.onap.appc.dg.netconf.NetconfClientPlugin' method='operationStateValidation' >\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n<parameter name=\"org.onap.appc.vftype\" value=\"`$vnf-type`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 642.6666564941406,
+ "y": 522,
+ "z": "a4e67f56.cb2c9",
+ "wires": [
+ [
+ "f5fa430a.9e4f7",
+ "1de49110.b5b6cf"
+ ]
+ ]
+ },
+ {
+ "id": "1de49110.b5b6cf",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 948.4444274902344,
+ "y": 475.77777099609375,
+ "z": "a4e67f56.cb2c9",
+ "wires": [
+ [
+ "460816d8.46ee68"
+ ]
+ ]
+ },
+ {
+ "id": "f5fa430a.9e4f7",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 956.3334045410156,
+ "y": 702.22216796875,
+ "z": "a4e67f56.cb2c9",
+ "wires": [
+ [
+ "f8461bde.e321d8"
+ ]
+ ]
+ },
+ {
+ "id": "460816d8.46ee68",
+ "type": "execute",
+ "name": "execute: handleErrorToDCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n<parameter name='output.status.message' value=\"`$org.onap.appc.dg.error`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1058.4604187011719,
+ "y": 545.7619018554688,
+ "z": "a4e67f56.cb2c9",
+ "wires": [
+ [
+ "4160821.27be47c"
+ ]
+ ]
+ },
+ {
+ "id": "39bde04b.627fc",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"`$org.onap.appc.dg.error`\" />\n<parameter name='output.status.code' value='401'/>",
+ "comments": "",
+ "x": 1192.6665344238281,
+ "y": 702.857177734375,
+ "z": "a4e67f56.cb2c9",
+ "wires": []
+ },
+ {
+ "id": "4160821.27be47c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1128.2380676269531,
+ "y": 645.4285888671875,
+ "z": "a4e67f56.cb2c9",
+ "wires": [
+ [
+ "39bde04b.627fc"
+ ]
+ ]
+ },
+ {
+ "id": "33d1bd3b.3839b2",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 285.6666564941406,
+ "y": 264.0000305175781,
+ "z": "a4e67f56.cb2c9",
+ "wires": [
+ [
+ "23f9f2ae.ed9cde",
+ "ea3be85c.c64088"
+ ]
+ ]
+ },
+ {
+ "id": "ea3be85c.c64088",
+ "type": "execute",
+ "name": "execute: getVNFData",
+ "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getGenericVnfData' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 440.6665344238281,
+ "y": 312.00006103515625,
+ "z": "a4e67f56.cb2c9",
+ "wires": [
+ [
+ "d5e1f466.c9bfe8",
+ "cd5322eb.78cc6"
+ ]
+ ]
+ },
+ {
+ "id": "23f9f2ae.ed9cde",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n\t<parameter name='aai.vnfID' value='`$org.onap.appc.vfid`' />\n\t<parameter name='aai.prefix' value='aai.input.data' />\t",
+ "comments": "",
+ "x": 455.6666564941406,
+ "y": 259.0000305175781,
+ "z": "a4e67f56.cb2c9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cd5322eb.78cc6",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 707.6666564941406,
+ "y": 260.3332824707031,
+ "z": "a4e67f56.cb2c9",
+ "wires": [
+ [
+ "a7848345.ee52c"
+ ]
+ ]
+ },
+ {
+ "id": "d5e1f466.c9bfe8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 459.6666564941406,
+ "y": 379.9999694824219,
+ "z": "a4e67f56.cb2c9",
+ "wires": [
+ [
+ "82d20977.7a5348"
+ ]
+ ]
+ },
+ {
+ "id": "a7848345.ee52c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\n",
+ "comments": "",
+ "x": 874.6666564941406,
+ "y": 259.3332824707031,
+ "z": "a4e67f56.cb2c9",
+ "wires": []
+ },
+ {
+ "id": "ed1b86af.b4bf98",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n\t<parameter name='org.onap.appc.vftype' value='`$aai.input.data.vnf-type`' />\t\n\t<parameter name='vnf-type' value='`$aai.input.data.vnf-type`' />",
+ "comments": "",
+ "x": 716.6666564941406,
+ "y": 445,
+ "z": "a4e67f56.cb2c9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "82d20977.7a5348",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 512.6666564941406,
+ "y": 445,
+ "z": "a4e67f56.cb2c9",
+ "wires": [
+ [
+ "ed1b86af.b4bf98",
+ "dcf02cbe.eaddb"
+ ]
+ ]
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_VSBG_Test_2.0.0.1.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_VSBG_Test_2.0.0.1.json
index 6b2b64ba3..f8882387c 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_VSBG_Test_2.0.0.1.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_VSBG_Test_2.0.0.1.json
@@ -1 +1,318 @@
-[{"id":"3a3db435.c14d7c","type":"dgstart","name":"DGSTART","outputs":1,"x":2774.666748046875,"y":111.66666412353516,"z":"a8867a54.b68aa8","wires":[["427b0879.a63f58"]]},{"id":"427b0879.a63f58","type":"service-logic","name":"APPC 2.0.0.1","module":"APPC","version":"2.0.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.0.1'>","outputs":1,"x":2817.666748046875,"y":159.66666412353516,"z":"a8867a54.b68aa8","wires":[["3d555498.3ca7bc"]]},{"id":"3d555498.3ca7bc","type":"method","name":"VSBG_Test","xml":"<method rpc='VSBG_Test' mode='sync'>\n","comments":"","outputs":1,"x":2863.666748046875,"y":211.66666412353516,"z":"a8867a54.b68aa8","wires":[["231dec0e.0771c4"]]},{"id":"d736d249.7d49d","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n","comments":"","x":3697.381103515625,"y":960.2380599975586,"z":"a8867a54.b68aa8","wires":[]},{"id":"b8218641.e8a788","type":"execute","name":"execute: operationStateValidation","xml":"<execute plugin='org.onap.appc.dg.netconf.NetconfClientPlugin' method='operationStateValidation' >\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n<parameter name=\"org.onap.appc.vftype\" value=\"`$vnf-type`\" />\n","comments":"","outputs":1,"x":3289.666748046875,"y":662.6666488647461,"z":"a8867a54.b68aa8","wires":[["b0b4fe67.6a463","9e903785.2aab28"]]},{"id":"9e903785.2aab28","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":3595.4445190429688,"y":616.4444198608398,"z":"a8867a54.b68aa8","wires":[["834e02e0.1b95d"]]},{"id":"b0b4fe67.6a463","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":3603.33349609375,"y":842.8888168334961,"z":"a8867a54.b68aa8","wires":[["d736d249.7d49d"]]},{"id":"834e02e0.1b95d","type":"execute","name":"execute: handleErrorToDCAE","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$org.onap.appc.dg.error`\" />\n","comments":"","outputs":1,"x":3705.4605102539062,"y":686.4285507202148,"z":"a8867a54.b68aa8","wires":[["dbbfce3e.4a9d7"]]},{"id":"7ef22aa1.c2f8f4","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"`$org.onap.appc.dg.error`\" />\n<parameter name='output.status.code' value='401'/>","comments":"","x":3839.6666259765625,"y":843.5238265991211,"z":"a8867a54.b68aa8","wires":[]},{"id":"dbbfce3e.4a9d7","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":3775.2381591796875,"y":786.0952377319336,"z":"a8867a54.b68aa8","wires":[["7ef22aa1.c2f8f4"]]},{"id":"19fa898d.6ab716","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2932.666748046875,"y":404.6666793823242,"z":"a8867a54.b68aa8","wires":[["bae44e29.4cfa5","ff4aa6b.9a66558"]]},{"id":"ff4aa6b.9a66558","type":"execute","name":"execute: getVNFData","xml":"<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getGenericVnfData' >","comments":"","outputs":1,"x":3087.6666259765625,"y":452.66670989990234,"z":"a8867a54.b68aa8","wires":[["4284b163.4ffc1","4c1b9cb6.5050f4"]]},{"id":"bae44e29.4cfa5","type":"set","name":"set","xml":"<set>\n\t<parameter name='aai.vnfID' value=\"`$input.action-identifiers.vnf-id`\" />\n\t<parameter name='aai.prefix' value='aai.input.data' />\t","comments":"","x":3102.666748046875,"y":399.6666793823242,"z":"a8867a54.b68aa8","wires":[]},{"id":"4c1b9cb6.5050f4","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":3354.666748046875,"y":400.9999313354492,"z":"a8867a54.b68aa8","wires":[["a29a3ba4.2bd308"]]},{"id":"4284b163.4ffc1","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":3106.666748046875,"y":520.666618347168,"z":"a8867a54.b68aa8","wires":[["94c7df7b.7fbd"]]},{"id":"a29a3ba4.2bd308","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\n","comments":"","x":3521.666748046875,"y":399.9999313354492,"z":"a8867a54.b68aa8","wires":[]},{"id":"f5661947.16b088","type":"set","name":"set","xml":"<set>\n\t<parameter name='org.onap.appc.vftype' value='`$aai.input.data.vnf-type`' />\t\n\t<parameter name='vnf-type' value='`$aai.input.data.vnf-type`' />","comments":"","x":3363.666748046875,"y":585.6666488647461,"z":"a8867a54.b68aa8","wires":[]},{"id":"94c7df7b.7fbd","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":3159.666748046875,"y":585.6666488647461,"z":"a8867a54.b68aa8","wires":[["f5661947.16b088","b8218641.e8a788"]]},{"id":"231dec0e.0771c4","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":2929.666748046875,"y":266.6666488647461,"z":"a8867a54.b68aa8","wires":[["c986922d.bf1bc","8a7c3f37.20d9"]]},{"id":"c986922d.bf1bc","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2996.6666564941406,"y":338.66666412353516,"z":"a8867a54.b68aa8","wires":[["19fa898d.6ab716"]]},{"id":"8a7c3f37.20d9","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":3246.6666564941406,"y":286.66666412353516,"z":"a8867a54.b68aa8","wires":[[]]}]
+[
+ {
+ "id": "3a3db435.c14d7c",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 2774.666748046875,
+ "y": 111.66666412353516,
+ "z": "a8867a54.b68aa8",
+ "wires": [
+ [
+ "427b0879.a63f58"
+ ]
+ ]
+ },
+ {
+ "id": "427b0879.a63f58",
+ "type": "service-logic",
+ "name": "APPC 2.0.0.1",
+ "module": "APPC",
+ "version": "2.0.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.0.1'>",
+ "outputs": 1,
+ "x": 2817.666748046875,
+ "y": 159.66666412353516,
+ "z": "a8867a54.b68aa8",
+ "wires": [
+ [
+ "3d555498.3ca7bc"
+ ]
+ ]
+ },
+ {
+ "id": "3d555498.3ca7bc",
+ "type": "method",
+ "name": "VSBG_Test",
+ "xml": "<method rpc='VSBG_Test' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2863.666748046875,
+ "y": 211.66666412353516,
+ "z": "a8867a54.b68aa8",
+ "wires": [
+ [
+ "231dec0e.0771c4"
+ ]
+ ]
+ },
+ {
+ "id": "d736d249.7d49d",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n",
+ "comments": "",
+ "x": 3697.381103515625,
+ "y": 960.2380599975586,
+ "z": "a8867a54.b68aa8",
+ "wires": []
+ },
+ {
+ "id": "b8218641.e8a788",
+ "type": "execute",
+ "name": "execute: operationStateValidation",
+ "xml": "<execute plugin='org.onap.appc.dg.netconf.NetconfClientPlugin' method='operationStateValidation' >\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n<parameter name=\"org.onap.appc.vftype\" value=\"`$vnf-type`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3289.666748046875,
+ "y": 662.6666488647461,
+ "z": "a8867a54.b68aa8",
+ "wires": [
+ [
+ "b0b4fe67.6a463",
+ "9e903785.2aab28"
+ ]
+ ]
+ },
+ {
+ "id": "9e903785.2aab28",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3595.4445190429688,
+ "y": 616.4444198608398,
+ "z": "a8867a54.b68aa8",
+ "wires": [
+ [
+ "834e02e0.1b95d"
+ ]
+ ]
+ },
+ {
+ "id": "b0b4fe67.6a463",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3603.33349609375,
+ "y": 842.8888168334961,
+ "z": "a8867a54.b68aa8",
+ "wires": [
+ [
+ "d736d249.7d49d"
+ ]
+ ]
+ },
+ {
+ "id": "834e02e0.1b95d",
+ "type": "execute",
+ "name": "execute: handleErrorToDCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$org.onap.appc.dg.error`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3705.4605102539062,
+ "y": 686.4285507202148,
+ "z": "a8867a54.b68aa8",
+ "wires": [
+ [
+ "dbbfce3e.4a9d7"
+ ]
+ ]
+ },
+ {
+ "id": "7ef22aa1.c2f8f4",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"`$org.onap.appc.dg.error`\" />\n<parameter name='output.status.code' value='401'/>",
+ "comments": "",
+ "x": 3839.6666259765625,
+ "y": 843.5238265991211,
+ "z": "a8867a54.b68aa8",
+ "wires": []
+ },
+ {
+ "id": "dbbfce3e.4a9d7",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3775.2381591796875,
+ "y": 786.0952377319336,
+ "z": "a8867a54.b68aa8",
+ "wires": [
+ [
+ "7ef22aa1.c2f8f4"
+ ]
+ ]
+ },
+ {
+ "id": "19fa898d.6ab716",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2932.666748046875,
+ "y": 404.6666793823242,
+ "z": "a8867a54.b68aa8",
+ "wires": [
+ [
+ "bae44e29.4cfa5",
+ "ff4aa6b.9a66558"
+ ]
+ ]
+ },
+ {
+ "id": "ff4aa6b.9a66558",
+ "type": "execute",
+ "name": "execute: getVNFData",
+ "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getGenericVnfData' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 3087.6666259765625,
+ "y": 452.66670989990234,
+ "z": "a8867a54.b68aa8",
+ "wires": [
+ [
+ "4284b163.4ffc1",
+ "4c1b9cb6.5050f4"
+ ]
+ ]
+ },
+ {
+ "id": "bae44e29.4cfa5",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n\t<parameter name='aai.vnfID' value=\"`$input.action-identifiers.vnf-id`\" />\n\t<parameter name='aai.prefix' value='aai.input.data' />\t",
+ "comments": "",
+ "x": 3102.666748046875,
+ "y": 399.6666793823242,
+ "z": "a8867a54.b68aa8",
+ "wires": []
+ },
+ {
+ "id": "4c1b9cb6.5050f4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3354.666748046875,
+ "y": 400.9999313354492,
+ "z": "a8867a54.b68aa8",
+ "wires": [
+ [
+ "a29a3ba4.2bd308"
+ ]
+ ]
+ },
+ {
+ "id": "4284b163.4ffc1",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3106.666748046875,
+ "y": 520.666618347168,
+ "z": "a8867a54.b68aa8",
+ "wires": [
+ [
+ "94c7df7b.7fbd"
+ ]
+ ]
+ },
+ {
+ "id": "a29a3ba4.2bd308",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\n",
+ "comments": "",
+ "x": 3521.666748046875,
+ "y": 399.9999313354492,
+ "z": "a8867a54.b68aa8",
+ "wires": []
+ },
+ {
+ "id": "f5661947.16b088",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n\t<parameter name='org.onap.appc.vftype' value='`$aai.input.data.vnf-type`' />\t\n\t<parameter name='vnf-type' value='`$aai.input.data.vnf-type`' />",
+ "comments": "",
+ "x": 3363.666748046875,
+ "y": 585.6666488647461,
+ "z": "a8867a54.b68aa8",
+ "wires": []
+ },
+ {
+ "id": "94c7df7b.7fbd",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3159.666748046875,
+ "y": 585.6666488647461,
+ "z": "a8867a54.b68aa8",
+ "wires": [
+ [
+ "f5661947.16b088",
+ "b8218641.e8a788"
+ ]
+ ]
+ },
+ {
+ "id": "231dec0e.0771c4",
+ "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": 2929.666748046875,
+ "y": 266.6666488647461,
+ "z": "a8867a54.b68aa8",
+ "wires": [
+ [
+ "c986922d.bf1bc",
+ "8a7c3f37.20d9"
+ ]
+ ]
+ },
+ {
+ "id": "c986922d.bf1bc",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2996.6666564941406,
+ "y": 338.66666412353516,
+ "z": "a8867a54.b68aa8",
+ "wires": [
+ [
+ "19fa898d.6ab716"
+ ]
+ ]
+ },
+ {
+ "id": "8a7c3f37.20d9",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3246.6666564941406,
+ "y": 286.66666412353516,
+ "z": "a8867a54.b68aa8",
+ "wires": [
+ []
+ ]
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_VSRX_ConfigModify_2.0.0.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_VSRX_ConfigModify_2.0.0.json
index d7cae8c3f..1a391e523 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_VSRX_ConfigModify_2.0.0.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_VSRX_ConfigModify_2.0.0.json
@@ -1 +1,723 @@
-[{"id":"7f8764e7.1c542c","type":"dgstart","name":"DGSTART","outputs":1,"x":140.88888549804688,"y":58,"z":"e3f97b79.d3ae78","wires":[["b994e559.02dd38"]]},{"id":"b994e559.02dd38","type":"service-logic","name":"APPC 2.0.0","module":"APPC","version":"2.0.0","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.0'>","outputs":1,"x":133.88888549804688,"y":112,"z":"e3f97b79.d3ae78","wires":[["e64a43a7.d28a6"]]},{"id":"e64a43a7.d28a6","type":"method","name":"VSRX_ConfigModify","xml":"<method rpc='VSRX_ConfigModify' mode='sync'>\n","comments":"","outputs":1,"x":159.88888549804688,"y":176,"z":"e3f97b79.d3ae78","wires":[["755b14f2.231e2c"]]},{"id":"8755712f.5d5e2","type":"execute","name":"execute_getVnfHierarchy","xml":"<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='getVnfHierarchy' >\n<parameter name=\"resourceKey\" value=\"`$org.onap.appc.vfid`\" />\n<parameter name=\"nodeName\" value=\"execute_getVnfHierarchy\" />\n","comments":"","outputs":1,"x":340.4343566894531,"y":217.27272033691406,"z":"e3f97b79.d3ae78","wires":[["744bf594.91468c","9a95025e.3abb7"]]},{"id":"744bf594.91468c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1121.2524108886719,"y":86,"z":"e3f97b79.d3ae78","wires":[["4c4b034a.d05dbc"]]},{"id":"9a95025e.3abb7","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":354.7978820800781,"y":319.3636474609375,"z":"e3f97b79.d3ae78","wires":[["ddc0dcdd.0c53c"]]},{"id":"4c4b034a.d05dbc","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1657.8888854980469,"y":531,"z":"e3f97b79.d3ae78","wires":[["dde156a3.5b7258","9bd7e953.2d6638"]]},{"id":"9bd7e953.2d6638","type":"execute","name":"execute_DCAEReporterPlugin","xml":"<execute plugin='org.onap.appc.dg.util.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$org.onap.appc.apiversion`\"/>\n<parameter name=\"eventId\" value=\"`$org.onap.appc.vfid`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />","comments":"","outputs":1,"x":1872.8888854980469,"y":444,"z":"e3f97b79.d3ae78","wires":[["954a79a7.253398"]]},{"id":"dde156a3.5b7258","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\n","comments":"","x":1837.8888854980469,"y":620,"z":"e3f97b79.d3ae78","wires":[]},{"id":"ddc0dcdd.0c53c","type":"switchNode","name":"switch","xml":"<switch test='`$VNF.VMCount`'>\n","comments":"","outputs":1,"x":339.6161804199219,"y":393.5454406738281,"z":"e3f97b79.d3ae78","wires":[["d4d84951.bf4a78","ea6e2bf0.9bfc18"]]},{"id":"d4d84951.bf4a78","type":"outcome","name":"outcome_0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":1115.6163024902344,"y":147.5454864501953,"z":"e3f97b79.d3ae78","wires":[["4c4b034a.d05dbc"]]},{"id":"ea6e2bf0.9bfc18","type":"outcome","name":"outcome_other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":321.9798278808594,"y":498.9999694824219,"z":"e3f97b79.d3ae78","wires":[["e37888a7.55e2e8"]]},{"id":"e37888a7.55e2e8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":406.25250244140625,"y":588.2727661132812,"z":"e3f97b79.d3ae78","wires":[["222d615a.833e5e","b3c1f8d8.d04008"]]},{"id":"222d615a.833e5e","type":"for","name":"foreach_vnfc","xml":"<for index=\"i\" start=\"0\" end=\"`$VNF.VMCount`\" >\n","comments":"","outputs":1,"x":527.5252990722656,"y":454.36358642578125,"z":"e3f97b79.d3ae78","wires":[["c8281303.b9663"]]},{"id":"c8281303.b9663","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":561.8889465332031,"y":389.181884765625,"z":"e3f97b79.d3ae78","wires":[["1cae10ed.8218ff"]]},{"id":"1cae10ed.8218ff","type":"execute","name":"execute_retrieveVMConfiguration","xml":"<execute plugin='org.onap.appc.dg.util.NetconfDBPlugin' method='retrieveVMDSConfiguration' >\n<parameter name=\"configuration-file-name\" value=\"`$configuration-file-name`\" />\n<parameter name=\"vnf-type\" value=\"`$vnf-type`\" />\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n<parameter name=\"resourceKey\" value=\"`$VNF.VM[$i].vserver.vserver-name`\" />\n<parameter name=\"nodeName\" value=\"execute_retrieveVMConfiguration\" />\n","comments":"","outputs":1,"x":863.8890075683594,"y":303.36370849609375,"z":"e3f97b79.d3ae78","wires":[["42069768.bd0c68","a68e4eae.2af27"]]},{"id":"a68e4eae.2af27","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":853.7980041503906,"y":354.6363525390625,"z":"e3f97b79.d3ae78","wires":[["54fcb6c2.027148"]]},{"id":"42069768.bd0c68","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1201.3433532714844,"y":366.45458984375,"z":"e3f97b79.d3ae78","wires":[["4c4b034a.d05dbc"]]},{"id":"6592a286.b317ec","type":"execute","name":"execute_modifyConfiguration","xml":"<execute plugin='org.onap.appc.dg.util.NetconfClientPlugin' method='modifyConfiguration' >\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"file-content\" value=\"`$file-content`\" />\n<parameter name=\"nodeName\" value=\"execute_modifyConfiguration\" />\n","comments":"","outputs":1,"x":857.5253601074219,"y":566.3637084960938,"z":"e3f97b79.d3ae78","wires":[["fc1e7228.fbd9d","de949f48.36d61"]]},{"id":"fc1e7228.fbd9d","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":877.0707702636719,"y":629.0908813476562,"z":"e3f97b79.d3ae78","wires":[["c3d5b7e7.9a2a58"]]},{"id":"de949f48.36d61","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1203.3435974121094,"y":500.27276611328125,"z":"e3f97b79.d3ae78","wires":[["4c4b034a.d05dbc"]]},{"id":"b3c1f8d8.d04008","type":"execute","name":"execute_saveConfig","xml":"<execute plugin='org.onap.appc.dg.util.ConfigurationManagerPlugin' method='saveConfiguration' >\n<parameter name=\"fullConfig\" value=\"`$fullConfig`\" />\n<parameter name=\"nodeName\" value=\"execute_saveConfig\" />\n","comments":"","outputs":1,"x":468.7979431152344,"y":882.4546203613281,"z":"e3f97b79.d3ae78","wires":[["86fd9c6b.47858","a6e93d4e.a3791"]]},{"id":"a6e93d4e.a3791","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1171.5252685546875,"y":877.3636779785156,"z":"e3f97b79.d3ae78","wires":[["4c4b034a.d05dbc"]]},{"id":"98ac5c02.6be86","type":"execute","name":"execute_readConfiguration","xml":"<execute plugin='org.onap.appc.dg.util.NetconfClientPlugin' method='getConfig' >\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"conf-id\" value=\"current\" />\n<parameter name=\"nodeName\" value=\"execute_readConfiguration\" />\n\n","comments":"","outputs":1,"x":734.2525939941406,"y":813.1817321777344,"z":"e3f97b79.d3ae78","wires":[["a985fa15.5d4168","a6e93d4e.a3791"]]},{"id":"54fcb6c2.027148","type":"execute","name":"execute_retrieveConfigFile","xml":"<execute plugin='org.onap.appc.dg.util.NetconfDBPlugin' method='retrieveConfigFile' >\n<parameter name=\"configuration-file-name\" value=\"`$configuration-file-name`\" />\n<parameter name=\"nodeName\" value=\"execute_retrieveConfigFile\" />\n\n","comments":"","outputs":1,"x":847.8888854980469,"y":433,"z":"e3f97b79.d3ae78","wires":[["6ad14a83.ded604","858e63d7.b08b9"]]},{"id":"858e63d7.b08b9","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":853.8888854980469,"y":493,"z":"e3f97b79.d3ae78","wires":[["6592a286.b317ec"]]},{"id":"6ad14a83.ded604","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1206.8888854980469,"y":431,"z":"e3f97b79.d3ae78","wires":[["4c4b034a.d05dbc"]]},{"id":"ded29ca9.c326a","type":"switchNode","name":"switch","xml":"<switch test='`$getConfig_Result`'>\n","comments":"","outputs":1,"x":1055.8889465332031,"y":734.000244140625,"z":"e3f97b79.d3ae78","wires":[["611ee584.7de67c","853375ef.cefa58"]]},{"id":"611ee584.7de67c","type":"outcome","name":"outcome_failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1236.8888854980469,"y":568,"z":"e3f97b79.d3ae78","wires":[["4c4b034a.d05dbc"]]},{"id":"853375ef.cefa58","type":"outcome","name":"outcome_Success","xml":"<outcome value='Success'>\n","comments":"","outputs":1,"x":1258.8889465332031,"y":692.0000305175781,"z":"e3f97b79.d3ae78","wires":[[]]},{"id":"755b14f2.231e2c","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":132.38888549804688,"y":255,"z":"e3f97b79.d3ae78","wires":[["205284fd.d2df5c","8755712f.5d5e2"]]},{"id":"205284fd.d2df5c","type":"execute","name":"ctxCleanup","xml":"<execute plugin='org.onap.appc.dg.util.DGPayloadCleanupPlugin' method='cleanup' >\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"conf-id\" value=\"`$org.onap.appc.confid`\" />\n","comments":"","outputs":1,"x":136.88888549804688,"y":348,"z":"e3f97b79.d3ae78","wires":[["3023e302.ead02c"]]},{"id":"3023e302.ead02c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":132.88888549804688,"y":431,"z":"e3f97b79.d3ae78","wires":[["88bef30b.130ef"]]},{"id":"88bef30b.130ef","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n","comments":"","x":120.38888549804688,"y":564,"z":"e3f97b79.d3ae78","wires":[]},{"id":"827f8b54.a2f738","type":"switchNode","name":"switch","xml":"<switch test='`$saveConfigResult`'>\n","comments":"","outputs":1,"x":752.388916015625,"y":941.0000305175781,"z":"e3f97b79.d3ae78","wires":[["4091b575.ef1d7c","28989f20.c2934"]]},{"id":"4091b575.ef1d7c","type":"outcome","name":"outcome_Success","xml":"<outcome value='Success'>\n","comments":"","outputs":1,"x":857.3888854980469,"y":1008,"z":"e3f97b79.d3ae78","wires":[[]]},{"id":"28989f20.c2934","type":"outcome","name":"outcome_failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1200.3888854980469,"y":946,"z":"e3f97b79.d3ae78","wires":[["4c4b034a.d05dbc"]]},{"id":"954a79a7.253398","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":2100.888885498047,"y":445,"z":"e3f97b79.d3ae78","wires":[["428f2b9f.d074b4"]]},{"id":"428f2b9f.d074b4","type":"execute","name":"ctxCleanup","xml":"<execute plugin='org.onap.appc.dg.util.DGPayloadCleanupPlugin' method='cleanup' >\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"conf-id\" value=\"`$org.onap.appc.confid`\" />\n","comments":"","outputs":1,"x":2264.888885498047,"y":445,"z":"e3f97b79.d3ae78","wires":[["da6af38.2701c1"]]},{"id":"da6af38.2701c1","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2437.888885498047,"y":445,"z":"e3f97b79.d3ae78","wires":[[]]},{"id":"c3d5b7e7.9a2a58","type":"execute","name":"execute_commitConfiguration","xml":"<execute plugin='org.onap.appc.dg.util.NetconfClientPlugin' method='commitConfiguration' >\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"nodeName\" value=\"execute_commitConfiguration\" />\n","comments":"","outputs":1,"x":755.8889465332031,"y":689.0000915527344,"z":"e3f97b79.d3ae78","wires":[["75565b82.5ba9e4","e2ff07e0.f33ec8"]]},{"id":"75565b82.5ba9e4","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1208.8888854980469,"y":640,"z":"e3f97b79.d3ae78","wires":[["4c4b034a.d05dbc"]]},{"id":"e2ff07e0.f33ec8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":735.8889465332031,"y":747.0001525878906,"z":"e3f97b79.d3ae78","wires":[["98ac5c02.6be86"]]},{"id":"86fd9c6b.47858","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":602,"y":949.3333435058594,"z":"e3f97b79.d3ae78","wires":[["827f8b54.a2f738"]]},{"id":"a985fa15.5d4168","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":931.8889465332031,"y":772.3333435058594,"z":"e3f97b79.d3ae78","wires":[["ded29ca9.c326a"]]}]
+[
+ {
+ "id": "7f8764e7.1c542c",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 140.88888549804688,
+ "y": 58,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "b994e559.02dd38"
+ ]
+ ]
+ },
+ {
+ "id": "b994e559.02dd38",
+ "type": "service-logic",
+ "name": "APPC 2.0.0",
+ "module": "APPC",
+ "version": "2.0.0",
+ "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.0'>",
+ "outputs": 1,
+ "x": 133.88888549804688,
+ "y": 112,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "e64a43a7.d28a6"
+ ]
+ ]
+ },
+ {
+ "id": "e64a43a7.d28a6",
+ "type": "method",
+ "name": "VSRX_ConfigModify",
+ "xml": "<method rpc='VSRX_ConfigModify' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 159.88888549804688,
+ "y": 176,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "755b14f2.231e2c"
+ ]
+ ]
+ },
+ {
+ "id": "8755712f.5d5e2",
+ "type": "execute",
+ "name": "execute_getVnfHierarchy",
+ "xml": "<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='getVnfHierarchy' >\n<parameter name=\"resourceKey\" value=\"`$org.onap.appc.vfid`\" />\n<parameter name=\"nodeName\" value=\"execute_getVnfHierarchy\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 340.4343566894531,
+ "y": 217.27272033691406,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "744bf594.91468c",
+ "9a95025e.3abb7"
+ ]
+ ]
+ },
+ {
+ "id": "744bf594.91468c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1121.2524108886719,
+ "y": 86,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "4c4b034a.d05dbc"
+ ]
+ ]
+ },
+ {
+ "id": "9a95025e.3abb7",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 354.7978820800781,
+ "y": 319.3636474609375,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "ddc0dcdd.0c53c"
+ ]
+ ]
+ },
+ {
+ "id": "4c4b034a.d05dbc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1657.8888854980469,
+ "y": 531,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "dde156a3.5b7258",
+ "9bd7e953.2d6638"
+ ]
+ ]
+ },
+ {
+ "id": "9bd7e953.2d6638",
+ "type": "execute",
+ "name": "execute_DCAEReporterPlugin",
+ "xml": "<execute plugin='org.onap.appc.dg.util.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$org.onap.appc.apiversion`\"/>\n<parameter name=\"eventId\" value=\"`$org.onap.appc.vfid`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1872.8888854980469,
+ "y": 444,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "954a79a7.253398"
+ ]
+ ]
+ },
+ {
+ "id": "dde156a3.5b7258",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\n",
+ "comments": "",
+ "x": 1837.8888854980469,
+ "y": 620,
+ "z": "e3f97b79.d3ae78",
+ "wires": []
+ },
+ {
+ "id": "ddc0dcdd.0c53c",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$VNF.VMCount`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 339.6161804199219,
+ "y": 393.5454406738281,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "d4d84951.bf4a78",
+ "ea6e2bf0.9bfc18"
+ ]
+ ]
+ },
+ {
+ "id": "d4d84951.bf4a78",
+ "type": "outcome",
+ "name": "outcome_0",
+ "xml": "<outcome value='0'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1115.6163024902344,
+ "y": 147.5454864501953,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "4c4b034a.d05dbc"
+ ]
+ ]
+ },
+ {
+ "id": "ea6e2bf0.9bfc18",
+ "type": "outcome",
+ "name": "outcome_other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 321.9798278808594,
+ "y": 498.9999694824219,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "e37888a7.55e2e8"
+ ]
+ ]
+ },
+ {
+ "id": "e37888a7.55e2e8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 406.25250244140625,
+ "y": 588.2727661132812,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "222d615a.833e5e",
+ "b3c1f8d8.d04008"
+ ]
+ ]
+ },
+ {
+ "id": "222d615a.833e5e",
+ "type": "for",
+ "name": "foreach_vnfc",
+ "xml": "<for index=\"i\" start=\"0\" end=\"`$VNF.VMCount`\" >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 527.5252990722656,
+ "y": 454.36358642578125,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "c8281303.b9663"
+ ]
+ ]
+ },
+ {
+ "id": "c8281303.b9663",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 561.8889465332031,
+ "y": 389.181884765625,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "1cae10ed.8218ff"
+ ]
+ ]
+ },
+ {
+ "id": "1cae10ed.8218ff",
+ "type": "execute",
+ "name": "execute_retrieveVMConfiguration",
+ "xml": "<execute plugin='org.onap.appc.dg.util.NetconfDBPlugin' method='retrieveVMDSConfiguration' >\n<parameter name=\"configuration-file-name\" value=\"`$configuration-file-name`\" />\n<parameter name=\"vnf-type\" value=\"`$vnf-type`\" />\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n<parameter name=\"resourceKey\" value=\"`$VNF.VM[$i].vserver.vserver-name`\" />\n<parameter name=\"nodeName\" value=\"execute_retrieveVMConfiguration\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 863.8890075683594,
+ "y": 303.36370849609375,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "42069768.bd0c68",
+ "a68e4eae.2af27"
+ ]
+ ]
+ },
+ {
+ "id": "a68e4eae.2af27",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 853.7980041503906,
+ "y": 354.6363525390625,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "54fcb6c2.027148"
+ ]
+ ]
+ },
+ {
+ "id": "42069768.bd0c68",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1201.3433532714844,
+ "y": 366.45458984375,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "4c4b034a.d05dbc"
+ ]
+ ]
+ },
+ {
+ "id": "6592a286.b317ec",
+ "type": "execute",
+ "name": "execute_modifyConfiguration",
+ "xml": "<execute plugin='org.onap.appc.dg.util.NetconfClientPlugin' method='modifyConfiguration' >\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"file-content\" value=\"`$file-content`\" />\n<parameter name=\"nodeName\" value=\"execute_modifyConfiguration\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 857.5253601074219,
+ "y": 566.3637084960938,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "fc1e7228.fbd9d",
+ "de949f48.36d61"
+ ]
+ ]
+ },
+ {
+ "id": "fc1e7228.fbd9d",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 877.0707702636719,
+ "y": 629.0908813476562,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "c3d5b7e7.9a2a58"
+ ]
+ ]
+ },
+ {
+ "id": "de949f48.36d61",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1203.3435974121094,
+ "y": 500.27276611328125,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "4c4b034a.d05dbc"
+ ]
+ ]
+ },
+ {
+ "id": "b3c1f8d8.d04008",
+ "type": "execute",
+ "name": "execute_saveConfig",
+ "xml": "<execute plugin='org.onap.appc.dg.util.ConfigurationManagerPlugin' method='saveConfiguration' >\n<parameter name=\"fullConfig\" value=\"`$fullConfig`\" />\n<parameter name=\"nodeName\" value=\"execute_saveConfig\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 468.7979431152344,
+ "y": 882.4546203613281,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "86fd9c6b.47858",
+ "a6e93d4e.a3791"
+ ]
+ ]
+ },
+ {
+ "id": "a6e93d4e.a3791",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1171.5252685546875,
+ "y": 877.3636779785156,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "4c4b034a.d05dbc"
+ ]
+ ]
+ },
+ {
+ "id": "98ac5c02.6be86",
+ "type": "execute",
+ "name": "execute_readConfiguration",
+ "xml": "<execute plugin='org.onap.appc.dg.util.NetconfClientPlugin' method='getConfig' >\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"conf-id\" value=\"current\" />\n<parameter name=\"nodeName\" value=\"execute_readConfiguration\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 734.2525939941406,
+ "y": 813.1817321777344,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "a985fa15.5d4168",
+ "a6e93d4e.a3791"
+ ]
+ ]
+ },
+ {
+ "id": "54fcb6c2.027148",
+ "type": "execute",
+ "name": "execute_retrieveConfigFile",
+ "xml": "<execute plugin='org.onap.appc.dg.util.NetconfDBPlugin' method='retrieveConfigFile' >\n<parameter name=\"configuration-file-name\" value=\"`$configuration-file-name`\" />\n<parameter name=\"nodeName\" value=\"execute_retrieveConfigFile\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 847.8888854980469,
+ "y": 433,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "6ad14a83.ded604",
+ "858e63d7.b08b9"
+ ]
+ ]
+ },
+ {
+ "id": "858e63d7.b08b9",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 853.8888854980469,
+ "y": 493,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "6592a286.b317ec"
+ ]
+ ]
+ },
+ {
+ "id": "6ad14a83.ded604",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1206.8888854980469,
+ "y": 431,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "4c4b034a.d05dbc"
+ ]
+ ]
+ },
+ {
+ "id": "ded29ca9.c326a",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$getConfig_Result`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1055.8889465332031,
+ "y": 734.000244140625,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "611ee584.7de67c",
+ "853375ef.cefa58"
+ ]
+ ]
+ },
+ {
+ "id": "611ee584.7de67c",
+ "type": "outcome",
+ "name": "outcome_failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1236.8888854980469,
+ "y": 568,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "4c4b034a.d05dbc"
+ ]
+ ]
+ },
+ {
+ "id": "853375ef.cefa58",
+ "type": "outcome",
+ "name": "outcome_Success",
+ "xml": "<outcome value='Success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1258.8889465332031,
+ "y": 692.0000305175781,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "755b14f2.231e2c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 132.38888549804688,
+ "y": 255,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "205284fd.d2df5c",
+ "8755712f.5d5e2"
+ ]
+ ]
+ },
+ {
+ "id": "205284fd.d2df5c",
+ "type": "execute",
+ "name": "ctxCleanup",
+ "xml": "<execute plugin='org.onap.appc.dg.util.DGPayloadCleanupPlugin' method='cleanup' >\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"conf-id\" value=\"`$org.onap.appc.confid`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 136.88888549804688,
+ "y": 348,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "3023e302.ead02c"
+ ]
+ ]
+ },
+ {
+ "id": "3023e302.ead02c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 132.88888549804688,
+ "y": 431,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "88bef30b.130ef"
+ ]
+ ]
+ },
+ {
+ "id": "88bef30b.130ef",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n",
+ "comments": "",
+ "x": 120.38888549804688,
+ "y": 564,
+ "z": "e3f97b79.d3ae78",
+ "wires": []
+ },
+ {
+ "id": "827f8b54.a2f738",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$saveConfigResult`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 752.388916015625,
+ "y": 941.0000305175781,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "4091b575.ef1d7c",
+ "28989f20.c2934"
+ ]
+ ]
+ },
+ {
+ "id": "4091b575.ef1d7c",
+ "type": "outcome",
+ "name": "outcome_Success",
+ "xml": "<outcome value='Success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 857.3888854980469,
+ "y": 1008,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "28989f20.c2934",
+ "type": "outcome",
+ "name": "outcome_failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1200.3888854980469,
+ "y": 946,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "4c4b034a.d05dbc"
+ ]
+ ]
+ },
+ {
+ "id": "954a79a7.253398",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2100.888885498047,
+ "y": 445,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "428f2b9f.d074b4"
+ ]
+ ]
+ },
+ {
+ "id": "428f2b9f.d074b4",
+ "type": "execute",
+ "name": "ctxCleanup",
+ "xml": "<execute plugin='org.onap.appc.dg.util.DGPayloadCleanupPlugin' method='cleanup' >\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"conf-id\" value=\"`$org.onap.appc.confid`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2264.888885498047,
+ "y": 445,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "da6af38.2701c1"
+ ]
+ ]
+ },
+ {
+ "id": "da6af38.2701c1",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2437.888885498047,
+ "y": 445,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c3d5b7e7.9a2a58",
+ "type": "execute",
+ "name": "execute_commitConfiguration",
+ "xml": "<execute plugin='org.onap.appc.dg.util.NetconfClientPlugin' method='commitConfiguration' >\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"nodeName\" value=\"execute_commitConfiguration\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 755.8889465332031,
+ "y": 689.0000915527344,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "75565b82.5ba9e4",
+ "e2ff07e0.f33ec8"
+ ]
+ ]
+ },
+ {
+ "id": "75565b82.5ba9e4",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1208.8888854980469,
+ "y": 640,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "4c4b034a.d05dbc"
+ ]
+ ]
+ },
+ {
+ "id": "e2ff07e0.f33ec8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 735.8889465332031,
+ "y": 747.0001525878906,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "98ac5c02.6be86"
+ ]
+ ]
+ },
+ {
+ "id": "86fd9c6b.47858",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 602,
+ "y": 949.3333435058594,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "827f8b54.a2f738"
+ ]
+ ]
+ },
+ {
+ "id": "a985fa15.5d4168",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 931.8889465332031,
+ "y": 772.3333435058594,
+ "z": "e3f97b79.d3ae78",
+ "wires": [
+ [
+ "ded29ca9.c326a"
+ ]
+ ]
+ }
+]