diff options
author | 2017-12-22 17:01:22 -0500 | |
---|---|---|
committer | 2017-12-22 17:03:53 -0500 | |
commit | 8d08b3b9314dbb5eb15cd278fb50fc35b1cc8fdd (patch) | |
tree | d2b298ab52e90781c9af8ec34b22aea3905b8424 /appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_VM_Start.json | |
parent | 79e06aed697580577579f8d4e4e844dd773fb613 (diff) |
Platform Hardening for DG Json files - Part 5
Change-Id: If1d1b8090c6f932c1b383e0be3d942bc9d082fae
Issue-ID: APPC-305
Signed-off-by: Taka <tc012c@att.com>
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_VM_Start.json')
-rw-r--r-- | appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_VM_Start.json | 514 |
1 files changed, 257 insertions, 257 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 index c6195da22..4e636f95e 100644 --- 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 @@ -1,257 +1,257 @@ -[ - { - "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" - } -] +[
+ {
+ "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.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`\" />",
+ "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 |