summaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src
diff options
context:
space:
mode:
authorbeili.zhou <beili.zhou@amdocs.com>2017-09-19 13:14:53 -0400
committerbeili.zhou <beili.zhou@amdocs.com>2017-09-19 13:15:10 -0400
commiteac0b6f973d747299dc667c0495886094b5972a1 (patch)
tree9aa8a9257a74f38559b0958187e48752a5ac0e1d /appc-directed-graph/appc-dgraph/provider/src
parent807828291309411ab6bae1fe27bbf300fbe7b094 (diff)
Add APPC VM_Start(2.0.0) and VM_Stop(2.0.0) DGs
Issue-Id: APPC-217 Change-Id: If7b087b715630fcb8d9d5cb3effdd10548ab00be Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_VM_Start.json561
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_VM_Stop.json240
2 files changed, 801 insertions, 0 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_VM_Start.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_VM_Start.json
new file mode 100644
index 000000000..39bc1bc9d
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_VM_Start.json
@@ -0,0 +1,561 @@
+[
+ {
+ "id": "40b86792.424e28",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 118.88888549804688,
+ "y": 77.88888549804688,
+ "z": "d53a62cc.c8145",
+ "wires": [
+ [
+ "bc032b26.e89658"
+ ]
+ ]
+ },
+ {
+ "id": "bc032b26.e89658",
+ "type": "service-logic",
+ "name": "APPC 2.0.0",
+ "module": "APPC",
+ "version": "2.0.0",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='2.0.0'>",
+ "outputs": 1,
+ "x": 295.88897705078125,
+ "y": 77.45555877685547,
+ "z": "d53a62cc.c8145",
+ "wires": [
+ [
+ "cd1bcdc.c4f313"
+ ]
+ ]
+ },
+ {
+ "id": "cd1bcdc.c4f313",
+ "type": "method",
+ "name": "Rebuild_VM",
+ "xml": "<method rpc='Rebuild_VM' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 238.3532485961914,
+ "y": 169.27698135375977,
+ "z": "d53a62cc.c8145",
+ "wires": [
+ [
+ "b74d1e6.3a22ce"
+ ]
+ ]
+ },
+ {
+ "id": "34f167f4.74fba8",
+ "type": "execute",
+ "name": "Rebuild",
+ "xml": "<execute plugin='org.openecomp.appc.adapter.iaas.ProviderAdapter' method='rebuildServer'>\n<parameter name=\"org.openecomp.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"org.openecomp.appc.instance.url\" value=\"`$rebuild-vm-url`\" />\n<parameter name=\"org.openecomp.appc.identity.url\" value=\"`$AICIdentity`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 786.5222053527832,
+ "y": 474.9246606826782,
+ "z": "d53a62cc.c8145",
+ "wires": [
+ [
+ "c389f8ca.0d8db8",
+ "63bb4f30.2be92"
+ ]
+ ]
+ },
+ {
+ "id": "c389f8ca.0d8db8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 903.6770362854004,
+ "y": 734.2462749481201,
+ "z": "d53a62cc.c8145",
+ "wires": [
+ [
+ "45b189ba.d7c4e8"
+ ]
+ ]
+ },
+ {
+ "id": "63bb4f30.2be92",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 942.6393356323242,
+ "y": 441.8532495498657,
+ "z": "d53a62cc.c8145",
+ "wires": [
+ [
+ "96e74630.8df888"
+ ]
+ ]
+ },
+ {
+ "id": "a546e205.8a738",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1582.3176345825195,
+ "y": 724.8893241882324,
+ "z": "d53a62cc.c8145",
+ "wires": [
+ [
+ "17c11aa2.c734e5",
+ "27d3846c.08be6c",
+ "d38bac72.40eca"
+ ]
+ ]
+ },
+ {
+ "id": "17c11aa2.c734e5",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='event-message' value=\"`'Failure while rebuilding the server: ' + $rebuild-vm-url`\"/>\n",
+ "comments": "",
+ "x": 1843.6394386291504,
+ "y": 676.8535795211792,
+ "z": "d53a62cc.c8145",
+ "wires": []
+ },
+ {
+ "id": "27d3846c.08be6c",
+ "type": "record",
+ "name": "Log error",
+ "xml": "<record plugin=\"org.openecomp.sdnc.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": 1836.0683631896973,
+ "y": 717.043927192688,
+ "z": "d53a62cc.c8145",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "de90dda7.71a4e",
+ "type": "set",
+ "name": "Set Success Message",
+ "xml": "<set>\n<parameter name='success-message' value=\"`'Rebuild succeeded for the server : ' + $rebuild-vm-url`\"/>\n\n\n",
+ "comments": "",
+ "x": 1597.3530807495117,
+ "y": 272.99626636505127,
+ "z": "d53a62cc.c8145",
+ "wires": []
+ },
+ {
+ "id": "ee54bf93.e9baa",
+ "type": "record",
+ "name": "Log message",
+ "xml": "<record plugin=\"org.openecomp.sdnc.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": 1587.2102661132812,
+ "y": 324.5676784515381,
+ "z": "d53a62cc.c8145",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d7feb7b1.3b6cd8",
+ "type": "switchNode",
+ "name": "switch:Last Attempt",
+ "xml": "<switch test='`$rebuildRetryCount == $retryIndex`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1232.3013343811035,
+ "y": 730.460786819458,
+ "z": "d53a62cc.c8145",
+ "wires": [
+ [
+ "2cc28296.df8a6e",
+ "9c67fa27.c3ff98"
+ ]
+ ]
+ },
+ {
+ "id": "9c67fa27.c3ff98",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1441.1940994262695,
+ "y": 722.7822074890137,
+ "z": "d53a62cc.c8145",
+ "wires": [
+ [
+ "a546e205.8a738"
+ ]
+ ]
+ },
+ {
+ "id": "2cc28296.df8a6e",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1426.5510845184326,
+ "y": 835.4961585998535,
+ "z": "d53a62cc.c8145",
+ "wires": [
+ [
+ "b3cb1d2b.62265"
+ ]
+ ]
+ },
+ {
+ "id": "87033bf0.a89218",
+ "type": "for",
+ "name": "Loop",
+ "xml": "<for index=\"retryIndex\" start=\"1\" end=\"`$rebuildRetryCount + 1`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 295.7502975463867,
+ "y": 479.8532304763794,
+ "z": "d53a62cc.c8145",
+ "wires": [
+ [
+ "8f0dac95.828bd"
+ ]
+ ]
+ },
+ {
+ "id": "b3cb1d2b.62265",
+ "type": "record",
+ "name": "Log error",
+ "xml": "<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Rebuild attempt ' + $retryIndex + ' of ' + $rebuildRetryCount + ' failed for server : ' + $rebuild-vm-url + '. Retrying.'`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1669.6347026824951,
+ "y": 833.7461585998535,
+ "z": "d53a62cc.c8145",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d38bac72.40eca",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1852.0837440490723,
+ "y": 766.282208442688,
+ "z": "d53a62cc.c8145",
+ "wires": []
+ },
+ {
+ "id": "8187513d.589d1",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>",
+ "comments": "",
+ "x": 1595.4485092163086,
+ "y": 449.1390333175659,
+ "z": "d53a62cc.c8145",
+ "wires": []
+ },
+ {
+ "id": "96e74630.8df888",
+ "type": "switchNode",
+ "name": "switch STATUS",
+ "xml": "<switch test='`$REBUILD_STATUS`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1103.4325485229492,
+ "y": 443.4086961746216,
+ "z": "d53a62cc.c8145",
+ "wires": [
+ [
+ "ae2b10cb.cec5a",
+ "cd52c85b.5249d8",
+ "59307536.ee844c"
+ ]
+ ]
+ },
+ {
+ "id": "ae2b10cb.cec5a",
+ "type": "other",
+ "name": "ERROR",
+ "xml": "<outcome value='ERROR'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1184.9563446044922,
+ "y": 529.3134174346924,
+ "z": "d53a62cc.c8145",
+ "wires": [
+ [
+ "45b189ba.d7c4e8"
+ ]
+ ]
+ },
+ {
+ "id": "cd52c85b.5249d8",
+ "type": "success",
+ "name": "SUCCESS",
+ "xml": "<outcome value='SUCCESS'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1350.3850173950195,
+ "y": 412.3134517669678,
+ "z": "d53a62cc.c8145",
+ "wires": [
+ [
+ "f91485e2.798dc8"
+ ]
+ ]
+ },
+ {
+ "id": "45b189ba.d7c4e8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1064.6191062927246,
+ "y": 731.3493366241455,
+ "z": "d53a62cc.c8145",
+ "wires": [
+ [
+ "d7feb7b1.3b6cd8"
+ ]
+ ]
+ },
+ {
+ "id": "59307536.ee844c",
+ "type": "other",
+ "name": "CONTEXT_NOT_FOUND",
+ "xml": "<outcome value='CONTEXT_NOT_FOUND'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1413.8692588806152,
+ "y": 507.0785312652588,
+ "z": "d53a62cc.c8145",
+ "wires": [
+ [
+ "9a2a7a92.885b08"
+ ]
+ ]
+ },
+ {
+ "id": "b74d1e6.3a22ce",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 297.7976417541504,
+ "y": 386.36428356170654,
+ "z": "d53a62cc.c8145",
+ "wires": [
+ [
+ "8c5bde88.c0aee",
+ "87033bf0.a89218",
+ "2d98dcb5.d16b44"
+ ]
+ ]
+ },
+ {
+ "id": "8c5bde88.c0aee",
+ "type": "switchNode",
+ "name": "switch : rebuildRetryCount >= 0",
+ "xml": "<switch test='`$rebuildRetryCount >= 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 567.797679901123,
+ "y": 317.7928533554077,
+ "z": "d53a62cc.c8145",
+ "wires": [
+ [
+ "2451c726.0ffbe8",
+ "6a4082a3.a5778c"
+ ]
+ ]
+ },
+ {
+ "id": "2451c726.0ffbe8",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 784.9404716491699,
+ "y": 276.3643217086792,
+ "z": "d53a62cc.c8145",
+ "wires": [
+ [
+ "23f87454.807cfc"
+ ]
+ ]
+ },
+ {
+ "id": "6a4082a3.a5778c",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 792.0833587646484,
+ "y": 353.5072250366211,
+ "z": "d53a62cc.c8145",
+ "wires": [
+ [
+ "39be1fd1.165f6"
+ ]
+ ]
+ },
+ {
+ "id": "39be1fd1.165f6",
+ "type": "set",
+ "name": "increment rebuildRetryCount",
+ "xml": "<set>\n<parameter name=\"rebuildRetryCount\" value=\"`$rebuildRetryCount + 1`\" />\n",
+ "comments": "",
+ "x": 974.9404563903809,
+ "y": 352.0786123275757,
+ "z": "d53a62cc.c8145",
+ "wires": []
+ },
+ {
+ "id": "23f87454.807cfc",
+ "type": "set",
+ "name": "set rebuildRetryCount",
+ "xml": "<set>\n<parameter name='rebuildRetryCount' value='1' />\n",
+ "comments": "",
+ "x": 956.3690452575684,
+ "y": 274.93574237823486,
+ "z": "d53a62cc.c8145",
+ "wires": []
+ },
+ {
+ "id": "f91485e2.798dc8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1372.6388702392578,
+ "y": 319.85316371917725,
+ "z": "d53a62cc.c8145",
+ "wires": [
+ [
+ "de90dda7.71a4e",
+ "ee54bf93.e9baa",
+ "8187513d.589d1",
+ "8fdfd6a.1692b28"
+ ]
+ ]
+ },
+ {
+ "id": "2d98dcb5.d16b44",
+ "type": "set",
+ "name": "initialize exitLoop",
+ "xml": "<set>\n<parameter name='exitLoop' value='false' />\n",
+ "comments": "",
+ "x": 532.6389007568359,
+ "y": 209.85318422317505,
+ "z": "d53a62cc.c8145",
+ "wires": []
+ },
+ {
+ "id": "8fdfd6a.1692b28",
+ "type": "set",
+ "name": "set exitLoop",
+ "xml": "<set>\n<parameter name='exitLoop' value='true' />\n",
+ "comments": "",
+ "x": 1602.6389770507812,
+ "y": 384.1389150619507,
+ "z": "d53a62cc.c8145",
+ "wires": []
+ },
+ {
+ "id": "8f0dac95.828bd",
+ "type": "switchNode",
+ "name": "switch exitLoop",
+ "xml": "<switch test='`$exitLoop`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 462.63885498046875,
+ "y": 478.4245901107788,
+ "z": "d53a62cc.c8145",
+ "wires": [
+ [
+ "82ddebcb.4c72e8",
+ "e243de19.25b81"
+ ]
+ ]
+ },
+ {
+ "id": "82ddebcb.4c72e8",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 631.2102127075195,
+ "y": 479.853196144104,
+ "z": "d53a62cc.c8145",
+ "wires": [
+ [
+ "34f167f4.74fba8"
+ ]
+ ]
+ },
+ {
+ "id": "e243de19.25b81",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 628.3532104492188,
+ "y": 545.5675039291382,
+ "z": "d53a62cc.c8145",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9a2a7a92.885b08",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1578.263916015625,
+ "y": 657.8888959884644,
+ "z": "d53a62cc.c8145",
+ "wires": [
+ [
+ "63a3f95c.1a3338",
+ "27d3846c.08be6c",
+ "d38bac72.40eca"
+ ]
+ ]
+ },
+ {
+ "id": "63a3f95c.1a3338",
+ "type": "set",
+ "name": "Set error message",
+ "xml": "<set>\n<parameter name='event-message' value=\"`'Failure while rebuilding the server: ' + $rebuild-vm-url + ' due to Invalid AICIdentity or tenant or credentials. Skipping all other VMs'`\"/>\n",
+ "comments": "",
+ "x": 1837.0139465332031,
+ "y": 611.6389179229736,
+ "z": "d53a62cc.c8145",
+ "wires": []
+ }
+] \ No newline at end of file
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_VM_Stop.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_VM_Stop.json
new file mode 100644
index 000000000..d6064ff76
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_VM_Stop.json
@@ -0,0 +1,240 @@
+[
+ {
+ "id": "e9d1e072.fd636",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 126,
+ "y": 56.433326721191406,
+ "z": "eee34efd.4b429",
+ "wires": [
+ [
+ "ec678412.e91ef8"
+ ]
+ ]
+ },
+ {
+ "id": "ec678412.e91ef8",
+ "type": "service-logic",
+ "name": "APPC 2.0.0",
+ "module": "APPC",
+ "version": "2.0.0",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='2.0.0'>",
+ "outputs": 1,
+ "x": 303.0000915527344,
+ "y": 56,
+ "z": "eee34efd.4b429",
+ "wires": [
+ [
+ "54252adb.ab6fb4"
+ ]
+ ]
+ },
+ {
+ "id": "54252adb.ab6fb4",
+ "type": "method",
+ "name": "VM_Stop",
+ "xml": "<method rpc='VM_Stop' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 245.46435165405273,
+ "y": 147.8214054107666,
+ "z": "eee34efd.4b429",
+ "wires": [
+ [
+ "5e15afe4.93d5a"
+ ]
+ ]
+ },
+ {
+ "id": "5e15afe4.93d5a",
+ "type": "execute",
+ "name": "Stop",
+ "xml": "<execute plugin='org.openecomp.appc.adapter.iaas.ProviderAdapter' method='stopServer'>\n<parameter name=\"org.openecomp.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"org.openecomp.appc.instance.url\" value=\"`$stop-vm-url`\" />\n<parameter name=\"org.openecomp.appc.identity.url\" value=\"`$AICIdentity`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 406,
+ "y": 148.93333435058594,
+ "z": "eee34efd.4b429",
+ "wires": [
+ [
+ "df0061bb.45c2f",
+ "c924b983.5b11f8"
+ ]
+ ]
+ },
+ {
+ "id": "c924b983.5b11f8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 579.1170654296875,
+ "y": 149.8619384765625,
+ "z": "eee34efd.4b429",
+ "wires": [
+ [
+ "837fbfb0.87776"
+ ]
+ ]
+ },
+ {
+ "id": "837fbfb0.87776",
+ "type": "switchNode",
+ "name": "switch STATUS",
+ "xml": "<switch test='`$STOP_STATUS`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 761.9102783203125,
+ "y": 149.41738891601562,
+ "z": "eee34efd.4b429",
+ "wires": [
+ [
+ "635b02f3.e20a7c",
+ "7a07bcbd.8869d4"
+ ]
+ ]
+ },
+ {
+ "id": "df0061bb.45c2f",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 586.9047241210938,
+ "y": 332.50494384765625,
+ "z": "eee34efd.4b429",
+ "wires": [
+ [
+ "ab61e967.60ab08"
+ ]
+ ]
+ },
+ {
+ "id": "ccbdc0a1.c9b6b",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1312,
+ "y": 399.183349609375,
+ "z": "eee34efd.4b429",
+ "wires": []
+ },
+ {
+ "id": "635b02f3.e20a7c",
+ "type": "success",
+ "name": "SUCCESS",
+ "xml": "<outcome value='SUCCESS'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 955.5,
+ "y": 123.9333267211914,
+ "z": "eee34efd.4b429",
+ "wires": [
+ [
+ "91f7e1f.503b22",
+ "dfaa331c.bcb22"
+ ]
+ ]
+ },
+ {
+ "id": "7a07bcbd.8869d4",
+ "type": "other",
+ "name": "ERROR",
+ "xml": "<outcome value='ERROR'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 951.5713500976562,
+ "y": 198.43336486816406,
+ "z": "eee34efd.4b429",
+ "wires": [
+ [
+ "bdc692af.6a12d"
+ ]
+ ]
+ },
+ {
+ "id": "91f7e1f.503b22",
+ "type": "set",
+ "name": "set success code and message",
+ "xml": "<set>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='Success' />\n",
+ "comments": "",
+ "x": 1191,
+ "y": 124,
+ "z": "eee34efd.4b429",
+ "wires": []
+ },
+ {
+ "id": "dfaa331c.bcb22",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n",
+ "comments": "",
+ "x": 1144,
+ "y": 173,
+ "z": "eee34efd.4b429",
+ "wires": []
+ },
+ {
+ "id": "bdc692af.6a12d",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1107,
+ "y": 231,
+ "z": "eee34efd.4b429",
+ "wires": [
+ [
+ "fba86d29.7638a",
+ "ccbdc0a1.c9b6b"
+ ]
+ ]
+ },
+ {
+ "id": "ab61e967.60ab08",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 762,
+ "y": 332,
+ "z": "eee34efd.4b429",
+ "wires": [
+ [
+ "37674e3c.40ea42",
+ "ccbdc0a1.c9b6b"
+ ]
+ ]
+ },
+ {
+ "id": "fba86d29.7638a",
+ "type": "set",
+ "name": "set error code and message",
+ "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Stop VM status is error' />\n",
+ "comments": "",
+ "x": 1342,
+ "y": 232,
+ "z": "eee34efd.4b429",
+ "wires": []
+ },
+ {
+ "id": "37674e3c.40ea42",
+ "type": "set",
+ "name": "set error code and message",
+ "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Stop VM failed' />\n",
+ "comments": "",
+ "x": 1053,
+ "y": 300,
+ "z": "eee34efd.4b429",
+ "wires": []
+ }
+] \ No newline at end of file