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