aboutsummaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_VNF_Backup.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_VNF_Backup.json')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_VNF_Backup.json141
1 files changed, 141 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_Backup.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_VNF_Backup.json
new file mode 100644
index 000000000..b96f018eb
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_VNF_Backup.json
@@ -0,0 +1,141 @@
+/*-
+ * ============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": "a3099a78.6e69b8",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 106,
+ "y": 85,
+ "z": "961baaa6.a27258",
+ "wires": [
+ [
+ "828db90b.8f9a98"
+ ]
+ ]
+ },
+ {
+ "id": "828db90b.8f9a98",
+ "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": 212,
+ "y": 142,
+ "z": "961baaa6.a27258",
+ "wires": [
+ [
+ "aad933dd.444b9"
+ ]
+ ]
+ },
+ {
+ "id": "aad933dd.444b9",
+ "type": "method",
+ "name": "VNF_Backup",
+ "xml": "<method rpc='VNF_Backup' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 303,
+ "y": 204,
+ "z": "961baaa6.a27258",
+ "wires": [
+ [
+ "a8f4edf0.5d8c2"
+ ]
+ ]
+ },
+ {
+ "id": "a8f4edf0.5d8c2",
+ "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": 419,
+ "y": 264,
+ "z": "961baaa6.a27258",
+ "wires": [
+ [
+ "133b1b36.ea26a5",
+ "73f403bf.cc84fc"
+ ]
+ ]
+ },
+ {
+ "id": "133b1b36.ea26a5",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 639,
+ "y": 241,
+ "z": "961baaa6.a27258",
+ "wires": [
+ [
+ "57a5901.f38057"
+ ]
+ ]
+ },
+ {
+ "id": "73f403bf.cc84fc",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 637,
+ "y": 288,
+ "z": "961baaa6.a27258",
+ "wires": [
+ [
+ "b63d970d.810598"
+ ]
+ ]
+ },
+ {
+ "id": "57a5901.f38057",
+ "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 Backup\" />\n",
+ "comments": "",
+ "x": 825,
+ "y": 241,
+ "z": "961baaa6.a27258",
+ "wires": []
+ },
+ {
+ "id": "b63d970d.810598",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value=\"500\" />\n<parameter name='error-message' value=\"For testing only... failure in Backup\" />\n",
+ "comments": "",
+ "x": 823,
+ "y": 289,
+ "z": "961baaa6.a27258",
+ "wires": []
+ }
+]