Deployment onap rename
[appc/deployment.git] / platform-logic / appc / src / main / json / dg-loader-dgs / APPC / APPC_method_Generic_Restart.json
1 [
2     {
3         "id": "77efa2fe.5906a4",
4         "type": "method",
5         "name": "Generic_Restart_2.0.1",
6         "xml": "<method rpc='Generic_Restart' mode='sync'>\n",
7         "comments": "",
8         "outputs": 1,
9         "x": 114,
10         "y": 119,
11         "z": "f3233724.949d7",
12         "wires": [
13             [
14                 "d57f60ae.3596c8"
15             ]
16         ]
17     },
18     {
19         "id": "f3fc277b.fcf008",
20         "type": "service-logic",
21         "name": "APPC 2.0.1",
22         "module": "APPC",
23         "version": "2.0.1",
24         "comments": "",
25         "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='2.0.1'>",
26         "outputs": 1,
27         "x": 97,
28         "y": 70,
29         "z": "f3233724.949d7",
30         "wires": [
31             [
32                 "77efa2fe.5906a4"
33             ]
34         ]
35     },
36     {
37         "id": "f74c7201.958e3",
38         "type": "dgstart",
39         "name": "DGSTART",
40         "outputs": 1,
41         "x": 89,
42         "y": 20,
43         "z": "f3233724.949d7",
44         "wires": [
45             [
46                 "f3fc277b.fcf008"
47             ]
48         ]
49     },
50     {
51         "id": "3569147a.725ba4",
52         "type": "execute",
53         "name": "execute_getVNF_Hierarchy",
54         "xml": "<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='getVnfHierarchy'>\n<parameter name=\"resourceKey\" value=\"`$input.action-identifiers.vnf-id`\" />",
55         "comments": "",
56         "outputs": 1,
57         "x": 285,
58         "y": 255,
59         "z": "f3233724.949d7",
60         "wires": [
61             [
62                 "4078cbb6.058144",
63                 "85bd466a.1b45c8"
64             ]
65         ]
66     },
67     {
68         "id": "4078cbb6.058144",
69         "type": "success",
70         "name": "success",
71         "xml": "<outcome value='success'>\n",
72         "comments": "",
73         "outputs": 1,
74         "x": 520.2857208251953,
75         "y": 251.85713386535645,
76         "z": "f3233724.949d7",
77         "wires": [
78             [
79                 "39e4ac19.01b06c"
80             ]
81         ]
82     },
83     {
84         "id": "4e5804f3.f136ec",
85         "type": "block",
86         "name": "block : atomic",
87         "xml": "<block atomic='true'>\n",
88         "atomic": "true",
89         "comments": "",
90         "outputs": 1,
91         "x": 1345.8573913574219,
92         "y": 246.5713963508606,
93         "z": "f3233724.949d7",
94         "wires": [
95             [
96                 "a4d10066.c8a438",
97                 "2da822c4.8d41b6"
98             ]
99         ]
100     },
101     {
102         "id": "a4d10066.c8a438",
103         "type": "for",
104         "name": "for_each_VMs",
105         "xml": "<for index=\"i\" start=\"0\" end=\"`$VNF.VMCount`\" >",
106         "comments": "",
107         "outputs": 1,
108         "x": 1538.5717239379883,
109         "y": 256.42853116989136,
110         "z": "f3233724.949d7",
111         "wires": [
112             [
113                 "e1242460.1b48"
114             ]
115         ]
116     },
117     {
118         "id": "e1242460.1b48",
119         "type": "block",
120         "name": "block : atomic",
121         "xml": "<block atomic='true'>\n",
122         "atomic": "true",
123         "comments": "",
124         "outputs": 1,
125         "x": 1650.5717010498047,
126         "y": 189.7142515182495,
127         "z": "f3233724.949d7",
128         "wires": [
129             [
130                 "89f6a89.5a2f1d8"
131             ]
132         ]
133     },
134     {
135         "id": "89f6a89.5a2f1d8",
136         "type": "execute",
137         "name": "execute_UpdateAA&I",
138         "xml": "<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='postResource'>\n<parameter name=\"resourceType\" value=\"vnfc\" />\n<parameter name=\"prefix\" value=\"vnfc\" />\n<parameter name=\"resourceKey\" value='vnfc-name = $VNF.VM[$i].VNFC' />\n<parameter name=\"attributeName\" value=\"orchestration-status\" />\n<parameter name=\"attributeValue\" value=\"Restarting\" />\n",
139         "comments": "",
140         "outputs": 1,
141         "x": 1759.286018371582,
142         "y": 256.42854022979736,
143         "z": "f3233724.949d7",
144         "wires": [
145             [
146                 "f889439d.898128",
147                 "112a7308.0a5275"
148             ]
149         ]
150     },
151     {
152         "id": "f889439d.898128",
153         "type": "success",
154         "name": "success",
155         "xml": "<outcome value='success'>\n",
156         "comments": "",
157         "outputs": 1,
158         "x": 2022.4285888671875,
159         "y": 257.57142639160156,
160         "z": "f3233724.949d7",
161         "wires": [
162             [
163                 "29ba3770.c1f3c8"
164             ]
165         ]
166     },
167     {
168         "id": "2da822c4.8d41b6",
169         "type": "returnSuccess",
170         "name": "return success",
171         "xml": "<return status='success'>\n",
172         "comments": "",
173         "x": 1532.2859420776367,
174         "y": 313.71416425704956,
175         "z": "f3233724.949d7",
176         "wires": []
177     },
178     {
179         "id": "85bd466a.1b45c8",
180         "type": "failure",
181         "name": "failure",
182         "xml": "<outcome value='failure'>\n",
183         "comments": "",
184         "outputs": 1,
185         "x": 517.28564453125,
186         "y": 29.28571319580078,
187         "z": "f3233724.949d7",
188         "wires": [
189             [
190                 "c3caa195.b3d0f8"
191             ]
192         ]
193     },
194     {
195         "id": "fd3ec61c.d74f5",
196         "type": "returnFailure",
197         "name": "return failure",
198         "xml": "<return status='failure'>\n",
199         "comments": "",
200         "x": 886.5714340209961,
201         "y": 78.57142579555511,
202         "z": "f3233724.949d7",
203         "wires": []
204     },
205     {
206         "id": "3f21932e.ae5b5c",
207         "type": "success",
208         "name": "success",
209         "xml": "<outcome value='success'>\n",
210         "comments": "",
211         "outputs": 1,
212         "x": 3470.0000076293945,
213         "y": 368.5714588165283,
214         "z": "f3233724.949d7",
215         "wires": [
216             [
217                 "96461915.52e788"
218             ]
219         ]
220     },
221     {
222         "id": "33439619.cba012",
223         "type": "execute",
224         "name": "execute_update_AA&I",
225         "xml": "<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='postResource'>\n<parameter name=\"resourceType\" value=\"vnfc\" />\n<parameter name=\"prefix\" value=\"vnfc\" />\n<parameter name=\"resourceKey\" value='vnfc-name = $VNF.VM[$i].VNFC' />\n<parameter name=\"attributeName\" value=\"orchestration-status\" />\n<parameter name=\"attributeValue\" value=\"Restarted\" />\n",
226         "comments": "",
227         "outputs": 1,
228         "x": 4306.71378326416,
229         "y": 917.1429214477539,
230         "z": "f3233724.949d7",
231         "wires": [
232             [
233                 "9dc27e7a.e97958",
234                 "223bf714.c63b38"
235             ]
236         ]
237     },
238     {
239         "id": "9dc27e7a.e97958",
240         "type": "failure",
241         "name": "failure",
242         "xml": "<outcome value='failure'>\n",
243         "comments": "",
244         "outputs": 1,
245         "x": 4500.142219543457,
246         "y": 1022.2858295440674,
247         "z": "f3233724.949d7",
248         "wires": [
249             [
250                 "ad2a7678.0ff04"
251             ]
252         ]
253     },
254     {
255         "id": "7524bbc6.5b1bd4",
256         "type": "returnFailure",
257         "name": "return failure",
258         "xml": "<return status='failure'>\n",
259         "comments": "",
260         "x": 4847.142219543457,
261         "y": 1073.2858295440674,
262         "z": "f3233724.949d7",
263         "wires": []
264     },
265     {
266         "id": "223bf714.c63b38",
267         "type": "success",
268         "name": "success",
269         "xml": "<outcome value='success'>\n",
270         "comments": "",
271         "outputs": 1,
272         "x": 4499.428039550781,
273         "y": 825.0000867843628,
274         "z": "f3233724.949d7",
275         "wires": [
276             [
277                 "33c4bf37.aa002"
278             ]
279         ]
280     },
281     {
282         "id": "112a7308.0a5275",
283         "type": "failure",
284         "name": "failure",
285         "xml": "<outcome value='failure'>\n",
286         "comments": "",
287         "outputs": 1,
288         "x": 1834.0000381469727,
289         "y": 549.571478843689,
290         "z": "f3233724.949d7",
291         "wires": [
292             [
293                 "ae268e7b.227458"
294             ]
295         ]
296     },
297     {
298         "id": "6a0490e7.9a9978",
299         "type": "returnFailure",
300         "name": "return failure",
301         "xml": "<return status='failure'>\n",
302         "comments": "",
303         "x": 2157.57137298584,
304         "y": 638.4286470413208,
305         "z": "f3233724.949d7",
306         "wires": []
307     },
308     {
309         "id": "dab9037a.73cc8",
310         "type": "execute",
311         "name": "execute_Update_AA&I",
312         "xml": "<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='postResource'>\n<parameter name=\"resourceType\" value=\"vnfc\" />\n<parameter name=\"prefix\" value=\"vnfc\" />\n<parameter name=\"resourceKey\" value='vnfc-name = $VNF.VM[$i].VNFC' />\n<parameter name=\"attributeName\" value=\"orchestration-status\" />\n<parameter name=\"attributeValue\" value=\"Error\" />\n",
313         "comments": "",
314         "outputs": 1,
315         "x": 4832.285980224609,
316         "y": 531.7143478393555,
317         "z": "f3233724.949d7",
318         "wires": [
319             [
320                 "437746e2.a8208",
321                 "87adabfd.985408"
322             ]
323         ]
324     },
325     {
326         "id": "437746e2.a8208",
327         "type": "success",
328         "name": "success",
329         "xml": "<outcome value='success'>\n",
330         "comments": "",
331         "outputs": 1,
332         "x": 5103.999912261963,
333         "y": 266.00002574920654,
334         "z": "f3233724.949d7",
335         "wires": [
336             [
337                 "233c297.2dd7356"
338             ]
339         ]
340     },
341     {
342         "id": "296c8838.727ac8",
343         "type": "comment",
344         "name": "update VNFCs to Restarting",
345         "info": "",
346         "comments": "",
347         "x": 1839.8574600219727,
348         "y": 218.71423721313477,
349         "z": "f3233724.949d7",
350         "wires": []
351     },
352     {
353         "id": "61ae8f41.05e9e",
354         "type": "comment",
355         "name": "call south bound to Restart VMs",
356         "info": "",
357         "comments": "",
358         "x": 3296.4278717041016,
359         "y": 189.4285831451416,
360         "z": "f3233724.949d7",
361         "wires": []
362     },
363     {
364         "id": "5e33f37e.9d54bc",
365         "type": "comment",
366         "name": "if failure from south bound then update as Error",
367         "info": "",
368         "comments": "",
369         "x": 4827.571907043457,
370         "y": 601.1428642272949,
371         "z": "f3233724.949d7",
372         "wires": []
373     },
374     {
375         "id": "9d3cd0b7.0545b",
376         "type": "comment",
377         "name": "Restarted VNFCs in AA&I",
378         "info": "",
379         "comments": "",
380         "x": 4337.571113586426,
381         "y": 954.714334487915,
382         "z": "f3233724.949d7",
383         "wires": []
384     },
385     {
386         "id": "7ee87617.54b68",
387         "type": "comment",
388         "name": "Fetch all VMs and VNFCs from AA&I for given VNF_ID",
389         "info": "",
390         "comments": "",
391         "x": 855.7142944335938,
392         "y": 109.85714149475098,
393         "z": "f3233724.949d7",
394         "wires": []
395     },
396     {
397         "id": "87adabfd.985408",
398         "type": "failure",
399         "name": "failure",
400         "xml": "<outcome value='failure'>\n",
401         "comments": "",
402         "outputs": 1,
403         "x": 5095.857753753662,
404         "y": 359.14294624328613,
405         "z": "f3233724.949d7",
406         "wires": [
407             [
408                 "cf6d241.f3ffb58"
409             ]
410         ]
411     },
412     {
413         "id": "fc9c6442.f66668",
414         "type": "failure",
415         "name": "failure",
416         "xml": "<outcome value='failure'>\n",
417         "comments": "",
418         "outputs": 1,
419         "x": 3434.285758972168,
420         "y": 39.85716247558594,
421         "z": "f3233724.949d7",
422         "wires": [
423             [
424                 "f38fb44e.7e9a2"
425             ]
426         ]
427     },
428     {
429         "id": "75d96b60.4e9e54",
430         "type": "switchNode",
431         "name": "switch",
432         "xml": "<switch test='`$VNF.VMCount`'>\n",
433         "comments": "",
434         "outputs": 1,
435         "x": 962.857421875,
436         "y": 249.28571701049805,
437         "z": "f3233724.949d7",
438         "wires": [
439             [
440                 "5e4b3ef1.333968",
441                 "7a443d49.8b5ba4"
442             ]
443         ]
444     },
445     {
446         "id": "5e4b3ef1.333968",
447         "type": "other",
448         "name": "outcome_0",
449         "xml": "<outcome value='0'>\n",
450         "comments": "",
451         "outputs": 1,
452         "x": 1231.2858276367188,
453         "y": 29.428585052490234,
454         "z": "f3233724.949d7",
455         "wires": [
456             [
457                 "603266f2.4e3b68"
458             ]
459         ]
460     },
461     {
462         "id": "7a443d49.8b5ba4",
463         "type": "other",
464         "name": "other",
465         "xml": "<outcome value='Other'>\n",
466         "comments": "",
467         "outputs": 1,
468         "x": 1180.1430282592773,
469         "y": 245.14288139343262,
470         "z": "f3233724.949d7",
471         "wires": [
472             [
473                 "4e5804f3.f136ec"
474             ]
475         ]
476     },
477     {
478         "id": "96461915.52e788",
479         "type": "switchNode",
480         "name": "switch",
481         "xml": "<switch test='`$RESTART_STATUS`'>\n",
482         "comments": "",
483         "outputs": 1,
484         "x": 3652.0000076293945,
485         "y": 367.5714588165283,
486         "z": "f3233724.949d7",
487         "wires": [
488             [
489                 "a5b69edc.1371e",
490                 "921d5fa7.b64fd",
491                 "c1dede1c.287e1"
492             ]
493         ]
494     },
495     {
496         "id": "c1dede1c.287e1",
497         "type": "success",
498         "name": "outcome_SUCCESS",
499         "xml": "<outcome value='SUCCESS'>\n",
500         "comments": "",
501         "outputs": 1,
502         "x": 3939.4285583496094,
503         "y": 704.0000228881836,
504         "z": "f3233724.949d7",
505         "wires": [
506             [
507                 "5f0bb2d7.73d944"
508             ]
509         ]
510     },
511     {
512         "id": "a5b69edc.1371e",
513         "type": "other",
514         "name": "outcome_CONTEXT_NOT_FOUND",
515         "xml": "<outcome value='CONTEXT_NOT_FOUND'>\n",
516         "comments": "",
517         "outputs": 1,
518         "x": 3954.857635498047,
519         "y": 563.4286317825317,
520         "z": "f3233724.949d7",
521         "wires": [
522             [
523                 "c015eed1.b1284"
524             ]
525         ]
526     },
527     {
528         "id": "921d5fa7.b64fd",
529         "type": "other",
530         "name": "outcome_ERROR",
531         "xml": "<outcome value='ERROR'>\n",
532         "comments": "",
533         "outputs": 1,
534         "x": 3851.9998474121094,
535         "y": 321.0000534057617,
536         "z": "f3233724.949d7",
537         "wires": [
538             [
539                 "fb86a599.d6e52"
540             ]
541         ]
542     },
543     {
544         "id": "5fc462ef.902c24",
545         "type": "execute",
546         "name": "execute_Restart",
547         "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='restartServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$VNF.VM[$i].URL`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$AICIdentity`\" />\n\n",
548         "comments": "",
549         "outputs": 1,
550         "x": 3294.2858657836914,
551         "y": 256.8571901321411,
552         "z": "f3233724.949d7",
553         "wires": [
554             [
555                 "3f21932e.ae5b5c",
556                 "fc9c6442.f66668"
557             ]
558         ]
559     },
560     {
561         "id": "39e4ac19.01b06c",
562         "type": "switchNode",
563         "name": "switch",
564         "xml": "<switch test='`$getVnfHierarchy_result`'>\n",
565         "comments": "",
566         "outputs": 1,
567         "x": 670.5714340209961,
568         "y": 249.85720825195312,
569         "z": "f3233724.949d7",
570         "wires": [
571             [
572                 "cf51ca13.06e278",
573                 "72819038.6fa4c8"
574             ]
575         ]
576     },
577     {
578         "id": "72819038.6fa4c8",
579         "type": "outcome",
580         "name": "FAILURE",
581         "xml": "<outcome value='FAILURE'>\n",
582         "comments": "",
583         "outputs": 1,
584         "x": 818.7858428955078,
585         "y": 520.5714192390442,
586         "z": "f3233724.949d7",
587         "wires": [
588             [
589                 "a5478728.ff0ec"
590             ]
591         ]
592     },
593     {
594         "id": "34e62453.208ac4",
595         "type": "returnFailure",
596         "name": "return failure",
597         "xml": "<return status='failure'>\n",
598         "comments": "",
599         "x": 1299.3571891784668,
600         "y": 597.285737991333,
601         "z": "f3233724.949d7",
602         "wires": []
603     },
604     {
605         "id": "cf51ca13.06e278",
606         "type": "outcome",
607         "name": "SUCCESS",
608         "xml": "<outcome value='SUCCESS'>\n",
609         "comments": "",
610         "outputs": 1,
611         "x": 822.9999771118164,
612         "y": 250.14290809631348,
613         "z": "f3233724.949d7",
614         "wires": [
615             [
616                 "75d96b60.4e9e54"
617             ]
618         ]
619     },
620     {
621         "id": "ffc6f747.0a0218",
622         "type": "returnFailure",
623         "name": "return failure",
624         "xml": "<return status='failure'>\n",
625         "comments": "",
626         "x": 1585.5717468261719,
627         "y": 83.85710144042969,
628         "z": "f3233724.949d7",
629         "wires": []
630     },
631     {
632         "id": "29ba3770.c1f3c8",
633         "type": "switchNode",
634         "name": "switch",
635         "xml": "<switch test='`$postResource_result`'>\n",
636         "comments": "",
637         "outputs": 1,
638         "x": 2357.4286003112793,
639         "y": 250.4285650253296,
640         "z": "f3233724.949d7",
641         "wires": [
642             [
643                 "8dd97536.3861",
644                 "298028ac.19fed8",
645                 "5a5aa624.6ed6f8"
646             ]
647         ]
648     },
649     {
650         "id": "8dd97536.3861",
651         "type": "outcome",
652         "name": "SUCCESS",
653         "xml": "<outcome value='SUCCESS'>\n",
654         "comments": "",
655         "outputs": 1,
656         "x": 3083.0001907348633,
657         "y": 261.7142677307129,
658         "z": "f3233724.949d7",
659         "wires": [
660             [
661                 "5fc462ef.902c24"
662             ]
663         ]
664     },
665     {
666         "id": "298028ac.19fed8",
667         "type": "outcome",
668         "name": "NOT_FOUND",
669         "xml": "<outcome value='NOT_FOUND'>\n",
670         "comments": "",
671         "outputs": 1,
672         "x": 2462.1429176330566,
673         "y": 33.428611755371094,
674         "z": "f3233724.949d7",
675         "wires": [
676             [
677                 "73a1e1e1.3f12d8"
678             ]
679         ]
680     },
681     {
682         "id": "31507432.c47354",
683         "type": "returnFailure",
684         "name": "return failure",
685         "xml": "<return status='failure'>\n",
686         "comments": "",
687         "x": 2853.142868041992,
688         "y": 125.42854309082031,
689         "z": "f3233724.949d7",
690         "wires": []
691     },
692     {
693         "id": "5a5aa624.6ed6f8",
694         "type": "outcome",
695         "name": "FAILURE",
696         "xml": "<outcome value='FAILURE'>\n",
697         "comments": "",
698         "outputs": 1,
699         "x": 2474.7142753601074,
700         "y": 541.857063293457,
701         "z": "f3233724.949d7",
702         "wires": [
703             [
704                 "92e5a6d6.1d8d2"
705             ]
706         ]
707     },
708     {
709         "id": "e0f4b3fe.b8cd18",
710         "type": "returnFailure",
711         "name": "return failure",
712         "xml": "<return status='failure'>\n",
713         "comments": "",
714         "x": 2794.5710678100586,
715         "y": 637.2857112884521,
716         "z": "f3233724.949d7",
717         "wires": []
718     },
719     {
720         "id": "33c4bf37.aa002",
721         "type": "switchNode",
722         "name": "switch",
723         "xml": "<switch test='`$postResource_result`'>\n",
724         "comments": "",
725         "outputs": 1,
726         "x": 4662.142288208008,
727         "y": 825.428671836853,
728         "z": "f3233724.949d7",
729         "wires": [
730             [
731                 "4d8b21a6.9f2a08",
732                 "8347ff07.484e9",
733                 "664cf859.147678"
734             ]
735         ]
736     },
737     {
738         "id": "4d8b21a6.9f2a08",
739         "type": "outcome",
740         "name": "SUCCESS",
741         "xml": "<outcome value='SUCCESS'>\n",
742         "comments": "",
743         "outputs": 1,
744         "x": 4847.856781005859,
745         "y": 824.1429166793823,
746         "z": "f3233724.949d7",
747         "wires": [
748             []
749         ]
750     },
751     {
752         "id": "8347ff07.484e9",
753         "type": "outcome",
754         "name": "NOT_FOUND",
755         "xml": "<outcome value='NOT_FOUND'>\n",
756         "comments": "",
757         "outputs": 1,
758         "x": 4852.856986999512,
759         "y": 756.2857484817505,
760         "z": "f3233724.949d7",
761         "wires": [
762             [
763                 "a2d56bc1.16762"
764             ]
765         ]
766     },
767     {
768         "id": "664cf859.147678",
769         "type": "outcome",
770         "name": "FAILURE",
771         "xml": "<outcome value='FAILURE'>\n",
772         "comments": "",
773         "outputs": 1,
774         "x": 4835.856498718262,
775         "y": 890.142897605896,
776         "z": "f3233724.949d7",
777         "wires": [
778             [
779                 "afa5d8ee.9872e"
780             ]
781         ]
782     },
783     {
784         "id": "67272fcc.070ee",
785         "type": "returnFailure",
786         "name": "return failure",
787         "xml": "<return status='failure'>\n",
788         "comments": "",
789         "x": 5216.285415649414,
790         "y": 818.8571405410767,
791         "z": "f3233724.949d7",
792         "wires": []
793     },
794     {
795         "id": "90242f4f.02c65",
796         "type": "returnFailure",
797         "name": "return failure",
798         "xml": "<return status='failure'>\n",
799         "comments": "",
800         "x": 5243.714195251465,
801         "y": 940.4285669326782,
802         "z": "f3233724.949d7",
803         "wires": []
804     },
805     {
806         "id": "233c297.2dd7356",
807         "type": "switchNode",
808         "name": "switch",
809         "xml": "<switch test='`$postResource_result`'>\n",
810         "comments": "",
811         "outputs": 1,
812         "x": 5230.429107666016,
813         "y": 259.8571615219116,
814         "z": "f3233724.949d7",
815         "wires": [
816             [
817                 "1d50340e.419374",
818                 "10f7012f.31d01f",
819                 "59e82f88.e7b6b"
820             ]
821         ]
822     },
823     {
824         "id": "1d50340e.419374",
825         "type": "outcome",
826         "name": "SUCCESS",
827         "xml": "<outcome value='SUCCESS'>\n",
828         "comments": "",
829         "outputs": 1,
830         "x": 5478.142833709717,
831         "y": 206.0000228881836,
832         "z": "f3233724.949d7",
833         "wires": [
834             [
835                 "4761e71e.e2f208"
836             ]
837         ]
838     },
839     {
840         "id": "4761e71e.e2f208",
841         "type": "returnFailure",
842         "name": "return failure",
843         "xml": "<return status='failure'>\n",
844         "comments": "",
845         "x": 5730.000324249268,
846         "y": 205.00002098083496,
847         "z": "f3233724.949d7",
848         "wires": []
849     },
850     {
851         "id": "10f7012f.31d01f",
852         "type": "outcome",
853         "name": "NOT_FOUND",
854         "xml": "<outcome value='NOT_FOUND'>\n",
855         "comments": "",
856         "outputs": 1,
857         "x": 5480.143047332764,
858         "y": 260.85716438293457,
859         "z": "f3233724.949d7",
860         "wires": [
861             [
862                 "51906d2a.ba1574"
863             ]
864         ]
865     },
866     {
867         "id": "59e82f88.e7b6b",
868         "type": "outcome",
869         "name": "FAILURE",
870         "xml": "<outcome value='FAILURE'>\n",
871         "comments": "",
872         "outputs": 1,
873         "x": 5473.000049591064,
874         "y": 326.42859840393066,
875         "z": "f3233724.949d7",
876         "wires": [
877             [
878                 "892ff529.01f29"
879             ]
880         ]
881     },
882     {
883         "id": "c3caa195.b3d0f8",
884         "type": "block",
885         "name": "block : atomic",
886         "xml": "<block atomic='true'>",
887         "atomic": "true",
888         "comments": "",
889         "outputs": 1,
890         "x": 681.2856864929199,
891         "y": 28.99999713897705,
892         "z": "f3233724.949d7",
893         "wires": [
894             [
895                 "2bab1708.35229",
896                 "fd3ec61c.d74f5"
897             ]
898         ]
899     },
900     {
901         "id": "2bab1708.35229",
902         "type": "execute",
903         "name": "execute",
904         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Exception in getting VNF Hierachy\" />\n\n",
905         "comments": "",
906         "outputs": 1,
907         "x": 886.4285926818848,
908         "y": 27.857141494750977,
909         "z": "f3233724.949d7",
910         "wires": [
911             [
912                 "4f2e980a.047948"
913             ]
914         ]
915     },
916     {
917         "id": "4f2e980a.047948",
918         "type": "success",
919         "name": "success",
920         "xml": "<outcome value='success'>\n",
921         "comments": "",
922         "outputs": 1,
923         "x": 1033.1428756713867,
924         "y": 24.14285659790039,
925         "z": "f3233724.949d7",
926         "wires": [
927             []
928         ]
929     },
930     {
931         "id": "a5478728.ff0ec",
932         "type": "block",
933         "name": "block : atomic",
934         "xml": "<block atomic='true'>",
935         "atomic": "true",
936         "comments": "",
937         "outputs": 1,
938         "x": 1088.023910522461,
939         "y": 522.7620143890381,
940         "z": "f3233724.949d7",
941         "wires": [
942             [
943                 "34e62453.208ac4",
944                 "587f4ad0.9d068c"
945             ]
946         ]
947     },
948     {
949         "id": "587f4ad0.9d068c",
950         "type": "execute",
951         "name": "execute",
952         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure in getting VNF Hierachy\" />",
953         "comments": "",
954         "outputs": 1,
955         "x": 1280.928638458252,
956         "y": 522.1429443359375,
957         "z": "f3233724.949d7",
958         "wires": [
959             [
960                 "617e8a47.dee6d4"
961             ]
962         ]
963     },
964     {
965         "id": "617e8a47.dee6d4",
966         "type": "success",
967         "name": "success",
968         "xml": "<outcome value='success'>\n",
969         "comments": "",
970         "outputs": 1,
971         "x": 1462.2144165039062,
972         "y": 521.5715417861938,
973         "z": "f3233724.949d7",
974         "wires": [
975             []
976         ]
977     },
978     {
979         "id": "603266f2.4e3b68",
980         "type": "block",
981         "name": "block : atomic",
982         "xml": "<block atomic='true'>",
983         "atomic": "true",
984         "comments": "",
985         "outputs": 1,
986         "x": 1411.571662902832,
987         "y": 30.857173919677734,
988         "z": "f3233724.949d7",
989         "wires": [
990             [
991                 "ffc6f747.0a0218",
992                 "1b7172ec.01ee45"
993             ]
994         ]
995     },
996     {
997         "id": "1b7172ec.01ee45",
998         "type": "execute",
999         "name": "execute",
1000         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"VM Count is 0\" />\n",
1001         "comments": "",
1002         "outputs": 1,
1003         "x": 1595.0003547668457,
1004         "y": 27.857142448425293,
1005         "z": "f3233724.949d7",
1006         "wires": [
1007             [
1008                 "558b37ad.8521a"
1009             ]
1010         ]
1011     },
1012     {
1013         "id": "558b37ad.8521a",
1014         "type": "success",
1015         "name": "success",
1016         "xml": "<outcome value='success'>\n",
1017         "comments": "",
1018         "outputs": 1,
1019         "x": 1768.8574447631836,
1020         "y": 29.57139015197754,
1021         "z": "f3233724.949d7",
1022         "wires": [
1023             []
1024         ]
1025     },
1026     {
1027         "id": "ae268e7b.227458",
1028         "type": "block",
1029         "name": "block : atomic",
1030         "xml": "<block atomic='true'>",
1031         "atomic": "true",
1032         "comments": "",
1033         "outputs": 1,
1034         "x": 1981.571434020996,
1035         "y": 548.1428813934326,
1036         "z": "f3233724.949d7",
1037         "wires": [
1038             [
1039                 "4ee323c7.76dfa4",
1040                 "6a0490e7.9a9978"
1041             ]
1042         ]
1043     },
1044     {
1045         "id": "4ee323c7.76dfa4",
1046         "type": "execute",
1047         "name": "execute",
1048         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Failure in updating AAI for' + $VNF.VM[$i].VNFC`\" />\n",
1049         "comments": "",
1050         "outputs": 1,
1051         "x": 2153.000244140625,
1052         "y": 545.0000610351562,
1053         "z": "f3233724.949d7",
1054         "wires": [
1055             [
1056                 "fbf65c23.908008"
1057             ]
1058         ]
1059     },
1060     {
1061         "id": "fbf65c23.908008",
1062         "type": "success",
1063         "name": "success",
1064         "xml": "<outcome value='success'>\n",
1065         "comments": "",
1066         "outputs": 1,
1067         "x": 2286.28564453125,
1068         "y": 544.857177734375,
1069         "z": "f3233724.949d7",
1070         "wires": [
1071             []
1072         ]
1073     },
1074     {
1075         "id": "92e5a6d6.1d8d2",
1076         "type": "block",
1077         "name": "block : atomic",
1078         "xml": "<block atomic='true'>",
1079         "atomic": "true",
1080         "comments": "",
1081         "outputs": 1,
1082         "x": 2639.2854232788086,
1083         "y": 539.2856788635254,
1084         "z": "f3233724.949d7",
1085         "wires": [
1086             [
1087                 "aa960cd9.883948",
1088                 "e0f4b3fe.b8cd18"
1089             ]
1090         ]
1091     },
1092     {
1093         "id": "aa960cd9.883948",
1094         "type": "execute",
1095         "name": "execute",
1096         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Exception in AAI Update for vnfc ' + $VNF.VM[$i].VNFC`\" />\n\n",
1097         "comments": "",
1098         "outputs": 1,
1099         "x": 2796.28564453125,
1100         "y": 540.142822265625,
1101         "z": "f3233724.949d7",
1102         "wires": [
1103             [
1104                 "81652814.1359b"
1105             ]
1106         ]
1107     },
1108     {
1109         "id": "81652814.1359b",
1110         "type": "success",
1111         "name": "success",
1112         "xml": "<outcome value='success'>\n",
1113         "comments": "",
1114         "outputs": 1,
1115         "x": 2923.428066253662,
1116         "y": 539.8570718765259,
1117         "z": "f3233724.949d7",
1118         "wires": [
1119             []
1120         ]
1121     },
1122     {
1123         "id": "73a1e1e1.3f12d8",
1124         "type": "block",
1125         "name": "block : atomic",
1126         "xml": "<block atomic='true'>",
1127         "atomic": "true",
1128         "comments": "",
1129         "outputs": 1,
1130         "x": 2650.714412689209,
1131         "y": 29.42860984802246,
1132         "z": "f3233724.949d7",
1133         "wires": [
1134             [
1135                 "e89f00f2.e11a58",
1136                 "31507432.c47354"
1137             ]
1138         ]
1139     },
1140     {
1141         "id": "e89f00f2.e11a58",
1142         "type": "execute",
1143         "name": "execute",
1144         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'VNFC not found in AAI : ' + $VNF.VM[$i].VNFC`\" />\n",
1145         "comments": "",
1146         "outputs": 1,
1147         "x": 2850.4287300109863,
1148         "y": 28.857165336608887,
1149         "z": "f3233724.949d7",
1150         "wires": [
1151             [
1152                 "62a54c9a.9e4184"
1153             ]
1154         ]
1155     },
1156     {
1157         "id": "62a54c9a.9e4184",
1158         "type": "success",
1159         "name": "success",
1160         "xml": "<outcome value='success'>\n",
1161         "comments": "",
1162         "outputs": 1,
1163         "x": 3009.8572311401367,
1164         "y": 28.00004768371582,
1165         "z": "f3233724.949d7",
1166         "wires": [
1167             []
1168         ]
1169     },
1170     {
1171         "id": "f38fb44e.7e9a2",
1172         "type": "block",
1173         "name": "block : atomic",
1174         "xml": "<block atomic='true'>",
1175         "atomic": "true",
1176         "comments": "",
1177         "outputs": 1,
1178         "x": 4662.856857299805,
1179         "y": 41.57143783569336,
1180         "z": "f3233724.949d7",
1181         "wires": [
1182             [
1183                 "3e633dc7.8349aa",
1184                 "dab9037a.73cc8"
1185             ]
1186         ]
1187     },
1188     {
1189         "id": "3e633dc7.8349aa",
1190         "type": "execute",
1191         "name": "Report_Failure_in_Restart",
1192         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Failure in restart for:' + $VNF.VM[$i].URL`\" />",
1193         "comments": "",
1194         "outputs": 1,
1195         "x": 4882.428768157959,
1196         "y": 68.28573799133301,
1197         "z": "f3233724.949d7",
1198         "wires": [
1199             [
1200                 "21eabfb9.c71688"
1201             ]
1202         ]
1203     },
1204     {
1205         "id": "21eabfb9.c71688",
1206         "type": "success",
1207         "name": "success",
1208         "xml": "<outcome value='success'>\n",
1209         "comments": "",
1210         "outputs": 1,
1211         "x": 5066.428413391113,
1212         "y": 70.2857437133789,
1213         "z": "f3233724.949d7",
1214         "wires": [
1215             []
1216         ]
1217     },
1218     {
1219         "id": "c015eed1.b1284",
1220         "type": "block",
1221         "name": "block : atomic",
1222         "xml": "<block atomic='true'>",
1223         "atomic": "true",
1224         "comments": "",
1225         "outputs": 1,
1226         "x": 4237.428771972656,
1227         "y": 557.5714626312256,
1228         "z": "f3233724.949d7",
1229         "wires": [
1230             [
1231                 "dab9037a.73cc8",
1232                 "44f3a34b.72d604"
1233             ]
1234         ]
1235     },
1236     {
1237         "id": "44f3a34b.72d604",
1238         "type": "execute",
1239         "name": "Report_Context_not_found",
1240         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Stop : Context not found:' + $VNF.VM[$i].URL`\" />",
1241         "comments": "",
1242         "outputs": 1,
1243         "x": 4446.571556091309,
1244         "y": 302.571475982666,
1245         "z": "f3233724.949d7",
1246         "wires": [
1247             [
1248                 "c42b52c.ae354b"
1249             ]
1250         ]
1251     },
1252     {
1253         "id": "c42b52c.ae354b",
1254         "type": "success",
1255         "name": "success",
1256         "xml": "<outcome value='success'>\n",
1257         "comments": "",
1258         "outputs": 1,
1259         "x": 4814.430023193359,
1260         "y": 313.1428756713867,
1261         "z": "f3233724.949d7",
1262         "wires": [
1263             []
1264         ]
1265     },
1266     {
1267         "id": "fb86a599.d6e52",
1268         "type": "block",
1269         "name": "block : atomic",
1270         "xml": "<block atomic='true'>",
1271         "atomic": "true",
1272         "comments": "",
1273         "outputs": 1,
1274         "x": 4069.4290466308594,
1275         "y": 297.0000228881836,
1276         "z": "f3233724.949d7",
1277         "wires": [
1278             [
1279                 "dab9037a.73cc8",
1280                 "5592e4e8.e05cac"
1281             ]
1282         ]
1283     },
1284     {
1285         "id": "5592e4e8.e05cac",
1286         "type": "execute",
1287         "name": "Report_Error_occoured_while_restarting_the_server",
1288         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Stop : Error occoured while restarting the server:' + $VNF.VM[$i].URL`\" />",
1289         "comments": "",
1290         "outputs": 1,
1291         "x": 4264.857406616211,
1292         "y": 157.85715770721436,
1293         "z": "f3233724.949d7",
1294         "wires": [
1295             [
1296                 "a4cef39e.6a4a08"
1297             ]
1298         ]
1299     },
1300     {
1301         "id": "a4cef39e.6a4a08",
1302         "type": "success",
1303         "name": "success",
1304         "xml": "<outcome value='success'>\n",
1305         "comments": "",
1306         "outputs": 1,
1307         "x": 4607.429046630859,
1308         "y": 134.99999237060547,
1309         "z": "f3233724.949d7",
1310         "wires": [
1311             []
1312         ]
1313     },
1314     {
1315         "id": "a2d56bc1.16762",
1316         "type": "block",
1317         "name": "block : atomic",
1318         "xml": "<block atomic='true'>",
1319         "atomic": "true",
1320         "comments": "",
1321         "outputs": 1,
1322         "x": 5049.857124328613,
1323         "y": 754.7143201828003,
1324         "z": "f3233724.949d7",
1325         "wires": [
1326             [
1327                 "7391fda3.691d64",
1328                 "67272fcc.070ee"
1329             ]
1330         ]
1331     },
1332     {
1333         "id": "afa5d8ee.9872e",
1334         "type": "block",
1335         "name": "block : atomic",
1336         "xml": "<block atomic='true'>",
1337         "atomic": "true",
1338         "comments": "",
1339         "outputs": 1,
1340         "x": 5046.713916778564,
1341         "y": 886.8571300506592,
1342         "z": "f3233724.949d7",
1343         "wires": [
1344             [
1345                 "740c3416.6b040c",
1346                 "90242f4f.02c65"
1347             ]
1348         ]
1349     },
1350     {
1351         "id": "ad2a7678.0ff04",
1352         "type": "block",
1353         "name": "block : atomic",
1354         "xml": "<block atomic='true'>",
1355         "atomic": "true",
1356         "comments": "",
1357         "outputs": 1,
1358         "x": 4637.142219543457,
1359         "y": 1018.2858295440674,
1360         "z": "f3233724.949d7",
1361         "wires": [
1362             [
1363                 "e598f194.bdfb48",
1364                 "7524bbc6.5b1bd4"
1365             ]
1366         ]
1367     },
1368     {
1369         "id": "7391fda3.691d64",
1370         "type": "execute",
1371         "name": "execute",
1372         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'VNFC not found in AAI : ' + $VNF.VM[$i].VNFC`\" />",
1373         "comments": "",
1374         "outputs": 1,
1375         "x": 5214.142913818359,
1376         "y": 753.5714340209961,
1377         "z": "f3233724.949d7",
1378         "wires": [
1379             [
1380                 "fd1d078.c828b78"
1381             ]
1382         ]
1383     },
1384     {
1385         "id": "740c3416.6b040c",
1386         "type": "execute",
1387         "name": "execute",
1388         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Exception in AAI Update for vnfc' + $VNF.VM[$i].VNFC`\" />",
1389         "comments": "",
1390         "outputs": 1,
1391         "x": 5229.999771118164,
1392         "y": 885.5713906288147,
1393         "z": "f3233724.949d7",
1394         "wires": [
1395             [
1396                 "aee3e63f.bf945"
1397             ]
1398         ]
1399     },
1400     {
1401         "id": "fd1d078.c828b78",
1402         "type": "success",
1403         "name": "success",
1404         "xml": "<outcome value='success'>\n",
1405         "comments": "",
1406         "outputs": 1,
1407         "x": 5387.142486572266,
1408         "y": 758.2857761383057,
1409         "z": "f3233724.949d7",
1410         "wires": [
1411             []
1412         ]
1413     },
1414     {
1415         "id": "aee3e63f.bf945",
1416         "type": "success",
1417         "name": "success",
1418         "xml": "<outcome value='success'>\n",
1419         "comments": "",
1420         "outputs": 1,
1421         "x": 5397.285621643066,
1422         "y": 883.857105255127,
1423         "z": "f3233724.949d7",
1424         "wires": [
1425             []
1426         ]
1427     },
1428     {
1429         "id": "e598f194.bdfb48",
1430         "type": "execute",
1431         "name": "execute",
1432         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Failure in updating AAI for' + $VNF.VM[$i].VNFC`\" />",
1433         "comments": "",
1434         "outputs": 1,
1435         "x": 4839.428146362305,
1436         "y": 1014.1429538726807,
1437         "z": "f3233724.949d7",
1438         "wires": [
1439             [
1440                 "56657801.8f8888"
1441             ]
1442         ]
1443     },
1444     {
1445         "id": "56657801.8f8888",
1446         "type": "success",
1447         "name": "success",
1448         "xml": "<outcome value='success'>\n",
1449         "comments": "",
1450         "outputs": 1,
1451         "x": 4996.999572753906,
1452         "y": 1008.1429538726807,
1453         "z": "f3233724.949d7",
1454         "wires": [
1455             []
1456         ]
1457     },
1458     {
1459         "id": "2bba13e0.e34864",
1460         "type": "success",
1461         "name": "success",
1462         "xml": "<outcome value='success'>\n",
1463         "comments": "",
1464         "outputs": 1,
1465         "x": 83,
1466         "y": 257.8888854980469,
1467         "z": "f3233724.949d7",
1468         "wires": [
1469             [
1470                 "3569147a.725ba4"
1471             ]
1472         ]
1473     },
1474     {
1475         "id": "d57f60ae.3596c8",
1476         "type": "execute",
1477         "name": "execute: flatAndAddToContext",
1478         "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",
1479         "comments": "",
1480         "outputs": 1,
1481         "x": 131,
1482         "y": 182.99999237060547,
1483         "z": "f3233724.949d7",
1484         "wires": [
1485             [
1486                 "2bba13e0.e34864",
1487                 "16ffb706.800841",
1488                 "88c60367.bb96e"
1489             ]
1490         ]
1491     },
1492     {
1493         "id": "ba028240.e7a8a",
1494         "type": "returnFailure",
1495         "name": "return failure",
1496         "xml": "<return status='failure'>\n",
1497         "comments": "",
1498         "x": 5391.999938964844,
1499         "y": 626.9999990463257,
1500         "z": "f3233724.949d7",
1501         "wires": []
1502     },
1503     {
1504         "id": "cf6d241.f3ffb58",
1505         "type": "block",
1506         "name": "block : atomic",
1507         "xml": "<block atomic='true'>",
1508         "atomic": "true",
1509         "comments": "",
1510         "outputs": 1,
1511         "x": 5216,
1512         "y": 536.7142333984375,
1513         "z": "f3233724.949d7",
1514         "wires": [
1515             [
1516                 "322113ac.4683e4",
1517                 "ba028240.e7a8a"
1518             ]
1519         ]
1520     },
1521     {
1522         "id": "322113ac.4683e4",
1523         "type": "execute",
1524         "name": "execute",
1525         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Failure in updating AAI for' + $VNF.VM[$i].VNFC`\" />\n",
1526         "comments": "",
1527         "outputs": 1,
1528         "x": 5387.428810119629,
1529         "y": 533.571403503418,
1530         "z": "f3233724.949d7",
1531         "wires": [
1532             [
1533                 "43a18246.8cfea4"
1534             ]
1535         ]
1536     },
1537     {
1538         "id": "43a18246.8cfea4",
1539         "type": "success",
1540         "name": "success",
1541         "xml": "<outcome value='success'>\n",
1542         "comments": "",
1543         "outputs": 1,
1544         "x": 5520.714210510254,
1545         "y": 533.4285297393799,
1546         "z": "f3233724.949d7",
1547         "wires": [
1548             []
1549         ]
1550     },
1551     {
1552         "id": "b53ebe9c.be94d8",
1553         "type": "returnFailure",
1554         "name": "return failure",
1555         "xml": "<return status='failure'>\n",
1556         "comments": "",
1557         "x": 6101,
1558         "y": 345,
1559         "z": "f3233724.949d7",
1560         "wires": []
1561     },
1562     {
1563         "id": "51906d2a.ba1574",
1564         "type": "block",
1565         "name": "block : atomic",
1566         "xml": "<block atomic='true'>",
1567         "atomic": "true",
1568         "comments": "",
1569         "outputs": 1,
1570         "x": 5893.57177734375,
1571         "y": 265.00006103515625,
1572         "z": "f3233724.949d7",
1573         "wires": [
1574             [
1575                 "472e9f56.80f4f8",
1576                 "b53ebe9c.be94d8"
1577             ]
1578         ]
1579     },
1580     {
1581         "id": "472e9f56.80f4f8",
1582         "type": "execute",
1583         "name": "execute",
1584         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'VNFC not found in AAI : ' + $VNF.VM[$i].VNFC`\" />\n",
1585         "comments": "",
1586         "outputs": 1,
1587         "x": 6098.285861968994,
1588         "y": 248.42862224578857,
1589         "z": "f3233724.949d7",
1590         "wires": [
1591             [
1592                 "82130f17.965c48"
1593             ]
1594         ]
1595     },
1596     {
1597         "id": "82130f17.965c48",
1598         "type": "success",
1599         "name": "success",
1600         "xml": "<outcome value='success'>\n",
1601         "comments": "",
1602         "outputs": 1,
1603         "x": 6257.7143630981445,
1604         "y": 247.5715045928955,
1605         "z": "f3233724.949d7",
1606         "wires": [
1607             []
1608         ]
1609     },
1610     {
1611         "id": "8db8f4e2.db5058",
1612         "type": "returnFailure",
1613         "name": "return failure",
1614         "xml": "<return status='failure'>\n",
1615         "comments": "",
1616         "x": 5834,
1617         "y": 519,
1618         "z": "f3233724.949d7",
1619         "wires": []
1620     },
1621     {
1622         "id": "892ff529.01f29",
1623         "type": "block",
1624         "name": "block : atomic",
1625         "xml": "<block atomic='true'>",
1626         "atomic": "true",
1627         "comments": "",
1628         "outputs": 1,
1629         "x": 5678.71435546875,
1630         "y": 420.99996757507324,
1631         "z": "f3233724.949d7",
1632         "wires": [
1633             [
1634                 "af2136b6.655e3",
1635                 "8db8f4e2.db5058"
1636             ]
1637         ]
1638     },
1639     {
1640         "id": "af2136b6.655e3",
1641         "type": "execute",
1642         "name": "execute",
1643         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value='Exception in AAI Update for vnfc $VNF.VM[$i].VNFC' />\n",
1644         "comments": "",
1645         "outputs": 1,
1646         "x": 5835.714576721191,
1647         "y": 421.85711097717285,
1648         "z": "f3233724.949d7",
1649         "wires": [
1650             [
1651                 "39fcdeee.9b20a2"
1652             ]
1653         ]
1654     },
1655     {
1656         "id": "39fcdeee.9b20a2",
1657         "type": "success",
1658         "name": "success",
1659         "xml": "<outcome value='success'>\n",
1660         "comments": "",
1661         "outputs": 1,
1662         "x": 5962.8569984436035,
1663         "y": 421.57136058807373,
1664         "z": "f3233724.949d7",
1665         "wires": [
1666             []
1667         ]
1668     },
1669     {
1670         "id": "31af661a.87d042",
1671         "type": "returnFailure",
1672         "name": "return failure",
1673         "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
1674         "comments": "",
1675         "x": 452.9999694824219,
1676         "y": 461.66674041748047,
1677         "z": "f3233724.949d7",
1678         "wires": []
1679     },
1680     {
1681         "id": "9fe0dada.80a3d8",
1682         "type": "block",
1683         "name": "block : atomic",
1684         "xml": "<block atomic='true'>",
1685         "atomic": "true",
1686         "comments": "",
1687         "outputs": 1,
1688         "x": 239.66671752929688,
1689         "y": 416.1429672241211,
1690         "z": "f3233724.949d7",
1691         "wires": [
1692             [
1693                 "31af661a.87d042",
1694                 "60ae25ab.2f83ec"
1695             ]
1696         ]
1697     },
1698     {
1699         "id": "60ae25ab.2f83ec",
1700         "type": "execute",
1701         "name": "Report_Error_Flattening_Payload_Json",
1702         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
1703         "comments": "",
1704         "outputs": 1,
1705         "x": 528.5714111328125,
1706         "y": 343.52388763427734,
1707         "z": "f3233724.949d7",
1708         "wires": [
1709             [
1710                 "2d8913a1.9de424"
1711             ]
1712         ]
1713     },
1714     {
1715         "id": "2d8913a1.9de424",
1716         "type": "success",
1717         "name": "success",
1718         "xml": "<outcome value='success'>\n",
1719         "comments": "",
1720         "outputs": 1,
1721         "x": 613.8572235107422,
1722         "y": 414.95249462127686,
1723         "z": "f3233724.949d7",
1724         "wires": [
1725             []
1726         ]
1727     },
1728     {
1729         "id": "16ffb706.800841",
1730         "type": "failure",
1731         "name": "failure",
1732         "xml": "<outcome value='failure'>\n",
1733         "comments": "",
1734         "outputs": 1,
1735         "x": 64,
1736         "y": 417.66666412353516,
1737         "z": "f3233724.949d7",
1738         "wires": [
1739             [
1740                 "9fe0dada.80a3d8"
1741             ]
1742         ]
1743     },
1744     {
1745         "id": "37fd60d7.04ebb8",
1746         "type": "returnFailure",
1747         "name": "return failure",
1748         "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in loading Json flattening plugin\" />",
1749         "comments": "",
1750         "x": 435,
1751         "y": 677.6666793823242,
1752         "z": "f3233724.949d7",
1753         "wires": []
1754     },
1755     {
1756         "id": "ad612df9.15d468",
1757         "type": "block",
1758         "name": "block : atomic",
1759         "xml": "<block atomic='true'>",
1760         "atomic": "true",
1761         "comments": "",
1762         "outputs": 1,
1763         "x": 246.66672134399414,
1764         "y": 639.1429634094238,
1765         "z": "f3233724.949d7",
1766         "wires": [
1767             [
1768                 "37fd60d7.04ebb8",
1769                 "2e5d2a6.945f0d6"
1770             ]
1771         ]
1772     },
1773     {
1774         "id": "2e5d2a6.945f0d6",
1775         "type": "execute",
1776         "name": "Report_Error_Loading_Json_Flattening_Plugin",
1777         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure in loading Json flattening plugin\" />",
1778         "comments": "",
1779         "outputs": 1,
1780         "x": 535.5714149475098,
1781         "y": 566.5238838195801,
1782         "z": "f3233724.949d7",
1783         "wires": [
1784             [
1785                 "5ad01465.ced2dc"
1786             ]
1787         ]
1788     },
1789     {
1790         "id": "5ad01465.ced2dc",
1791         "type": "success",
1792         "name": "success",
1793         "xml": "<outcome value='success'>\n",
1794         "comments": "",
1795         "outputs": 1,
1796         "x": 620.8572273254395,
1797         "y": 637.9524908065796,
1798         "z": "f3233724.949d7",
1799         "wires": [
1800             []
1801         ]
1802     },
1803     {
1804         "id": "88c60367.bb96e",
1805         "type": "not-found",
1806         "name": "not-found",
1807         "xml": "<outcome value='not-found'>\n",
1808         "comments": "",
1809         "outputs": 1,
1810         "x": 71,
1811         "y": 637.6666641235352,
1812         "z": "f3233724.949d7",
1813         "wires": [
1814             [
1815                 "ad612df9.15d468"
1816             ]
1817         ]
1818     },
1819     {
1820         "id": "5f0bb2d7.73d944",
1821         "type": "execute",
1822         "name": "Report_Success_in_Restart",
1823         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='reportSuccess' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Restart event executed successfully for ' + $VNF.VM[$i].URL`\" />\n",
1824         "comments": "",
1825         "outputs": 1,
1826         "x": 3797.3333435058594,
1827         "y": 911.6667098999023,
1828         "z": "f3233724.949d7",
1829         "wires": [
1830             [
1831                 "63c7e096.1a801",
1832                 "4ed44065.488a58"
1833             ]
1834         ]
1835     },
1836     {
1837         "id": "63c7e096.1a801",
1838         "type": "success",
1839         "name": "success",
1840         "xml": "<outcome value='success'>\n",
1841         "comments": "",
1842         "outputs": 1,
1843         "x": 4023.333333333334,
1844         "y": 953.6666641235352,
1845         "z": "f3233724.949d7",
1846         "wires": [
1847             [
1848                 "33439619.cba012"
1849             ]
1850         ]
1851     },
1852     {
1853         "id": "4ed44065.488a58",
1854         "type": "failure",
1855         "name": "failure",
1856         "xml": "<outcome value='failure'>\n",
1857         "comments": "",
1858         "outputs": 1,
1859         "x": 4057.333333333334,
1860         "y": 845.6666641235352,
1861         "z": "f3233724.949d7",
1862         "wires": [
1863             []
1864         ]
1865     }
1866 ]