aboutsummaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_VSCP_SoftwareUpload.json
diff options
context:
space:
mode:
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_VSCP_SoftwareUpload.json')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_VSCP_SoftwareUpload.json349
1 files changed, 349 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_SoftwareUpload.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_VSCP_SoftwareUpload.json
new file mode 100644
index 000000000..2339b20d8
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_VSCP_SoftwareUpload.json
@@ -0,0 +1,349 @@
+/*-
+ * ============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": "64f09cfb.65f934",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 123.75,
+ "y": 96,
+ "z": "c82a79e8.e87b78",
+ "wires": [["89378c24.7257"]]
+},
+ {
+ "id": "89378c24.7257",
+ "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": 289.75000381469727,
+ "y": 97.00000762939453,
+ "z": "c82a79e8.e87b78",
+ "wires": [["ba19fcdd.41804"]]
+ },
+ {
+ "id": "ba19fcdd.41804",
+ "type": "method",
+ "name": "VSCP_SoftwareUpload",
+ "xml": "<method rpc='VSCP_SoftwareUpload' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 340.75000381469727,
+ "y": 151.9999771118164,
+ "z": "c82a79e8.e87b78",
+ "wires": [["5ec41e43.b3427"]]
+ },
+ {
+ "id": "d64712c6.1e102",
+ "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<parameter name='output.status.code' value='401'/>",
+ "comments": "",
+ "x": 2084.75,
+ "y": 330.0001220703125,
+ "z": "c82a79e8.e87b78",
+ "wires": []
+ },
+ {
+ "id": "c7104b30.9f8748",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name='error-code' value='400' />\n",
+ "comments": "",
+ "x": 2017.749912261963,
+ "y": 678.000129699707,
+ "z": "c82a79e8.e87b78",
+ "wires": []
+ },
+ {
+ "id": "1d1d05aa.1712aa",
+ "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=\"`$error-message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1722.749942779541,
+ "y": 332.00012969970703,
+ "z": "c82a79e8.e87b78",
+ "wires": [["a7d06ef5.ab8e1"]]
+ },
+ {
+ "id": "457ba9cf.7006a8",
+ "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",
+ "comments": "",
+ "outputs": 1,
+ "x": 1236.7498512268066,
+ "y": 667.0001831054688,
+ "z": "c82a79e8.e87b78",
+ "wires": [["c5cf7972.aa19a8",
+ "3fd4e7ce.48fc38"]]
+ },
+ {
+ "id": "3fd4e7ce.48fc38",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1524.7498512268066,
+ "y": 655.0001373291016,
+ "z": "c82a79e8.e87b78",
+ "wires": [["1d1d05aa.1712aa"]]
+ },
+ {
+ "id": "c5cf7972.aa19a8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1537.7498512268066,
+ "y": 702.0001373291016,
+ "z": "c82a79e8.e87b78",
+ "wires": [["6a8d06b2.533f18"]]
+ },
+ {
+ "id": "92a57ed9.e2bc2",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1845.749912261963,
+ "y": 636.000129699707,
+ "z": "c82a79e8.e87b78",
+ "wires": [["1d1d05aa.1712aa"]]
+ },
+ {
+ "id": "9c548b9d.bbb638",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1852.749912261963,
+ "y": 678.000129699707,
+ "z": "c82a79e8.e87b78",
+ "wires": [["c7104b30.9f8748"]]
+ },
+ {
+ "id": "6a8d06b2.533f18",
+ "type": "execute",
+ "name": "executeUpload",
+ "xml": "<execute plugin='com.att.appc.dg.vSCP.v3_5_5.VSCPDGUtils' method='executeUpload'>\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"source-file-url\" value=\"`$source-file-url`\" />\n<parameter name=\"timeout\" value=\"`$timeout`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1714.7499732971191,
+ "y": 666.0001373291016,
+ "z": "c82a79e8.e87b78",
+ "wires": [["92a57ed9.e2bc2",
+ "9c548b9d.bbb638"]]
+ },
+ {
+ "id": "4ad2faef.9c5264",
+ "type": "call",
+ "name": "call_VSCP_UpgradePreconditionCheck",
+ "xml": "<call rpc='VSCP_UpgradePreconditionCheck' mode='sync' version='2.0.0.0' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 759.749942779541,
+ "y": 423.0000991821289,
+ "z": "c82a79e8.e87b78",
+ "wires": [["5788fb68.1d3114",
+ "5289eab5.3ed8d4"]]
+ },
+ {
+ "id": "5788fb68.1d3114",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 983.749942779541,
+ "y": 403.0000991821289,
+ "z": "c82a79e8.e87b78",
+ "wires": [["1d1d05aa.1712aa"]]
+ },
+ {
+ "id": "5289eab5.3ed8d4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 989.749942779541,
+ "y": 456.0000991821289,
+ "z": "c82a79e8.e87b78",
+ "wires": [["e9d1e289.2189c"]]
+ },
+ {
+ "id": "5ec41e43.b3427",
+ "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": 418.74997329711914,
+ "y": 201.9999771118164,
+ "z": "c82a79e8.e87b78",
+ "wires": [["ecbcc2c5.a3e3",
+ "315df407.1e37bc"]]
+ },
+ {
+ "id": "315df407.1e37bc",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 642.7498207092285,
+ "y": 224.00000762939453,
+ "z": "c82a79e8.e87b78",
+ "wires": [["8a0677d8.02aee8"]]
+ },
+ {
+ "id": "ecbcc2c5.a3e3",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 635.749942779541,
+ "y": 174.00000762939453,
+ "z": "c82a79e8.e87b78",
+ "wires": [["1d1d05aa.1712aa"]]
+ },
+ {
+ "id": "f6093e6d.21ba",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 798.7499122619629,
+ "y": 362.0000228881836,
+ "z": "c82a79e8.e87b78",
+ "wires": [["4ad2faef.9c5264"]]
+ },
+ {
+ "id": "5757eca4.d4a414",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 801.7499122619629,
+ "y": 310.00003814697266,
+ "z": "c82a79e8.e87b78",
+ "wires": [["1d1d05aa.1712aa"]]
+ },
+ {
+ "id": "8a0677d8.02aee8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 474.74997329711914,
+ "y": 271.00003814697266,
+ "z": "c82a79e8.e87b78",
+ "wires": [["54f1eab.e4bcc14",
+ "a7c355e0.0616b8"]]
+ },
+ {
+ "id": "54f1eab.e4bcc14",
+ "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": 640.749942779541,
+ "y": 271.0000686645508,
+ "z": "c82a79e8.e87b78",
+ "wires": []
+ },
+ {
+ "id": "a7c355e0.0616b8",
+ "type": "execute",
+ "name": "execute: getVNFData",
+ "xml": "<execute plugin='org.openecomp.appc.dg.aai.AAIPlugin' method='getGenericVnfData' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 595.7499580383301,
+ "y": 338.0000915527344,
+ "z": "c82a79e8.e87b78",
+ "wires": [["5757eca4.d4a414",
+ "f6093e6d.21ba"]]
+ },
+ {
+ "id": "e9d1e289.2189c",
+ "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": 1190.0832710266113,
+ "y": 558.0001220703125,
+ "z": "c82a79e8.e87b78",
+ "wires": [["98e434ab.bc9368",
+ "c4bcc02d.c078d"]]
+ },
+ {
+ "id": "98e434ab.bc9368",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1425.749942779541,
+ "y": 519.0000381469727,
+ "z": "c82a79e8.e87b78",
+ "wires": [["1d1d05aa.1712aa"]]
+ },
+ {
+ "id": "c4bcc02d.c078d",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1428.7498817443848,
+ "y": 574.0000991821289,
+ "z": "c82a79e8.e87b78",
+ "wires": [["457ba9cf.7006a8"]]
+ },
+ {
+ "id": "a7d06ef5.ab8e1",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1932.75,
+ "y": 331,
+ "z": "c82a79e8.e87b78",
+ "wires": [["d64712c6.1e102"]]
+ }]