diff options
author | 2017-12-22 18:06:10 -0500 | |
---|---|---|
committer | 2017-12-22 18:07:04 -0500 | |
commit | c1d325bb009a21ccb4d89f8562f89a36cfa069ed (patch) | |
tree | 40ed993a302e2d43e790aa488c0cfe0c80d53d1b /appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_EvacuateVM.json | |
parent | 26c841f18a69baedda1215cb06ee3197f4662115 (diff) |
Platform Hardening for DG Json files - Part 7
Change-Id: Ifac28a64e01767c15d940b20404904f2fc2d9b24
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_EvacuateVM.json')
-rw-r--r-- | appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_EvacuateVM.json | 263 |
1 files changed, 262 insertions, 1 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_EvacuateVM.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_EvacuateVM.json index d93fcf195..627777318 100644 --- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_EvacuateVM.json +++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_EvacuateVM.json @@ -1 +1,262 @@ -[{"id":"3226fb76.a7fe14","type":"dgstart","name":"DGSTART","outputs":1,"x":150.88333129882812,"y":102.88333129882812,"z":"96b506dc.10c5e8","wires":[["f2b4466.fcec638"]]},{"id":"f2b4466.fcec638","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":338.8833312988281,"y":103.88333129882812,"z":"96b506dc.10c5e8","wires":[["205bcc30.cae044"]]},{"id":"205bcc30.cae044","type":"method","name":"EvacuateVM","xml":"<method rpc='EvacuateVM' mode='sync'>\n","comments":"","outputs":1,"x":567.88330078125,"y":104.88333129882812,"z":"96b506dc.10c5e8","wires":[["213ddb60.68307c"]]},{"id":"d8525233.851af8","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":729.88330078125,"y":271.88330078125,"z":"96b506dc.10c5e8","wires":[["ec71f7ec.66516","1f5ce9b3.25109e"]]},{"id":"ec71f7ec.66516","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":924.88330078125,"y":316.88330078125,"z":"96b506dc.10c5e8","wires":[["4a9ae26e.e2a654"]]},{"id":"1f5ce9b3.25109e","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":913.88330078125,"y":194.88330078125,"z":"96b506dc.10c5e8","wires":[["5eba654f.8cceec"]]},{"id":"3d2c4844.2e8078","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='Request Processed Successfully' />","comments":"","x":1372.88330078125,"y":290.88330078125,"z":"96b506dc.10c5e8","wires":[]},{"id":"5572aa21.a402dc","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='RPC Evacuate not found' />","comments":"","x":1254.88330078125,"y":213.88330078125,"z":"96b506dc.10c5e8","wires":[]},{"id":"4a9ae26e.e2a654","type":"switchNode","name":"switch","xml":"<switch test='`$EVACUATE_STATUS`'>\n","comments":"","outputs":1,"x":1066.88330078125,"y":316.88330078125,"z":"96b506dc.10c5e8","wires":[["a71868a3.d0fc38","a3d63b8d.7bb02"]]},{"id":"a71868a3.d0fc38","type":"success","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":1197.88330078125,"y":290.88330078125,"z":"96b506dc.10c5e8","wires":[["3d2c4844.2e8078"]]},{"id":"a3d63b8d.7bb02","type":"outcome","name":"ERROR","xml":"<outcome value='ERROR'>\n","comments":"","outputs":1,"x":1191.88330078125,"y":373.88330078125,"z":"96b506dc.10c5e8","wires":[["a85ae409.b4541"]]},{"id":"a85ae409.b4541","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1332.88330078125,"y":374.88330078125,"z":"96b506dc.10c5e8","wires":[["d00419cf.1b199","411472cf.0aaea4"]]},{"id":"d00419cf.1b199","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$error-message`' />\n","comments":"","x":1508.8832397460938,"y":423.8833312988281,"z":"96b506dc.10c5e8","wires":[]},{"id":"5eba654f.8cceec","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1069.88330078125,"y":194.88330078125,"z":"96b506dc.10c5e8","wires":[["5572aa21.a402dc"]]},{"id":"8851723f.af52a","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`'input.payload = ' + $input.payload`\" />\n<parameter name=\"field3\" value=\"`'vm-id in context=' + $vm-id`\" />","comments":"","outputs":1,"x":851,"y":93.88333129882812,"z":"96b506dc.10c5e8","wires":[[]]},{"id":"213ddb60.68307c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":725.75,"y":164.75,"z":"96b506dc.10c5e8","wires":[["8851723f.af52a","d8525233.851af8"]]},{"id":"411472cf.0aaea4","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field3\" value=\"`'error-message = ' + $error-message`\" />","comments":"","outputs":1,"x":1495.7499389648438,"y":375.75,"z":"96b506dc.10c5e8","wires":[[]]}] +[
+ {
+ "id": "3226fb76.a7fe14",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 150.88333129882812,
+ "y": 102.88333129882812,
+ "z": "96b506dc.10c5e8",
+ "wires": [
+ [
+ "f2b4466.fcec638"
+ ]
+ ]
+ },
+ {
+ "id": "f2b4466.fcec638",
+ "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": 338.8833312988281,
+ "y": 103.88333129882812,
+ "z": "96b506dc.10c5e8",
+ "wires": [
+ [
+ "205bcc30.cae044"
+ ]
+ ]
+ },
+ {
+ "id": "205bcc30.cae044",
+ "type": "method",
+ "name": "EvacuateVM",
+ "xml": "<method rpc='EvacuateVM' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 567.88330078125,
+ "y": 104.88333129882812,
+ "z": "96b506dc.10c5e8",
+ "wires": [
+ [
+ "213ddb60.68307c"
+ ]
+ ]
+ },
+ {
+ "id": "d8525233.851af8",
+ "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": 729.88330078125,
+ "y": 271.88330078125,
+ "z": "96b506dc.10c5e8",
+ "wires": [
+ [
+ "ec71f7ec.66516",
+ "1f5ce9b3.25109e"
+ ]
+ ]
+ },
+ {
+ "id": "ec71f7ec.66516",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 924.88330078125,
+ "y": 316.88330078125,
+ "z": "96b506dc.10c5e8",
+ "wires": [
+ [
+ "4a9ae26e.e2a654"
+ ]
+ ]
+ },
+ {
+ "id": "1f5ce9b3.25109e",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 913.88330078125,
+ "y": 194.88330078125,
+ "z": "96b506dc.10c5e8",
+ "wires": [
+ [
+ "5eba654f.8cceec"
+ ]
+ ]
+ },
+ {
+ "id": "3d2c4844.2e8078",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='Request Processed Successfully' />",
+ "comments": "",
+ "x": 1372.88330078125,
+ "y": 290.88330078125,
+ "z": "96b506dc.10c5e8",
+ "wires": []
+ },
+ {
+ "id": "5572aa21.a402dc",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='RPC Evacuate not found' />",
+ "comments": "",
+ "x": 1254.88330078125,
+ "y": 213.88330078125,
+ "z": "96b506dc.10c5e8",
+ "wires": []
+ },
+ {
+ "id": "4a9ae26e.e2a654",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$EVACUATE_STATUS`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1066.88330078125,
+ "y": 316.88330078125,
+ "z": "96b506dc.10c5e8",
+ "wires": [
+ [
+ "a71868a3.d0fc38",
+ "a3d63b8d.7bb02"
+ ]
+ ]
+ },
+ {
+ "id": "a71868a3.d0fc38",
+ "type": "success",
+ "name": "SUCCESS",
+ "xml": "<outcome value='SUCCESS'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1197.88330078125,
+ "y": 290.88330078125,
+ "z": "96b506dc.10c5e8",
+ "wires": [
+ [
+ "3d2c4844.2e8078"
+ ]
+ ]
+ },
+ {
+ "id": "a3d63b8d.7bb02",
+ "type": "outcome",
+ "name": "ERROR",
+ "xml": "<outcome value='ERROR'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1191.88330078125,
+ "y": 373.88330078125,
+ "z": "96b506dc.10c5e8",
+ "wires": [
+ [
+ "a85ae409.b4541"
+ ]
+ ]
+ },
+ {
+ "id": "a85ae409.b4541",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1332.88330078125,
+ "y": 374.88330078125,
+ "z": "96b506dc.10c5e8",
+ "wires": [
+ [
+ "d00419cf.1b199",
+ "411472cf.0aaea4"
+ ]
+ ]
+ },
+ {
+ "id": "d00419cf.1b199",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$error-message`' />\n",
+ "comments": "",
+ "x": 1508.8832397460938,
+ "y": 423.8833312988281,
+ "z": "96b506dc.10c5e8",
+ "wires": []
+ },
+ {
+ "id": "5eba654f.8cceec",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1069.88330078125,
+ "y": 194.88330078125,
+ "z": "96b506dc.10c5e8",
+ "wires": [
+ [
+ "5572aa21.a402dc"
+ ]
+ ]
+ },
+ {
+ "id": "8851723f.af52a",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`'input.payload = ' + $input.payload`\" />\n<parameter name=\"field3\" value=\"`'vm-id in context=' + $vm-id`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 851,
+ "y": 93.88333129882812,
+ "z": "96b506dc.10c5e8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "213ddb60.68307c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 725.75,
+ "y": 164.75,
+ "z": "96b506dc.10c5e8",
+ "wires": [
+ [
+ "8851723f.af52a",
+ "d8525233.851af8"
+ ]
+ ]
+ },
+ {
+ "id": "411472cf.0aaea4",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field3\" value=\"`'error-message = ' + $error-message`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1495.7499389648438,
+ "y": 375.75,
+ "z": "96b506dc.10c5e8",
+ "wires": [
+ []
+ ]
+ }
+]
|