Remove license from json dgs
[appc/deployment.git] / platform-logic / appc / src / main / json / dg-loader-dgs / APPC / APPC_VM_Start.json
diff --git a/platform-logic/appc/src/main/json/dg-loader-dgs/APPC/APPC_VM_Start.json b/platform-logic/appc/src/main/json/dg-loader-dgs/APPC/APPC_VM_Start.json
new file mode 100644 (file)
index 0000000..5fa6ab6
--- /dev/null
@@ -0,0 +1,257 @@
+[
+  {
+    "id": "4c12a5c8.90ab7c",
+    "type": "dgstart",
+    "name": "DGSTART",
+    "outputs": 1,
+    "x": 179,
+    "y": 322,
+    "z": "3b333f3b.e62d",
+    "wires": [
+      [
+        "3f8e186b.788b58"
+      ]
+    ]
+  },
+  {
+    "id": "3f8e186b.788b58",
+    "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": 362.0001220703125,
+    "y": 322.5666809082031,
+    "z": "3b333f3b.e62d",
+    "wires": [
+      [
+        "e2b2f3.05197d1"
+      ]
+    ]
+  },
+  {
+    "id": "e2b2f3.05197d1",
+    "type": "method",
+    "name": "VM_Start",
+    "xml": "<method rpc='VM_Start' mode='sync'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 311.75006103515625,
+    "y": 406.816650390625,
+    "z": "3b333f3b.e62d",
+    "wires": [
+      [
+        "9c797c4b.fc3f8"
+      ]
+    ]
+  },
+  {
+    "id": "9c797c4b.fc3f8",
+    "type": "execute",
+    "name": "Start",
+    "xml": "<execute plugin='org.openecomp.appc.adapter.iaas.ProviderAdapter' method='startServer'>\n<parameter name=\"org.openecomp.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"org.openecomp.appc.instance.url\" value=\"`$vm-id`\" />\n<parameter name=\"org.openecomp.appc.identity.url\" value=\"`$identity-url`\" />",
+    "comments": "",
+    "outputs": 1,
+    "x": 496,
+    "y": 406,
+    "z": "3b333f3b.e62d",
+    "wires": [
+      [
+        "8ec37e81.db48b",
+        "6a2f0d5b.f084e4"
+      ]
+    ]
+  },
+  {
+    "id": "6a2f0d5b.f084e4",
+    "type": "success",
+    "name": "success",
+    "xml": "<outcome value='success'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 675.9735107421875,
+    "y": 407.2143859863281,
+    "z": "3b333f3b.e62d",
+    "wires": [
+      [
+        "51fd4bef.090064"
+      ]
+    ]
+  },
+  {
+    "id": "8ec37e81.db48b",
+    "type": "failure",
+    "name": "failure",
+    "xml": "<outcome value='failure'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 670.6187744140625,
+    "y": 633.14306640625,
+    "z": "3b333f3b.e62d",
+    "wires": [
+      [
+        "8ccb55ea.a7c328"
+      ]
+    ]
+  },
+  {
+    "id": "51fd4bef.090064",
+    "type": "switchNode",
+    "name": "STATUS",
+    "xml": "<switch test='`$START_STATUS`'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 823,
+    "y": 407.0000305175781,
+    "z": "3b333f3b.e62d",
+    "wires": [
+      [
+        "8e71a1ab.2673b",
+        "9153a9b0.79c868"
+      ]
+    ]
+  },
+  {
+    "id": "8e71a1ab.2673b",
+    "type": "other",
+    "name": "SUCCESS",
+    "xml": "<outcome value='SUCCESS'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 997.7144775390625,
+    "y": 405.4286193847656,
+    "z": "3b333f3b.e62d",
+    "wires": [
+      [
+        "218c4c31.746404"
+      ]
+    ]
+  },
+  {
+    "id": "9153a9b0.79c868",
+    "type": "other",
+    "name": "ERROR",
+    "xml": "<outcome value='ERROR'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 998.28564453125,
+    "y": 474.71435546875,
+    "z": "3b333f3b.e62d",
+    "wires": [
+      [
+        "d6c921e6.f062f"
+      ]
+    ]
+  },
+  {
+    "id": "91055b26.4540f8",
+    "type": "returnSuccess",
+    "name": "return success",
+    "xml": "<return status='success'>",
+    "comments": "",
+    "x": 1355.6666259765625,
+    "y": 452,
+    "z": "3b333f3b.e62d",
+    "wires": []
+  },
+  {
+    "id": "be1d8c86.5510c",
+    "type": "returnFailure",
+    "name": "return failure",
+    "xml": "<return status='failure'>\n",
+    "comments": "",
+    "x": 1364.8734130859375,
+    "y": 680.4286499023438,
+    "z": "3b333f3b.e62d",
+    "wires": []
+  },
+  {
+    "id": "55a5d83c.b56328",
+    "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": 1404,
+    "y": 408,
+    "z": "3b333f3b.e62d",
+    "wires": []
+  },
+  {
+    "id": "11e66810.229818",
+    "type": "set",
+    "name": "set error code and message",
+    "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Start VM failed' />\n",
+    "comments": "",
+    "x": 1117,
+    "y": 602,
+    "z": "3b333f3b.e62d",
+    "wires": []
+  },
+  {
+    "id": "18420693.2d9f89",
+    "type": "set",
+    "name": "set error code and message",
+    "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Start VM status is error' />\n",
+    "comments": "",
+    "x": 1398,
+    "y": 507,
+    "z": "3b333f3b.e62d",
+    "wires": []
+  },
+  {
+    "id": "218c4c31.746404",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic='true'>",
+    "atomic": "true",
+    "comments": "",
+    "outputs": 1,
+    "x": 1161,
+    "y": 407,
+    "z": "3b333f3b.e62d",
+    "wires": [
+      [
+        "55a5d83c.b56328",
+        "91055b26.4540f8"
+      ]
+    ]
+  },
+  {
+    "id": "d6c921e6.f062f",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic='true'>",
+    "atomic": "true",
+    "comments": "",
+    "outputs": 1,
+    "x": 1154,
+    "y": 475,
+    "z": "3b333f3b.e62d",
+    "wires": [
+      [
+        "18420693.2d9f89",
+        "be1d8c86.5510c"
+      ]
+    ]
+  },
+  {
+    "id": "8ccb55ea.a7c328",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic='true'>",
+    "atomic": "true",
+    "comments": "",
+    "outputs": 1,
+    "x": 873,
+    "y": 639,
+    "z": "3b333f3b.e62d",
+    "wires": [
+      [
+        "11e66810.229818",
+        "be1d8c86.5510c"
+      ]
+    ]
+  }
+]
\ No newline at end of file