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.2.json
1 [
2   {
3     "id": "b25ea899.d365d8",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 174.515625,
8     "y": 391.515625,
9     "z": "25788422.0cd1fc",
10     "wires": [
11       [
12         "f1895f0c.4c6ea"
13       ]
14     ]
15   },
16   {
17     "id": "f1895f0c.4c6ea",
18     "type": "service-logic",
19     "name": "APPC 2.0.2",
20     "module": "APPC",
21     "version": "2.0.2",
22     "comments": "",
23     "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='2.0.2'>",
24     "outputs": 1,
25     "x": 350.515625,
26     "y": 391.515625,
27     "z": "25788422.0cd1fc",
28     "wires": [
29       [
30         "29d8b20c.bcc73e"
31       ]
32     ]
33   },
34   {
35     "id": "29d8b20c.bcc73e",
36     "type": "method",
37     "name": "Stop_VNF",
38     "xml": "<method rpc='Stop_VNF' mode='sync'>\n",
39     "comments": "",
40     "outputs": 1,
41     "x": 182.51568603515625,
42     "y": 473.515625,
43     "z": "25788422.0cd1fc",
44     "wires": [
45       [
46         "dd256332.18b52"
47       ]
48     ]
49   },
50   {
51     "id": "3303293f.b715b6",
52     "type": "failure",
53     "name": "failure",
54     "xml": "<outcome value='failure'>\n",
55     "comments": "",
56     "outputs": 1,
57     "x": 734.5159301757812,
58     "y": 415.515625,
59     "z": "25788422.0cd1fc",
60     "wires": [
61       [
62         "1160b666.e3e76a"
63       ]
64     ]
65   },
66   {
67     "id": "de3c0f63.e4197",
68     "type": "other",
69     "name": "other",
70     "xml": "<outcome value='Other'>\n",
71     "comments": "",
72     "outputs": 1,
73     "x": 733.515869140625,
74     "y": 363.515625,
75     "z": "25788422.0cd1fc",
76     "wires": [
77       [
78         "1160b666.e3e76a"
79       ]
80     ]
81   },
82   {
83     "id": "2a306103.619fbe",
84     "type": "not-found",
85     "name": "not-found",
86     "xml": "<outcome value='not-found'>\n",
87     "comments": "",
88     "outputs": 1,
89     "x": 729.5159301757812,
90     "y": 455.51563262939453,
91     "z": "25788422.0cd1fc",
92     "wires": [
93       [
94         "1160b666.e3e76a"
95       ]
96     ]
97   },
98   {
99     "id": "dd256332.18b52",
100     "type": "execute",
101     "name": "flatAndAddToContext",
102     "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",
103     "comments": "",
104     "outputs": 1,
105     "x": 422.5157165527344,
106     "y": 472.51564025878906,
107     "z": "25788422.0cd1fc",
108     "wires": [
109       [
110         "3303293f.b715b6",
111         "de3c0f63.e4197",
112         "2a306103.619fbe",
113         "60deb41e.71e38c"
114       ]
115     ]
116   },
117   {
118     "id": "60deb41e.71e38c",
119     "type": "success",
120     "name": "success",
121     "xml": "<outcome value='success'>\n",
122     "comments": "",
123     "outputs": 1,
124     "x": 252.51565551757812,
125     "y": 580.5156555175781,
126     "z": "25788422.0cd1fc",
127     "wires": [
128       [
129         "c02b5f84.eb026"
130       ]
131     ]
132   },
133   {
134     "id": "c02b5f84.eb026",
135     "type": "execute",
136     "name": "execute_getVnfHierarchy",
137     "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getVnfHierarchy'>\n<parameter name=\"resourceKey\" value=\"`$input.action-identifiers.vnf-id`\" />\n",
138     "comments": "",
139     "outputs": 1,
140     "x": 434.182373046875,
141     "y": 580.5157165527344,
142     "z": "25788422.0cd1fc",
143     "wires": [
144       [
145         "f740cf84.95c9",
146         "7eef4ecc.dbdbd"
147       ]
148     ]
149   },
150   {
151     "id": "7eef4ecc.dbdbd",
152     "type": "failure",
153     "name": "failure",
154     "xml": "<outcome value='failure'>\n",
155     "comments": "",
156     "outputs": 1,
157     "x": 679.1823120117188,
158     "y": 531.5156555175781,
159     "z": "25788422.0cd1fc",
160     "wires": [
161       [
162         "314e24d1.2af52c"
163       ]
164     ]
165   },
166   {
167     "id": "f740cf84.95c9",
168     "type": "success",
169     "name": "success",
170     "xml": "<outcome value='success'>\n",
171     "comments": "",
172     "outputs": 1,
173     "x": 404.1823425292969,
174     "y": 650.5156860351562,
175     "z": "25788422.0cd1fc",
176     "wires": [
177       [
178         "dcc95947.dc16f8"
179       ]
180     ]
181   },
182   {
183     "id": "dcc95947.dc16f8",
184     "type": "switchNode",
185     "name": "switch_getVnfHierarchy_result",
186     "xml": "<switch test='`$getVnfHierarchy_result`'>\n",
187     "comments": "",
188     "outputs": 1,
189     "x": 492.18231201171875,
190     "y": 713.6268310546875,
191     "z": "25788422.0cd1fc",
192     "wires": [
193       [
194         "26dec072.fac0a",
195         "c73a3ef3.82e05"
196       ]
197     ]
198   },
199   {
200     "id": "26dec072.fac0a",
201     "type": "outcome",
202     "name": "outcome_SUCCESS",
203     "xml": "<outcome value='SUCCESS'>\n",
204     "comments": "",
205     "outputs": 1,
206     "x": 495.18231201171875,
207     "y": 787.6268310546875,
208     "z": "25788422.0cd1fc",
209     "wires": [
210       [
211         "445c9cba.fb5d94"
212       ]
213     ]
214   },
215   {
216     "id": "c73a3ef3.82e05",
217     "type": "outcome",
218     "name": "outcome_FAILURE",
219     "xml": "<outcome value='FAILURE'>\n",
220     "comments": "",
221     "outputs": 1,
222     "x": 767.182373046875,
223     "y": 639.6268310546875,
224     "z": "25788422.0cd1fc",
225     "wires": [
226       [
227         "8df5db13.758428"
228       ]
229     ]
230   },
231   {
232     "id": "445c9cba.fb5d94",
233     "type": "switchNode",
234     "name": "switch_VNF_VMCount",
235     "xml": "<switch test='`$VNF.VMCount`'>",
236     "comments": "",
237     "outputs": 1,
238     "x": 610.1823425292969,
239     "y": 853.7379150390625,
240     "z": "25788422.0cd1fc",
241     "wires": [
242       [
243         "43163179.13979",
244         "a3b76bbf.32b818"
245       ]
246     ]
247   },
248   {
249     "id": "43163179.13979",
250     "type": "outcome",
251     "name": "outcome_0",
252     "xml": "<outcome value='0'>\n",
253     "comments": "",
254     "outputs": 1,
255     "x": 834.1823120117188,
256     "y": 755.73779296875,
257     "z": "25788422.0cd1fc",
258     "wires": [
259       [
260         "b911488a.955a38"
261       ]
262     ]
263   },
264   {
265     "id": "a3b76bbf.32b818",
266     "type": "other",
267     "name": "other",
268     "xml": "<outcome value='Other'>\n",
269     "comments": "",
270     "outputs": 1,
271     "x": 564.1823120117188,
272     "y": 916.7379150390625,
273     "z": "25788422.0cd1fc",
274     "wires": [
275       [
276         "1de7ef77.6f1701"
277       ]
278     ]
279   },
280   {
281     "id": "1de7ef77.6f1701",
282     "type": "execute",
283     "name": "Get VNFC Execution Flow Data",
284     "xml": "<execute plugin='org.onap.appc.dg.common.VnfExecutionFlow' method='getVnfExecutionFlowData' >\n<parameter name=\"DependencyType\" value='RESOURCE' />\n<parameter name=\"FlowStrategy\" value='REVERSE' />\n<parameter name=\"vnfType\" value='`$vnf.type`' />\n<parameter name=\"vnfVersion\" value='`$vnf.version`' />\n",
285     "comments": "",
286     "outputs": 1,
287     "x": 596.1823120117188,
288     "y": 969.8489990234375,
289     "z": "25788422.0cd1fc",
290     "wires": [
291       [
292         "62e8b7ae.830b88",
293         "3ccb7956.965646"
294       ]
295     ]
296   },
297   {
298     "id": "62e8b7ae.830b88",
299     "type": "failure",
300     "name": "failure",
301     "xml": "<outcome value='failure'>\n",
302     "comments": "",
303     "outputs": 1,
304     "x": 846.1823120117188,
305     "y": 905.8489990234375,
306     "z": "25788422.0cd1fc",
307     "wires": [
308       [
309         "bf9622b3.21e47"
310       ]
311     ]
312   },
313   {
314     "id": "1160b666.e3e76a",
315     "type": "block",
316     "name": "block : atomic",
317     "xml": "<block atomic='true'>",
318     "atomic": "true",
319     "comments": "",
320     "outputs": 1,
321     "x": 892.182487487793,
322     "y": 414.515625,
323     "z": "25788422.0cd1fc",
324     "wires": [
325       [
326         "6fae0bcd.781004",
327         "915b6526.fc9068"
328       ]
329     ]
330   },
331   {
332     "id": "6a4cb650.71b798",
333     "type": "execute",
334     "name": "Report Error to DCAE",
335     "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"event-message\" value=\"`$event-message`\" />",
336     "comments": "",
337     "outputs": 1,
338     "x": 2930.0870666503906,
339     "y": 979.8965454101562,
340     "z": "25788422.0cd1fc",
341     "wires": [
342       [
343         "b93bd4c0.a52508"
344       ]
345     ]
346   },
347   {
348     "id": "b93bd4c0.a52508",
349     "type": "success",
350     "name": "success",
351     "xml": "<outcome value='success'>\n",
352     "comments": "",
353     "outputs": 1,
354     "x": 3104.3724670410156,
355     "y": 977.3251953125,
356     "z": "25788422.0cd1fc",
357     "wires": [
358       []
359     ]
360   },
361   {
362     "id": "6fae0bcd.781004",
363     "type": "returnFailure",
364     "name": "return failure",
365     "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
366     "comments": "",
367     "x": 969.5154304504395,
368     "y": 488.0393295288086,
369     "z": "25788422.0cd1fc",
370     "wires": []
371   },
372   {
373     "id": "314e24d1.2af52c",
374     "type": "block",
375     "name": "block : atomic",
376     "xml": "<block atomic='true'>",
377     "atomic": "true",
378     "comments": "",
379     "outputs": 1,
380     "x": 857.9600219726562,
381     "y": 531.404541015625,
382     "z": "25788422.0cd1fc",
383     "wires": [
384       [
385         "cfef6dc8.945be",
386         "1c582707.184b99"
387       ]
388     ]
389   },
390   {
391     "id": "1c582707.184b99",
392     "type": "execute",
393     "name": "OutputMessageBuilder",
394     "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"Failed to retrieve VNF details from A&amp;AI\"/>\n",
395     "comments": "",
396     "outputs": 1,
397     "x": 1281.9598999023438,
398     "y": 537.404541015625,
399     "z": "25788422.0cd1fc",
400     "wires": [
401       [
402         "d5e38f40.40fcd"
403       ]
404     ]
405   },
406   {
407     "id": "cfef6dc8.945be",
408     "type": "returnFailure",
409     "name": "return failure",
410     "xml": "<return status='failure'>\n",
411     "comments": "",
412     "x": 1097.9600219726562,
413     "y": 583.404541015625,
414     "z": "25788422.0cd1fc",
415     "wires": []
416   },
417   {
418     "id": "d5e38f40.40fcd",
419     "type": "success",
420     "name": "success",
421     "xml": "<outcome value='success'>\n",
422     "comments": "",
423     "outputs": 1,
424     "x": 1496.9600219726562,
425     "y": 474.4045104980469,
426     "z": "25788422.0cd1fc",
427     "wires": [
428       [
429         "6a4cb650.71b798"
430       ]
431     ]
432   },
433   {
434     "id": "8df5db13.758428",
435     "type": "block",
436     "name": "block : atomic",
437     "xml": "<block atomic='true'>",
438     "atomic": "true",
439     "comments": "",
440     "outputs": 1,
441     "x": 1010.8490600585938,
442     "y": 640.6268310546875,
443     "z": "25788422.0cd1fc",
444     "wires": [
445       [
446         "8259cf4e.93836",
447         "58014ac2.8034f4"
448       ]
449     ]
450   },
451   {
452     "id": "58014ac2.8034f4",
453     "type": "execute",
454     "name": "OutputMessageBuilder",
455     "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"Failed to retrieve VNF details from A&amp;AI\"/>\n\n",
456     "comments": "",
457     "outputs": 1,
458     "x": 1276.8490600585938,
459     "y": 638.6268310546875,
460     "z": "25788422.0cd1fc",
461     "wires": [
462       [
463         "848f3b70.e46888"
464       ]
465     ]
466   },
467   {
468     "id": "848f3b70.e46888",
469     "type": "success",
470     "name": "success",
471     "xml": "<outcome value='success'>\n",
472     "comments": "",
473     "outputs": 1,
474     "x": 1500.8490600585938,
475     "y": 548.6268310546875,
476     "z": "25788422.0cd1fc",
477     "wires": [
478       [
479         "6a4cb650.71b798"
480       ]
481     ]
482   },
483   {
484     "id": "8259cf4e.93836",
485     "type": "returnFailure",
486     "name": "return failure",
487     "xml": "<return status='failure'>\n",
488     "comments": "",
489     "x": 1258.8490600585938,
490     "y": 687.6268310546875,
491     "z": "25788422.0cd1fc",
492     "wires": []
493   },
494   {
495     "id": "b911488a.955a38",
496     "type": "block",
497     "name": "block : atomic",
498     "xml": "<block atomic='true'>",
499     "atomic": "true",
500     "comments": "",
501     "outputs": 1,
502     "x": 1022.5156860351562,
503     "y": 756.7379455566406,
504     "z": "25788422.0cd1fc",
505     "wires": [
506       [
507         "10549a32.dff226",
508         "fe639385.f254b"
509       ]
510     ]
511   },
512   {
513     "id": "fe639385.f254b",
514     "type": "execute",
515     "name": "OutputMessageBuilder",
516     "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />",
517     "comments": "",
518     "outputs": 1,
519     "x": 1287.5156860351562,
520     "y": 738.7379150390625,
521     "z": "25788422.0cd1fc",
522     "wires": [
523       [
524         "d6ec24dc.40d138"
525       ]
526     ]
527   },
528   {
529     "id": "d6ec24dc.40d138",
530     "type": "success",
531     "name": "success",
532     "xml": "<outcome value='success'>\n",
533     "comments": "",
534     "outputs": 1,
535     "x": 1520.5156860351562,
536     "y": 646.7379150390625,
537     "z": "25788422.0cd1fc",
538     "wires": [
539       [
540         "6a4cb650.71b798"
541       ]
542     ]
543   },
544   {
545     "id": "10549a32.dff226",
546     "type": "returnFailure",
547     "name": "return failure",
548     "xml": "<return status='failure'>\n",
549     "comments": "",
550     "x": 1252.5156860351562,
551     "y": 806.7379150390625,
552     "z": "25788422.0cd1fc",
553     "wires": []
554   },
555   {
556     "id": "bf9622b3.21e47",
557     "type": "block",
558     "name": "block : atomic",
559     "xml": "<block atomic='true'>",
560     "atomic": "true",
561     "comments": "",
562     "outputs": 1,
563     "x": 1014.515625,
564     "y": 906.9600830078125,
565     "z": "25788422.0cd1fc",
566     "wires": [
567       [
568         "b19f523c.7b27f",
569         "ca1fafca.d9e25"
570       ]
571     ]
572   },
573   {
574     "id": "ca1fafca.d9e25",
575     "type": "execute",
576     "name": "OutputMessageBuilder",
577     "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />",
578     "comments": "",
579     "outputs": 1,
580     "x": 1293.515625,
581     "y": 872.9600830078125,
582     "z": "25788422.0cd1fc",
583     "wires": [
584       [
585         "5d09f297.44349c"
586       ]
587     ]
588   },
589   {
590     "id": "5d09f297.44349c",
591     "type": "success",
592     "name": "success",
593     "xml": "<outcome value='success'>\n",
594     "comments": "",
595     "outputs": 1,
596     "x": 1522.5156860351562,
597     "y": 733.9601135253906,
598     "z": "25788422.0cd1fc",
599     "wires": [
600       [
601         "6a4cb650.71b798"
602       ]
603     ]
604   },
605   {
606     "id": "b19f523c.7b27f",
607     "type": "returnFailure",
608     "name": "return failure",
609     "xml": "<return status='failure'>\n",
610     "comments": "",
611     "x": 1258.5155639648438,
612     "y": 942.9601440429688,
613     "z": "25788422.0cd1fc",
614     "wires": []
615   },
616   {
617     "id": "741ec63e.47b658",
618     "type": "execute",
619     "name": "Resolve VNFC DG",
620     "xml": "<execute plugin='org.onap.appc.dg.common.VNFCDgResolverPlugin' method='resolveVNFCDg'>\n<parameter name=\"vnfType\" value='`$vnf.type`' />\n<parameter name=\"vnfcType\" value='`$vnfcFlow[$i].vnfcType`' /> \n<parameter name=\"action\" value=\"Stop\" />\n<parameter name=\"api-ver\" value='`$input.common-header.api-ver`' /> \n<parameter name=\"prefix\" value=\"Stop\" />",
621     "comments": "",
622     "outputs": 1,
623     "x": 1256.7380676269531,
624     "y": 1276.1823425292969,
625     "z": "25788422.0cd1fc",
626     "wires": [
627       [
628         "ce601d5.d4914e",
629         "ca1cbabc.1584a8"
630       ]
631     ]
632   },
633   {
634     "id": "1d9ddab5.667815",
635     "type": "for",
636     "name": "for_each_vnfcFlow",
637     "xml": "<for index='i' start='0' end='`$vnfcFlowCount`' >\n",
638     "comments": "",
639     "outputs": 1,
640     "x": 850.7379302978516,
641     "y": 1259.1824035644531,
642     "z": "25788422.0cd1fc",
643     "wires": [
644       [
645         "b0ac43b7.cee43"
646       ]
647     ]
648   },
649   {
650     "id": "504ee939.7682f8",
651     "type": "set",
652     "name": "set vnfc parameters",
653     "xml": "<set>\n<parameter name='vnfcName' value='`$vnfcFlow[$i].vnfcName`' />\n<parameter name='vnfcType' value='`$vnfcFlow[$i].vnfcType`' />\n<parameter name='vmCount' value='`$vnfcFlow[$i].vmCount`' />\n<parameter name='input.action' value='`$input.action`' />\n<parameter name='AAIUpdateSuccessFlag' value='false' />\n\n",
654     "comments": "",
655     "x": 1261.7376708984375,
656     "y": 1091.2935180664062,
657     "z": "25788422.0cd1fc",
658     "wires": []
659   },
660   {
661     "id": "6688cc5b.a481f4",
662     "type": "call",
663     "name": "call VNFC DG",
664     "xml": "<call module='`$Stop.dg_module`' rpc='`$Stop.dg_name`' mode='sync' >\n",
665     "comments": "",
666     "outputs": 1,
667     "x": 1592.7378234863281,
668     "y": 1318.2936096191406,
669     "z": "25788422.0cd1fc",
670     "wires": [
671       [
672         "d62f7e05.fc757",
673         "867811c.94c21f",
674         "abe16d65.fa0ad"
675       ]
676     ]
677   },
678   {
679     "id": "1ff36a5c.3a1fa6",
680     "type": "block",
681     "name": "block : atomic",
682     "xml": "<block atomic='true'>",
683     "atomic": "true",
684     "comments": "",
685     "outputs": 1,
686     "x": 622.7380981445312,
687     "y": 1258.1824645996094,
688     "z": "25788422.0cd1fc",
689     "wires": [
690       [
691         "1d9ddab5.667815",
692         "cacb482f.c409f8",
693         "442ba77d.874db8"
694       ]
695     ]
696   },
697   {
698     "id": "ce601d5.d4914e",
699     "type": "success",
700     "name": "success",
701     "xml": "<outcome value='success'>\n",
702     "comments": "",
703     "outputs": 1,
704     "x": 1431.7375793457031,
705     "y": 1318.1824035644531,
706     "z": "25788422.0cd1fc",
707     "wires": [
708       [
709         "6688cc5b.a481f4"
710       ]
711     ]
712   },
713   {
714     "id": "ca1cbabc.1584a8",
715     "type": "failure",
716     "name": "failure",
717     "xml": "<outcome value='failure'>\n",
718     "comments": "",
719     "outputs": 1,
720     "x": 1443.7377014160156,
721     "y": 1237.1824035644531,
722     "z": "25788422.0cd1fc",
723     "wires": [
724       [
725         "9a471db7.e302b"
726       ]
727     ]
728   },
729   {
730     "id": "9a471db7.e302b",
731     "type": "block",
732     "name": "block : atomic",
733     "xml": "<block atomic='true'>",
734     "atomic": "true",
735     "comments": "",
736     "outputs": 1,
737     "x": 1625.7376708984375,
738     "y": 1236.1824035644531,
739     "z": "25788422.0cd1fc",
740     "wires": [
741       [
742         "2b7c2fc2.fce28",
743         "d1b96ddb.ec598"
744       ]
745     ]
746   },
747   {
748     "id": "2b7c2fc2.fce28",
749     "type": "execute",
750     "name": "OutputMessageBuilder",
751     "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"`'Failed to retrieve VNFC DG for ' + $vnfcFlow[$i].vnfcType`\"/>",
752     "comments": "",
753     "outputs": 1,
754     "x": 1905.7377624511719,
755     "y": 1195.1825256347656,
756     "z": "25788422.0cd1fc",
757     "wires": [
758       [
759         "7b9666da.06bef8"
760       ]
761     ]
762   },
763   {
764     "id": "867811c.94c21f",
765     "type": "not-found",
766     "name": "not-found",
767     "xml": "<outcome value='not-found'>\n",
768     "comments": "",
769     "outputs": 1,
770     "x": 1782.5155944824219,
771     "y": 1278.4046936035156,
772     "z": "25788422.0cd1fc",
773     "wires": [
774       [
775         "a8bdf6b0.355778"
776       ]
777     ]
778   },
779   {
780     "id": "d62f7e05.fc757",
781     "type": "failure",
782     "name": "failure",
783     "xml": "<outcome value='failure'>\n",
784     "comments": "",
785     "outputs": 1,
786     "x": 1771.5156555175781,
787     "y": 1361.4049072265625,
788     "z": "25788422.0cd1fc",
789     "wires": [
790       [
791         "d9f2c28b.c7429"
792       ]
793     ]
794   },
795   {
796     "id": "a8bdf6b0.355778",
797     "type": "block",
798     "name": "block : atomic",
799     "xml": "<block atomic='true'>",
800     "atomic": "true",
801     "comments": "",
802     "outputs": 1,
803     "x": 1959.9599914550781,
804     "y": 1278.4046936035156,
805     "z": "25788422.0cd1fc",
806     "wires": [
807       [
808         "44681b66.f4c3a4",
809         "9dc3e92d.6f7f18"
810       ]
811     ]
812   },
813   {
814     "id": "44681b66.f4c3a4",
815     "type": "execute",
816     "name": "OutputMessageBuilder",
817     "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"`'VNFC DG not found for: ' + $vnfcFlow[$i].vnfcName`\"/>",
818     "comments": "",
819     "outputs": 1,
820     "x": 2185.960723876953,
821     "y": 1279.4048156738281,
822     "z": "25788422.0cd1fc",
823     "wires": [
824       [
825         "5b4bdcd5.0244f4"
826       ]
827     ]
828   },
829   {
830     "id": "d9f2c28b.c7429",
831     "type": "block",
832     "name": "block : atomic",
833     "xml": "<block atomic='true'>",
834     "atomic": "true",
835     "comments": "",
836     "outputs": 1,
837     "x": 1920.4045715332031,
838     "y": 1363.40478515625,
839     "z": "25788422.0cd1fc",
840     "wires": [
841       [
842         "6d279d37.78ccd4"
843       ]
844     ]
845   },
846   {
847     "id": "b0ac43b7.cee43",
848     "type": "block",
849     "name": "block : atomic",
850     "xml": "<block atomic='true'>",
851     "atomic": "true",
852     "comments": "",
853     "outputs": 1,
854     "x": 1038.4044647216797,
855     "y": 1177.4045715332031,
856     "z": "25788422.0cd1fc",
857     "wires": [
858       [
859         "741ec63e.47b658",
860         "504ee939.7682f8",
861         "ba8e7dc8.b3d94"
862       ]
863     ]
864   },
865   {
866     "id": "ba8e7dc8.b3d94",
867     "type": "for",
868     "name": "for_each_vm",
869     "xml": "<for index='j' start='0' end='`$vmCount`' >\n",
870     "comments": "",
871     "outputs": 1,
872     "x": 1262.515640258789,
873     "y": 1177.9601135253906,
874     "z": "25788422.0cd1fc",
875     "wires": [
876       [
877         "73299151.c13e7"
878       ]
879     ]
880   },
881   {
882     "id": "89ef910b.6f179",
883     "type": "set",
884     "name": "set VM url",
885     "xml": "<set>\n<parameter name=\"vm[$j].url\" value='`$vnfcFlow[$i].vm[$j].url`' />\n\n\n\n\n\n",
886     "comments": "",
887     "x": 1681.515640258789,
888     "y": 1174.9601135253906,
889     "z": "25788422.0cd1fc",
890     "wires": []
891   },
892   {
893     "id": "73299151.c13e7",
894     "type": "block",
895     "name": "block : atomic",
896     "xml": "<block atomic='true'>",
897     "atomic": "true",
898     "comments": "",
899     "outputs": 1,
900     "x": 1497.515640258789,
901     "y": 1175.9601135253906,
902     "z": "25788422.0cd1fc",
903     "wires": [
904       [
905         "89ef910b.6f179"
906       ]
907     ]
908   },
909   {
910     "id": "3ccb7956.965646",
911     "type": "success",
912     "name": "success",
913     "xml": "<outcome value='success'>\n",
914     "comments": "",
915     "outputs": 1,
916     "x": 842.515625,
917     "y": 962.7378540039062,
918     "z": "25788422.0cd1fc",
919     "wires": [
920       [
921         "926dd466.d05b38"
922       ]
923     ]
924   },
925   {
926     "id": "926dd466.d05b38",
927     "type": "switchNode",
928     "name": "switch_dependencyModelFound",
929     "xml": "<switch test='`$dependencyModelFound`'>\n",
930     "comments": "",
931     "outputs": 1,
932     "x": 606.5157470703125,
933     "y": 1043.1823120117188,
934     "z": "25788422.0cd1fc",
935     "wires": [
936       [
937         "bcdaaae8.15d2e8",
938         "a9b756f3.902238"
939       ]
940     ]
941   },
942   {
943     "id": "bcdaaae8.15d2e8",
944     "type": "outcome",
945     "name": "outcome_false",
946     "xml": "<outcome value='false'>\n",
947     "comments": "",
948     "outputs": 1,
949     "x": 955.1824340820312,
950     "y": 1014.2933959960938,
951     "z": "25788422.0cd1fc",
952     "wires": [
953       [
954         "a3432c6e.32994"
955       ]
956     ]
957   },
958   {
959     "id": "a9b756f3.902238",
960     "type": "outcome",
961     "name": "outcome_true",
962     "xml": "<outcome value='true'>\n",
963     "comments": "",
964     "outputs": 1,
965     "x": 568.5156860351562,
966     "y": 1148.1822814941406,
967     "z": "25788422.0cd1fc",
968     "wires": [
969       [
970         "1ff36a5c.3a1fa6"
971       ]
972     ]
973   },
974   {
975     "id": "a3432c6e.32994",
976     "type": "call",
977     "name": "call Stop VNF without Model DG",
978     "xml": "<call module='APPC' rpc='Stop_VNF' version='2.0.1' mode='sync' >\n",
979     "comments": "",
980     "outputs": 1,
981     "x": 1233.5154876708984,
982     "y": 1004.7378845214844,
983     "z": "25788422.0cd1fc",
984     "wires": [
985       [
986         "28d59860.ed9638",
987         "b6692659.08be28",
988         "85aacc05.3e737"
989       ]
990     ]
991   },
992   {
993     "id": "28d59860.ed9638",
994     "type": "not-found",
995     "name": "not-found",
996     "xml": "<outcome value='not-found'>\n",
997     "comments": "",
998     "outputs": 1,
999     "x": 1490.2933197021484,
1000     "y": 954.8490295410156,
1001     "z": "25788422.0cd1fc",
1002     "wires": [
1003       [
1004         "ddc29a60.9b4398"
1005       ]
1006     ]
1007   },
1008   {
1009     "id": "b6692659.08be28",
1010     "type": "failure",
1011     "name": "failure",
1012     "xml": "<outcome value='failure'>\n",
1013     "comments": "",
1014     "outputs": 1,
1015     "x": 1493.2933197021484,
1016     "y": 995.8490295410156,
1017     "z": "25788422.0cd1fc",
1018     "wires": [
1019       [
1020         "7e1f30ff.7a6f7"
1021       ]
1022     ]
1023   },
1024   {
1025     "id": "ddc29a60.9b4398",
1026     "type": "block",
1027     "name": "block : atomic",
1028     "xml": "<block atomic='true'>",
1029     "atomic": "true",
1030     "comments": "",
1031     "outputs": 1,
1032     "x": 1677.7377319335938,
1033     "y": 943.8490371704102,
1034     "z": "25788422.0cd1fc",
1035     "wires": [
1036       [
1037         "fabbee43.1dc99",
1038         "f7377249.220f5"
1039       ]
1040     ]
1041   },
1042   {
1043     "id": "f7377249.220f5",
1044     "type": "execute",
1045     "name": "OutputMessageBuilder",
1046     "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"Stop DG not found\"/>",
1047     "comments": "",
1048     "outputs": 1,
1049     "x": 1895.7378845214844,
1050     "y": 919.8490371704102,
1051     "z": "25788422.0cd1fc",
1052     "wires": [
1053       [
1054         "9324252c.fadd38"
1055       ]
1056     ]
1057   },
1058   {
1059     "id": "fabbee43.1dc99",
1060     "type": "returnFailure",
1061     "name": "return failure",
1062     "xml": "<return status='failure'>\n",
1063     "comments": "",
1064     "x": 1905.7378845214844,
1065     "y": 974.8490982055664,
1066     "z": "25788422.0cd1fc",
1067     "wires": []
1068   },
1069   {
1070     "id": "7e1f30ff.7a6f7",
1071     "type": "returnFailure",
1072     "name": "return failure",
1073     "xml": "<return status='failure'>\n",
1074     "comments": "",
1075     "x": 1730.182357788086,
1076     "y": 990.8491516113281,
1077     "z": "25788422.0cd1fc",
1078     "wires": []
1079   },
1080   {
1081     "id": "85aacc05.3e737",
1082     "type": "success",
1083     "name": "success",
1084     "xml": "<outcome value='success'>\n",
1085     "comments": "",
1086     "outputs": 1,
1087     "x": 1502.2933654785156,
1088     "y": 1035.8489990234375,
1089     "z": "25788422.0cd1fc",
1090     "wires": [
1091       [
1092         "8d846ad5.9a88c8"
1093       ]
1094     ]
1095   },
1096   {
1097     "id": "8d846ad5.9a88c8",
1098     "type": "returnSuccess",
1099     "name": "return success",
1100     "xml": "<return status='success'>\n\n",
1101     "comments": "",
1102     "x": 1736.2933197021484,
1103     "y": 1034.8490295410156,
1104     "z": "25788422.0cd1fc",
1105     "wires": []
1106   },
1107   {
1108     "id": "442ba77d.874db8",
1109     "type": "set",
1110     "name": "init failed VNFC count",
1111     "xml": "<set>\n<parameter name='stopFailedVNFCCount' value='0' />\n",
1112     "comments": "",
1113     "x": 892.6267242431641,
1114     "y": 1101.1824035644531,
1115     "z": "25788422.0cd1fc",
1116     "wires": []
1117   },
1118   {
1119     "id": "cacb482f.c409f8",
1120     "type": "switchNode",
1121     "name": "switch_server_restart_success",
1122     "xml": "<switch test='`$stopFailedVNFCCount == 0`'>\n",
1123     "comments": "",
1124     "outputs": 1,
1125     "x": 895.8489379882812,
1126     "y": 1446.1825866699219,
1127     "z": "25788422.0cd1fc",
1128     "wires": [
1129       [
1130         "11544b2a.bebbb5",
1131         "9af5b3b0.6ce16"
1132       ]
1133     ]
1134   },
1135   {
1136     "id": "11544b2a.bebbb5",
1137     "type": "outcomeFalse",
1138     "name": "false",
1139     "xml": "<outcome value='false'>\n",
1140     "comments": "",
1141     "outputs": 1,
1142     "x": 1126.0988464355469,
1143     "y": 1408.9324645996094,
1144     "z": "25788422.0cd1fc",
1145     "wires": [
1146       [
1147         "7d480213.47e71c"
1148       ]
1149     ]
1150   },
1151   {
1152     "id": "9af5b3b0.6ce16",
1153     "type": "outcomeTrue",
1154     "name": "true",
1155     "xml": "<outcome value='true'>\n",
1156     "comments": "",
1157     "outputs": 1,
1158     "x": 1123.5989379882812,
1159     "y": 1467.9324645996094,
1160     "z": "25788422.0cd1fc",
1161     "wires": [
1162       [
1163         "744fa6c6.b167d8"
1164       ]
1165     ]
1166   },
1167   {
1168     "id": "7d480213.47e71c",
1169     "type": "block",
1170     "name": "block : atomic",
1171     "xml": "<block atomic='true'>",
1172     "atomic": "true",
1173     "comments": "",
1174     "outputs": 1,
1175     "x": 1302.8488464355469,
1176     "y": 1409.4046325683594,
1177     "z": "25788422.0cd1fc",
1178     "wires": [
1179       [
1180         "9bb8d081.6d716"
1181       ]
1182     ]
1183   },
1184   {
1185     "id": "9bb8d081.6d716",
1186     "type": "returnFailure",
1187     "name": "return failure",
1188     "xml": "<return status='failure'>\n",
1189     "comments": "",
1190     "x": 1545.367691040039,
1191     "y": 1409.4493408203125,
1192     "z": "25788422.0cd1fc",
1193     "wires": []
1194   },
1195   {
1196     "id": "744fa6c6.b167d8",
1197     "type": "block",
1198     "name": "block : atomic",
1199     "xml": "<block atomic='true'>",
1200     "atomic": "true",
1201     "comments": "",
1202     "outputs": 1,
1203     "x": 1303.8489379882812,
1204     "y": 1468.4046325683594,
1205     "z": "25788422.0cd1fc",
1206     "wires": [
1207       [
1208         "306bf572.a2195a"
1209       ]
1210     ]
1211   },
1212   {
1213     "id": "306bf572.a2195a",
1214     "type": "returnSuccess",
1215     "name": "return success",
1216     "xml": "<return status='success'>\n",
1217     "comments": "",
1218     "x": 1540.5986938476562,
1219     "y": 1468.8492126464844,
1220     "z": "25788422.0cd1fc",
1221     "wires": []
1222   },
1223   {
1224     "id": "89bf85ab.857028",
1225     "type": "set",
1226     "name": "update failed VNFC count",
1227     "xml": "<set>\n<parameter name=\"stopFailedVNFCCount\" value=\"`$stopFailedVNFCCount + 1`\" />\n",
1228     "comments": "",
1229     "x": 2546.6261291503906,
1230     "y": 1402.0712890625,
1231     "z": "25788422.0cd1fc",
1232     "wires": []
1233   },
1234   {
1235     "id": "abe16d65.fa0ad",
1236     "type": "success",
1237     "name": "success",
1238     "xml": "<outcome value='success'>\n",
1239     "comments": "",
1240     "outputs": 1,
1241     "x": 1785.5156555175781,
1242     "y": 1320.4049072265625,
1243     "z": "25788422.0cd1fc",
1244     "wires": [
1245       []
1246     ]
1247   },
1248   {
1249     "id": "915b6526.fc9068",
1250     "type": "execute",
1251     "name": "OutputMessageBuilder",
1252     "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"Failure in flattening payload Json\" />",
1253     "comments": "",
1254     "outputs": 1,
1255     "x": 1266.5155639648438,
1256     "y": 391.18228912353516,
1257     "z": "25788422.0cd1fc",
1258     "wires": [
1259       [
1260         "88963945.2b6798"
1261       ]
1262     ]
1263   },
1264   {
1265     "id": "88963945.2b6798",
1266     "type": "success",
1267     "name": "success",
1268     "xml": "<outcome value='success'>\n",
1269     "comments": "",
1270     "outputs": 1,
1271     "x": 1476.5155639648438,
1272     "y": 387.18228912353516,
1273     "z": "25788422.0cd1fc",
1274     "wires": [
1275       [
1276         "6a4cb650.71b798"
1277       ]
1278     ]
1279   },
1280   {
1281     "id": "9324252c.fadd38",
1282     "type": "success",
1283     "name": "success",
1284     "xml": "<outcome value='success'>\n",
1285     "comments": "",
1286     "outputs": 1,
1287     "x": 2103.515594482422,
1288     "y": 923.1822891235352,
1289     "z": "25788422.0cd1fc",
1290     "wires": [
1291       [
1292         "6a4cb650.71b798"
1293       ]
1294     ]
1295   },
1296   {
1297     "id": "7b9666da.06bef8",
1298     "type": "success",
1299     "name": "success",
1300     "xml": "<outcome value='success'>\n",
1301     "comments": "",
1302     "outputs": 1,
1303     "x": 2109.1819763183594,
1304     "y": 1194.8490295410156,
1305     "z": "25788422.0cd1fc",
1306     "wires": [
1307       [
1308         "6a4cb650.71b798"
1309       ]
1310     ]
1311   },
1312   {
1313     "id": "5b4bdcd5.0244f4",
1314     "type": "success",
1315     "name": "success",
1316     "xml": "<outcome value='success'>\n",
1317     "comments": "",
1318     "outputs": 1,
1319     "x": 2374.1827697753906,
1320     "y": 1279.8489990234375,
1321     "z": "25788422.0cd1fc",
1322     "wires": [
1323       [
1324         "6a4cb650.71b798"
1325       ]
1326     ]
1327   },
1328   {
1329     "id": "d1b96ddb.ec598",
1330     "type": "returnFailure",
1331     "name": "return failure",
1332     "xml": "<return status='failure'>\n",
1333     "comments": "",
1334     "x": 1875.9600524902344,
1335     "y": 1234.8490295410156,
1336     "z": "25788422.0cd1fc",
1337     "wires": []
1338   },
1339   {
1340     "id": "9dc3e92d.6f7f18",
1341     "type": "returnFailure",
1342     "name": "return failure",
1343     "xml": "<return status='failure'>\n",
1344     "comments": "",
1345     "x": 2160.960479736328,
1346     "y": 1318.9600830078125,
1347     "z": "25788422.0cd1fc",
1348     "wires": []
1349   },
1350   {
1351     "id": "6d279d37.78ccd4",
1352     "type": "switchNode",
1353     "name": "AAIUpdateSuccessFlag ?",
1354     "xml": "<switch test='`$AAIUpdateSuccessFlag == true`'>\n",
1355     "comments": "",
1356     "outputs": 1,
1357     "x": 2126.6263732910156,
1358     "y": 1363.9600830078125,
1359     "z": "25788422.0cd1fc",
1360     "wires": [
1361       [
1362         "ba58c904.507168",
1363         "a925e3d2.fb1ff"
1364       ]
1365     ]
1366   },
1367   {
1368     "id": "a925e3d2.fb1ff",
1369     "type": "outcomeFalse",
1370     "name": "false",
1371     "xml": "<outcome value='false'>\n",
1372     "comments": "",
1373     "outputs": 1,
1374     "x": 2333.4044494628906,
1375     "y": 1340.960205078125,
1376     "z": "25788422.0cd1fc",
1377     "wires": [
1378       [
1379         "fda81ffe.7d7c7"
1380       ]
1381     ]
1382   },
1383   {
1384     "id": "ba58c904.507168",
1385     "type": "outcomeTrue",
1386     "name": "true",
1387     "xml": "<outcome value='true'>\n",
1388     "comments": "",
1389     "outputs": 1,
1390     "x": 2332.9044494628906,
1391     "y": 1401.960205078125,
1392     "z": "25788422.0cd1fc",
1393     "wires": [
1394       [
1395         "89bf85ab.857028"
1396       ]
1397     ]
1398   },
1399   {
1400     "id": "ae5453ba.3f87c",
1401     "type": "execute",
1402     "name": "OutputMessageBuilder",
1403     "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"`'AAI update for VNFC ' + $vnfcName + '  failed. Not proceeding to the next VNFC.'`\" />\n",
1404     "comments": "",
1405     "outputs": 1,
1406     "x": 2692.6266174316406,
1407     "y": 1288.9600830078125,
1408     "z": "25788422.0cd1fc",
1409     "wires": [
1410       [
1411         "c93a0a4b.c48288"
1412       ]
1413     ]
1414   },
1415   {
1416     "id": "c93a0a4b.c48288",
1417     "type": "success",
1418     "name": "success",
1419     "xml": "<outcome value='success'>\n",
1420     "comments": "",
1421     "outputs": 1,
1422     "x": 2723.8487854003906,
1423     "y": 1171.404296875,
1424     "z": "25788422.0cd1fc",
1425     "wires": [
1426       [
1427         "6a4cb650.71b798"
1428       ]
1429     ]
1430   },
1431   {
1432     "id": "c5c2ca6e.d26dc8",
1433     "type": "returnFailure",
1434     "name": "return failure",
1435     "xml": "<return status='failure'>\n",
1436     "comments": "",
1437     "x": 2684.6263732910156,
1438     "y": 1339.515380859375,
1439     "z": "25788422.0cd1fc",
1440     "wires": []
1441   },
1442   {
1443     "id": "fda81ffe.7d7c7",
1444     "type": "block",
1445     "name": "block : atomic",
1446     "xml": "<block atomic='true'>",
1447     "atomic": "true",
1448     "comments": "",
1449     "outputs": 1,
1450     "x": 2478.6266174316406,
1451     "y": 1339.9600830078125,
1452     "z": "25788422.0cd1fc",
1453     "wires": [
1454       [
1455         "ae5453ba.3f87c",
1456         "c5c2ca6e.d26dc8"
1457       ]
1458     ]
1459   }
1460 ]