diff options
author | Skip Wonnell <kw5258@att.com> | 2017-08-15 21:18:04 -0500 |
---|---|---|
committer | Patrick Brady <pb071s@att.com> | 2017-08-18 05:46:40 +0000 |
commit | cf4b15ab00249af6f4d05afd75d16bec689f3241 (patch) | |
tree | 14468fef53aecf04700eab421acca88fc8e853d4 /appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_VSCP_LiveUpgrade.json | |
parent | ab6c2c0cd441cf40723016e9a82aeeeb933fec7e (diff) |
Initial add of appc-directed-graph bundles
Directed Graph library
Additional JIRA Issues: APPC-66, APPC-71, APPC-74
Issue-ID: APPC-65
Change-Id: I1bd643f7675dec19e562e99db65bafa0dcda6ef4
Signed-off-by: Skip Wonnell <kw5258@att.com>
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_VSCP_LiveUpgrade.json')
-rw-r--r-- | appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_VSCP_LiveUpgrade.json | 275 |
1 files changed, 275 insertions, 0 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_VSCP_LiveUpgrade.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_VSCP_LiveUpgrade.json new file mode 100644 index 000000000..003fc187b --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_VSCP_LiveUpgrade.json @@ -0,0 +1,275 @@ +/*- + * ============LICENSE_START======================================================= + * ONAP : APP-C + * ================================================================================ + * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * ================================================================================ + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + */ + +[{ + "id": "e30b7047.c8c7b", + "type": "execute", + "name": "execute: flatAndAddToContext", + "xml": "<execute plugin='org.openecomp.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />", + "comments": "", + "outputs": 1, + "x": 473.75, + "y": 315, + "z": "822325c1.dd7df8", + "wires": [["32e6aaee.9b6a36", + "e32b0726.3df2c8"]] +}, + { + "id": "32e6aaee.9b6a36", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 693.7499694824219, + "y": 349, + "z": "822325c1.dd7df8", + "wires": [["83239337.5a415"]] + }, + { + "id": "e32b0726.3df2c8", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 682.7499694824219, + "y": 301, + "z": "822325c1.dd7df8", + "wires": [["52e82bf7.a1e6b4"]] + }, + { + "id": "eb520291.dd81f", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 178.75, + "y": 140, + "z": "822325c1.dd7df8", + "wires": [["7d65d4d5.ab461c"]] + }, + { + "id": "7d65d4d5.ab461c", + "type": "service-logic", + "name": "Appc-API 2.0.0.0", + "module": "Appc-API", + "version": "2.0.0.0", + "comments": "", + "xml": "<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.0'>", + "outputs": 1, + "x": 284.75, + "y": 197, + "z": "822325c1.dd7df8", + "wires": [["37c9d8bc.8d9b88"]] + }, + { + "id": "37c9d8bc.8d9b88", + "type": "method", + "name": "VSCP_LiveUpgrade", + "xml": "<method rpc='VSCP_LiveUpgrade' mode='sync'>\n", + "comments": "", + "outputs": 1, + "x": 375.75, + "y": 258.99999237060547, + "z": "822325c1.dd7df8", + "wires": [["e30b7047.c8c7b"]] + }, + { + "id": "804247b9.b06658", + "type": "returnSuccess", + "name": "return success", + "xml": "<return status='success'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value=\"success in Upgrade\" />\n", + "comments": "", + "x": 1280.1944198608398, + "y": 766.6666898727417, + "z": "822325c1.dd7df8", + "wires": [] + }, + { + "id": "52e82bf7.a1e6b4", + "type": "execute", + "name": "execute: handleErrorToDCAE", + "xml": "<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"org.openecomp.appc.dg.error\" value=\"`$org.openecomp.appc.dg.error`\" />\n<parameter name='output.status.message' value=\"`$org.openecomp.appc.dg.error`\" />\n", + "comments": "", + "outputs": 1, + "x": 1100.638900756836, + "y": 327.9999599456787, + "z": "822325c1.dd7df8", + "wires": [["83a57cf0.ab1d9"]] + }, + { + "id": "d4e3b7fe.4d6b28", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"`$org.openecomp.appc.dg.error`\" />\n<parameter name='output.status.code' value='401'/>\n", + "comments": "", + "x": 1452.41650390625, + "y": 328.44439697265625, + "z": "822325c1.dd7df8", + "wires": [] + }, + { + "id": "6711af89.05acc", + "type": "execute", + "name": "execute: liveUpgrade", + "xml": "<execute plugin='com.att.appc.dg.vSCP.v3_5_5.VSCPDGUtils' method='liveUpgrade' >\n<parameter name=\"upgrade-version\" value=\"`$upgrade-version`\" />\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"Skip-execution-installer-bin-file\" value=\"`$Skip-execution-installer-bin-file`\" />\n<parameter name=\"Skip-deploy\" value=\"`$Skip-deploy`\" />\n<parameter name=\"timeout\" value=\"`$timeout`\" />\n\n\n", + "comments": "", + "outputs": 1, + "x": 919.5277938842773, + "y": 716.8888883590698, + "z": "822325c1.dd7df8", + "wires": [["c3be342b.05c078", + "174e8a05.944846"]] + }, + { + "id": "174e8a05.944846", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 1108.1944198608398, + "y": 716.6666593551636, + "z": "822325c1.dd7df8", + "wires": [["52e82bf7.a1e6b4"]] + }, + { + "id": "c3be342b.05c078", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1113.1944198608398, + "y": 767.6666898727417, + "z": "822325c1.dd7df8", + "wires": [["804247b9.b06658"]] + }, + { + "id": "9e7f2be9.363dc8", + "type": "execute", + "name": "execute: retrieveConnectionDetails", + "xml": "<execute plugin='org.openecomp.appc.dg.ssh.SshDBPlugin' method='retrieveConnectionDetails' >\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n<parameter name='vnf-type' value=\"`$aai.input.data.vnf-type`\" />\n", + "comments": "", + "outputs": 1, + "x": 828.0833129882812, + "y": 606.222282409668, + "z": "822325c1.dd7df8", + "wires": [["beb31231.140ba", + "e66ec871.d79678"]] + }, + { + "id": "beb31231.140ba", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 1043.75, + "y": 583.0000228881836, + "z": "822325c1.dd7df8", + "wires": [["52e82bf7.a1e6b4"]] + }, + { + "id": "e66ec871.d79678", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1044.9722862243652, + "y": 632.2222585678101, + "z": "822325c1.dd7df8", + "wires": [["6711af89.05acc"]] + }, + { + "id": "36c1a02b.a44c5", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 856.7499694824219, + "y": 515, + "z": "822325c1.dd7df8", + "wires": [["9e7f2be9.363dc8"]] + }, + { + "id": "ae425047.deb98", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 859.7499694824219, + "y": 463.00001525878906, + "z": "822325c1.dd7df8", + "wires": [["52e82bf7.a1e6b4"]] + }, + { + "id": "83239337.5a415", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 532.7500305175781, + "y": 424.00001525878906, + "z": "822325c1.dd7df8", + "wires": [["130fd187.c9cb5e", + "2cd2b34d.4a7c9c"]] + }, + { + "id": "130fd187.c9cb5e", + "type": "set", + "name": "set", + "xml": "<set>\n\t<parameter name='aai.vnfID' value='`$input.action-identifiers.vnf-id`' />\n\t<parameter name='aai.prefix' value='aai.input.data' />\t", + "comments": "", + "x": 698.75, + "y": 424.0000228881836, + "z": "822325c1.dd7df8", + "wires": [] + }, + { + "id": "2cd2b34d.4a7c9c", + "type": "execute", + "name": "execute: getVNFData", + "xml": "<execute plugin='org.openecomp.appc.dg.aai.AAIPlugin' method='getGenericVnfData' >", + "comments": "", + "outputs": 1, + "x": 653.7500152587891, + "y": 491.0000686645508, + "z": "822325c1.dd7df8", + "wires": [["ae425047.deb98", + "36c1a02b.a44c5"]] + }, + { + "id": "83a57cf0.ab1d9", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1299.75, + "y": 328, + "z": "822325c1.dd7df8", + "wires": [["d4e3b7fe.4d6b28"]] + }] |