GRAPI DG enhancement
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_vf-module-topology-operation-async.json
1 [\r
2     {\r
3         "id": "58cdaf8e.9338",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 179.8363037109375,\r
8         "y": 167.77080249786377,\r
9         "z": "720e27e0.e78d88",\r
10         "wires": [\r
11             [\r
12                 "b5c33869.bb8148"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "b5c33869.bb8148",\r
18         "type": "service-logic",\r
19         "name": "GENERIC-RESOURCE-API ${project.version}",\r
20         "module": "GENERIC-RESOURCE-API",\r
21         "version": "${project.version}",\r
22         "comments": "",\r
23         "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",\r
24         "outputs": 1,\r
25         "x": 293.12200927734375,\r
26         "y": 208.00891399383545,\r
27         "z": "720e27e0.e78d88",\r
28         "wires": [\r
29             [\r
30                 "34177c3d.1d3d04"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "34177c3d.1d3d04",\r
36         "type": "method",\r
37         "name": "method vf-module-topology-operation-async",\r
38         "xml": "<method rpc='vf-module-topology-operation-async' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 314.7649230957031,\r
42         "y": 266.520809173584,\r
43         "z": "720e27e0.e78d88",\r
44         "wires": [\r
45             [\r
46                 "98c85507.862c28"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "4dff986d.cfbfe8",\r
52         "type": "comment",\r
53         "name": "vf-module-topology-operation-async",\r
54         "info": "",\r
55         "comments": "",\r
56         "x": 642.9311599731445,\r
57         "y": 132.85714530944824,\r
58         "z": "720e27e0.e78d88",\r
59         "wires": []\r
60     },\r
61     {\r
62         "id": "98c85507.862c28",\r
63         "type": "block",\r
64         "name": "block : atomic",\r
65         "xml": "<block atomic=\"true\">",\r
66         "atomic": "true",\r
67         "outputs": 1,\r
68         "x": 637.7291793823242,\r
69         "y": 419.98814606666565,\r
70         "z": "720e27e0.e78d88",\r
71         "wires": [\r
72             [\r
73                 "9c9f62a6.868f5",\r
74                 "2c41085c.8dd918",\r
75                 "ccddbe0b.ddbca"\r
76             ]\r
77         ]\r
78     },\r
79     {\r
80         "id": "9c9f62a6.868f5",\r
81         "type": "returnSuccess",\r
82         "name": "return success",\r
83         "xml": "<return status='success'>\n<parameter name=\"ack-final\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
84         "comments": "",\r
85         "x": 842.038688659668,\r
86         "y": 627.2950584888458,\r
87         "z": "720e27e0.e78d88",\r
88         "wires": []\r
89     },\r
90     {\r
91         "id": "2c41085c.8dd918",\r
92         "type": "switchNode",\r
93         "name": "switch svc-action",\r
94         "xml": "<switch test='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`'>\n",\r
95         "comments": "",\r
96         "outputs": 1,\r
97         "x": 848.6575927734375,\r
98         "y": 419.1517460346222,\r
99         "z": "720e27e0.e78d88",\r
100         "wires": [\r
101             [\r
102                 "d8c68316.b7a72",\r
103                 "b525dffc.024fb"\r
104             ]\r
105         ]\r
106     },\r
107     {\r
108         "id": "d8c68316.b7a72",\r
109         "type": "outcome",\r
110         "name": "assign",\r
111         "xml": "<outcome value='assign'>\n",\r
112         "comments": "",\r
113         "outputs": 1,\r
114         "x": 1062.419563293457,\r
115         "y": 309.4375765323639,\r
116         "z": "720e27e0.e78d88",\r
117         "wires": [\r
118             [\r
119                 "45cc9d2f.beb9b4"\r
120             ]\r
121         ]\r
122     },\r
123     {\r
124         "id": "93f4bc38.a3c71",\r
125         "type": "outcome",\r
126         "name": "unassign",\r
127         "xml": "<outcome value='unassign'>\n",\r
128         "comments": "",\r
129         "outputs": 1,\r
130         "x": 1162.0505981445312,\r
131         "y": 459.37825417518616,\r
132         "z": "720e27e0.e78d88",\r
133         "wires": [\r
134             [\r
135                 "d491d98.b65f128"\r
136             ]\r
137         ]\r
138     },\r
139     {\r
140         "id": "b525dffc.024fb",\r
141         "type": "other",\r
142         "name": "other",\r
143         "xml": "<outcome value='Other'>\n",\r
144         "comments": "",\r
145         "outputs": 1,\r
146         "x": 1062.514804840088,\r
147         "y": 551.8183891773224,\r
148         "z": "720e27e0.e78d88",\r
149         "wires": [\r
150             [\r
151                 "90ef12c9.0fcde"\r
152             ]\r
153         ]\r
154     },\r
155     {\r
156         "id": "90ef12c9.0fcde",\r
157         "type": "returnFailure",\r
158         "name": "return failure",\r
159         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`$vnf-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n",\r
160         "comments": "",\r
161         "x": 1256.7052307128906,\r
162         "y": 551.8184578418732,\r
163         "z": "720e27e0.e78d88",\r
164         "wires": []\r
165     },\r
166     {\r
167         "id": "45cc9d2f.beb9b4",\r
168         "type": "call",\r
169         "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-assign",\r
170         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-assign' mode='sync' >\n",\r
171         "comments": "",\r
172         "outputs": 1,\r
173         "x": 1434.5623970031738,\r
174         "y": 309.0090410709381,\r
175         "z": "720e27e0.e78d88",\r
176         "wires": [\r
177             []\r
178         ]\r
179     },\r
180     {\r
181         "id": "dffe0c9b.30a7e",\r
182         "type": "call",\r
183         "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-deactivate",\r
184         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-deactivate' mode='sync' >\n",\r
185         "comments": "",\r
186         "outputs": 1,\r
187         "x": 1537.8124046325684,\r
188         "y": 409.42566990852356,\r
189         "z": "720e27e0.e78d88",\r
190         "wires": [\r
191             []\r
192         ]\r
193     },\r
194     {\r
195         "id": "d491d98.b65f128",\r
196         "type": "call",\r
197         "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-unassign",\r
198         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-unassign' mode='sync' >\n",\r
199         "comments": "",\r
200         "outputs": 1,\r
201         "x": 1532.1456756591797,\r
202         "y": 459.09238934516907,\r
203         "z": "720e27e0.e78d88",\r
204         "wires": [\r
205             []\r
206         ]\r
207     },\r
208     {\r
209         "id": "516083ba.09ae5c",\r
210         "type": "outcome",\r
211         "name": "deactivate",\r
212         "xml": "<outcome value='deactivate'>\n",\r
213         "comments": "",\r
214         "outputs": 1,\r
215         "x": 1166.1456909179688,\r
216         "y": 410.0923435688019,\r
217         "z": "720e27e0.e78d88",\r
218         "wires": [\r
219             [\r
220                 "dffe0c9b.30a7e"\r
221             ]\r
222         ]\r
223     },\r
224     {\r
225         "id": "9428c2a3.733a6",\r
226         "type": "call",\r
227         "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-activate",\r
228         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-activate' mode='sync' >\n",\r
229         "comments": "",\r
230         "outputs": 1,\r
231         "x": 1530.2886505126953,\r
232         "y": 360.33031582832336,\r
233         "z": "720e27e0.e78d88",\r
234         "wires": [\r
235             []\r
236         ]\r
237     },\r
238     {\r
239         "id": "a8ae8c.55933178",\r
240         "type": "outcome",\r
241         "name": "activate",\r
242         "xml": "<outcome value='activate'>\n",\r
243         "comments": "",\r
244         "outputs": 1,\r
245         "x": 1158.2886352539062,\r
246         "y": 360.99699330329895,\r
247         "z": "720e27e0.e78d88",\r
248         "wires": [\r
249             [\r
250                 "9428c2a3.733a6"\r
251             ]\r
252         ]\r
253     },\r
254     {\r
255         "id": "116260cc.9bfbcf",\r
256         "type": "outcome",\r
257         "name": "changeassign",\r
258         "xml": "<outcome value='changeassign'>\n",\r
259         "comments": "",\r
260         "outputs": 1,\r
261         "x": 1176.622013092041,\r
262         "y": 506.9969837665558,\r
263         "z": "720e27e0.e78d88",\r
264         "wires": [\r
265             [\r
266                 "58e3fa70.7e8074"\r
267             ]\r
268         ]\r
269     },\r
270     {\r
271         "id": "58e3fa70.7e8074",\r
272         "type": "call",\r
273         "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-changeassign",\r
274         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-changeassign' mode='sync' >\n",\r
275         "comments": "",\r
276         "outputs": 1,\r
277         "x": 1545.717082977295,\r
278         "y": 506.711119890213,\r
279         "z": "720e27e0.e78d88",\r
280         "wires": [\r
281             []\r
282         ]\r
283     },\r
284     {\r
285         "id": "ccddbe0b.ddbca",\r
286         "type": "set",\r
287         "name": "set skip-mdsal-update to Y",\r
288         "xml": "<set>\n<parameter name='skip-mdsal-update' value='Y' />\n",\r
289         "comments": "",\r
290         "x": 885.8481788635254,\r
291         "y": 263.24700570106506,\r
292         "z": "720e27e0.e78d88",\r
293         "wires": []\r
294     }\r
295 ]