Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_vnf-topology-operation-unassign.json
1 [\r
2     {\r
3         "id": "3bf0dc2d.c14a24",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 162.50001525878906,\r
8         "y": 72.41365623474121,\r
9         "z": "8bfceefc.af82b",\r
10         "wires": [\r
11             [\r
12                 "b55ba40.7ee5d6"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "b55ba40.7ee5d6",\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": 276.7857208251953,\r
26         "y": 112.65176773071289,\r
27         "z": "8bfceefc.af82b",\r
28         "wires": [\r
29             [\r
30                 "7d6aee59.8eda9"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "7d6aee59.8eda9",\r
36         "type": "method",\r
37         "name": "method vnf-topology-operation-unassign",\r
38         "xml": "<method rpc='vnf-topology-operation-unassign' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 258.9286422729492,\r
42         "y": 152.4136562347412,\r
43         "z": "8bfceefc.af82b",\r
44         "wires": [\r
45             [\r
46                 "4d74d1bc.2ae89"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "6fec93f5.86db2c",\r
52         "type": "comment",\r
53         "name": "vnf-topology-operation-unassign",\r
54         "info": "",\r
55         "comments": "",\r
56         "x": 556.8448715209961,\r
57         "y": 20,\r
58         "z": "8bfceefc.af82b",\r
59         "wires": []\r
60     },\r
61     {\r
62         "id": "9aaca2e2.beb78",\r
63         "type": "switchNode",\r
64         "name": "switch request-action",\r
65         "xml": "<switch test='`$vnf-topology-operation-input.request-information.request-action`'>\n",\r
66         "comments": "",\r
67         "outputs": 1,\r
68         "x": 509.77383041381836,\r
69         "y": 240.02079010009766,\r
70         "z": "8bfceefc.af82b",\r
71         "wires": [\r
72             [\r
73                 "abd8c261.c46b3",\r
74                 "d2221c3e.90c3f"\r
75             ]\r
76         ]\r
77     },\r
78     {\r
79         "id": "abd8c261.c46b3",\r
80         "type": "outcome",\r
81         "name": "DeleteVnfInstance",\r
82         "xml": "<outcome value='DeleteVnfInstance'>\n",\r
83         "comments": "",\r
84         "outputs": 1,\r
85         "x": 730.1547660827637,\r
86         "y": 215.49699878692627,\r
87         "z": "8bfceefc.af82b",\r
88         "wires": [\r
89             [\r
90                 "a6409d9.036606"\r
91             ]\r
92         ]\r
93     },\r
94     {\r
95         "id": "d2221c3e.90c3f",\r
96         "type": "other",\r
97         "name": "other",\r
98         "xml": "<outcome value='Other'>\n",\r
99         "comments": "",\r
100         "outputs": 1,\r
101         "x": 692.1547317504883,\r
102         "y": 261.2113265991211,\r
103         "z": "8bfceefc.af82b",\r
104         "wires": [\r
105             [\r
106                 "306935db.f49bda"\r
107             ]\r
108         ]\r
109     },\r
110     {\r
111         "id": "a6409d9.036606",\r
112         "type": "block",\r
113         "name": "block",\r
114         "xml": "<block>\n",\r
115         "atomic": "false",\r
116         "comments": "",\r
117         "outputs": 1,\r
118         "x": 915.0118942260742,\r
119         "y": 215.49702835083008,\r
120         "z": "8bfceefc.af82b",\r
121         "wires": [\r
122             []\r
123         ]\r
124     },\r
125     {\r
126         "id": "306935db.f49bda",\r
127         "type": "returnFailure",\r
128         "name": "return failure",\r
129         "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=\"If svc-action is 'deactivate' then request-action must be 'DeleteVnfInstance'\" />\n",\r
130         "comments": "",\r
131         "x": 932.1547393798828,\r
132         "y": 261.2112846374512,\r
133         "z": "8bfceefc.af82b",\r
134         "wires": []\r
135     },\r
136     {\r
137         "id": "4d74d1bc.2ae89",\r
138         "type": "block",\r
139         "name": "block : atomic",\r
140         "xml": "<block atomic=\"true\">",\r
141         "atomic": "true",\r
142         "comments": "",\r
143         "outputs": 1,\r
144         "x": 269.58336639404297,\r
145         "y": 303.2470169067383,\r
146         "z": "8bfceefc.af82b",\r
147         "wires": [\r
148             [\r
149                 "9aaca2e2.beb78",\r
150                 "4345ea8f.58f384"\r
151             ]\r
152         ]\r
153     },\r
154     {\r
155         "id": "4345ea8f.58f384",\r
156         "type": "switchNode",\r
157         "name": "switch vnf_length",\r
158         "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",\r
159         "comments": "",\r
160         "outputs": 1,\r
161         "x": 498.3333206176758,\r
162         "y": 359.49701499938965,\r
163         "z": "8bfceefc.af82b",\r
164         "wires": [\r
165             [\r
166                 "728fa904.537908",\r
167                 "23bd57ed.5c2f68"\r
168             ]\r
169         ]\r
170     },\r
171     {\r
172         "id": "728fa904.537908",\r
173         "type": "other",\r
174         "name": "NULL",\r
175         "xml": "<outcome value=''>\n",\r
176         "comments": "",\r
177         "outputs": 1,\r
178         "x": 682.9166831970215,\r
179         "y": 308.83031368255615,\r
180         "z": "8bfceefc.af82b",\r
181         "wires": [\r
182             [\r
183                 "f32a75d4.e72c28"\r
184             ]\r
185         ]\r
186     },\r
187     {\r
188         "id": "ea2e0eca.99875",\r
189         "type": "for",\r
190         "name": "for each vnf",\r
191         "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",\r
192         "comments": "",\r
193         "outputs": 1,\r
194         "x": 1021.2500038146973,\r
195         "y": 388.49698543548584,\r
196         "z": "8bfceefc.af82b",\r
197         "wires": [\r
198             [\r
199                 "ff75cb52.105748"\r
200             ]\r
201         ]\r
202     },\r
203     {\r
204         "id": "ff75cb52.105748",\r
205         "type": "switchNode",\r
206         "name": "switch this vnf-id == input vnf-id",\r
207         "xml": "<switch test='`$service-data.vnfs.vnf[$idx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`' >\n",\r
208         "comments": "",\r
209         "outputs": 1,\r
210         "x": 1276.2500915527344,\r
211         "y": 388.16365337371826,\r
212         "z": "8bfceefc.af82b",\r
213         "wires": [\r
214             [\r
215                 "49e6f7a3.488758"\r
216             ]\r
217         ]\r
218     },\r
219     {\r
220         "id": "49e6f7a3.488758",\r
221         "type": "outcomeTrue",\r
222         "name": "true",\r
223         "xml": "<outcome value='true'>\n",\r
224         "comments": "",\r
225         "outputs": 1,\r
226         "x": 1514.5833778381348,\r
227         "y": 387.163631439209,\r
228         "z": "8bfceefc.af82b",\r
229         "wires": [\r
230             [\r
231                 "d7731519.ea37c8"\r
232             ]\r
233         ]\r
234     },\r
235     {\r
236         "id": "d7731519.ea37c8",\r
237         "type": "set",\r
238         "name": "set vnf-index",\r
239         "xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",\r
240         "comments": "",\r
241         "x": 1682.9165725708008,\r
242         "y": 387.16365337371826,\r
243         "z": "8bfceefc.af82b",\r
244         "wires": []\r
245     },\r
246     {\r
247         "id": "59efadd9.34ff64",\r
248         "type": "switchNode",\r
249         "name": "switch vnf-index",\r
250         "xml": "<switch test='`$vnf-index`'>\n",\r
251         "comments": "",\r
252         "outputs": 1,\r
253         "x": 1031.2500114440918,\r
254         "y": 456.16367626190186,\r
255         "z": "8bfceefc.af82b",\r
256         "wires": [\r
257             [\r
258                 "4275fe83.7bd96",\r
259                 "d296558f.79c2f8"\r
260             ]\r
261         ]\r
262     },\r
263     {\r
264         "id": "4275fe83.7bd96",\r
265         "type": "other",\r
266         "name": "NULL",\r
267         "xml": "<outcome value=''>\n",\r
268         "comments": "",\r
269         "outputs": 1,\r
270         "x": 1214.5832862854004,\r
271         "y": 435.49698543548584,\r
272         "z": "8bfceefc.af82b",\r
273         "wires": [\r
274             [\r
275                 "c8299496.706828"\r
276             ]\r
277         ]\r
278     },\r
279     {\r
280         "id": "e72eb007.b4761",\r
281         "type": "returnSuccess",\r
282         "name": "return success",\r
283         "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
284         "comments": "",\r
285         "x": 2001.8175811767578,\r
286         "y": 1314.9729461669922,\r
287         "z": "8bfceefc.af82b",\r
288         "wires": []\r
289     },\r
290     {\r
291         "id": "ea9f2a97.ca1f08",\r
292         "type": "for",\r
293         "name": "for each vnf",\r
294         "xml": "<for index='idx' start='`$vnf-index + 1`' end='`$service-data.vnfs.vnf_length`' >\n",\r
295         "comments": "",\r
296         "outputs": 1,\r
297         "x": 2601.8189582824707,\r
298         "y": 898.5644903182983,\r
299         "z": "8bfceefc.af82b",\r
300         "wires": [\r
301             [\r
302                 "168141b9.a5a37e"\r
303             ]\r
304         ]\r
305     },\r
306     {\r
307         "id": "f463cdaa.41559",\r
308         "type": "comment",\r
309         "name": "Remove VNF from service data",\r
310         "info": "",\r
311         "comments": "",\r
312         "x": 1943.6204223632812,\r
313         "y": 862.3146209716797,\r
314         "z": "8bfceefc.af82b",\r
315         "wires": []\r
316     },\r
317     {\r
318         "id": "97d940c.f7414c",\r
319         "type": "set",\r
320         "name": "move vnf to remove one",\r
321         "xml": "<set>\n<parameter name=\"service-data.vnfs.vnf[$tmpidx].\" value=\"$service-data.vnfs.vnf[$idx].\" />\n\t\n",\r
322         "comments": "",\r
323         "x": 2932.0769996643066,\r
324         "y": 935.9216842651367,\r
325         "z": "8bfceefc.af82b",\r
326         "wires": []\r
327     },\r
328     {\r
329         "id": "9db43d1a.80b5b",\r
330         "type": "switchNode",\r
331         "name": "switch vnf_length",\r
332         "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",\r
333         "comments": "",\r
334         "outputs": 1,\r
335         "x": 2030.5766677856445,\r
336         "y": 903.8940572738647,\r
337         "z": "8bfceefc.af82b",\r
338         "wires": [\r
339             [\r
340                 "9205be14.b6c51",\r
341                 "a23b009d.a038"\r
342             ]\r
343         ]\r
344     },\r
345     {\r
346         "id": "9205be14.b6c51",\r
347         "type": "outcome",\r
348         "name": "1",\r
349         "xml": "<outcome value='1'>\n",\r
350         "comments": "",\r
351         "outputs": 1,\r
352         "x": 2207.5767097473145,\r
353         "y": 864.5606441497803,\r
354         "z": "8bfceefc.af82b",\r
355         "wires": [\r
356             [\r
357                 "80c57b23.9a7b78"\r
358             ]\r
359         ]\r
360     },\r
361     {\r
362         "id": "80c57b23.9a7b78",\r
363         "type": "set",\r
364         "name": "Remove vnfs",\r
365         "xml": "<set>\n\t<parameter name=\"service-data.vnfs.\" value=\"\"/>\n\n",\r
366         "comments": "",\r
367         "x": 2371.24320602417,\r
368         "y": 864.5607433319092,\r
369         "z": "8bfceefc.af82b",\r
370         "wires": []\r
371     },\r
372     {\r
373         "id": "a23b009d.a038",\r
374         "type": "other",\r
375         "name": "other",\r
376         "xml": "<outcome value='Other'>\n",\r
377         "comments": "",\r
378         "outputs": 1,\r
379         "x": 2209.100601196289,\r
380         "y": 945.0367832183838,\r
381         "z": "8bfceefc.af82b",\r
382         "wires": [\r
383             [\r
384                 "9a322bdb.0d3758"\r
385             ]\r
386         ]\r
387     },\r
388     {\r
389         "id": "632aab75.bfd5f4",\r
390         "type": "set",\r
391         "name": "set new vnf length",\r
392         "xml": "<set>\n\t<parameter name=\"service-data.vnfs.vnf_length\" value=\"`$service-data.vnfs.vnf_length - 1`\"/>\n\n\t\n",\r
393         "comments": "",\r
394         "x": 2621.373092651367,\r
395         "y": 1037.4774322509766,\r
396         "z": "8bfceefc.af82b",\r
397         "wires": []\r
398     },\r
399     {\r
400         "id": "cc9aa5c.d39c258",\r
401         "type": "set",\r
402         "name": "Remove the last vnf in the list",\r
403         "xml": "<set>\n\t<parameter name=\"service-data.vnfs.vnf[$service-data.vnfs.vnf_length - 1].\" value=\"\"/>\n\n",\r
404         "comments": "",\r
405         "x": 2657.076747894287,\r
406         "y": 992.5884532928467,\r
407         "z": "8bfceefc.af82b",\r
408         "wires": []\r
409     },\r
410     {\r
411         "id": "9a322bdb.0d3758",\r
412         "type": "block",\r
413         "name": "block : atomic",\r
414         "xml": "<block atomic=\"true\">",\r
415         "atomic": "true",\r
416         "outputs": 1,\r
417         "x": 2374.909942626953,\r
418         "y": 948.5605640411377,\r
419         "z": "8bfceefc.af82b",\r
420         "wires": [\r
421             [\r
422                 "ea9f2a97.ca1f08",\r
423                 "cc9aa5c.d39c258",\r
424                 "632aab75.bfd5f4"\r
425             ]\r
426         ]\r
427     },\r
428     {\r
429         "id": "422a0307.b6e26c",\r
430         "type": "switchNode",\r
431         "name": "switch current vf-module_length",\r
432         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`\">\n",\r
433         "comments": "",\r
434         "outputs": 1,\r
435         "x": 1405.4999160766602,\r
436         "y": 677.8303089141846,\r
437         "z": "8bfceefc.af82b",\r
438         "wires": [\r
439             [\r
440                 "cb71008a.a8f54",\r
441                 "281b69c0.91b136",\r
442                 "b3e6a6da.0a0b88"\r
443             ]\r
444         ]\r
445     },\r
446     {\r
447         "id": "cb71008a.a8f54",\r
448         "type": "outcome",\r
449         "name": "0",\r
450         "xml": "<outcome value='0'>\n",\r
451         "comments": "",\r
452         "outputs": 1,\r
453         "x": 1634.1665573120117,\r
454         "y": 634.4969501495361,\r
455         "z": "8bfceefc.af82b",\r
456         "wires": [\r
457             [\r
458                 "c599e4d6.59a018"\r
459             ]\r
460         ]\r
461     },\r
462     {\r
463         "id": "281b69c0.91b136",\r
464         "type": "outcome",\r
465         "name": "NULL",\r
466         "xml": "<outcome value=''>",\r
467         "comments": "",\r
468         "outputs": 1,\r
469         "x": 1632.7379684448242,\r
470         "y": 675.9256076812744,\r
471         "z": "8bfceefc.af82b",\r
472         "wires": [\r
473             [\r
474                 "c599e4d6.59a018"\r
475             ]\r
476         ]\r
477     },\r
478     {\r
479         "id": "c599e4d6.59a018",\r
480         "type": "block",\r
481         "name": "block",\r
482         "xml": "<block>\n",\r
483         "atomic": "false",\r
484         "comments": "",\r
485         "outputs": 1,\r
486         "x": 1781.309482574463,\r
487         "y": 655.9256086349487,\r
488         "z": "8bfceefc.af82b",\r
489         "wires": [\r
490             []\r
491         ]\r
492     },\r
493     {\r
494         "id": "b3e6a6da.0a0b88",\r
495         "type": "other",\r
496         "name": "other",\r
497         "xml": "<outcome value='Other'>\n",\r
498         "comments": "",\r
499         "outputs": 1,\r
500         "x": 1632.7380180358887,\r
501         "y": 717.3541955947876,\r
502         "z": "8bfceefc.af82b",\r
503         "wires": [\r
504             [\r
505                 "46457f5b.3ef86"\r
506             ]\r
507         ]\r
508     },\r
509     {\r
510         "id": "46457f5b.3ef86",\r
511         "type": "returnFailure",\r
512         "name": "return failure",\r
513         "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=\"Cannot delete the VNF because there are VF modules defined\" />\n",\r
514         "comments": "",\r
515         "x": 1799.8809127807617,\r
516         "y": 716.9255838394165,\r
517         "z": "8bfceefc.af82b",\r
518         "wires": []\r
519     },\r
520     {\r
521         "id": "1b063d0f.a0a6e3",\r
522         "type": "call",\r
523         "name": "call GENERIC-RESOURCE-API:naming-policy-generate-name",\r
524         "xml": "<call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' >\n",\r
525         "comments": "",\r
526         "outputs": 1,\r
527         "x": 2149.9602127075195,\r
528         "y": 1258.7499952316284,\r
529         "z": "8bfceefc.af82b",\r
530         "wires": [\r
531             []\r
532         ]\r
533     },\r
534     {\r
535         "id": "85b7a9d.afa5c58",\r
536         "type": "set",\r
537         "name": "set variables for deleting name",\r
538         "xml": "<set>\n<parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\n<parameter name='naming-policy-generate-name-input.context-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='naming-policy-generate-name-input.action' value='DELETE' />\n",\r
539         "comments": "",\r
540         "x": 2051.388832092285,\r
541         "y": 1211.60706615448,\r
542         "z": "8bfceefc.af82b",\r
543         "wires": []\r
544     },\r
545     {\r
546         "id": "f601bfcd.e4487",\r
547         "type": "block",\r
548         "name": "block : atomic",\r
549         "xml": "<block atomic=\"true\">",\r
550         "atomic": "true",\r
551         "outputs": 1,\r
552         "x": 1765.6427841186523,\r
553         "y": 1094.7024116516113,\r
554         "z": "8bfceefc.af82b",\r
555         "wires": [\r
556             [\r
557                 "9db43d1a.80b5b",\r
558                 "85b7a9d.afa5c58",\r
559                 "1b063d0f.a0a6e3",\r
560                 "e72eb007.b4761"\r
561             ]\r
562         ]\r
563     },\r
564     {\r
565         "id": "9f240acf.f10968",\r
566         "type": "call",\r
567         "name": "call self-serve-vnf-forking-logic",\r
568         "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-forking-logic' mode='sync' >\n",\r
569         "comments": "",\r
570         "outputs": 1,\r
571         "x": 1389.7857284545898,\r
572         "y": 904.7023048400879,\r
573         "z": "8bfceefc.af82b",\r
574         "wires": [\r
575             []\r
576         ]\r
577     },\r
578     {\r
579         "id": "c939b04c.c627d",\r
580         "type": "switchNode",\r
581         "name": "switch ss.self-serve-flag",\r
582         "xml": "<switch test=\"`$ss.self-serve-flag`\">\n",\r
583         "comments": "",\r
584         "outputs": 1,\r
585         "x": 1372.4999465942383,\r
586         "y": 1094.5594997406006,\r
587         "z": "8bfceefc.af82b",\r
588         "wires": [\r
589             [\r
590                 "7a49c72e.1fe9c8",\r
591                 "ecc5218b.461db"\r
592             ]\r
593         ]\r
594     },\r
595     {\r
596         "id": "7a49c72e.1fe9c8",\r
597         "type": "outcomeFalse",\r
598         "name": "false",\r
599         "xml": "<outcome value='false'>\n",\r
600         "comments": "",\r
601         "outputs": 1,\r
602         "x": 1588.4999465942383,\r
603         "y": 1094.9880847930908,\r
604         "z": "8bfceefc.af82b",\r
605         "wires": [\r
606             [\r
607                 "f601bfcd.e4487"\r
608             ]\r
609         ]\r
610     },\r
611     {\r
612         "id": "4db0d0cc.fcf23",\r
613         "type": "call",\r
614         "name": "call self-serve-vnf-unassign",\r
615         "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-unassign' mode='sync' >\n",\r
616         "comments": "",\r
617         "outputs": 1,\r
618         "x": 1804.214210510254,\r
619         "y": 1410.4166460037231,\r
620         "z": "8bfceefc.af82b",\r
621         "wires": [\r
622             [\r
623                 "a8b8d4da.ba5e58",\r
624                 "1a3f330c.4838ed"\r
625             ]\r
626         ]\r
627     },\r
628     {\r
629         "id": "a8b8d4da.ba5e58",\r
630         "type": "failure",\r
631         "name": "failure",\r
632         "xml": "<outcome value='failure'>\n",\r
633         "comments": "",\r
634         "outputs": 1,\r
635         "x": 2011.9641952514648,\r
636         "y": 1410.6666345596313,\r
637         "z": "8bfceefc.af82b",\r
638         "wires": [\r
639             [\r
640                 "58a86c05.a04eb4"\r
641             ]\r
642         ]\r
643     },\r
644     {\r
645         "id": "58a86c05.a04eb4",\r
646         "type": "returnFailure",\r
647         "name": "return failure",\r
648         "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Encountered error while unassigning self-serve resources with error: '+ $error-message`\" />\n",\r
649         "comments": "",\r
650         "x": 2177.5356216430664,\r
651         "y": 1410.3095293045044,\r
652         "z": "8bfceefc.af82b",\r
653         "wires": []\r
654     },\r
655     {\r
656         "id": "1a3f330c.4838ed",\r
657         "type": "success",\r
658         "name": "success",\r
659         "xml": "<outcome value='success'>\n",\r
660         "comments": "",\r
661         "outputs": 1,\r
662         "x": 2016.5713691711426,\r
663         "y": 1461.2221689224243,\r
664         "z": "8bfceefc.af82b",\r
665         "wires": [\r
666             [\r
667                 "9db43d1a.80b5b"\r
668             ]\r
669         ]\r
670     },\r
671     {\r
672         "id": "ecc5218b.461db",\r
673         "type": "outcomeTrue",\r
674         "name": "true",\r
675         "xml": "<outcome value='true'>\n",\r
676         "comments": "",\r
677         "outputs": 1,\r
678         "x": 1589.7856254577637,\r
679         "y": 1410.8452253341675,\r
680         "z": "8bfceefc.af82b",\r
681         "wires": [\r
682             [\r
683                 "4db0d0cc.fcf23"\r
684             ]\r
685         ]\r
686     },\r
687     {\r
688         "id": "46619b61.b2e6d4",\r
689         "type": "get-resource",\r
690         "name": "get-resource VF_MODEL",\r
691         "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from VF_MODEL WHERE customization_uuid = $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-customization-uuid'\n  pfx='db.vf-model'>\n\n",\r
692         "comments": "",\r
693         "outputs": 1,\r
694         "x": 1376.7856369018555,\r
695         "y": 800.4166660308838,\r
696         "z": "8bfceefc.af82b",\r
697         "wires": [\r
698             [\r
699                 "db921505.1ecab8",\r
700                 "2ad253ad.07e3dc"\r
701             ]\r
702         ]\r
703     },\r
704     {\r
705         "id": "db921505.1ecab8",\r
706         "type": "failure",\r
707         "name": "failure",\r
708         "xml": "<outcome value='failure'>\n",\r
709         "comments": "",\r
710         "outputs": 1,\r
711         "x": 1601.5713348388672,\r
712         "y": 780.7975034713745,\r
713         "z": "8bfceefc.af82b",\r
714         "wires": [\r
715             [\r
716                 "b4171d9d.62fd"\r
717             ]\r
718         ]\r
719     },\r
720     {\r
721         "id": "2ad253ad.07e3dc",\r
722         "type": "not-found",\r
723         "name": "not-found",\r
724         "xml": "<outcome value='not-found'>\n",\r
725         "comments": "",\r
726         "outputs": 1,\r
727         "x": 1610.142765045166,\r
728         "y": 825.0832166671753,\r
729         "z": "8bfceefc.af82b",\r
730         "wires": [\r
731             [\r
732                 "6896f0e8.60f06"\r
733             ]\r
734         ]\r
735     },\r
736     {\r
737         "id": "c42726a5.5f0838",\r
738         "type": "comment",\r
739         "name": "Query is needed by forking logic",\r
740         "info": "",\r
741         "comments": "",\r
742         "x": 1353.9285202026367,\r
743         "y": 761.8452005386353,\r
744         "z": "8bfceefc.af82b",\r
745         "wires": []\r
746     },\r
747     {\r
748         "id": "c8299496.706828",\r
749         "type": "returnSuccess",\r
750         "name": "return success",\r
751         "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n",\r
752         "comments": "",\r
753         "x": 1371.2499885559082,\r
754         "y": 434.49694538116455,\r
755         "z": "8bfceefc.af82b",\r
756         "wires": []\r
757     },\r
758     {\r
759         "id": "f32a75d4.e72c28",\r
760         "type": "returnSuccess",\r
761         "name": "return success",\r
762         "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n",\r
763         "comments": "",\r
764         "x": 836.2499809265137,\r
765         "y": 307.83032417297363,\r
766         "z": "8bfceefc.af82b",\r
767         "wires": []\r
768     },\r
769     {\r
770         "id": "23bd57ed.5c2f68",\r
771         "type": "other",\r
772         "name": "other",\r
773         "xml": "<outcome value='Other'>\n",\r
774         "comments": "",\r
775         "outputs": 1,\r
776         "x": 679.5834007263184,\r
777         "y": 417.83028984069824,\r
778         "z": "8bfceefc.af82b",\r
779         "wires": [\r
780             [\r
781                 "c5c57fb4.bffa4"\r
782             ]\r
783         ]\r
784     },\r
785     {\r
786         "id": "c5c57fb4.bffa4",\r
787         "type": "block",\r
788         "name": "block : atomic",\r
789         "xml": "<block atomic=\"true\">",\r
790         "atomic": "true",\r
791         "outputs": 1,\r
792         "x": 837.9166374206543,\r
793         "y": 417.8302993774414,\r
794         "z": "8bfceefc.af82b",\r
795         "wires": [\r
796             [\r
797                 "ea2e0eca.99875",\r
798                 "59efadd9.34ff64"\r
799             ]\r
800         ]\r
801     },\r
802     {\r
803         "id": "5d1e4a8b.33a764",\r
804         "type": "block",\r
805         "name": "block : atomic",\r
806         "xml": "<block atomic=\"true\">",\r
807         "atomic": "true",\r
808         "outputs": 1,\r
809         "x": 1060.4166412353516,\r
810         "y": 843.2469615936279,\r
811         "z": "8bfceefc.af82b",\r
812         "wires": [\r
813             [\r
814                 "422a0307.b6e26c",\r
815                 "46619b61.b2e6d4",\r
816                 "9f240acf.f10968",\r
817                 "c939b04c.c627d"\r
818             ]\r
819         ]\r
820     },\r
821     {\r
822         "id": "d296558f.79c2f8",\r
823         "type": "other",\r
824         "name": "other",\r
825         "xml": "<outcome value='Other'>\n",\r
826         "comments": "",\r
827         "outputs": 1,\r
828         "x": 1211.2500839233398,\r
829         "y": 481.16366958618164,\r
830         "z": "8bfceefc.af82b",\r
831         "wires": [\r
832             [\r
833                 "5d1e4a8b.33a764"\r
834             ]\r
835         ]\r
836     },\r
837     {\r
838         "id": "168141b9.a5a37e",\r
839         "type": "block",\r
840         "name": "block",\r
841         "xml": "<block>\n",\r
842         "atomic": "false",\r
843         "comments": "",\r
844         "outputs": 1,\r
845         "x": 2738.6907691955566,\r
846         "y": 897.5328073501587,\r
847         "z": "8bfceefc.af82b",\r
848         "wires": [\r
849             [\r
850                 "5253081e.499f08",\r
851                 "97d940c.f7414c",\r
852                 "4cab7b3.6b48784"\r
853             ]\r
854         ]\r
855     },\r
856     {\r
857         "id": "5253081e.499f08",\r
858         "type": "set",\r
859         "name": "set tmpidx",\r
860         "xml": "<set>\n<parameter name=\"$tmpidx\" value=\"`$idx - 1`\"/>\n",\r
861         "comments": "",\r
862         "x": 2888.6904487609863,\r
863         "y": 854.1993503570557,\r
864         "z": "8bfceefc.af82b",\r
865         "wires": []\r
866     },\r
867     {\r
868         "id": "4cab7b3.6b48784",\r
869         "type": "set",\r
870         "name": "erase entry at tmpidx",\r
871         "xml": "<set>\n<parameter name=\"service-data.vnfs.vnf[$tmpidx].\" value=\"\" />\n\t\n",\r
872         "comments": "",\r
873         "x": 2923.6903648376465,\r
874         "y": 895.8660793304443,\r
875         "z": "8bfceefc.af82b",\r
876         "wires": []\r
877     },\r
878     {\r
879         "id": "6896f0e8.60f06",\r
880         "type": "record",\r
881         "name": "record ",\r
882         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"`'No model found for VNF customization UUID ' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-customization-uuid`\"/>",\r
883         "comments": "",\r
884         "outputs": 1,\r
885         "x": 1758.4999923706055,\r
886         "y": 825.7500009536743,\r
887         "z": "8bfceefc.af82b",\r
888         "wires": [\r
889             []\r
890         ]\r
891     },\r
892     {\r
893         "id": "b4171d9d.62fd",\r
894         "type": "record",\r
895         "name": "record ",\r
896         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"Error reading VF_MODEL table\"/>",\r
897         "comments": "",\r
898         "outputs": 1,\r
899         "x": 1741.4999923706055,\r
900         "y": 780.7500009536743,\r
901         "z": "8bfceefc.af82b",\r
902         "wires": [\r
903             []\r
904         ]\r
905     }\r
906 ]