b96f018eb08951bb8fb6233291eceebc3e836611
[appc.git] /
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP : APP-C
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property.  All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 [
22     {
23         "id": "a3099a78.6e69b8",
24         "type": "dgstart",
25         "name": "DGSTART",
26         "outputs": 1,
27         "x": 106,
28         "y": 85,
29         "z": "961baaa6.a27258",
30         "wires": [
31             [
32                 "828db90b.8f9a98"
33             ]
34         ]
35     },
36     {
37         "id": "828db90b.8f9a98",
38         "type": "service-logic",
39         "name": "Appc-API 2.0.0.0",
40         "module": "Appc-API",
41         "version": "2.0.0.0",
42         "comments": "",
43         "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'>",
44         "outputs": 1,
45         "x": 212,
46         "y": 142,
47         "z": "961baaa6.a27258",
48         "wires": [
49             [
50                 "aad933dd.444b9"
51             ]
52         ]
53     },
54     {
55         "id": "aad933dd.444b9",
56         "type": "method",
57         "name": "VNF_Backup",
58         "xml": "<method rpc='VNF_Backup' mode='sync'>\n",
59         "comments": "",
60         "outputs": 1,
61         "x": 303,
62         "y": 204,
63         "z": "961baaa6.a27258",
64         "wires": [
65             [
66                 "a8f4edf0.5d8c2"
67             ]
68         ]
69     },
70     {
71         "id": "a8f4edf0.5d8c2",
72         "type": "execute",
73         "name": "execute: handleUpgradeStub",
74         "xml": "<execute plugin='org.openecomp.appc.dg.util.UpgradeStubNode' method='handleUpgradeStub' >\n<parameter name=\"failureIndicator\" value=\"`$failureIndicator`\" />\n\n",
75         "comments": "",
76         "outputs": 1,
77         "x": 419,
78         "y": 264,
79         "z": "961baaa6.a27258",
80         "wires": [
81             [
82                 "133b1b36.ea26a5",
83                 "73f403bf.cc84fc"
84             ]
85         ]
86     },
87     {
88         "id": "133b1b36.ea26a5",
89         "type": "success",
90         "name": "success",
91         "xml": "<outcome value='success'>\n",
92         "comments": "",
93         "outputs": 1,
94         "x": 639,
95         "y": 241,
96         "z": "961baaa6.a27258",
97         "wires": [
98             [
99                 "57a5901.f38057"
100             ]
101         ]
102     },
103     {
104         "id": "73f403bf.cc84fc",
105         "type": "other",
106         "name": "other",
107         "xml": "<outcome value='Other'>\n",
108         "comments": "",
109         "outputs": 1,
110         "x": 637,
111         "y": 288,
112         "z": "961baaa6.a27258",
113         "wires": [
114             [
115                 "b63d970d.810598"
116             ]
117         ]
118     },
119     {
120         "id": "57a5901.f38057",
121         "type": "returnSuccess",
122         "name": "return success",
123         "xml": "<return status='success'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value=\"For testing only... success in Backup\" />\n",
124         "comments": "",
125         "x": 825,
126         "y": 241,
127         "z": "961baaa6.a27258",
128         "wires": []
129     },
130     {
131         "id": "b63d970d.810598",
132         "type": "returnFailure",
133         "name": "return failure",
134         "xml": "<return status='failure'>\n<parameter name='error-code' value=\"500\" />\n<parameter name='error-message' value=\"For testing only... failure in Backup\" />\n",
135         "comments": "",
136         "x": 823,
137         "y": 289,
138         "z": "961baaa6.a27258",
139         "wires": []
140     }
141 ]