Update version of node base image
[appc/deployment.git] / platform-logic / appc / src / main / json / dg-loader-dgs / Dispatcher-DG / APPC_Stop_VNF_2.0.1.json
1 [
2   {
3     "id": "2ad2ccc0.ed45b4",
4     "type": "method",
5     "name": "Stop_VNF",
6     "xml": "<method rpc='Stop_VNF' mode='sync'>\n",
7     "comments": "",
8     "outputs": 1,
9     "x": 151.80625915527344,
10     "y": 143.82501220703125,
11     "z": "6ca06960.9ba8c8",
12     "wires": [
13       [
14         "44594fa2.fbe3f"
15       ]
16     ]
17   },
18   {
19     "id": "2bb548d1.038db8",
20     "type": "service-logic",
21     "name": "APPC 2.0.1",
22     "module": "APPC",
23     "version": "2.0.1",
24     "comments": "",
25     "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='APPC' version='2.0.1'>",
26     "outputs": 1,
27     "x": 134.80625915527344,
28     "y": 94.82501220703125,
29     "z": "6ca06960.9ba8c8",
30     "wires": [
31       [
32         "2ad2ccc0.ed45b4"
33       ]
34     ]
35   },
36   {
37     "id": "4082b484.03120c",
38     "type": "dgstart",
39     "name": "DGSTART",
40     "outputs": 1,
41     "x": 126.80625915527344,
42     "y": 44.82501220703125,
43     "z": "6ca06960.9ba8c8",
44     "wires": [
45       [
46         "2bb548d1.038db8"
47       ]
48     ]
49   },
50   {
51     "id": "83e59925.56b318",
52     "type": "execute",
53     "name": "execute_getVNF_Hierarchy",
54     "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getVnfHierarchy'>\n<parameter name=\"resourceKey\" value=\"`$input.action-identifiers.vnf-id`\" />",
55     "comments": "",
56     "outputs": 1,
57     "x": 322.80625915527344,
58     "y": 279.82501220703125,
59     "z": "6ca06960.9ba8c8",
60     "wires": [
61       [
62         "8ac1338f.645fc",
63         "ff4ad31d.954dd"
64       ]
65     ]
66   },
67   {
68     "id": "8ac1338f.645fc",
69     "type": "success",
70     "name": "success",
71     "xml": "<outcome value='success'>\n",
72     "comments": "",
73     "outputs": 1,
74     "x": 558.0919799804688,
75     "y": 276.6821460723877,
76     "z": "6ca06960.9ba8c8",
77     "wires": [
78       [
79         "42e4db07.e3a004"
80       ]
81     ]
82   },
83   {
84     "id": "b224c8e0.aa4aa8",
85     "type": "block",
86     "name": "block : atomic",
87     "xml": "<block atomic='true'>\n",
88     "atomic": "true",
89     "comments": "",
90     "outputs": 1,
91     "x": 1383.6636505126953,
92     "y": 271.39640855789185,
93     "z": "6ca06960.9ba8c8",
94     "wires": [
95       [
96         "2e7cae15.9739c2",
97         "5a7bd217.41064c"
98       ]
99     ]
100   },
101   {
102     "id": "2e7cae15.9739c2",
103     "type": "for",
104     "name": "for_each_VNFC",
105     "xml": "<for index=\"i\" start=\"0\" end=\"`$vnf.vnfcCount`\" >",
106     "comments": "",
107     "outputs": 1,
108     "x": 1576.3779830932617,
109     "y": 281.2535433769226,
110     "z": "6ca06960.9ba8c8",
111     "wires": [
112       [
113         "66e4ace7.4d9064"
114       ]
115     ]
116   },
117   {
118     "id": "66e4ace7.4d9064",
119     "type": "block",
120     "name": "block : atomic",
121     "xml": "<block atomic='true'>\n",
122     "atomic": "true",
123     "comments": "",
124     "outputs": 1,
125     "x": 1688.3779602050781,
126     "y": 214.53926372528076,
127     "z": "6ca06960.9ba8c8",
128     "wires": [
129       [
130         "a282aae0.bfc518"
131       ]
132     ]
133   },
134   {
135     "id": "a282aae0.bfc518",
136     "type": "execute",
137     "name": "execute_UpdateAA&I",
138     "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='postResource'>\n<parameter name=\"resourceType\" value=\"vnfc\" />\n<parameter name=\"prefix\" value=\"vnfc\" />\n<parameter name=\"resourceKey\" value='vnfc-name = $vnf.vnfc[$i].name' />\n<parameter name=\"attributeName\" value=\"orchestration-status\" />\n<parameter name=\"attributeValue\" value=\"Stopping\" />\n",
139     "comments": "",
140     "outputs": 1,
141     "x": 1797.0922775268555,
142     "y": 281.2535524368286,
143     "z": "6ca06960.9ba8c8",
144     "wires": [
145       [
146         "ec4c8d57.0618d",
147         "7d2185c7.30c2ac"
148       ]
149     ]
150   },
151   {
152     "id": "ec4c8d57.0618d",
153     "type": "success",
154     "name": "success",
155     "xml": "<outcome value='success'>\n",
156     "comments": "",
157     "outputs": 1,
158     "x": 2060.234848022461,
159     "y": 282.3964385986328,
160     "z": "6ca06960.9ba8c8",
161     "wires": [
162       [
163         "ab283aed.271ac8"
164       ]
165     ]
166   },
167   {
168     "id": "5a7bd217.41064c",
169     "type": "returnSuccess",
170     "name": "return success",
171     "xml": "<return status='success'>\n",
172     "comments": "",
173     "x": 1570.0922012329102,
174     "y": 338.5391764640808,
175     "z": "6ca06960.9ba8c8",
176     "wires": []
177   },
178   {
179     "id": "ff4ad31d.954dd",
180     "type": "failure",
181     "name": "failure",
182     "xml": "<outcome value='failure'>\n",
183     "comments": "",
184     "outputs": 1,
185     "x": 567.0919570922852,
186     "y": 55.110724449157715,
187     "z": "6ca06960.9ba8c8",
188     "wires": [
189       [
190         "6c94868d.aae958"
191       ]
192     ]
193   },
194   {
195     "id": "6fe91ea6.db8d6",
196     "type": "returnFailure",
197     "name": "return failure",
198     "xml": "<return status='failure'>\n",
199     "comments": "",
200     "x": 924.3776931762695,
201     "y": 103.39643800258636,
202     "z": "6ca06960.9ba8c8",
203     "wires": []
204   },
205   {
206     "id": "8d10ba17.c1d1d8",
207     "type": "success",
208     "name": "success",
209     "xml": "<outcome value='success'>\n",
210     "comments": "",
211     "outputs": 1,
212     "x": 3507.806266784668,
213     "y": 393.39647102355957,
214     "z": "6ca06960.9ba8c8",
215     "wires": [
216       [
217         "72c01457.77e3ec"
218       ]
219     ]
220   },
221   {
222     "id": "e6d70e75.2a057",
223     "type": "execute",
224     "name": "execute_update_AA&I",
225     "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='postResource'>\n<parameter name=\"resourceType\" value=\"vnfc\" />\n<parameter name=\"prefix\" value=\"vnfc\" />\n<parameter name=\"resourceKey\" value='vnfc-name = $vnf.vnfc[$i].name' />\n<parameter name=\"attributeName\" value=\"orchestration-status\" />\n<parameter name=\"attributeValue\" value=\"Stopped\" />\n",
226     "comments": "",
227     "outputs": 1,
228     "x": 4344.520042419434,
229     "y": 941.9679336547852,
230     "z": "6ca06960.9ba8c8",
231     "wires": [
232       [
233         "d0d63af9.b80d38",
234         "d148c424.424878"
235       ]
236     ]
237   },
238   {
239     "id": "d0d63af9.b80d38",
240     "type": "failure",
241     "name": "failure",
242     "xml": "<outcome value='failure'>\n",
243     "comments": "",
244     "outputs": 1,
245     "x": 4537.9484786987305,
246     "y": 1047.1108417510986,
247     "z": "6ca06960.9ba8c8",
248     "wires": [
249       [
250         "650db065.a724f"
251       ]
252     ]
253   },
254   {
255     "id": "3f25ae8f.106522",
256     "type": "returnFailure",
257     "name": "return failure",
258     "xml": "<return status='failure'>\n",
259     "comments": "",
260     "x": 4884.9484786987305,
261     "y": 1098.1108417510986,
262     "z": "6ca06960.9ba8c8",
263     "wires": []
264   },
265   {
266     "id": "d148c424.424878",
267     "type": "success",
268     "name": "success",
269     "xml": "<outcome value='success'>\n",
270     "comments": "",
271     "outputs": 1,
272     "x": 4537.234298706055,
273     "y": 849.825098991394,
274     "z": "6ca06960.9ba8c8",
275     "wires": [
276       [
277         "b4468ce9.c6cf8"
278       ]
279     ]
280   },
281   {
282     "id": "7d2185c7.30c2ac",
283     "type": "failure",
284     "name": "failure",
285     "xml": "<outcome value='failure'>\n",
286     "comments": "",
287     "outputs": 1,
288     "x": 1871.806297302246,
289     "y": 574.3964910507202,
290     "z": "6ca06960.9ba8c8",
291     "wires": [
292       [
293         "612720cc.fa585"
294       ]
295     ]
296   },
297   {
298     "id": "c38a3fd0.87d55",
299     "type": "returnFailure",
300     "name": "return failure",
301     "xml": "<return status='failure'>\n",
302     "comments": "",
303     "x": 2195.3776321411133,
304     "y": 663.253659248352,
305     "z": "6ca06960.9ba8c8",
306     "wires": []
307   },
308   {
309     "id": "7dd6f598.8b1cec",
310     "type": "execute",
311     "name": "execute_Update_AA&I",
312     "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='postResource'>\n<parameter name=\"resourceType\" value=\"vnfc\" />\n<parameter name=\"prefix\" value=\"vnfc\" />\n<parameter name=\"resourceKey\" value='vnfc-name = $vnf.vnfc[$i].name' />\n<parameter name=\"attributeName\" value=\"orchestration-status\" />\n<parameter name=\"attributeValue\" value=\"Error\" />\n",
313     "comments": "",
314     "outputs": 1,
315     "x": 4870.092239379883,
316     "y": 556.5393600463867,
317     "z": "6ca06960.9ba8c8",
318     "wires": [
319       [
320         "18f700c0.f08b9f",
321         "7857330d.66efac"
322       ]
323     ]
324   },
325   {
326     "id": "18f700c0.f08b9f",
327     "type": "success",
328     "name": "success",
329     "xml": "<outcome value='success'>\n",
330     "comments": "",
331     "outputs": 1,
332     "x": 5141.806171417236,
333     "y": 290.8250379562378,
334     "z": "6ca06960.9ba8c8",
335     "wires": [
336       [
337         "b12b12c2.9eb7c"
338       ]
339     ]
340   },
341   {
342     "id": "cf5745dd.7215e8",
343     "type": "comment",
344     "name": "update VNFCs to STOPPING",
345     "info": "",
346     "comments": "",
347     "x": 1877.663719177246,
348     "y": 243.53924942016602,
349     "z": "6ca06960.9ba8c8",
350     "wires": []
351   },
352   {
353     "id": "cf6aac11.4b0c6",
354     "type": "comment",
355     "name": "call south bound to STOP VMs",
356     "info": "",
357     "comments": "",
358     "x": 3334.234130859375,
359     "y": 214.25359535217285,
360     "z": "6ca06960.9ba8c8",
361     "wires": []
362   },
363   {
364     "id": "11dd9c28.d271f4",
365     "type": "comment",
366     "name": "if failure from south bound then update as Error",
367     "info": "",
368     "comments": "",
369     "x": 4865.3781661987305,
370     "y": 625.9678764343262,
371     "z": "6ca06960.9ba8c8",
372     "wires": []
373   },
374   {
375     "id": "d80c14d8.bd96b8",
376     "type": "comment",
377     "name": "STOPPED VNFCs in AA&I",
378     "info": "",
379     "comments": "",
380     "x": 4375.377372741699,
381     "y": 979.5393466949463,
382     "z": "6ca06960.9ba8c8",
383     "wires": []
384   },
385   {
386     "id": "c68baa03.5c9d58",
387     "type": "comment",
388     "name": "Fetch all VMs and VNFCs from AA&I for given VNF_ID",
389     "info": "",
390     "comments": "",
391     "x": 893.5205535888672,
392     "y": 134.68215370178223,
393     "z": "6ca06960.9ba8c8",
394     "wires": []
395   },
396   {
397     "id": "7857330d.66efac",
398     "type": "failure",
399     "name": "failure",
400     "xml": "<outcome value='failure'>\n",
401     "comments": "",
402     "outputs": 1,
403     "x": 5133.664012908936,
404     "y": 383.9679584503174,
405     "z": "6ca06960.9ba8c8",
406     "wires": [
407       [
408         "7d9e9e25.52a38"
409       ]
410     ]
411   },
412   {
413     "id": "8c742a38.ba05e8",
414     "type": "failure",
415     "name": "failure",
416     "xml": "<outcome value='failure'>\n",
417     "comments": "",
418     "outputs": 1,
419     "x": 3472.0920181274414,
420     "y": 64.68217468261719,
421     "z": "6ca06960.9ba8c8",
422     "wires": [
423       [
424         "c6bd2fa4.9a21b"
425       ]
426     ]
427   },
428   {
429     "id": "c7dcb85c.c58e98",
430     "type": "switchNode",
431     "name": "switch",
432     "xml": "<switch test='`$vnf.vnfcCount`'>\n",
433     "comments": "",
434     "outputs": 1,
435     "x": 1000.6636810302734,
436     "y": 274.1107292175293,
437     "z": "6ca06960.9ba8c8",
438     "wires": [
439       [
440         "2a4b0426.65c6ec",
441         "cb718ed3.e8db4"
442       ]
443     ]
444   },
445   {
446     "id": "2a4b0426.65c6ec",
447     "type": "other",
448     "name": "outcome_0",
449     "xml": "<outcome value='0'>\n",
450     "comments": "",
451     "outputs": 1,
452     "x": 1269.0920867919922,
453     "y": 54.253597259521484,
454     "z": "6ca06960.9ba8c8",
455     "wires": [
456       [
457         "96f75c8b.194df"
458       ]
459     ]
460   },
461   {
462     "id": "cb718ed3.e8db4",
463     "type": "other",
464     "name": "other",
465     "xml": "<outcome value='Other'>\n",
466     "comments": "",
467     "outputs": 1,
468     "x": 1204.9494018554688,
469     "y": 275.96790313720703,
470     "z": "6ca06960.9ba8c8",
471     "wires": [
472       [
473         "b224c8e0.aa4aa8"
474       ]
475     ]
476   },
477   {
478     "id": "72c01457.77e3ec",
479     "type": "switchNode",
480     "name": "switch",
481     "xml": "<switch test='`$STOP_STATUS`'>\n",
482     "comments": "",
483     "outputs": 1,
484     "x": 3689.806266784668,
485     "y": 392.39647102355957,
486     "z": "6ca06960.9ba8c8",
487     "wires": [
488       [
489         "a2c47fe0.a0ecd",
490         "66f529cc.fe2978",
491         "241500fb.1944f"
492       ]
493     ]
494   },
495   {
496     "id": "241500fb.1944f",
497     "type": "success",
498     "name": "outcome_SUCCESS",
499     "xml": "<outcome value='SUCCESS'>\n",
500     "comments": "",
501     "outputs": 1,
502     "x": 3977.234817504883,
503     "y": 728.8250350952148,
504     "z": "6ca06960.9ba8c8",
505     "wires": [
506       [
507         "e2750964.bdc668"
508       ]
509     ]
510   },
511   {
512     "id": "a2c47fe0.a0ecd",
513     "type": "other",
514     "name": "outcome_CONTEXT_NOT_FOUND",
515     "xml": "<outcome value='CONTEXT_NOT_FOUND'>\n",
516     "comments": "",
517     "outputs": 1,
518     "x": 3992.6638946533203,
519     "y": 588.253643989563,
520     "z": "6ca06960.9ba8c8",
521     "wires": [
522       [
523         "393b640d.0244bc"
524       ]
525     ]
526   },
527   {
528     "id": "66f529cc.fe2978",
529     "type": "other",
530     "name": "outcome_ERROR",
531     "xml": "<outcome value='ERROR'>\n",
532     "comments": "",
533     "outputs": 1,
534     "x": 3889.806106567383,
535     "y": 345.82506561279297,
536     "z": "6ca06960.9ba8c8",
537     "wires": [
538       [
539         "cf85dfe1.af032"
540       ]
541     ]
542   },
543   {
544     "id": "309772d8.4e5b7e",
545     "type": "execute",
546     "name": "execute_STOP",
547     "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='stopServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$vnf.vnfc[$i].vm[$j].url`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$AICIdentity`\" />\n\n",
548     "comments": "",
549     "outputs": 1,
550     "x": 3332.092124938965,
551     "y": 281.68220233917236,
552     "z": "6ca06960.9ba8c8",
553     "wires": [
554       [
555         "8d10ba17.c1d1d8",
556         "8c742a38.ba05e8"
557       ]
558     ]
559   },
560   {
561     "id": "42e4db07.e3a004",
562     "type": "switchNode",
563     "name": "switch",
564     "xml": "<switch test='`$getVnfHierarchy_result`'>\n",
565     "comments": "",
566     "outputs": 1,
567     "x": 708.3776931762695,
568     "y": 274.6822204589844,
569     "z": "6ca06960.9ba8c8",
570     "wires": [
571       [
572         "72046e0d.bb933",
573         "d518e578.ced098"
574       ]
575     ]
576   },
577   {
578     "id": "d518e578.ced098",
579     "type": "outcome",
580     "name": "FAILURE",
581     "xml": "<outcome value='FAILURE'>\n",
582     "comments": "",
583     "outputs": 1,
584     "x": 856.5921020507812,
585     "y": 545.3964314460754,
586     "z": "6ca06960.9ba8c8",
587     "wires": [
588       [
589         "47090aaf.222fd4"
590       ]
591     ]
592   },
593   {
594     "id": "3ca875a6.91ca8a",
595     "type": "returnFailure",
596     "name": "return failure",
597     "xml": "<return status='failure'>\n",
598     "comments": "",
599     "x": 1337.1634483337402,
600     "y": 622.1107501983643,
601     "z": "6ca06960.9ba8c8",
602     "wires": []
603   },
604   {
605     "id": "72046e0d.bb933",
606     "type": "outcome",
607     "name": "SUCCESS",
608     "xml": "<outcome value='SUCCESS'>\n",
609     "comments": "",
610     "outputs": 1,
611     "x": 860.8062362670898,
612     "y": 274.9679203033447,
613     "z": "6ca06960.9ba8c8",
614     "wires": [
615       [
616         "c7dcb85c.c58e98"
617       ]
618     ]
619   },
620   {
621     "id": "9238af95.d5434",
622     "type": "returnFailure",
623     "name": "return failure",
624     "xml": "<return status='failure'>\n",
625     "comments": "",
626     "x": 1623.3780059814453,
627     "y": 108.68211364746094,
628     "z": "6ca06960.9ba8c8",
629     "wires": []
630   },
631   {
632     "id": "ab283aed.271ac8",
633     "type": "switchNode",
634     "name": "switch",
635     "xml": "<switch test='`$postResource_result`'>\n",
636     "comments": "",
637     "outputs": 1,
638     "x": 2395.2348594665527,
639     "y": 275.25357723236084,
640     "z": "6ca06960.9ba8c8",
641     "wires": [
642       [
643         "6d0cbea4.1461b",
644         "1f6eff8a.e5b54",
645         "e636c1f2.8920b"
646       ]
647     ]
648   },
649   {
650     "id": "6d0cbea4.1461b",
651     "type": "outcome",
652     "name": "SUCCESS",
653     "xml": "<outcome value='SUCCESS'>\n",
654     "comments": "",
655     "outputs": 1,
656     "x": 2595.8065185546875,
657     "y": 280.5392837524414,
658     "z": "6ca06960.9ba8c8",
659     "wires": [
660       [
661         "a416e90c.481bf8"
662       ]
663     ]
664   },
665   {
666     "id": "1f6eff8a.e5b54",
667     "type": "outcome",
668     "name": "NOT_FOUND",
669     "xml": "<outcome value='NOT_FOUND'>\n",
670     "comments": "",
671     "outputs": 1,
672     "x": 2499.94917678833,
673     "y": 58.253623962402344,
674     "z": "6ca06960.9ba8c8",
675     "wires": [
676       [
677         "1205f3e9.5a7d4c"
678       ]
679     ]
680   },
681   {
682     "id": "da046d9.ba2ec9",
683     "type": "returnFailure",
684     "name": "return failure",
685     "xml": "<return status='failure'>\n",
686     "comments": "",
687     "x": 2890.9491271972656,
688     "y": 150.25355529785156,
689     "z": "6ca06960.9ba8c8",
690     "wires": []
691   },
692   {
693     "id": "e636c1f2.8920b",
694     "type": "outcome",
695     "name": "FAILURE",
696     "xml": "<outcome value='FAILURE'>\n",
697     "comments": "",
698     "outputs": 1,
699     "x": 2512.520534515381,
700     "y": 566.6820755004883,
701     "z": "6ca06960.9ba8c8",
702     "wires": [
703       [
704         "56576d03.27cba4"
705       ]
706     ]
707   },
708   {
709     "id": "3e14031.4c784fc",
710     "type": "returnFailure",
711     "name": "return failure",
712     "xml": "<return status='failure'>\n",
713     "comments": "",
714     "x": 2832.377326965332,
715     "y": 662.1107234954834,
716     "z": "6ca06960.9ba8c8",
717     "wires": []
718   },
719   {
720     "id": "b4468ce9.c6cf8",
721     "type": "switchNode",
722     "name": "switch",
723     "xml": "<switch test='`$postResource_result`'>\n",
724     "comments": "",
725     "outputs": 1,
726     "x": 4699.948547363281,
727     "y": 850.2536840438843,
728     "z": "6ca06960.9ba8c8",
729     "wires": [
730       [
731         "2ee7990e.1c4316",
732         "6f0b83da.d4d43c",
733         "34ee2bdc.3ca1f4"
734       ]
735     ]
736   },
737   {
738     "id": "2ee7990e.1c4316",
739     "type": "outcome",
740     "name": "SUCCESS",
741     "xml": "<outcome value='SUCCESS'>\n",
742     "comments": "",
743     "outputs": 1,
744     "x": 4885.663040161133,
745     "y": 848.9679288864136,
746     "z": "6ca06960.9ba8c8",
747     "wires": [
748       []
749     ]
750   },
751   {
752     "id": "6f0b83da.d4d43c",
753     "type": "outcome",
754     "name": "NOT_FOUND",
755     "xml": "<outcome value='NOT_FOUND'>\n",
756     "comments": "",
757     "outputs": 1,
758     "x": 4890.663246154785,
759     "y": 781.1107606887817,
760     "z": "6ca06960.9ba8c8",
761     "wires": [
762       [
763         "4e125db.cca88a4"
764       ]
765     ]
766   },
767   {
768     "id": "34ee2bdc.3ca1f4",
769     "type": "outcome",
770     "name": "FAILURE",
771     "xml": "<outcome value='FAILURE'>\n",
772     "comments": "",
773     "outputs": 1,
774     "x": 4873.662757873535,
775     "y": 914.9679098129272,
776     "z": "6ca06960.9ba8c8",
777     "wires": [
778       [
779         "d85456e7.649b38"
780       ]
781     ]
782   },
783   {
784     "id": "afa1afed.f8c2a",
785     "type": "returnFailure",
786     "name": "return failure",
787     "xml": "<return status='failure'>\n",
788     "comments": "",
789     "x": 5254.0916748046875,
790     "y": 843.6821527481079,
791     "z": "6ca06960.9ba8c8",
792     "wires": []
793   },
794   {
795     "id": "eba950dc.7fc52",
796     "type": "returnFailure",
797     "name": "return failure",
798     "xml": "<return status='failure'>\n",
799     "comments": "",
800     "x": 5281.520454406738,
801     "y": 965.2535791397095,
802     "z": "6ca06960.9ba8c8",
803     "wires": []
804   },
805   {
806     "id": "b12b12c2.9eb7c",
807     "type": "switchNode",
808     "name": "switch",
809     "xml": "<switch test='`$postResource_result`'>\n",
810     "comments": "",
811     "outputs": 1,
812     "x": 5268.235366821289,
813     "y": 284.68217372894287,
814     "z": "6ca06960.9ba8c8",
815     "wires": [
816       [
817         "d69cd997.2dd228",
818         "423e88af.767668",
819         "fa8644b9.d21d88"
820       ]
821     ]
822   },
823   {
824     "id": "d69cd997.2dd228",
825     "type": "outcome",
826     "name": "SUCCESS",
827     "xml": "<outcome value='SUCCESS'>\n",
828     "comments": "",
829     "outputs": 1,
830     "x": 5515.94909286499,
831     "y": 230.82503509521484,
832     "z": "6ca06960.9ba8c8",
833     "wires": [
834       [
835         "e7aae791.295e58"
836       ]
837     ]
838   },
839   {
840     "id": "e7aae791.295e58",
841     "type": "returnFailure",
842     "name": "return failure",
843     "xml": "<return status='failure'>\n",
844     "comments": "",
845     "x": 5767.806583404541,
846     "y": 229.8250331878662,
847     "z": "6ca06960.9ba8c8",
848     "wires": []
849   },
850   {
851     "id": "423e88af.767668",
852     "type": "outcome",
853     "name": "NOT_FOUND",
854     "xml": "<outcome value='NOT_FOUND'>\n",
855     "comments": "",
856     "outputs": 1,
857     "x": 5517.949306488037,
858     "y": 285.6821765899658,
859     "z": "6ca06960.9ba8c8",
860     "wires": [
861       [
862         "de0c10e.19725f"
863       ]
864     ]
865   },
866   {
867     "id": "fa8644b9.d21d88",
868     "type": "outcome",
869     "name": "FAILURE",
870     "xml": "<outcome value='FAILURE'>\n",
871     "comments": "",
872     "outputs": 1,
873     "x": 5510.806308746338,
874     "y": 351.2536106109619,
875     "z": "6ca06960.9ba8c8",
876     "wires": [
877       [
878         "1af37740.e90369"
879       ]
880     ]
881   },
882   {
883     "id": "6c94868d.aae958",
884     "type": "block",
885     "name": "block : atomic",
886     "xml": "<block atomic='true'>",
887     "atomic": "true",
888     "comments": "",
889     "outputs": 1,
890     "x": 719.0919456481934,
891     "y": 53.8250093460083,
892     "z": "6ca06960.9ba8c8",
893     "wires": [
894       [
895         "12e86e5e.c1b0e2",
896         "6fe91ea6.db8d6"
897       ]
898     ]
899   },
900   {
901     "id": "12e86e5e.c1b0e2",
902     "type": "execute",
903     "name": "execute",
904     "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Exception in getting VNF Hierachy\" />\n\n",
905     "comments": "",
906     "outputs": 1,
907     "x": 924.2348518371582,
908     "y": 52.68215370178223,
909     "z": "6ca06960.9ba8c8",
910     "wires": [
911       [
912         "71efbd8d.60bce4"
913       ]
914     ]
915   },
916   {
917     "id": "71efbd8d.60bce4",
918     "type": "success",
919     "name": "success",
920     "xml": "<outcome value='success'>\n",
921     "comments": "",
922     "outputs": 1,
923     "x": 1070.9491348266602,
924     "y": 48.96786880493164,
925     "z": "6ca06960.9ba8c8",
926     "wires": [
927       []
928     ]
929   },
930   {
931     "id": "47090aaf.222fd4",
932     "type": "block",
933     "name": "block : atomic",
934     "xml": "<block atomic='true'>",
935     "atomic": "true",
936     "comments": "",
937     "outputs": 1,
938     "x": 1125.8301696777344,
939     "y": 547.5870265960693,
940     "z": "6ca06960.9ba8c8",
941     "wires": [
942       [
943         "3ca875a6.91ca8a",
944         "2d0d48a.2de4bb8"
945       ]
946     ]
947   },
948   {
949     "id": "2d0d48a.2de4bb8",
950     "type": "execute",
951     "name": "execute",
952     "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure in getting VNF Hierachy\" />",
953     "comments": "",
954     "outputs": 1,
955     "x": 1318.7348976135254,
956     "y": 546.9679565429688,
957     "z": "6ca06960.9ba8c8",
958     "wires": [
959       [
960         "e59dddad.ddd8f"
961       ]
962     ]
963   },
964   {
965     "id": "e59dddad.ddd8f",
966     "type": "success",
967     "name": "success",
968     "xml": "<outcome value='success'>\n",
969     "comments": "",
970     "outputs": 1,
971     "x": 1500.0206756591797,
972     "y": 546.3965539932251,
973     "z": "6ca06960.9ba8c8",
974     "wires": [
975       []
976     ]
977   },
978   {
979     "id": "96f75c8b.194df",
980     "type": "block",
981     "name": "block : atomic",
982     "xml": "<block atomic='true'>",
983     "atomic": "true",
984     "comments": "",
985     "outputs": 1,
986     "x": 1449.3779220581055,
987     "y": 55.682186126708984,
988     "z": "6ca06960.9ba8c8",
989     "wires": [
990       [
991         "9238af95.d5434",
992         "31b238ff.837628"
993       ]
994     ]
995   },
996   {
997     "id": "31b238ff.837628",
998     "type": "execute",
999     "name": "execute",
1000     "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"VM Count is 0\" />\n",
1001     "comments": "",
1002     "outputs": 1,
1003     "x": 1632.8066139221191,
1004     "y": 52.68215465545654,
1005     "z": "6ca06960.9ba8c8",
1006     "wires": [
1007       [
1008         "fabacb3e.76dd88"
1009       ]
1010     ]
1011   },
1012   {
1013     "id": "fabacb3e.76dd88",
1014     "type": "success",
1015     "name": "success",
1016     "xml": "<outcome value='success'>\n",
1017     "comments": "",
1018     "outputs": 1,
1019     "x": 1806.663703918457,
1020     "y": 54.39640235900879,
1021     "z": "6ca06960.9ba8c8",
1022     "wires": [
1023       []
1024     ]
1025   },
1026   {
1027     "id": "612720cc.fa585",
1028     "type": "block",
1029     "name": "block : atomic",
1030     "xml": "<block atomic='true'>",
1031     "atomic": "true",
1032     "comments": "",
1033     "outputs": 1,
1034     "x": 2019.3776931762695,
1035     "y": 572.9678936004639,
1036     "z": "6ca06960.9ba8c8",
1037     "wires": [
1038       [
1039         "94ab01a4.1db23",
1040         "c38a3fd0.87d55"
1041       ]
1042     ]
1043   },
1044   {
1045     "id": "94ab01a4.1db23",
1046     "type": "execute",
1047     "name": "execute",
1048     "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Failure in updating AAI for' + $vnf.vnfc[$i].name`\" />\n",
1049     "comments": "",
1050     "outputs": 1,
1051     "x": 2190.8065032958984,
1052     "y": 569.8250732421875,
1053     "z": "6ca06960.9ba8c8",
1054     "wires": [
1055       [
1056         "6475da69.b758f4"
1057       ]
1058     ]
1059   },
1060   {
1061     "id": "6475da69.b758f4",
1062     "type": "success",
1063     "name": "success",
1064     "xml": "<outcome value='success'>\n",
1065     "comments": "",
1066     "outputs": 1,
1067     "x": 2324.0919036865234,
1068     "y": 569.6821899414062,
1069     "z": "6ca06960.9ba8c8",
1070     "wires": [
1071       []
1072     ]
1073   },
1074   {
1075     "id": "56576d03.27cba4",
1076     "type": "block",
1077     "name": "block : atomic",
1078     "xml": "<block atomic='true'>",
1079     "atomic": "true",
1080     "comments": "",
1081     "outputs": 1,
1082     "x": 2677.091682434082,
1083     "y": 564.1106910705566,
1084     "z": "6ca06960.9ba8c8",
1085     "wires": [
1086       [
1087         "2a4a5a93.3d21a6",
1088         "3e14031.4c784fc"
1089       ]
1090     ]
1091   },
1092   {
1093     "id": "2a4a5a93.3d21a6",
1094     "type": "execute",
1095     "name": "execute",
1096     "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Exception in AAI Update for vnfc ' + $vnf.vnfc[$i].name`\" />\n\n",
1097     "comments": "",
1098     "outputs": 1,
1099     "x": 2834.0919036865234,
1100     "y": 564.9678344726562,
1101     "z": "6ca06960.9ba8c8",
1102     "wires": [
1103       [
1104         "ba47576.cfe3ea8"
1105       ]
1106     ]
1107   },
1108   {
1109     "id": "ba47576.cfe3ea8",
1110     "type": "success",
1111     "name": "success",
1112     "xml": "<outcome value='success'>\n",
1113     "comments": "",
1114     "outputs": 1,
1115     "x": 2961.2343254089355,
1116     "y": 564.6820840835571,
1117     "z": "6ca06960.9ba8c8",
1118     "wires": [
1119       []
1120     ]
1121   },
1122   {
1123     "id": "1205f3e9.5a7d4c",
1124     "type": "block",
1125     "name": "block : atomic",
1126     "xml": "<block atomic='true'>",
1127     "atomic": "true",
1128     "comments": "",
1129     "outputs": 1,
1130     "x": 2688.5206718444824,
1131     "y": 54.25362205505371,
1132     "z": "6ca06960.9ba8c8",
1133     "wires": [
1134       [
1135         "aea4cad3.f582f8",
1136         "da046d9.ba2ec9"
1137       ]
1138     ]
1139   },
1140   {
1141     "id": "aea4cad3.f582f8",
1142     "type": "execute",
1143     "name": "execute",
1144     "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'VNFC not found in AAI : ' + $vnf.vnfc[$i].name`\" />\n",
1145     "comments": "",
1146     "outputs": 1,
1147     "x": 2888.2349891662598,
1148     "y": 53.68217754364014,
1149     "z": "6ca06960.9ba8c8",
1150     "wires": [
1151       [
1152         "28ad3523.91147a"
1153       ]
1154     ]
1155   },
1156   {
1157     "id": "28ad3523.91147a",
1158     "type": "success",
1159     "name": "success",
1160     "xml": "<outcome value='success'>\n",
1161     "comments": "",
1162     "outputs": 1,
1163     "x": 3047.66349029541,
1164     "y": 52.82505989074707,
1165     "z": "6ca06960.9ba8c8",
1166     "wires": [
1167       []
1168     ]
1169   },
1170   {
1171     "id": "c6bd2fa4.9a21b",
1172     "type": "block",
1173     "name": "block : atomic",
1174     "xml": "<block atomic='true'>",
1175     "atomic": "true",
1176     "comments": "",
1177     "outputs": 1,
1178     "x": 4700.663116455078,
1179     "y": 66.39645004272461,
1180     "z": "6ca06960.9ba8c8",
1181     "wires": [
1182       [
1183         "8c1c2d57.93d6f",
1184         "7dd6f598.8b1cec"
1185       ]
1186     ]
1187   },
1188   {
1189     "id": "8c1c2d57.93d6f",
1190     "type": "execute",
1191     "name": "Report_Failure_in_Stop",
1192     "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Failure in stop for:' + $vnf.vnfc[$i].vm[$j].url`\" />",
1193     "comments": "",
1194     "outputs": 1,
1195     "x": 4920.235027313232,
1196     "y": 93.11075019836426,
1197     "z": "6ca06960.9ba8c8",
1198     "wires": [
1199       [
1200         "cf878e2b.d033f"
1201       ]
1202     ]
1203   },
1204   {
1205     "id": "cf878e2b.d033f",
1206     "type": "success",
1207     "name": "success",
1208     "xml": "<outcome value='success'>\n",
1209     "comments": "",
1210     "outputs": 1,
1211     "x": 5104.234672546387,
1212     "y": 95.11075592041016,
1213     "z": "6ca06960.9ba8c8",
1214     "wires": [
1215       []
1216     ]
1217   },
1218   {
1219     "id": "393b640d.0244bc",
1220     "type": "block",
1221     "name": "block : atomic",
1222     "xml": "<block atomic='true'>",
1223     "atomic": "true",
1224     "comments": "",
1225     "outputs": 1,
1226     "x": 4275.23503112793,
1227     "y": 582.3964748382568,
1228     "z": "6ca06960.9ba8c8",
1229     "wires": [
1230       [
1231         "7dd6f598.8b1cec",
1232         "322d698f.b46f96"
1233       ]
1234     ]
1235   },
1236   {
1237     "id": "322d698f.b46f96",
1238     "type": "execute",
1239     "name": "Report_Context_not_found",
1240     "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Stop : Context not found:' + $vnf.vnfc[$i].vm[$j].url`\" />",
1241     "comments": "",
1242     "outputs": 1,
1243     "x": 4484.377815246582,
1244     "y": 327.39648818969727,
1245     "z": "6ca06960.9ba8c8",
1246     "wires": [
1247       [
1248         "10827cd0.8ad493"
1249       ]
1250     ]
1251   },
1252   {
1253     "id": "10827cd0.8ad493",
1254     "type": "success",
1255     "name": "success",
1256     "xml": "<outcome value='success'>\n",
1257     "comments": "",
1258     "outputs": 1,
1259     "x": 4852.236282348633,
1260     "y": 337.96788787841797,
1261     "z": "6ca06960.9ba8c8",
1262     "wires": [
1263       []
1264     ]
1265   },
1266   {
1267     "id": "cf85dfe1.af032",
1268     "type": "block",
1269     "name": "block : atomic",
1270     "xml": "<block atomic='true'>",
1271     "atomic": "true",
1272     "comments": "",
1273     "outputs": 1,
1274     "x": 4107.235305786133,
1275     "y": 321.82503509521484,
1276     "z": "6ca06960.9ba8c8",
1277     "wires": [
1278       [
1279         "7dd6f598.8b1cec",
1280         "6a2b403b.59abf"
1281       ]
1282     ]
1283   },
1284   {
1285     "id": "6a2b403b.59abf",
1286     "type": "execute",
1287     "name": "Report_Error_occoured_while_stopping_the_server",
1288     "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Stop : Error occoured while stopping the server:' + $vnf.vnfc[$i].vm[$j].url`\" />",
1289     "comments": "",
1290     "outputs": 1,
1291     "x": 4302.663665771484,
1292     "y": 182.6821699142456,
1293     "z": "6ca06960.9ba8c8",
1294     "wires": [
1295       [
1296         "9f3cbb50.15cf18"
1297       ]
1298     ]
1299   },
1300   {
1301     "id": "9f3cbb50.15cf18",
1302     "type": "success",
1303     "name": "success",
1304     "xml": "<outcome value='success'>\n",
1305     "comments": "",
1306     "outputs": 1,
1307     "x": 4645.235305786133,
1308     "y": 159.82500457763672,
1309     "z": "6ca06960.9ba8c8",
1310     "wires": [
1311       []
1312     ]
1313   },
1314   {
1315     "id": "4e125db.cca88a4",
1316     "type": "block",
1317     "name": "block : atomic",
1318     "xml": "<block atomic='true'>",
1319     "atomic": "true",
1320     "comments": "",
1321     "outputs": 1,
1322     "x": 5087.663383483887,
1323     "y": 779.5393323898315,
1324     "z": "6ca06960.9ba8c8",
1325     "wires": [
1326       [
1327         "cbb3c57f.95eb28",
1328         "afa1afed.f8c2a"
1329       ]
1330     ]
1331   },
1332   {
1333     "id": "d85456e7.649b38",
1334     "type": "block",
1335     "name": "block : atomic",
1336     "xml": "<block atomic='true'>",
1337     "atomic": "true",
1338     "comments": "",
1339     "outputs": 1,
1340     "x": 5084.520175933838,
1341     "y": 911.6821422576904,
1342     "z": "6ca06960.9ba8c8",
1343     "wires": [
1344       [
1345         "7a001de8.702584",
1346         "eba950dc.7fc52"
1347       ]
1348     ]
1349   },
1350   {
1351     "id": "650db065.a724f",
1352     "type": "block",
1353     "name": "block : atomic",
1354     "xml": "<block atomic='true'>",
1355     "atomic": "true",
1356     "comments": "",
1357     "outputs": 1,
1358     "x": 4674.9484786987305,
1359     "y": 1043.1108417510986,
1360     "z": "6ca06960.9ba8c8",
1361     "wires": [
1362       [
1363         "746b0185.8192d",
1364         "3f25ae8f.106522"
1365       ]
1366     ]
1367   },
1368   {
1369     "id": "cbb3c57f.95eb28",
1370     "type": "execute",
1371     "name": "execute",
1372     "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'VNFC not found in AAI : ' + $vnf.vnfc[$i].name`\" />",
1373     "comments": "",
1374     "outputs": 1,
1375     "x": 5251.949172973633,
1376     "y": 778.3964462280273,
1377     "z": "6ca06960.9ba8c8",
1378     "wires": [
1379       [
1380         "114932c4.f8447d"
1381       ]
1382     ]
1383   },
1384   {
1385     "id": "7a001de8.702584",
1386     "type": "execute",
1387     "name": "execute",
1388     "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Exception in AAI Update for vnfc' + $vnf.vnfc[$i].name`\" />",
1389     "comments": "",
1390     "outputs": 1,
1391     "x": 5267.8060302734375,
1392     "y": 910.396402835846,
1393     "z": "6ca06960.9ba8c8",
1394     "wires": [
1395       [
1396         "bc6131ba.1ae98"
1397       ]
1398     ]
1399   },
1400   {
1401     "id": "114932c4.f8447d",
1402     "type": "success",
1403     "name": "success",
1404     "xml": "<outcome value='success'>\n",
1405     "comments": "",
1406     "outputs": 1,
1407     "x": 5424.948745727539,
1408     "y": 783.1107883453369,
1409     "z": "6ca06960.9ba8c8",
1410     "wires": [
1411       []
1412     ]
1413   },
1414   {
1415     "id": "bc6131ba.1ae98",
1416     "type": "success",
1417     "name": "success",
1418     "xml": "<outcome value='success'>\n",
1419     "comments": "",
1420     "outputs": 1,
1421     "x": 5435.09188079834,
1422     "y": 908.6821174621582,
1423     "z": "6ca06960.9ba8c8",
1424     "wires": [
1425       []
1426     ]
1427   },
1428   {
1429     "id": "746b0185.8192d",
1430     "type": "execute",
1431     "name": "execute",
1432     "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Failure in updating AAI for' + $vnf.vnfc[$i].name`\" />",
1433     "comments": "",
1434     "outputs": 1,
1435     "x": 4877.234405517578,
1436     "y": 1038.967966079712,
1437     "z": "6ca06960.9ba8c8",
1438     "wires": [
1439       [
1440         "8080799.e130288"
1441       ]
1442     ]
1443   },
1444   {
1445     "id": "8080799.e130288",
1446     "type": "success",
1447     "name": "success",
1448     "xml": "<outcome value='success'>\n",
1449     "comments": "",
1450     "outputs": 1,
1451     "x": 5034.80583190918,
1452     "y": 1032.967966079712,
1453     "z": "6ca06960.9ba8c8",
1454     "wires": [
1455       []
1456     ]
1457   },
1458   {
1459     "id": "1cb1e0d0.21321f",
1460     "type": "success",
1461     "name": "success",
1462     "xml": "<outcome value='success'>\n",
1463     "comments": "",
1464     "outputs": 1,
1465     "x": 120.80625915527344,
1466     "y": 282.7138977050781,
1467     "z": "6ca06960.9ba8c8",
1468     "wires": [
1469       [
1470         "83e59925.56b318"
1471       ]
1472     ]
1473   },
1474   {
1475     "id": "44594fa2.fbe3f",
1476     "type": "execute",
1477     "name": "execute: flatAndAddToContext",
1478     "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",
1479     "comments": "",
1480     "outputs": 1,
1481     "x": 168.80625915527344,
1482     "y": 207.82500457763672,
1483     "z": "6ca06960.9ba8c8",
1484     "wires": [
1485       [
1486         "1cb1e0d0.21321f",
1487         "3fbfed99.b50af2",
1488         "3979a683.5741ca"
1489       ]
1490     ]
1491   },
1492   {
1493     "id": "d81b1f69.55285",
1494     "type": "returnFailure",
1495     "name": "return failure",
1496     "xml": "<return status='failure'>\n",
1497     "comments": "",
1498     "x": 5429.806198120117,
1499     "y": 651.8250112533569,
1500     "z": "6ca06960.9ba8c8",
1501     "wires": []
1502   },
1503   {
1504     "id": "7d9e9e25.52a38",
1505     "type": "block",
1506     "name": "block : atomic",
1507     "xml": "<block atomic='true'>",
1508     "atomic": "true",
1509     "comments": "",
1510     "outputs": 1,
1511     "x": 5253.806259155273,
1512     "y": 561.5392456054688,
1513     "z": "6ca06960.9ba8c8",
1514     "wires": [
1515       [
1516         "ac55cbef.3c59f8",
1517         "d81b1f69.55285"
1518       ]
1519     ]
1520   },
1521   {
1522     "id": "ac55cbef.3c59f8",
1523     "type": "execute",
1524     "name": "execute",
1525     "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Failure in updating AAI for' + $vnf.vnfc[$i].name`\" />\n",
1526     "comments": "",
1527     "outputs": 1,
1528     "x": 5425.235069274902,
1529     "y": 558.3964157104492,
1530     "z": "6ca06960.9ba8c8",
1531     "wires": [
1532       [
1533         "fb774fb4.e2f59"
1534       ]
1535     ]
1536   },
1537   {
1538     "id": "fb774fb4.e2f59",
1539     "type": "success",
1540     "name": "success",
1541     "xml": "<outcome value='success'>\n",
1542     "comments": "",
1543     "outputs": 1,
1544     "x": 5558.520469665527,
1545     "y": 558.2535419464111,
1546     "z": "6ca06960.9ba8c8",
1547     "wires": [
1548       []
1549     ]
1550   },
1551   {
1552     "id": "93300f92.e2643",
1553     "type": "returnFailure",
1554     "name": "return failure",
1555     "xml": "<return status='failure'>\n",
1556     "comments": "",
1557     "x": 6138.806259155273,
1558     "y": 369.82501220703125,
1559     "z": "6ca06960.9ba8c8",
1560     "wires": []
1561   },
1562   {
1563     "id": "de0c10e.19725f",
1564     "type": "block",
1565     "name": "block : atomic",
1566     "xml": "<block atomic='true'>",
1567     "atomic": "true",
1568     "comments": "",
1569     "outputs": 1,
1570     "x": 5931.378036499023,
1571     "y": 289.8250732421875,
1572     "z": "6ca06960.9ba8c8",
1573     "wires": [
1574       [
1575         "d2b1eb53.8867c8",
1576         "93300f92.e2643"
1577       ]
1578     ]
1579   },
1580   {
1581     "id": "d2b1eb53.8867c8",
1582     "type": "execute",
1583     "name": "execute",
1584     "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'VNFC not found in AAI : ' + $vnf.vnfc[$i].name`\" />\n",
1585     "comments": "",
1586     "outputs": 1,
1587     "x": 6136.092121124268,
1588     "y": 273.2536344528198,
1589     "z": "6ca06960.9ba8c8",
1590     "wires": [
1591       [
1592         "b1ffeaa3.1d0e98"
1593       ]
1594     ]
1595   },
1596   {
1597     "id": "b1ffeaa3.1d0e98",
1598     "type": "success",
1599     "name": "success",
1600     "xml": "<outcome value='success'>\n",
1601     "comments": "",
1602     "outputs": 1,
1603     "x": 6295.520622253418,
1604     "y": 272.39651679992676,
1605     "z": "6ca06960.9ba8c8",
1606     "wires": [
1607       []
1608     ]
1609   },
1610   {
1611     "id": "aca35b5b.13df08",
1612     "type": "returnFailure",
1613     "name": "return failure",
1614     "xml": "<return status='failure'>\n",
1615     "comments": "",
1616     "x": 5871.806259155273,
1617     "y": 543.8250122070312,
1618     "z": "6ca06960.9ba8c8",
1619     "wires": []
1620   },
1621   {
1622     "id": "1af37740.e90369",
1623     "type": "block",
1624     "name": "block : atomic",
1625     "xml": "<block atomic='true'>",
1626     "atomic": "true",
1627     "comments": "",
1628     "outputs": 1,
1629     "x": 5716.520614624023,
1630     "y": 445.8249797821045,
1631     "z": "6ca06960.9ba8c8",
1632     "wires": [
1633       [
1634         "a1f75570.727518",
1635         "aca35b5b.13df08"
1636       ]
1637     ]
1638   },
1639   {
1640     "id": "a1f75570.727518",
1641     "type": "execute",
1642     "name": "execute",
1643     "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value='Exception in AAI Update for vnfc $vnf.vnfc[$i].name' />\n",
1644     "comments": "",
1645     "outputs": 1,
1646     "x": 5873.520835876465,
1647     "y": 446.6821231842041,
1648     "z": "6ca06960.9ba8c8",
1649     "wires": [
1650       [
1651         "b886c219.8fe3f"
1652       ]
1653     ]
1654   },
1655   {
1656     "id": "b886c219.8fe3f",
1657     "type": "success",
1658     "name": "success",
1659     "xml": "<outcome value='success'>\n",
1660     "comments": "",
1661     "outputs": 1,
1662     "x": 6000.663257598877,
1663     "y": 446.396372795105,
1664     "z": "6ca06960.9ba8c8",
1665     "wires": [
1666       []
1667     ]
1668   },
1669   {
1670     "id": "9bfcb100.bea99",
1671     "type": "returnFailure",
1672     "name": "return failure",
1673     "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
1674     "comments": "",
1675     "x": 490.8062286376953,
1676     "y": 486.4917526245117,
1677     "z": "6ca06960.9ba8c8",
1678     "wires": []
1679   },
1680   {
1681     "id": "920348a5.6809c8",
1682     "type": "block",
1683     "name": "block : atomic",
1684     "xml": "<block atomic='true'>",
1685     "atomic": "true",
1686     "comments": "",
1687     "outputs": 1,
1688     "x": 277.4729766845703,
1689     "y": 440.96797943115234,
1690     "z": "6ca06960.9ba8c8",
1691     "wires": [
1692       [
1693         "9bfcb100.bea99",
1694         "e0347aed.5c5778"
1695       ]
1696     ]
1697   },
1698   {
1699     "id": "e0347aed.5c5778",
1700     "type": "execute",
1701     "name": "Report_Error_Flattening_Payload_Json",
1702     "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
1703     "comments": "",
1704     "outputs": 1,
1705     "x": 566.3776702880859,
1706     "y": 368.3488998413086,
1707     "z": "6ca06960.9ba8c8",
1708     "wires": [
1709       [
1710         "56f4d06f.7ca03"
1711       ]
1712     ]
1713   },
1714   {
1715     "id": "56f4d06f.7ca03",
1716     "type": "success",
1717     "name": "success",
1718     "xml": "<outcome value='success'>\n",
1719     "comments": "",
1720     "outputs": 1,
1721     "x": 651.6634826660156,
1722     "y": 439.7775068283081,
1723     "z": "6ca06960.9ba8c8",
1724     "wires": [
1725       []
1726     ]
1727   },
1728   {
1729     "id": "3fbfed99.b50af2",
1730     "type": "failure",
1731     "name": "failure",
1732     "xml": "<outcome value='failure'>\n",
1733     "comments": "",
1734     "outputs": 1,
1735     "x": 101.80625915527344,
1736     "y": 442.4916763305664,
1737     "z": "6ca06960.9ba8c8",
1738     "wires": [
1739       [
1740         "920348a5.6809c8"
1741       ]
1742     ]
1743   },
1744   {
1745     "id": "3711d1.ecfd7e3",
1746     "type": "returnFailure",
1747     "name": "return failure",
1748     "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in loading Json flattening plugin\" />",
1749     "comments": "",
1750     "x": 472.80625915527344,
1751     "y": 702.4916915893555,
1752     "z": "6ca06960.9ba8c8",
1753     "wires": []
1754   },
1755   {
1756     "id": "2330453d.90136a",
1757     "type": "block",
1758     "name": "block : atomic",
1759     "xml": "<block atomic='true'>",
1760     "atomic": "true",
1761     "comments": "",
1762     "outputs": 1,
1763     "x": 284.4729804992676,
1764     "y": 663.9679756164551,
1765     "z": "6ca06960.9ba8c8",
1766     "wires": [
1767       [
1768         "3711d1.ecfd7e3",
1769         "ae76c4ea.4835d8"
1770       ]
1771     ]
1772   },
1773   {
1774     "id": "ae76c4ea.4835d8",
1775     "type": "execute",
1776     "name": "Report_Error_Loading_Json_Flattening_Plugin",
1777     "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$input.common-header.api-ver`\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure in loading Json flattening plugin\" />",
1778     "comments": "",
1779     "outputs": 1,
1780     "x": 573.3776741027832,
1781     "y": 591.3488960266113,
1782     "z": "6ca06960.9ba8c8",
1783     "wires": [
1784       [
1785         "280eab37.d94a44"
1786       ]
1787     ]
1788   },
1789   {
1790     "id": "280eab37.d94a44",
1791     "type": "success",
1792     "name": "success",
1793     "xml": "<outcome value='success'>\n",
1794     "comments": "",
1795     "outputs": 1,
1796     "x": 658.6634864807129,
1797     "y": 662.7775030136108,
1798     "z": "6ca06960.9ba8c8",
1799     "wires": [
1800       []
1801     ]
1802   },
1803   {
1804     "id": "3979a683.5741ca",
1805     "type": "not-found",
1806     "name": "not-found",
1807     "xml": "<outcome value='not-found'>\n",
1808     "comments": "",
1809     "outputs": 1,
1810     "x": 108.80625915527344,
1811     "y": 662.4916763305664,
1812     "z": "6ca06960.9ba8c8",
1813     "wires": [
1814       [
1815         "2330453d.90136a"
1816       ]
1817     ]
1818   },
1819   {
1820     "id": "e2750964.bdc668",
1821     "type": "execute",
1822     "name": "Report_Success_in_Stop",
1823     "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='reportSuccess' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'STOP event executed successfully for ' + $vnf.vnfc[$i].vm[$j].url`\" />\n",
1824     "comments": "",
1825     "outputs": 1,
1826     "x": 3835.139602661133,
1827     "y": 936.4917221069336,
1828     "z": "6ca06960.9ba8c8",
1829     "wires": [
1830       [
1831         "69e98882.2de298",
1832         "cd83fd16.fabdc"
1833       ]
1834     ]
1835   },
1836   {
1837     "id": "69e98882.2de298",
1838     "type": "success",
1839     "name": "success",
1840     "xml": "<outcome value='success'>\n",
1841     "comments": "",
1842     "outputs": 1,
1843     "x": 4061.1395924886074,
1844     "y": 978.4916763305664,
1845     "z": "6ca06960.9ba8c8",
1846     "wires": [
1847       [
1848         "e6d70e75.2a057"
1849       ]
1850     ]
1851   },
1852   {
1853     "id": "cd83fd16.fabdc",
1854     "type": "failure",
1855     "name": "failure",
1856     "xml": "<outcome value='failure'>\n",
1857     "comments": "",
1858     "outputs": 1,
1859     "x": 4095.1395924886074,
1860     "y": 870.4916763305664,
1861     "z": "6ca06960.9ba8c8",
1862     "wires": [
1863       []
1864     ]
1865   },
1866   {
1867     "id": "a416e90c.481bf8",
1868     "type": "for",
1869     "name": "for each vm",
1870     "xml": "<for index='j' start='0' end='`$vnf.vnfc[$i].vm_count`' >\n",
1871     "comments": "",
1872     "outputs": 1,
1873     "x": 2817.4063720703125,
1874     "y": 281.8250198364258,
1875     "z": "6ca06960.9ba8c8",
1876     "wires": [
1877       [
1878         "309772d8.4e5b7e"
1879       ]
1880     ]
1881   }
1882 ]