summaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_VNF_UploadNewVersion.json
diff options
context:
space:
mode:
authorSkip Wonnell <kw5258@att.com>2017-08-15 21:18:04 -0500
committerPatrick Brady <pb071s@att.com>2017-08-18 05:46:40 +0000
commitcf4b15ab00249af6f4d05afd75d16bec689f3241 (patch)
tree14468fef53aecf04700eab421acca88fc8e853d4 /appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_VNF_UploadNewVersion.json
parentab6c2c0cd441cf40723016e9a82aeeeb933fec7e (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_VNF_UploadNewVersion.json')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_VNF_UploadNewVersion.json115
1 files changed, 115 insertions, 0 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_VNF_UploadNewVersion.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_VNF_UploadNewVersion.json
new file mode 100644
index 000000000..be09c4681
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_VNF_UploadNewVersion.json
@@ -0,0 +1,115 @@
+/*-
+ * ============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": "69db81ef.ba444",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 268.5182189941406,
+ "y": 169.5229034423828,
+ "z": "f1bd34c4.1f4c58",
+ "wires": [["ef3e4d0d.b0fab"]]
+},
+ {
+ "id": "ef3e4d0d.b0fab",
+ "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": 374.5182189941406,
+ "y": 226.5229034423828,
+ "z": "f1bd34c4.1f4c58",
+ "wires": [["b30be360.1439e"]]
+ },
+ {
+ "id": "b30be360.1439e",
+ "type": "method",
+ "name": "VNF_UploadNewVersion",
+ "xml": "<method rpc='VNF_UploadNewVersion' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 465.5182189941406,
+ "y": 288.5229034423828,
+ "z": "f1bd34c4.1f4c58",
+ "wires": [["dc3e3baf.d4f3d8"]]
+ },
+ {
+ "id": "dc3e3baf.d4f3d8",
+ "type": "execute",
+ "name": "execute: handleUpgradeStub",
+ "xml": "<execute plugin='org.openecomp.appc.dg.util.UpgradeStubNode' method='handleUpgradeStub' >\n<parameter name=\"failureIndicator\" value=\"`$failureIndicator`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 581.5182189941406,
+ "y": 348.5229034423828,
+ "z": "f1bd34c4.1f4c58",
+ "wires": [["12490bb0.1ac3c4",
+ "75432d77.5dd7c4"]]
+ },
+ {
+ "id": "12490bb0.1ac3c4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 801.5182189941406,
+ "y": 325.5229034423828,
+ "z": "f1bd34c4.1f4c58",
+ "wires": [["8632c267.27b45"]]
+ },
+ {
+ "id": "75432d77.5dd7c4",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 799.5182189941406,
+ "y": 372.5229034423828,
+ "z": "f1bd34c4.1f4c58",
+ "wires": [["6fdbe1aa.4a1fb"]]
+ },
+ {
+ "id": "8632c267.27b45",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value=\"For testing only... success in UploadNewVersion\" />\n",
+ "comments": "",
+ "x": 987.5182189941406,
+ "y": 325.5229034423828,
+ "z": "f1bd34c4.1f4c58",
+ "wires": []
+ },
+ {
+ "id": "6fdbe1aa.4a1fb",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"For testing only... failure in UploadNewVersion\" />\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"For testing only... failure in UploadNewVersion\" />\n",
+ "comments": "",
+ "x": 985.5182189941406,
+ "y": 373.5229034423828,
+ "z": "f1bd34c4.1f4c58",
+ "wires": []
+ }]