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