[SDNGC-5859] copy local change to onap
[sdnc/oam.git] / platform-logic / vnfapi / src / main / json / VNF-API_network-topology-delete.json
1 [
2     {
3         "id": "9a85f16b.d93cd",
4         "type": "block",
5         "name": "block : atomic",
6         "xml": "<block atomic=\"true\">",
7         "atomic": "true",
8         "outputs": 1,
9         "x": 1144,
10         "y": 667.2234153747559,
11         "z": "78f26cc2.346884",
12         "wires": [
13             [
14                 "97b09ce.37e6a6",
15                 "3e48845d.1dee8c",
16                 "7a75947e.dc19cc"
17             ]
18         ]
19     },
20     {
21         "id": "97b09ce.37e6a6",
22         "type": "set",
23         "name": "Set final indicator to Y",
24         "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
25         "comments": "",
26         "outputs": 1,
27         "x": 1376.1924362182617,
28         "y": 716.0835227966309,
29         "z": "78f26cc2.346884",
30         "wires": [
31             []
32         ]
33     },
34     {
35         "id": "3e48845d.1dee8c",
36         "type": "returnSuccess",
37         "name": "return success",
38         "xml": "<return status='success'>\n\t<parameter name=\"networkId\" value=\"`$tmp.AnAI.l3network.network-id`\" />\n\t<parameter name=\"error-code\" value=\"200\" />",
39         "comments": "",
40         "x": 1355.73929977417,
41         "y": 766.4465789794922,
42         "z": "78f26cc2.346884",
43         "wires": []
44     },
45     {
46         "id": "7a75947e.dc19cc",
47         "type": "delete",
48         "name": "delete AnAI - l3-network",
49         "xml": "<delete plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-id = $tmp.AnAI.l3network.network-id\" >",
50         "comments": "",
51         "outputs": 1,
52         "x": 1381.7546920776367,
53         "y": 668.0158958435059,
54         "z": "78f26cc2.346884",
55         "wires": [
56             []
57         ]
58     },
59     {
60         "id": "6426b1cc.4346d",
61         "type": "switchNode",
62         "name": "switch: INPUT network-id",
63         "xml": "<switch test=\"`$network-topology-operation-input.network-request-information.network-id`\">",
64         "comments": "",
65         "outputs": 1,
66         "x": 262.6510238647461,
67         "y": 236.66913223266602,
68         "z": "78f26cc2.346884",
69         "wires": [
70             [
71                 "9751ef82.d9c77",
72                 "bf204584.cdc938",
73                 "1b3cf9d1.1a1ed6"
74             ]
75         ]
76     },
77     {
78         "id": "7698e3d.ad1ef1c",
79         "type": "switchNode",
80         "name": "switch: INPUT network-name",
81         "xml": "<switch test=\"`$network-topology-operation-input.network-request-information.network-name`\">",
82         "comments": "",
83         "outputs": 1,
84         "x": 700.6512680053711,
85         "y": 410.12323570251465,
86         "z": "78f26cc2.346884",
87         "wires": [
88             [
89                 "c217c4b3.588c08",
90                 "5789e661.35e1f8"
91             ]
92         ]
93     },
94     {
95         "id": "28116afa.ade786",
96         "type": "returnFailure",
97         "name": "return failure",
98         "xml": "<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value=\"DisconnectNetworkRequest requires  network-id or network-name \"/>",
99         "comments": "",
100         "x": 1085.651268005371,
101         "y": 409.12323570251465,
102         "z": "78f26cc2.346884",
103         "wires": []
104     },
105     {
106         "id": "28abb006.b3f25",
107         "type": "get-resource",
108         "name": "get AnAI - l3-network by network-name",
109         "xml": "<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-name = $network-topology-operation-input.network-request-information.network-name\" \n\t\tpfx=\"tmp.AnAI.l3network\">\n",
110         "comments": "",
111         "outputs": 1,
112         "x": 1168.1371955871582,
113         "y": 453.1300859451294,
114         "z": "78f26cc2.346884",
115         "wires": [
116             [
117                 "b4715be3.bcd0c8",
118                 "5d878005.c41e6",
119                 "89e70fc0.287a2"
120             ]
121         ]
122     },
123     {
124         "id": "6a7fc7cc.ee76d8",
125         "type": "get-resource",
126         "name": "get AnAI - l3-network by network-id",
127         "xml": "<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-id = $network-topology-operation-input.network-request-information.network-id\" \n\t\tpfx=\"tmp.AnAI.l3network\">\n",
128         "comments": "",
129         "outputs": 1,
130         "x": 718.0410385131836,
131         "y": 237.04998779296875,
132         "z": "78f26cc2.346884",
133         "wires": [
134             [
135                 "690d7e4b.60bd3",
136                 "b9af04da.c023e8",
137                 "47d05050.d96c3"
138             ]
139         ]
140     },
141     {
142         "id": "690d7e4b.60bd3",
143         "type": "failure",
144         "name": "failure",
145         "xml": "<outcome value='failure'>\n",
146         "comments": "",
147         "outputs": 1,
148         "x": 947.9980697631836,
149         "y": 236.52020263671875,
150         "z": "78f26cc2.346884",
151         "wires": [
152             [
153                 "2ebce416.bdfaac"
154             ]
155         ]
156     },
157     {
158         "id": "2ebce416.bdfaac",
159         "type": "returnFailure",
160         "name": "return failure",
161         "xml": "<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value=\"Failed to query AAI by network-id\"/>",
162         "comments": "",
163         "x": 1111.9981002807617,
164         "y": 236.51995849609375,
165         "z": "78f26cc2.346884",
166         "wires": []
167     },
168     {
169         "id": "b4715be3.bcd0c8",
170         "type": "failure",
171         "name": "failure",
172         "xml": "<outcome value='failure'>\n",
173         "comments": "",
174         "outputs": 1,
175         "x": 1404.1373176574707,
176         "y": 453.1300859451294,
177         "z": "78f26cc2.346884",
178         "wires": [
179             [
180                 "b96fe1bf.ab29e"
181             ]
182         ]
183     },
184     {
185         "id": "b96fe1bf.ab29e",
186         "type": "returnFailure",
187         "name": "return failure",
188         "xml": "<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value=\"Failed to query AAI by network-name\"/>",
189         "comments": "",
190         "x": 1568.1373481750488,
191         "y": 453.1298418045044,
192         "z": "78f26cc2.346884",
193         "wires": []
194     },
195     {
196         "id": "1b3cf9d1.1a1ed6",
197         "type": "other",
198         "name": "Other",
199         "xml": "<outcome value='Other'>",
200         "comments": "",
201         "outputs": 1,
202         "x": 496.7481002807617,
203         "y": 237.15521240234375,
204         "z": "78f26cc2.346884",
205         "wires": [
206             [
207                 "6a7fc7cc.ee76d8"
208             ]
209         ]
210     },
211     {
212         "id": "9751ef82.d9c77",
213         "type": "other",
214         "name": "NULL",
215         "xml": "<outcome value=''>",
216         "outputs": 1,
217         "x": 496.6369857788086,
218         "y": 320.26629638671875,
219         "z": "78f26cc2.346884",
220         "wires": [
221             [
222                 "7698e3d.ad1ef1c"
223             ]
224         ]
225     },
226     {
227         "id": "bf204584.cdc938",
228         "type": "other",
229         "name": "0",
230         "xml": "<outcome value='0'>",
231         "comments": "",
232         "outputs": 1,
233         "x": 496.7481002807617,
234         "y": 278.15521240234375,
235         "z": "78f26cc2.346884",
236         "wires": [
237             [
238                 "7698e3d.ad1ef1c"
239             ]
240         ]
241     },
242     {
243         "id": "c217c4b3.588c08",
244         "type": "other",
245         "name": "NULL",
246         "xml": "<outcome value=''>",
247         "outputs": 1,
248         "x": 924.4981002807617,
249         "y": 409.65546226501465,
250         "z": "78f26cc2.346884",
251         "wires": [
252             [
253                 "28116afa.ade786"
254             ]
255         ]
256     },
257     {
258         "id": "5789e661.35e1f8",
259         "type": "other",
260         "name": "Other",
261         "xml": "<outcome value='Other'>",
262         "comments": "",
263         "outputs": 1,
264         "x": 923.4981384277344,
265         "y": 453.655478477478,
266         "z": "78f26cc2.346884",
267         "wires": [
268             [
269                 "28abb006.b3f25"
270             ]
271         ]
272     },
273     {
274         "id": "b9af04da.c023e8",
275         "type": "not-found",
276         "name": "not-found",
277         "xml": "<outcome value='not-found'>\n",
278         "comments": "",
279         "outputs": 1,
280         "x": 955.9980697631836,
281         "y": 281.22381591796875,
282         "z": "78f26cc2.346884",
283         "wires": [
284             [
285                 "59b0c026.b692a"
286             ]
287         ]
288     },
289     {
290         "id": "5d878005.c41e6",
291         "type": "not-found",
292         "name": "not-found",
293         "xml": "<outcome value='not-found'>\n",
294         "comments": "",
295         "outputs": 1,
296         "x": 1412.137134552002,
297         "y": 499.8349199295044,
298         "z": "78f26cc2.346884",
299         "wires": [
300             [
301                 "9de2063e.c41718"
302             ]
303         ]
304     },
305     {
306         "id": "59b0c026.b692a",
307         "type": "returnSuccess",
308         "name": "return success",
309         "xml": "<return status=\"success\">\n\t<parameter name=\"networkId\" value=\"`$network-topology-operation-input.network-request-information.network-id` not found\" />\n\t<parameter name=\"error-code\" value=\"200\" />",
310         "comments": "",
311         "x": 1122.9980697631836,
312         "y": 281.22381591796875,
313         "z": "78f26cc2.346884",
314         "wires": []
315     },
316     {
317         "id": "9de2063e.c41718",
318         "type": "returnSuccess",
319         "name": "return success",
320         "xml": "<return status=\"success\">\n\t<parameter name=\"augmentation\" value=\"`$network-topology-operation-input.network-request-information.network-name` not found\" />\n\t<parameter name=\"error-code\" value=\"200\" />",
321         "comments": "",
322         "x": 1574.137134552002,
323         "y": 499.8349199295044,
324         "z": "78f26cc2.346884",
325         "wires": []
326     },
327     {
328         "id": "47d05050.d96c3",
329         "type": "success",
330         "name": "success",
331         "xml": "<outcome value='success'>\n",
332         "comments": "",
333         "outputs": 1,
334         "x": 952.3224105834961,
335         "y": 325.90545654296875,
336         "z": "78f26cc2.346884",
337         "wires": [
338             [
339                 "9a85f16b.d93cd"
340             ]
341         ]
342     },
343     {
344         "id": "89e70fc0.287a2",
345         "type": "success",
346         "name": "success",
347         "xml": "<outcome value='success'>\n",
348         "comments": "",
349         "outputs": 1,
350         "x": 1407.461353302002,
351         "y": 547.5165605545044,
352         "z": "78f26cc2.346884",
353         "wires": [
354             [
355                 "9a85f16b.d93cd"
356             ]
357         ]
358     },
359     {
360         "id": "bcbd8a.ad7d6278",
361         "type": "method",
362         "name": "method network-topology-delete",
363         "xml": "<method rpc=\"network-topology-delete\" mode=\"sync\">",
364         "comments": "",
365         "outputs": 1,
366         "x": 212.60881805419922,
367         "y": 109.03170585632324,
368         "z": "78f26cc2.346884",
369         "wires": [
370             [
371                 "acd387f9.1c0658"
372             ]
373         ]
374     },
375     {
376         "id": "eaea2109.ba78e",
377         "type": "service-logic",
378         "name": "VNF-API ${project.version}",
379         "module": "VNF-API",
380         "version": "${project.version}",
381         "comments": "",
382         "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='VNF-API' version='${project.version}'>",
383         "outputs": 1,
384         "x": 299.2754669189453,
385         "y": 47.142822265625,
386         "z": "78f26cc2.346884",
387         "wires": [
388             [
389                 "bcbd8a.ad7d6278"
390             ]
391         ]
392     },
393     {
394         "id": "93281b43.a28d38",
395         "type": "dgstart",
396         "name": "DGSTART",
397         "outputs": 1,
398         "x": 135.1643524169922,
399         "y": 47.142822265625,
400         "z": "78f26cc2.346884",
401         "wires": [
402             [
403                 "eaea2109.ba78e"
404             ]
405         ]
406     },
407     {
408         "id": "acd387f9.1c0658",
409         "type": "block",
410         "name": "block : atomic",
411         "xml": "<block atomic=\"true\">\n",
412         "atomic": "true",
413         "comments": "",
414         "outputs": 1,
415         "x": 171.02154541015625,
416         "y": 172.30953216552734,
417         "z": "78f26cc2.346884",
418         "wires": [
419             [
420                 "6426b1cc.4346d"
421             ]
422         ]
423     }
424 ]