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