Platform Hardening for DG Json files - Part 2
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / main / resources / json / Dispatcher-DG / APPC_StopVM_VM_2.0.0.json
index b47c06d..dbba49a 100644 (file)
@@ -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":[[]]}]
+[\r
+    {\r
+        "id": "1cef050a.1dfbcb",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 141.515625,\r
+        "y": 164.4333267211914,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            [\r
+                "a9d8f072.10cbd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a9d8f072.10cbd",\r
+        "type": "service-logic",\r
+        "name": "APPC 2.0.0",\r
+        "module": "APPC",\r
+        "version": "2.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='2.0.0'>",\r
+        "outputs": 1,\r
+        "x": 318.5157165527344,\r
+        "y": 164,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            [\r
+                "46c68f6c.01837"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "46c68f6c.01837",\r
+        "type": "method",\r
+        "name": "StopVM_VM",\r
+        "xml": "<method rpc='StopVM_VM' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 260.97997665405273,\r
+        "y": 255.8214054107666,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            [\r
+                "fd5f6afc.5b61a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ed427ea8.f19f5",\r
+        "type": "execute",\r
+        "name": "Stop",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1105.3989791870117,\r
+        "y": 605.2190837860107,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            [\r
+                "b5b4b5a6.7469d8",\r
+                "d5e5239f.dcc79"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b5b4b5a6.7469d8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1226.303726196289,\r
+        "y": 770.7907104492188,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            [\r
+                "ed170974.4288c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d5e5239f.dcc79",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1261.5160751342773,\r
+        "y": 572.1476917266846,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            [\r
+                "249fafc6.75699"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a3ddab0f.be74c8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1904.9443244934082,\r
+        "y": 761.433759689331,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            [\r
+                "dbdf325c.08025",\r
+                "f2981778.0beac8",\r
+                "e1c0fbcb.5e70d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dbdf325c.08025",\r
+        "type": "set",\r
+        "name": "Set error message",\r
+        "xml": "<set>\n<parameter name='event-message' value=\"`'Failure while stopping the server: ' + $stop-vm-url`\"/>\n",\r
+        "comments": "",\r
+        "x": 2087.516101837158,\r
+        "y": 722.1479930877686,\r
+        "z": "a6b16db5.af508",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f2981778.0beac8",\r
+        "type": "record",\r
+        "name": "Log error",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2079.945056915283,\r
+        "y": 762.3383617401123,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "44750395.80221c",\r
+        "type": "set",\r
+        "name": "Set Success Message",\r
+        "xml": "<set>\n<parameter name='success-message' value=\"`'Stop succeeded for the server : ' + $stop-vm-url`\"/>\n\n\n",\r
+        "comments": "",\r
+        "x": 1916.2298202514648,\r
+        "y": 403.2907085418701,\r
+        "z": "a6b16db5.af508",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5c22eb96.f3da94",\r
+        "type": "record",\r
+        "name": "Log message",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1906.0870056152344,\r
+        "y": 454.86212062835693,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "64459e63.09ed5",\r
+        "type": "switchNode",\r
+        "name": "switch:Last Attempt",\r
+        "xml": "<switch test='`$stopRetryCount == $retryIndex`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1554.9280242919922,\r
+        "y": 767.0052223205566,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            [\r
+                "76293fdb.a702e",\r
+                "c9e6ef87.507db"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c9e6ef87.507db",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1763.8207893371582,\r
+        "y": 759.3266429901123,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            [\r
+                "a3ddab0f.be74c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "76293fdb.a702e",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1749.1777744293213,\r
+        "y": 872.0405941009521,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            [\r
+                "ebef8c77.3f0be"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2b09b8ff.3e3148",\r
+        "type": "for",\r
+        "name": "Loop",\r
+        "xml": "<for index=\"retryIndex\" start=\"1\" end=\"`$stopRetryCount + 1`\" >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 614.6270370483398,\r
+        "y": 610.1476726531982,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            [\r
+                "9f75fd7d.6a168"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ebef8c77.3f0be",\r
+        "type": "record",\r
+        "name": "Log error",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1992.2613925933838,\r
+        "y": 870.2905941009521,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e1c0fbcb.5e70d8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n",\r
+        "comments": "",\r
+        "x": 2095.960437774658,\r
+        "y": 811.5766429901123,\r
+        "z": "a6b16db5.af508",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ab4f157e.b95da8",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>",\r
+        "comments": "",\r
+        "x": 1914.3252487182617,\r
+        "y": 579.4334754943848,\r
+        "z": "a6b16db5.af508",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "249fafc6.75699",\r
+        "type": "switchNode",\r
+        "name": "switch STATUS",\r
+        "xml": "<switch test='`$STOP_STATUS`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1422.3092880249023,\r
+        "y": 573.7031383514404,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            [\r
+                "bfaa23ff.9722f",\r
+                "6d690331.49ee2c",\r
+                "335e834f.a28b2c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bfaa23ff.9722f",\r
+        "type": "other",\r
+        "name": "ERROR",\r
+        "xml": "<outcome value='ERROR'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1503.8330841064453,\r
+        "y": 659.6078596115112,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            [\r
+                "ed170974.4288c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6d690331.49ee2c",\r
+        "type": "success",\r
+        "name": "SUCCESS",\r
+        "xml": "<outcome value='SUCCESS'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1669.2617568969727,\r
+        "y": 542.6078939437866,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            [\r
+                "85005452.136278"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ed170974.4288c8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1387.2457962036133,\r
+        "y": 767.8937721252441,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            [\r
+                "64459e63.09ed5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fd5f6afc.5b61a8",\r
+        "type": "switchNode",\r
+        "name": "switch STATUS",\r
+        "xml": "<switch test='`$STOP_STATUS`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 238.10294723510742,\r
+        "y": 523.8015937805176,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            [\r
+                "517f7561.af124c",\r
+                "15485fed.56523",\r
+                "ddbde736.0b20d8",\r
+                "4810dc09.1ec194"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "15485fed.56523",\r
+        "type": "other",\r
+        "name": "ERROR",\r
+        "xml": "<outcome value='ERROR'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 412.3886528015137,\r
+        "y": 588.087329864502,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            [\r
+                "8f66cbff.7a29e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "517f7561.af124c",\r
+        "type": "success",\r
+        "name": "SUCCESS",\r
+        "xml": "<outcome value='SUCCESS'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 407.8174858093262,\r
+        "y": 461.08732986450195,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            [\r
+                "8f66cbff.7a29e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ddbde736.0b20d8",\r
+        "type": "other",\r
+        "name": "CONTEXT_NOT_FOUND",\r
+        "xml": "<outcome value='CONTEXT_NOT_FOUND'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 419.53152084350586,\r
+        "y": 676.6587200164795,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            [\r
+                "b496c2e5.7e0b7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "335e834f.a28b2c",\r
+        "type": "other",\r
+        "name": "CONTEXT_NOT_FOUND",\r
+        "xml": "<outcome value='CONTEXT_NOT_FOUND'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1725.245979309082,\r
+        "y": 622.3729629516602,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            [\r
+                "a3ddab0f.be74c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "784c3e4a.5134e",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n",\r
+        "comments": "",\r
+        "x": 499.5314750671387,\r
+        "y": 878.0872135162354,\r
+        "z": "a6b16db5.af508",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b496c2e5.7e0b7",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 275.2457695007324,\r
+        "y": 826.658694267273,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            [\r
+                "784c3e4a.5134e",\r
+                "34ff62bb.1ea1ce",\r
+                "c3ad6392.97ef"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4810dc09.1ec194",\r
+        "type": "success",\r
+        "name": "EMPTY",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 408.1029472351074,\r
+        "y": 520.9444465637207,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            [\r
+                "8f66cbff.7a29e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "34ff62bb.1ea1ce",\r
+        "type": "set",\r
+        "name": "Set error message",\r
+        "xml": "<set>\n<parameter name='event-message' value=\"Invalid AICIdentity or tenant or credentials\"/>\n",\r
+        "comments": "",\r
+        "x": 523.8172416687012,\r
+        "y": 782.3729972839355,\r
+        "z": "a6b16db5.af508",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c3ad6392.97ef",\r
+        "type": "record",\r
+        "name": "Log error",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 506.24620056152344,\r
+        "y": 823.9919185638428,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "8f66cbff.7a29e8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 616.6743812561035,\r
+        "y": 516.6587257385254,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            [\r
+                "614e98a0.740898",\r
+                "2b09b8ff.3e3148",\r
+                "630a1e7d.61b31"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "614e98a0.740898",\r
+        "type": "switchNode",\r
+        "name": "switch : stopRetryCount >= 0",\r
+        "xml": "<switch test='`$stopRetryCount >= 0`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 886.6744194030762,\r
+        "y": 448.08729553222656,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            [\r
+                "1f5b5e63.c28f42",\r
+                "e7474230.d8845"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1f5b5e63.c28f42",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1103.817211151123,\r
+        "y": 406.65876388549805,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            [\r
+                "e793bc34.ec31a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e7474230.d8845",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1110.9600982666016,\r
+        "y": 483.80166721343994,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            [\r
+                "af7b47ca.fc8588"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "af7b47ca.fc8588",\r
+        "type": "set",\r
+        "name": "increment stopRetryCount",\r
+        "xml": "<set>\n<parameter name=\"stopRetryCount\" value=\"`$stopRetryCount + 1`\" />\n",\r
+        "comments": "",\r
+        "x": 1293.817195892334,\r
+        "y": 482.37305450439453,\r
+        "z": "a6b16db5.af508",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e793bc34.ec31a",\r
+        "type": "set",\r
+        "name": "set stopRetryCount",\r
+        "xml": "<set>\n<parameter name='stopRetryCount' value='1' />\n",\r
+        "comments": "",\r
+        "x": 1275.2457847595215,\r
+        "y": 405.2301845550537,\r
+        "z": "a6b16db5.af508",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "85005452.136278",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1691.515609741211,\r
+        "y": 450.1476058959961,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            [\r
+                "44750395.80221c",\r
+                "5c22eb96.f3da94",\r
+                "ab4f157e.b95da8",\r
+                "40c219cc.406928"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "630a1e7d.61b31",\r
+        "type": "set",\r
+        "name": "initialize exitLoop",\r
+        "xml": "<set>\n<parameter name='exitLoop' value='false' />\n",\r
+        "comments": "",\r
+        "x": 851.5155944824219,\r
+        "y": 340.14762115478516,\r
+        "z": "a6b16db5.af508",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "40c219cc.406928",\r
+        "type": "set",\r
+        "name": "set exitLoop",\r
+        "xml": "<set>\n<parameter name='exitLoop' value='true' />\n",\r
+        "comments": "",\r
+        "x": 1921.5157165527344,\r
+        "y": 514.4333572387695,\r
+        "z": "a6b16db5.af508",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9f75fd7d.6a168",\r
+        "type": "switchNode",\r
+        "name": "switch exitLoop",\r
+        "xml": "<switch test='`$exitLoop`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 781.5155944824219,\r
+        "y": 608.7190322875977,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            [\r
+                "e7b114e6.a3f9c8",\r
+                "91b0004b.02402"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e7b114e6.a3f9c8",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 950.0869522094727,\r
+        "y": 610.1476383209229,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            [\r
+                "ed427ea8.f19f5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "91b0004b.02402",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 947.2299499511719,\r
+        "y": 675.861946105957,\r
+        "z": "a6b16db5.af508",\r
+        "wires": [\r
+            []\r
+        ]\r
+    }\r
+]\r