summaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CreateSnapShotVM.json
diff options
context:
space:
mode:
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CreateSnapShotVM.json')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CreateSnapShotVM.json263
1 files changed, 262 insertions, 1 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CreateSnapShotVM.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CreateSnapShotVM.json
index ae4393758..35b58f463 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CreateSnapShotVM.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CreateSnapShotVM.json
@@ -1 +1,262 @@
-[{"id":"d52c65e5.f5198","type":"dgstart","name":"DGSTART","outputs":1,"x":176.75,"y":107.75,"z":"30478bde.f2abc4","wires":[["ddb3e53d.f4b2f"]]},{"id":"ddb3e53d.f4b2f","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":364.75,"y":108.75,"z":"30478bde.f2abc4","wires":[["d8340025.194a6"]]},{"id":"d8340025.194a6","type":"method","name":"CreateSnapshotVM","xml":"<method rpc='CreateSnapShotVM' mode='sync'>\n","comments":"","outputs":1,"x":593.7499694824219,"y":109.75,"z":"30478bde.f2abc4","wires":[["d54c9ea.28358e"]]},{"id":"6b99250e.35643c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":930.7499694824219,"y":320.7499694824219,"z":"30478bde.f2abc4","wires":[["397ee930.1e2b1e"]]},{"id":"a43afbad.7e76b","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":939.7499694824219,"y":199.74996948242188,"z":"30478bde.f2abc4","wires":[["7859efa9.a0ac4"]]},{"id":"9f18808f.a11f7","type":"returnSuccess","name":"return success","xml":"<return status='success'>","comments":"","x":1486.7499694824219,"y":292.7499694824219,"z":"30478bde.f2abc4","wires":[]},{"id":"5dad8781.d7ba1","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='RPC CreateSnapShot not found' />","comments":"","x":1247.7499694824219,"y":199.74996948242188,"z":"30478bde.f2abc4","wires":[]},{"id":"397ee930.1e2b1e","type":"switchNode","name":"switch error-code","xml":"<switch test='`$error_code`'>\n","comments":"","outputs":1,"x":1123.7499694824219,"y":321.7499694824219,"z":"30478bde.f2abc4","wires":[["1ed28160.fcd10f","7b2975af.e9ca64"]]},{"id":"1ed28160.fcd10f","type":"success","name":"SUCCESS 200","xml":"<outcome value='200'>\n","comments":"","outputs":1,"x":1305.7499694824219,"y":291.7499694824219,"z":"30478bde.f2abc4","wires":[["9f18808f.a11f7"]]},{"id":"7b2975af.e9ca64","type":"outcome","name":"ERROR","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1297.7499694824219,"y":450.7499694824219,"z":"30478bde.f2abc4","wires":[["da50f76.9fc8c08"]]},{"id":"da50f76.9fc8c08","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1430.7499694824219,"y":451.7499694824219,"z":"30478bde.f2abc4","wires":[["bc220e8d.e4e278","191f3219.fef8f6"]]},{"id":"bc220e8d.e4e278","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":1565.7499694824219,"y":492.75,"z":"30478bde.f2abc4","wires":[]},{"id":"7859efa9.a0ac4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1095.7499694824219,"y":199.74996948242188,"z":"30478bde.f2abc4","wires":[["5dad8781.d7ba1"]]},{"id":"77e88d06.223f64","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":876.8666687011719,"y":98.75,"z":"30478bde.f2abc4","wires":[[]]},{"id":"d54c9ea.28358e","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":751.6166687011719,"y":169.61666870117188,"z":"30478bde.f2abc4","wires":[["77e88d06.223f64","d8474535.89d048"]]},{"id":"191f3219.fef8f6","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`\" />\n<parameter name=\"field4\" value=\"`'error-code = ' + $error_code`\" />","comments":"","outputs":1,"x":1555.6166687011719,"y":423.6166687011719,"z":"30478bde.f2abc4","wires":[[]]},{"id":"d8474535.89d048","type":"execute","name":"createSnapshot()","xml":"<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='createSnapshot'>\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":767.7499694824219,"y":265.75,"z":"30478bde.f2abc4","wires":[["a43afbad.7e76b","6b99250e.35643c"]]}]
+[
+ {
+ "id": "d52c65e5.f5198",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 176.75,
+ "y": 107.75,
+ "z": "30478bde.f2abc4",
+ "wires": [
+ [
+ "ddb3e53d.f4b2f"
+ ]
+ ]
+ },
+ {
+ "id": "ddb3e53d.f4b2f",
+ "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": 364.75,
+ "y": 108.75,
+ "z": "30478bde.f2abc4",
+ "wires": [
+ [
+ "d8340025.194a6"
+ ]
+ ]
+ },
+ {
+ "id": "d8340025.194a6",
+ "type": "method",
+ "name": "CreateSnapshotVM",
+ "xml": "<method rpc='CreateSnapShotVM' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 593.7499694824219,
+ "y": 109.75,
+ "z": "30478bde.f2abc4",
+ "wires": [
+ [
+ "d54c9ea.28358e"
+ ]
+ ]
+ },
+ {
+ "id": "6b99250e.35643c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 930.7499694824219,
+ "y": 320.7499694824219,
+ "z": "30478bde.f2abc4",
+ "wires": [
+ [
+ "397ee930.1e2b1e"
+ ]
+ ]
+ },
+ {
+ "id": "a43afbad.7e76b",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 939.7499694824219,
+ "y": 199.74996948242188,
+ "z": "30478bde.f2abc4",
+ "wires": [
+ [
+ "7859efa9.a0ac4"
+ ]
+ ]
+ },
+ {
+ "id": "9f18808f.a11f7",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>",
+ "comments": "",
+ "x": 1486.7499694824219,
+ "y": 292.7499694824219,
+ "z": "30478bde.f2abc4",
+ "wires": []
+ },
+ {
+ "id": "5dad8781.d7ba1",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='RPC CreateSnapShot not found' />",
+ "comments": "",
+ "x": 1247.7499694824219,
+ "y": 199.74996948242188,
+ "z": "30478bde.f2abc4",
+ "wires": []
+ },
+ {
+ "id": "397ee930.1e2b1e",
+ "type": "switchNode",
+ "name": "switch error-code",
+ "xml": "<switch test='`$error_code`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1123.7499694824219,
+ "y": 321.7499694824219,
+ "z": "30478bde.f2abc4",
+ "wires": [
+ [
+ "1ed28160.fcd10f",
+ "7b2975af.e9ca64"
+ ]
+ ]
+ },
+ {
+ "id": "1ed28160.fcd10f",
+ "type": "success",
+ "name": "SUCCESS 200",
+ "xml": "<outcome value='200'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1305.7499694824219,
+ "y": 291.7499694824219,
+ "z": "30478bde.f2abc4",
+ "wires": [
+ [
+ "9f18808f.a11f7"
+ ]
+ ]
+ },
+ {
+ "id": "7b2975af.e9ca64",
+ "type": "outcome",
+ "name": "ERROR",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1297.7499694824219,
+ "y": 450.7499694824219,
+ "z": "30478bde.f2abc4",
+ "wires": [
+ [
+ "da50f76.9fc8c08"
+ ]
+ ]
+ },
+ {
+ "id": "da50f76.9fc8c08",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1430.7499694824219,
+ "y": 451.7499694824219,
+ "z": "30478bde.f2abc4",
+ "wires": [
+ [
+ "bc220e8d.e4e278",
+ "191f3219.fef8f6"
+ ]
+ ]
+ },
+ {
+ "id": "bc220e8d.e4e278",
+ "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": 1565.7499694824219,
+ "y": 492.75,
+ "z": "30478bde.f2abc4",
+ "wires": []
+ },
+ {
+ "id": "7859efa9.a0ac4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1095.7499694824219,
+ "y": 199.74996948242188,
+ "z": "30478bde.f2abc4",
+ "wires": [
+ [
+ "5dad8781.d7ba1"
+ ]
+ ]
+ },
+ {
+ "id": "77e88d06.223f64",
+ "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": 876.8666687011719,
+ "y": 98.75,
+ "z": "30478bde.f2abc4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d54c9ea.28358e",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 751.6166687011719,
+ "y": 169.61666870117188,
+ "z": "30478bde.f2abc4",
+ "wires": [
+ [
+ "77e88d06.223f64",
+ "d8474535.89d048"
+ ]
+ ]
+ },
+ {
+ "id": "191f3219.fef8f6",
+ "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`\" />\n<parameter name=\"field4\" value=\"`'error-code = ' + $error_code`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1555.6166687011719,
+ "y": 423.6166687011719,
+ "z": "30478bde.f2abc4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d8474535.89d048",
+ "type": "execute",
+ "name": "createSnapshot()",
+ "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='createSnapshot'>\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": 767.7499694824219,
+ "y": 265.75,
+ "z": "30478bde.f2abc4",
+ "wires": [
+ [
+ "a43afbad.7e76b",
+ "6b99250e.35643c"
+ ]
+ ]
+ }
+]