summaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_method_Generic_Evacuate_2.0.0.json
diff options
context:
space:
mode:
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_method_Generic_Evacuate_2.0.0.json')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_method_Generic_Evacuate_2.0.0.json271
1 files changed, 270 insertions, 1 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_method_Generic_Evacuate_2.0.0.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_method_Generic_Evacuate_2.0.0.json
index 4defa76ed..994e45518 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_method_Generic_Evacuate_2.0.0.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_method_Generic_Evacuate_2.0.0.json
@@ -1 +1,270 @@
-[{"id":"a83fc34.6924bc","type":"dgstart","name":"DGSTART","outputs":1,"x":177,"y":100,"z":"f4cf2376.c92f4","wires":[["531a3928.a7bb9"]]},{"id":"531a3928.a7bb9","type":"service-logic","name":"Appc-API 2.0.0","module":"Appc-API","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-API' version='2.0.0'>","outputs":1,"x":365,"y":101,"z":"f4cf2376.c92f4","wires":[["352baa79.80aee6"]]},{"id":"352baa79.80aee6","type":"method","name":"Generic_Evacuate","xml":"<method rpc='Generic_Evacuate' mode='sync'>\n","comments":"","outputs":1,"x":269,"y":231,"z":"f4cf2376.c92f4","wires":[["c748601f.21dab8"]]},{"id":"75bc6e9a.dd5c9","type":"execute","name":"execute: evacuate","xml":"<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='evacuateServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$vm-id`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$identity-url`\" />\n<parameter name=\"org.onap.appc.tenant.id\" value=\"`$tenant-id`\" />\n<parameter name=\"org.onap.appc.rebuildvm\" value=\"`$rebuild-vm`\" />\n<parameter name=\"org.onap.appc.targethost.id\" value=\"`$targethost-id`\" />\n\n","comments":"","outputs":1,"x":411,"y":523,"z":"f4cf2376.c92f4","wires":[["eb6db261.bc7b28","47819cc2.30deac"]]},{"id":"eb6db261.bc7b28","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":601,"y":571,"z":"f4cf2376.c92f4","wires":[["97cc1ef3.9ec4f"]]},{"id":"47819cc2.30deac","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":591,"y":462,"z":"f4cf2376.c92f4","wires":[["b00d6f4f.ffcb88"]]},{"id":"9b05722c.840468","type":"returnSuccess","name":"return success","xml":"<return status='success'>","comments":"","x":1095,"y":501,"z":"f4cf2376.c92f4","wires":[]},{"id":"b00d6f4f.ffcb88","type":"returnFailure","name":"return failure","xml":"<return status='failure'>","comments":"","x":753,"y":462,"z":"f4cf2376.c92f4","wires":[]},{"id":"c748601f.21dab8","type":"execute","name":"execute: flatAndAddToContext","xml":"<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />\n","comments":"","outputs":1,"x":293,"y":350,"z":"f4cf2376.c92f4","wires":[["75fbe835.95b8a8","b3f66172.ffd75"]]},{"id":"75fbe835.95b8a8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":229,"y":523,"z":"f4cf2376.c92f4","wires":[["75bc6e9a.dd5c9"]]},{"id":"b3f66172.ffd75","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":526,"y":287,"z":"f4cf2376.c92f4","wires":[["53bd08e0.7b10f"]]},{"id":"53bd08e0.7b10f","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":711,"y":287,"z":"f4cf2376.c92f4","wires":[]},{"id":"97cc1ef3.9ec4f","type":"switchNode","name":"switch","xml":"<switch test='`$EVACUATE_STATUS`'>\n","comments":"","outputs":1,"x":755,"y":571,"z":"f4cf2376.c92f4","wires":[["6c8bad6c.9d4904","629304e4.1ee93c"]]},{"id":"6c8bad6c.9d4904","type":"success","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":922,"y":502,"z":"f4cf2376.c92f4","wires":[["9b05722c.840468"]]},{"id":"629304e4.1ee93c","type":"outcome","name":"ERROR","xml":"<outcome value='ERROR'>\n","comments":"","outputs":1,"x":922,"y":637,"z":"f4cf2376.c92f4","wires":[["8fdc00fc.50b118"]]},{"id":"be82d5f2.b11a9","type":"set","name":"set output message","xml":"<set>\n<parameter name='output.status.message' value=\"`$error-message`\" />\n","comments":"","x":1253,"y":636,"z":"f4cf2376.c92f4","wires":[]},{"id":"8fdc00fc.50b118","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1067,"y":636,"z":"f4cf2376.c92f4","wires":[["be82d5f2.b11a9","eca3cbfd.19b238"]]},{"id":"eca3cbfd.19b238","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n","comments":"","x":1241,"y":697,"z":"f4cf2376.c92f4","wires":[]}]
+[
+ {
+ "id": "a83fc34.6924bc",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 177,
+ "y": 100,
+ "z": "f4cf2376.c92f4",
+ "wires": [
+ [
+ "531a3928.a7bb9"
+ ]
+ ]
+ },
+ {
+ "id": "531a3928.a7bb9",
+ "type": "service-logic",
+ "name": "Appc-API 2.0.0",
+ "module": "Appc-API",
+ "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-API' version='2.0.0'>",
+ "outputs": 1,
+ "x": 365,
+ "y": 101,
+ "z": "f4cf2376.c92f4",
+ "wires": [
+ [
+ "352baa79.80aee6"
+ ]
+ ]
+ },
+ {
+ "id": "352baa79.80aee6",
+ "type": "method",
+ "name": "Generic_Evacuate",
+ "xml": "<method rpc='Generic_Evacuate' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 269,
+ "y": 231,
+ "z": "f4cf2376.c92f4",
+ "wires": [
+ [
+ "c748601f.21dab8"
+ ]
+ ]
+ },
+ {
+ "id": "75bc6e9a.dd5c9",
+ "type": "execute",
+ "name": "execute: evacuate",
+ "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='evacuateServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$vm-id`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$identity-url`\" />\n<parameter name=\"org.onap.appc.tenant.id\" value=\"`$tenant-id`\" />\n<parameter name=\"org.onap.appc.rebuildvm\" value=\"`$rebuild-vm`\" />\n<parameter name=\"org.onap.appc.targethost.id\" value=\"`$targethost-id`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 411,
+ "y": 523,
+ "z": "f4cf2376.c92f4",
+ "wires": [
+ [
+ "eb6db261.bc7b28",
+ "47819cc2.30deac"
+ ]
+ ]
+ },
+ {
+ "id": "eb6db261.bc7b28",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 601,
+ "y": 571,
+ "z": "f4cf2376.c92f4",
+ "wires": [
+ [
+ "97cc1ef3.9ec4f"
+ ]
+ ]
+ },
+ {
+ "id": "47819cc2.30deac",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 591,
+ "y": 462,
+ "z": "f4cf2376.c92f4",
+ "wires": [
+ [
+ "b00d6f4f.ffcb88"
+ ]
+ ]
+ },
+ {
+ "id": "9b05722c.840468",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>",
+ "comments": "",
+ "x": 1095,
+ "y": 501,
+ "z": "f4cf2376.c92f4",
+ "wires": []
+ },
+ {
+ "id": "b00d6f4f.ffcb88",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>",
+ "comments": "",
+ "x": 753,
+ "y": 462,
+ "z": "f4cf2376.c92f4",
+ "wires": []
+ },
+ {
+ "id": "c748601f.21dab8",
+ "type": "execute",
+ "name": "execute: flatAndAddToContext",
+ "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 293,
+ "y": 350,
+ "z": "f4cf2376.c92f4",
+ "wires": [
+ [
+ "75fbe835.95b8a8",
+ "b3f66172.ffd75"
+ ]
+ ]
+ },
+ {
+ "id": "75fbe835.95b8a8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 229,
+ "y": 523,
+ "z": "f4cf2376.c92f4",
+ "wires": [
+ [
+ "75bc6e9a.dd5c9"
+ ]
+ ]
+ },
+ {
+ "id": "b3f66172.ffd75",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 526,
+ "y": 287,
+ "z": "f4cf2376.c92f4",
+ "wires": [
+ [
+ "53bd08e0.7b10f"
+ ]
+ ]
+ },
+ {
+ "id": "53bd08e0.7b10f",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 711,
+ "y": 287,
+ "z": "f4cf2376.c92f4",
+ "wires": []
+ },
+ {
+ "id": "97cc1ef3.9ec4f",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$EVACUATE_STATUS`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 755,
+ "y": 571,
+ "z": "f4cf2376.c92f4",
+ "wires": [
+ [
+ "6c8bad6c.9d4904",
+ "629304e4.1ee93c"
+ ]
+ ]
+ },
+ {
+ "id": "6c8bad6c.9d4904",
+ "type": "success",
+ "name": "SUCCESS",
+ "xml": "<outcome value='SUCCESS'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 922,
+ "y": 502,
+ "z": "f4cf2376.c92f4",
+ "wires": [
+ [
+ "9b05722c.840468"
+ ]
+ ]
+ },
+ {
+ "id": "629304e4.1ee93c",
+ "type": "outcome",
+ "name": "ERROR",
+ "xml": "<outcome value='ERROR'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 922,
+ "y": 637,
+ "z": "f4cf2376.c92f4",
+ "wires": [
+ [
+ "8fdc00fc.50b118"
+ ]
+ ]
+ },
+ {
+ "id": "be82d5f2.b11a9",
+ "type": "set",
+ "name": "set output message",
+ "xml": "<set>\n<parameter name='output.status.message' value=\"`$error-message`\" />\n",
+ "comments": "",
+ "x": 1253,
+ "y": 636,
+ "z": "f4cf2376.c92f4",
+ "wires": []
+ },
+ {
+ "id": "8fdc00fc.50b118",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1067,
+ "y": 636,
+ "z": "f4cf2376.c92f4",
+ "wires": [
+ [
+ "be82d5f2.b11a9",
+ "eca3cbfd.19b238"
+ ]
+ ]
+ },
+ {
+ "id": "eca3cbfd.19b238",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 1241,
+ "y": 697,
+ "z": "f4cf2376.c92f4",
+ "wires": []
+ }
+]