Removing old name references
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / main / resources / json / Dispatcher-DG / APPC_method_Generic_Audit_2.0.0.json
1 [
2     {
3         "id": "81a02ecc.e61b6",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 119.66666412353516,
8         "y": 84.08333426713943,
9         "z": "f16b4873.701568",
10         "wires": [
11             [
12                 "98597336.3c647"
13             ]
14         ]
15     },
16     {
17         "id": "98597336.3c647",
18         "type": "service-logic",
19         "name": "APPC 2.0.0",
20         "module": "APPC",
21         "version": "2.0.0",
22         "comments": "",
23         "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='2.0.0'>",
24         "outputs": 1,
25         "x": 299.66666412353516,
26         "y": 84.08333426713943,
27         "z": "f16b4873.701568",
28         "wires": [
29             [
30                 "3dddb84a.a123f8"
31             ]
32         ]
33     },
34     {
35         "id": "3dddb84a.a123f8",
36         "type": "method",
37         "name": "Generic_Audit",
38         "xml": "<method rpc='Generic_Audit' mode='sync'>\n",
39         "comments": "",
40         "outputs": 1,
41         "x": 478.66666412353516,
42         "y": 84.08333426713943,
43         "z": "f16b4873.701568",
44         "wires": [
45             [
46                 "d043d660.7cbce8"
47             ]
48         ]
49     },
50     {
51         "id": "7490fc55.b23eb4",
52         "type": "get-resource",
53         "name": "Retrieve current config details",
54         "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"SELECT service_description, vnf_name, vm_name, vnf_type, vnfc_type, host_ip_address , content FROM UPLOAD_CONFIG WHERE vnf_id = $input.action-identifiers.vnf-id AND config_indicator='Current' AND (pending_delete IS NULL OR pending_delete != 'Y')\" pfx=\"currnt-config[]\">",
55         "comments": "",
56         "outputs": 1,
57         "x": 458.08617401123047,
58         "y": 480.8665657043457,
59         "z": "f16b4873.701568",
60         "wires": [
61             [
62                 "dceb4c56.95345",
63                 "a55ef9f.1845d08",
64                 "7c43698a.2b9eb8"
65             ]
66         ]
67     },
68     {
69         "id": "7c43698a.2b9eb8",
70         "type": "failure",
71         "name": "failure",
72         "xml": "<outcome value='failure'>\n",
73         "comments": "",
74         "outputs": 1,
75         "x": 733.3759384155273,
76         "y": 418.58686447143555,
77         "z": "f16b4873.701568",
78         "wires": [
79             [
80                 "90511868.d5a528"
81             ]
82         ]
83     },
84     {
85         "id": "dceb4c56.95345",
86         "type": "not-found",
87         "name": "not-found",
88         "xml": "<outcome value='not-found'>",
89         "comments": "",
90         "outputs": 1,
91         "x": 740.3759994506836,
92         "y": 483.3646430969238,
93         "z": "f16b4873.701568",
94         "wires": [
95             [
96                 "867bd8aa.3a55e8"
97             ]
98         ]
99     },
100     {
101         "id": "a55ef9f.1845d08",
102         "type": "success",
103         "name": "success",
104         "xml": "<outcome value='success'>\n",
105         "comments": "",
106         "outputs": 1,
107         "x": 672.5982284545898,
108         "y": 533.0313148498535,
109         "z": "f16b4873.701568",
110         "wires": [
111             [
112                 "30e459ed.1b9986"
113             ]
114         ]
115     },
116     {
117         "id": "7eaffd91.5e2494",
118         "type": "execute",
119         "name": "Report Error to DCAE",
120         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
121         "comments": "",
122         "outputs": 1,
123         "x": 1195.2260360717773,
124         "y": 496.9629249572754,
125         "z": "f16b4873.701568",
126         "wires": [
127             []
128         ]
129     },
130     {
131         "id": "2bbc2c8c.227ae4",
132         "type": "returnFailure",
133         "name": "return failure",
134         "xml": "<return status='failure'>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$error-message`\"/>\n",
135         "comments": "",
136         "x": 1189.986717224121,
137         "y": 542.1509742736816,
138         "z": "f16b4873.701568",
139         "wires": []
140     },
141     {
142         "id": "2c17d4fd.27bcac",
143         "type": "set",
144         "name": "Set error message",
145         "xml": "<set>\n<parameter name='error-message' value=\"`'Current configuration not found in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>",
146         "comments": "",
147         "x": 1180.593650817871,
148         "y": 411.1424140930176,
149         "z": "f16b4873.701568",
150         "wires": []
151     },
152     {
153         "id": "d4c8b998.7b4678",
154         "type": "set",
155         "name": "Set error message",
156         "xml": "<set>\n<parameter name='error-message' value=\"`'Error while retrieving current configuration from the repository for the vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
157         "comments": "",
158         "x": 1182.2346420288086,
159         "y": 368.0569190979004,
160         "z": "f16b4873.701568",
161         "wires": []
162     },
163     {
164         "id": "90511868.d5a528",
165         "type": "block",
166         "name": "block",
167         "xml": "<block>\n",
168         "atomic": "false",
169         "comments": "",
170         "outputs": 1,
171         "x": 894.4568099975586,
172         "y": 417.4757499694824,
173         "z": "f16b4873.701568",
174         "wires": [
175             [
176                 "d4c8b998.7b4678",
177                 "7eaffd91.5e2494",
178                 "2bbc2c8c.227ae4",
179                 "ac51bff5.352e5"
180             ]
181         ]
182     },
183     {
184         "id": "867bd8aa.3a55e8",
185         "type": "block",
186         "name": "block",
187         "xml": "<block>\n",
188         "atomic": "false",
189         "comments": "",
190         "outputs": 1,
191         "x": 905.0124130249023,
192         "y": 481.2535285949707,
193         "z": "f16b4873.701568",
194         "wires": [
195             [
196                 "2c17d4fd.27bcac",
197                 "7eaffd91.5e2494",
198                 "2bbc2c8c.227ae4",
199                 "ac51bff5.352e5"
200             ]
201         ]
202     },
203     {
204         "id": "30e459ed.1b9986",
205         "type": "block",
206         "name": "block : atomic",
207         "xml": "<block atomic='true'>",
208         "atomic": "true",
209         "comments": "",
210         "outputs": 1,
211         "x": 302.56404876708984,
212         "y": 631.1004371643066,
213         "z": "f16b4873.701568",
214         "wires": [
215             [
216                 "b79fac1d.f13e1",
217                 "925cca6f.85b738",
218                 "a844b2a2.8681f",
219                 "dda489b7.a7bc78"
220             ]
221         ]
222     },
223     {
224         "id": "b79fac1d.f13e1",
225         "type": "for",
226         "name": "for each current config",
227         "xml": "<for index=\"i\" start=\"0\" end=\"`$currnt-config_length`\" >\n",
228         "comments": "",
229         "outputs": 1,
230         "x": 530.6324081420898,
231         "y": 631.4679908752441,
232         "z": "f16b4873.701568",
233         "wires": [
234             [
235                 "67f30b25.070c24"
236             ]
237         ]
238     },
239     {
240         "id": "eb62c9d8.e05988",
241         "type": "set",
242         "name": "Set context",
243         "xml": "<set>\n<parameter name='service-description' value=\"`$currnt-config[$i].service-description`\" />\n<parameter name='vm-name' value=\"`$currnt-config[$i].vm-name`\" />\n<parameter name='vnf-type' value=\"`$currnt-config[$i].vnf-type`\" />\n<parameter name='vnfc-type' value=\"`$currnt-config[$i].vnfc-type`\" />\n<parameter name='host-ip-address' value=\"`$currnt-config[$i].host-ip-address`\" />\n<parameter name='vnf-name' value=\"`$currnt-config[$i].vnf-name`\" />\n<parameter name='current-config' value=\"`$currnt-config[$i].content`\" />\n\n",
244         "comments": "",
245         "x": 806.4786605834961,
246         "y": 609.6987953186035,
247         "z": "f16b4873.701568",
248         "wires": []
249     },
250     {
251         "id": "c66c9b28.d58e38",
252         "type": "call",
253         "name": "Call Retrieve running Config DG",
254         "xml": "<call rpc='GetRunningConfig' mode='sync' >\n",
255         "comments": "",
256         "outputs": 1,
257         "x": 857.4786605834961,
258         "y": 666.6988258361816,
259         "z": "f16b4873.701568",
260         "wires": [
261             [
262                 "e6375b8c.512fa8",
263                 "b4636b56.55a038",
264                 "67a55747.3e2588"
265             ]
266         ]
267     },
268     {
269         "id": "67f30b25.070c24",
270         "type": "block",
271         "name": "block : atomic",
272         "xml": "<block atomic='true'>",
273         "atomic": "true",
274         "comments": "",
275         "outputs": 1,
276         "x": 552.7863082885742,
277         "y": 729.6218299865723,
278         "z": "f16b4873.701568",
279         "wires": [
280             [
281                 "eb62c9d8.e05988",
282                 "c66c9b28.d58e38",
283                 "1a5aec1c.ab3e44",
284                 "58111dc9.5f25b4",
285                 "b86d049a.13a1b8"
286             ]
287         ]
288     },
289     {
290         "id": "e6375b8c.512fa8",
291         "type": "failure",
292         "name": "failure",
293         "xml": "<outcome value='failure'>\n",
294         "comments": "",
295         "outputs": 1,
296         "x": 1118.5898056030273,
297         "y": 613.6987342834473,
298         "z": "f16b4873.701568",
299         "wires": [
300             [
301                 "5a971e26.a7171"
302             ]
303         ]
304     },
305     {
306         "id": "b4636b56.55a038",
307         "type": "not-found",
308         "name": "not-found",
309         "xml": "<outcome value='not-found'>",
310         "comments": "",
311         "outputs": 1,
312         "x": 1119.0341415405273,
313         "y": 666.6988258361816,
314         "z": "f16b4873.701568",
315         "wires": [
316             [
317                 "bd38a484.bd0a98"
318             ]
319         ]
320     },
321     {
322         "id": "67a55747.3e2588",
323         "type": "success",
324         "name": "success",
325         "xml": "<outcome value='success'>\n",
326         "comments": "",
327         "outputs": 1,
328         "x": 1123.1452865600586,
329         "y": 710.8098487854004,
330         "z": "f16b4873.701568",
331         "wires": [
332             []
333         ]
334     },
335     {
336         "id": "5a971e26.a7171",
337         "type": "block",
338         "name": "block",
339         "xml": "<block>\n",
340         "atomic": "false",
341         "comments": "",
342         "outputs": 1,
343         "x": 1268.145408630371,
344         "y": 613.6987342834473,
345         "z": "f16b4873.701568",
346         "wires": [
347             [
348                 "72158f5.d06fd7",
349                 "580bd65f.53d9c8",
350                 "c4fa8668.3392a8"
351             ]
352         ]
353     },
354     {
355         "id": "bd38a484.bd0a98",
356         "type": "block",
357         "name": "block",
358         "xml": "<block>\n",
359         "atomic": "false",
360         "comments": "",
361         "outputs": 1,
362         "x": 1270.478660583496,
363         "y": 664.5876808166504,
364         "z": "f16b4873.701568",
365         "wires": [
366             [
367                 "c433e537.6d3cf8",
368                 "72158f5.d06fd7",
369                 "580bd65f.53d9c8",
370                 "c4fa8668.3392a8"
371             ]
372         ]
373     },
374     {
375         "id": "c433e537.6d3cf8",
376         "type": "set",
377         "name": "Set error message",
378         "xml": "<set>\n<parameter name='error-message' value='DG to retrieve running configuration not found'/>",
379         "comments": "",
380         "x": 1512.7009506225586,
381         "y": 639.5876808166504,
382         "z": "f16b4873.701568",
383         "wires": []
384     },
385     {
386         "id": "580bd65f.53d9c8",
387         "type": "returnFailure",
388         "name": "return failure",
389         "xml": "<return status='failure'>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
390         "comments": "",
391         "x": 1534.5471725463867,
392         "y": 884.4338417053223,
393         "z": "f16b4873.701568",
394         "wires": []
395     },
396     {
397         "id": "72158f5.d06fd7",
398         "type": "execute",
399         "name": "Report Error to DCAE",
400         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
401         "comments": "",
402         "outputs": 1,
403         "x": 1548.5471420288086,
404         "y": 806.4338111877441,
405         "z": "f16b4873.701568",
406         "wires": [
407             []
408         ]
409     },
410     {
411         "id": "752bb299.feb57c",
412         "type": "block",
413         "name": "block",
414         "xml": "<block>\n",
415         "atomic": "false",
416         "comments": "",
417         "outputs": 1,
418         "x": 250.66664123535156,
419         "y": 412.99244117736816,
420         "z": "f16b4873.701568",
421         "wires": [
422             [
423                 "7490fc55.b23eb4",
424                 "7c0de445.f1cc6c"
425             ]
426         ]
427     },
428     {
429         "id": "ac51bff5.352e5",
430         "type": "record",
431         "name": "Log error",
432         "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>\n",
433         "comments": "",
434         "outputs": 1,
435         "x": 1153.3589096069336,
436         "y": 454.77563858032227,
437         "z": "f16b4873.701568",
438         "wires": [
439             []
440         ]
441     },
442     {
443         "id": "c4fa8668.3392a8",
444         "type": "record",
445         "name": "Log error",
446         "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>\n",
447         "comments": "",
448         "outputs": 1,
449         "x": 1493.024314880371,
450         "y": 765.1839942932129,
451         "z": "f16b4873.701568",
452         "wires": [
453             []
454         ]
455     },
456     {
457         "id": "7c0de445.f1cc6c",
458         "type": "record",
459         "name": "Log message",
460         "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Retrieving current configuration details from the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
461         "comments": "",
462         "outputs": 1,
463         "x": 440.08553314208984,
464         "y": 414.57805252075195,
465         "z": "f16b4873.701568",
466         "wires": [
467             []
468         ]
469     },
470     {
471         "id": "925cca6f.85b738",
472         "type": "record",
473         "name": "Log message",
474         "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Audit action successful for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
475         "comments": "",
476         "outputs": 1,
477         "x": 524.6198310852051,
478         "y": 1553.2725563049316,
479         "z": "f16b4873.701568",
480         "wires": [
481             []
482         ]
483     },
484     {
485         "id": "a844b2a2.8681f",
486         "type": "returnSuccess",
487         "name": "return success",
488         "xml": "<return status='success'>\n",
489         "comments": "",
490         "x": 502.4659614562988,
491         "y": 1623.2724342346191,
492         "z": "f16b4873.701568",
493         "wires": []
494     },
495     {
496         "id": "a97ef4e9.131748",
497         "type": "failure",
498         "name": "failure",
499         "xml": "<outcome value='failure'>\n",
500         "comments": "",
501         "outputs": 1,
502         "x": 1059.9563827514648,
503         "y": 923.8037452697754,
504         "z": "f16b4873.701568",
505         "wires": [
506             [
507                 "7f859626.3ecfd8"
508             ]
509         ]
510     },
511     {
512         "id": "8225d505.2c9498",
513         "type": "not-found",
514         "name": "not-found",
515         "xml": "<outcome value='not-found'>",
516         "comments": "",
517         "outputs": 1,
518         "x": 1063.9565048217773,
519         "y": 978.5815773010254,
520         "z": "f16b4873.701568",
521         "wires": [
522             [
523                 "bde3e23.e488b2"
524             ]
525         ]
526     },
527     {
528         "id": "57cfd6f7.764c38",
529         "type": "success",
530         "name": "success",
531         "xml": "<outcome value='success'>\n",
532         "comments": "",
533         "outputs": 1,
534         "x": 926.1786422729492,
535         "y": 1035.2482738494873,
536         "z": "f16b4873.701568",
537         "wires": [
538             [
539                 "fb928b6.eef3f78"
540             ]
541         ]
542     },
543     {
544         "id": "bde3e23.e488b2",
545         "type": "block",
546         "name": "block",
547         "xml": "<block>\n",
548         "atomic": "false",
549         "comments": "",
550         "outputs": 1,
551         "x": 1348.5930557250977,
552         "y": 974.4703979492188,
553         "z": "f16b4873.701568",
554         "wires": [
555             [
556                 "1d860eb4.38f4b1",
557                 "e4322d3b.8d1ab",
558                 "9380a644.f57908",
559                 "a832eaf1.bc4ea8"
560             ]
561         ]
562     },
563     {
564         "id": "7f859626.3ecfd8",
565         "type": "block",
566         "name": "block",
567         "xml": "<block>\n",
568         "atomic": "false",
569         "comments": "",
570         "outputs": 1,
571         "x": 1348.0373153686523,
572         "y": 923.692569732666,
573         "z": "f16b4873.701568",
574         "wires": [
575             [
576                 "e4322d3b.8d1ab",
577                 "9380a644.f57908",
578                 "a832eaf1.bc4ea8",
579                 "1d860eb4.38f4b1"
580             ]
581         ]
582     },
583     {
584         "id": "1d860eb4.38f4b1",
585         "type": "set",
586         "name": "Set error message",
587         "xml": "<set>\n<parameter name='error-message' value=\"`'Error comparing current and running configuration for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n<parameter name='error-code' value='500'/>",
588         "comments": "",
589         "x": 1638.1741561889648,
590         "y": 973.3591957092285,
591         "z": "f16b4873.701568",
592         "wires": []
593     },
594     {
595         "id": "fb928b6.eef3f78",
596         "type": "switchNode",
597         "name": "switch",
598         "xml": "<switch test='`$STATUS`'>",
599         "comments": "",
600         "outputs": 1,
601         "x": 1053.6667098999023,
602         "y": 1070.083408355713,
603         "z": "f16b4873.701568",
604         "wires": [
605             [
606                 "8e39a0cd.ee399",
607                 "d61b176c.169178",
608                 "fd1426ee.97bc68"
609             ]
610         ]
611     },
612     {
613         "id": "8e39a0cd.ee399",
614         "type": "success",
615         "name": "no match",
616         "xml": "<outcome value='FAILURE'>",
617         "comments": "",
618         "outputs": 1,
619         "x": 1209.6667098999023,
620         "y": 1071.833408355713,
621         "z": "f16b4873.701568",
622         "wires": [
623             [
624                 "328dd4e4.27801c"
625             ]
626         ]
627     },
628     {
629         "id": "328dd4e4.27801c",
630         "type": "block",
631         "name": "block",
632         "xml": "<block>\n",
633         "atomic": "false",
634         "comments": "",
635         "outputs": 1,
636         "x": 1372.666790008545,
637         "y": 1085.0833568572998,
638         "z": "f16b4873.701568",
639         "wires": [
640             [
641                 "e4322d3b.8d1ab",
642                 "9380a644.f57908",
643                 "a832eaf1.bc4ea8",
644                 "764e8614.57f5c8",
645                 "5aeed919.b83438",
646                 "93ba279d.5bcbb8"
647             ]
648         ]
649     },
650     {
651         "id": "77ff9a98.2bf224",
652         "type": "block",
653         "name": "block",
654         "xml": "<block>\n",
655         "atomic": "false",
656         "comments": "",
657         "outputs": 1,
658         "x": 1353.6667098999023,
659         "y": 1033.5833778381348,
660         "z": "f16b4873.701568",
661         "wires": [
662             [
663                 "e4322d3b.8d1ab",
664                 "9380a644.f57908",
665                 "a832eaf1.bc4ea8",
666                 "1d860eb4.38f4b1"
667             ]
668         ]
669     },
670     {
671         "id": "e4322d3b.8d1ab",
672         "type": "record",
673         "name": "Log error",
674         "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$Error-Message`\"/>\n",
675         "comments": "",
676         "outputs": 1,
677         "x": 1624.6667098999023,
678         "y": 1100.083408355713,
679         "z": "f16b4873.701568",
680         "wires": [
681             []
682         ]
683     },
684     {
685         "id": "9380a644.f57908",
686         "type": "execute",
687         "name": "Report Error to DCAE",
688         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
689         "comments": "",
690         "outputs": 1,
691         "x": 1645.5338973999023,
692         "y": 1201.2707862854004,
693         "z": "f16b4873.701568",
694         "wires": [
695             []
696         ]
697     },
698     {
699         "id": "a832eaf1.bc4ea8",
700         "type": "returnFailure",
701         "name": "return failure",
702         "xml": "<return status='failure'>\n<parameter name='error-code' value=\"`$error-code`\"/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$error-message`\"/>\n",
703         "comments": "",
704         "x": 1715.2946853637695,
705         "y": 1460.458869934082,
706         "z": "f16b4873.701568",
707         "wires": []
708     },
709     {
710         "id": "1a5aec1c.ab3e44",
711         "type": "execute",
712         "name": "Compare",
713         "xml": "<execute plugin='org.onap.sdnc.config.audit.node.CompareNode' method='compare' >\n<parameter name='sourceDataType' value=\"Current\" />\n<parameter name='sourceData' value=\"`$current-config`\" />\n<parameter name='targetDataType' value=\"Running\" />\n<parameter name='targetData' value=\"`$running-config.content`\" />\n<parameter name='compareDataType' value=\"`$protocol`\" />",
714         "comments": "",
715         "outputs": 1,
716         "x": 769.6667098999023,
717         "y": 967.0834083557129,
718         "z": "f16b4873.701568",
719         "wires": [
720             [
721                 "a97ef4e9.131748",
722                 "8225d505.2c9498",
723                 "57cfd6f7.764c38"
724             ]
725         ]
726     },
727     {
728         "id": "764e8614.57f5c8",
729         "type": "set",
730         "name": "Set error message",
731         "xml": "<set>\n<parameter name='error-message' value=\"`$Error-Message`\"/>\n<parameter name='error-code' value=\"`$Error-code`\"/>\n",
732         "comments": "",
733         "x": 1637.6666793823242,
734         "y": 1052.0833187103271,
735         "z": "f16b4873.701568",
736         "wires": []
737     },
738     {
739         "id": "87b58856.047f68",
740         "type": "set",
741         "name": "Set error message",
742         "xml": "<set>\n<parameter name='error-message' value=\"`'Running configuration not found in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>",
743         "comments": "",
744         "x": 1513.1740951538086,
745         "y": 727.0833473205566,
746         "z": "f16b4873.701568",
747         "wires": []
748     },
749     {
750         "id": "f549e445.f74888",
751         "type": "set",
752         "name": "Set error message",
753         "xml": "<set>\n<parameter name='error-message' value=\"`'Error while retrieving running configuration from the repository for the vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
754         "comments": "",
755         "x": 1507.815086364746,
756         "y": 680.9978675842285,
757         "z": "f16b4873.701568",
758         "wires": []
759     },
760     {
761         "id": "6cdf93fd.27cd0c",
762         "type": "block",
763         "name": "block",
764         "xml": "<block>\n",
765         "atomic": "false",
766         "comments": "",
767         "outputs": 1,
768         "x": 1274.037239074707,
769         "y": 747.416690826416,
770         "z": "f16b4873.701568",
771         "wires": [
772             [
773                 "f549e445.f74888",
774                 "c4fa8668.3392a8",
775                 "72158f5.d06fd7",
776                 "580bd65f.53d9c8",
777                 "b79736f.f56eac8"
778             ]
779         ]
780     },
781     {
782         "id": "cea9c726.916838",
783         "type": "block",
784         "name": "block",
785         "xml": "<block>\n",
786         "atomic": "false",
787         "comments": "",
788         "outputs": 1,
789         "x": 1281.592903137207,
790         "y": 797.1944618225098,
791         "z": "f16b4873.701568",
792         "wires": [
793             [
794                 "87b58856.047f68",
795                 "c4fa8668.3392a8",
796                 "72158f5.d06fd7",
797                 "580bd65f.53d9c8",
798                 "b79736f.f56eac8"
799             ]
800         ]
801     },
802     {
803         "id": "183d6159.f57e3f",
804         "type": "not-found",
805         "name": "not-found",
806         "xml": "<outcome value='not-found'>",
807         "comments": "",
808         "outputs": 1,
809         "x": 1127.956428527832,
810         "y": 797.3055458068848,
811         "z": "f16b4873.701568",
812         "wires": [
813             [
814                 "cea9c726.916838"
815             ]
816         ]
817     },
818     {
819         "id": "4f9c33fe.ee7c6c",
820         "type": "failure",
821         "name": "failure",
822         "xml": "<outcome value='failure'>\n",
823         "comments": "",
824         "outputs": 1,
825         "x": 1128.9562454223633,
826         "y": 749.5278053283691,
827         "z": "f16b4873.701568",
828         "wires": [
829             [
830                 "6cdf93fd.27cd0c"
831             ]
832         ]
833     },
834     {
835         "id": "58111dc9.5f25b4",
836         "type": "get-resource",
837         "name": "Retrieve Running config details DB",
838         "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\" SELECT upload_config_id, request_id, originator_id, service_description, action, upload_date, vnf_id, vnf_name, vm_name, vnf_type, vnfc_type, host_ip_address, config_indicator, pending_delete ,content FROM UPLOAD_CONFIG WHERE UPLOAD_CONFIG_ID = $runningConfig.UPLOAD-CONFIG-ID\" pfx=\"running-config\" >",
839         "comments": "",
840         "outputs": 1,
841         "x": 865.6666488647461,
842         "y": 793.8074684143066,
843         "z": "f16b4873.701568",
844         "wires": [
845             [
846                 "183d6159.f57e3f",
847                 "4f9c33fe.ee7c6c",
848                 "5fa98c15.aa8b74"
849             ]
850         ]
851     },
852     {
853         "id": "5fa98c15.aa8b74",
854         "type": "success",
855         "name": "success",
856         "xml": "<outcome value='success'>\n",
857         "comments": "",
858         "outputs": 1,
859         "x": 1126.6665115356445,
860         "y": 847.0833778381348,
861         "z": "f16b4873.701568",
862         "wires": [
863             []
864         ]
865     },
866     {
867         "id": "d61b176c.169178",
868         "type": "success",
869         "name": "match",
870         "xml": "<outcome value='SUCCESS'>\n",
871         "comments": "",
872         "outputs": 1,
873         "x": 1202.6667175292969,
874         "y": 1132.0834693908691,
875         "z": "f16b4873.701568",
876         "wires": [
877             [
878                 "5584c2d4.ec7c8c"
879             ]
880         ]
881     },
882     {
883         "id": "fd1426ee.97bc68",
884         "type": "not-found",
885         "name": "not-found",
886         "xml": "<outcome value='not-found'>\n",
887         "comments": "",
888         "outputs": 1,
889         "x": 1213.6667098999023,
890         "y": 1027.083408355713,
891         "z": "f16b4873.701568",
892         "wires": [
893             [
894                 "77ff9a98.2bf224"
895             ]
896         ]
897     },
898     {
899         "id": "b86d049a.13a1b8",
900         "type": "set",
901         "name": "Set Running Config ID",
902         "xml": "<set>\n<parameter name='output.payload.upload-config-id[$i]' value='`$runningConfig.UPLOAD-CONFIG-ID`' />",
903         "comments": "",
904         "x": 845.7777938842773,
905         "y": 728.4167518615723,
906         "z": "f16b4873.701568",
907         "wires": []
908     },
909     {
910         "id": "dda489b7.a7bc78",
911         "type": "execute",
912         "name": "Generate output payload",
913         "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='generateOutputPayloadFromContext' >",
914         "comments": "",
915         "outputs": 1,
916         "x": 593.8887214660645,
917         "y": 1493.5281105041504,
918         "z": "f16b4873.701568",
919         "wires": [
920             [
921                 "96b89330.eeb7f",
922                 "23bea1a6.82114e",
923                 "dabc8dd4.4c031"
924             ]
925         ]
926     },
927     {
928         "id": "96b89330.eeb7f",
929         "type": "failure",
930         "name": "failure",
931         "xml": "<outcome value='failure'>\n",
932         "comments": "",
933         "outputs": 1,
934         "x": 823.888843536377,
935         "y": 1431.5280494689941,
936         "z": "f16b4873.701568",
937         "wires": [
938             [
939                 "5584053a.68313c"
940             ]
941         ]
942     },
943     {
944         "id": "23bea1a6.82114e",
945         "type": "not-found",
946         "name": "not-found",
947         "xml": "<outcome value='not-found'>\n",
948         "comments": "",
949         "outputs": 1,
950         "x": 835.888843536377,
951         "y": 1494.5281105041504,
952         "z": "f16b4873.701568",
953         "wires": [
954             [
955                 "5584053a.68313c"
956             ]
957         ]
958     },
959     {
960         "id": "dabc8dd4.4c031",
961         "type": "success",
962         "name": "success",
963         "xml": "<outcome value='success'>\n",
964         "comments": "",
965         "outputs": 1,
966         "x": 830.8887214660645,
967         "y": 1558.5280494689941,
968         "z": "f16b4873.701568",
969         "wires": [
970             []
971         ]
972     },
973     {
974         "id": "5584053a.68313c",
975         "type": "block",
976         "name": "block : atomic",
977         "xml": "<block atomic='true'>",
978         "atomic": "true",
979         "comments": "",
980         "outputs": 1,
981         "x": 1025.555591583252,
982         "y": 1494.5280494689941,
983         "z": "f16b4873.701568",
984         "wires": [
985             [
986                 "2fc5495.ed614b6",
987                 "34834985.8ba986"
988             ]
989         ]
990     },
991     {
992         "id": "34834985.8ba986",
993         "type": "execute",
994         "name": "Report error to DCAE",
995         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure while generating output payload JSON\" />",
996         "comments": "",
997         "outputs": 1,
998         "x": 1270.460132598877,
999         "y": 1496.9089088439941,
1000         "z": "f16b4873.701568",
1001         "wires": [
1002             []
1003         ]
1004     },
1005     {
1006         "id": "2fc5495.ed614b6",
1007         "type": "returnFailure",
1008         "name": "return failure",
1009         "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
1010         "comments": "",
1011         "x": 1257.888599395752,
1012         "y": 1549.0517311096191,
1013         "z": "f16b4873.701568",
1014         "wires": []
1015     },
1016     {
1017         "id": "5aeed919.b83438",
1018         "type": "execute",
1019         "name": "Generate output payload",
1020         "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='generateOutputPayloadFromContext' >",
1021         "comments": "",
1022         "outputs": 1,
1023         "x": 1674.3334579467773,
1024         "y": 1149.5278358459473,
1025         "z": "f16b4873.701568",
1026         "wires": [
1027             [
1028                 "2f4b01d0.23640e",
1029                 "fc0cdc70.37ff2",
1030                 "bf7d7229.c2d58"
1031             ]
1032         ]
1033     },
1034     {
1035         "id": "2f4b01d0.23640e",
1036         "type": "failure",
1037         "name": "failure",
1038         "xml": "<outcome value='failure'>\n",
1039         "comments": "",
1040         "outputs": 1,
1041         "x": 1893.3335494995117,
1042         "y": 1115.527744293213,
1043         "z": "f16b4873.701568",
1044         "wires": [
1045             [
1046                 "db92eec9.b5f62"
1047             ]
1048         ]
1049     },
1050     {
1051         "id": "fc0cdc70.37ff2",
1052         "type": "not-found",
1053         "name": "not-found",
1054         "xml": "<outcome value='not-found'>\n",
1055         "comments": "",
1056         "outputs": 1,
1057         "x": 1895.3335494995117,
1058         "y": 1161.5278663635254,
1059         "z": "f16b4873.701568",
1060         "wires": [
1061             [
1062                 "db92eec9.b5f62"
1063             ]
1064         ]
1065     },
1066     {
1067         "id": "bf7d7229.c2d58",
1068         "type": "success",
1069         "name": "success",
1070         "xml": "<outcome value='success'>\n",
1071         "comments": "",
1072         "outputs": 1,
1073         "x": 1895.3334579467773,
1074         "y": 1204.5277137756348,
1075         "z": "f16b4873.701568",
1076         "wires": [
1077             []
1078         ]
1079     },
1080     {
1081         "id": "db92eec9.b5f62",
1082         "type": "block",
1083         "name": "block : atomic",
1084         "xml": "<block atomic='true'>",
1085         "atomic": "true",
1086         "comments": "",
1087         "outputs": 1,
1088         "x": 2088.0002975463867,
1089         "y": 1136.527744293213,
1090         "z": "f16b4873.701568",
1091         "wires": [
1092             [
1093                 "e04cb8f.eb7b748",
1094                 "254d3066.a4bc5"
1095             ]
1096         ]
1097     },
1098     {
1099         "id": "254d3066.a4bc5",
1100         "type": "execute",
1101         "name": "Report error to DCAE",
1102         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure while generating output payload JSON\" />",
1103         "comments": "",
1104         "outputs": 1,
1105         "x": 2286.904960632324,
1106         "y": 1093.908603668213,
1107         "z": "f16b4873.701568",
1108         "wires": [
1109             []
1110         ]
1111     },
1112     {
1113         "id": "e04cb8f.eb7b748",
1114         "type": "returnFailure",
1115         "name": "return failure",
1116         "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
1117         "comments": "",
1118         "x": 2263.333427429199,
1119         "y": 1181.051670074463,
1120         "z": "f16b4873.701568",
1121         "wires": []
1122     },
1123     {
1124         "id": "b79736f.f56eac8",
1125         "type": "execute",
1126         "name": "Generate output payload",
1127         "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='generateOutputPayloadFromContext' >",
1128         "comments": "",
1129         "outputs": 1,
1130         "x": 1561.1111373901367,
1131         "y": 843.416690826416,
1132         "z": "f16b4873.701568",
1133         "wires": [
1134             [
1135                 "97850b52.a31cd8",
1136                 "41d36ebc.ba016",
1137                 "e6d25885.e4e788"
1138             ]
1139         ]
1140     },
1141     {
1142         "id": "97850b52.a31cd8",
1143         "type": "failure",
1144         "name": "failure",
1145         "xml": "<outcome value='failure'>\n",
1146         "comments": "",
1147         "outputs": 1,
1148         "x": 1805.111228942871,
1149         "y": 809.4165992736816,
1150         "z": "f16b4873.701568",
1151         "wires": [
1152             [
1153                 "847cbebd.ab185"
1154             ]
1155         ]
1156     },
1157     {
1158         "id": "41d36ebc.ba016",
1159         "type": "not-found",
1160         "name": "not-found",
1161         "xml": "<outcome value='not-found'>\n",
1162         "comments": "",
1163         "outputs": 1,
1164         "x": 1807.111228942871,
1165         "y": 855.4167213439941,
1166         "z": "f16b4873.701568",
1167         "wires": [
1168             [
1169                 "847cbebd.ab185"
1170             ]
1171         ]
1172     },
1173     {
1174         "id": "e6d25885.e4e788",
1175         "type": "success",
1176         "name": "success",
1177         "xml": "<outcome value='success'>\n",
1178         "comments": "",
1179         "outputs": 1,
1180         "x": 1807.1111373901367,
1181         "y": 898.4165687561035,
1182         "z": "f16b4873.701568",
1183         "wires": [
1184             []
1185         ]
1186     },
1187     {
1188         "id": "847cbebd.ab185",
1189         "type": "block",
1190         "name": "block : atomic",
1191         "xml": "<block atomic='true'>",
1192         "atomic": "true",
1193         "comments": "",
1194         "outputs": 1,
1195         "x": 1999.777976989746,
1196         "y": 830.4165992736816,
1197         "z": "f16b4873.701568",
1198         "wires": [
1199             [
1200                 "e2703a71.5e2d08",
1201                 "7312ce6e.051b1"
1202             ]
1203         ]
1204     },
1205     {
1206         "id": "7312ce6e.051b1",
1207         "type": "execute",
1208         "name": "Report error to DCAE",
1209         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure while generating output payload JSON\" />",
1210         "comments": "",
1211         "outputs": 1,
1212         "x": 2198.6826400756836,
1213         "y": 787.7974586486816,
1214         "z": "f16b4873.701568",
1215         "wires": [
1216             []
1217         ]
1218     },
1219     {
1220         "id": "e2703a71.5e2d08",
1221         "type": "returnFailure",
1222         "name": "return failure",
1223         "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
1224         "comments": "",
1225         "x": 2175.1111068725586,
1226         "y": 874.9405250549316,
1227         "z": "f16b4873.701568",
1228         "wires": []
1229     },
1230     {
1231         "id": "5584c2d4.ec7c8c",
1232         "type": "switchNode",
1233         "name": "switch",
1234         "xml": "<switch test='`$Publish_Config`'>",
1235         "comments": "",
1236         "outputs": 1,
1237         "x": 1240.1670684814453,
1238         "y": 1266.083574295044,
1239         "z": "f16b4873.701568",
1240         "wires": [
1241             [
1242                 "b07cce86.c2267",
1243                 "54d48804.2f6488"
1244             ]
1245         ]
1246     },
1247     {
1248         "id": "b07cce86.c2267",
1249         "type": "outcome",
1250         "name": "Outcome: y",
1251         "xml": "<outcome value='y'>\n",
1252         "comments": "",
1253         "outputs": 1,
1254         "x": 1414.1669692993164,
1255         "y": 1246.7502841949463,
1256         "z": "f16b4873.701568",
1257         "wires": [
1258             [
1259                 "93ba279d.5bcbb8"
1260             ]
1261         ]
1262     },
1263     {
1264         "id": "54d48804.2f6488",
1265         "type": "outcome",
1266         "name": "Outcome: Y",
1267         "xml": "<outcome value='Y'>\n",
1268         "comments": "",
1269         "outputs": 1,
1270         "x": 1411.0838241577148,
1271         "y": 1289.833547592163,
1272         "z": "f16b4873.701568",
1273         "wires": [
1274             [
1275                 "93ba279d.5bcbb8"
1276             ]
1277         ]
1278     },
1279     {
1280         "id": "93ba279d.5bcbb8",
1281         "type": "execute",
1282         "name": "execute CvaasDataIntoContext",
1283         "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='cvaasFileNameAndFileContentToContext' >\n<parameter name=\"cvaas-directory-path\" value=\"/opt/onap/appc/cvaas\" />\n<parameter name=\"appc-instance-id\" value=\"appc001\" />\n<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />",
1284         "comments": "",
1285         "outputs": 1,
1286         "x": 1769.583999633789,
1287         "y": 1298.8338718414307,
1288         "z": "f16b4873.701568",
1289         "wires": [
1290             [
1291                 "4f8601db.1cc81",
1292                 "d4ee7229.fae85"
1293             ]
1294         ]
1295     },
1296     {
1297         "id": "4f8601db.1cc81",
1298         "type": "success",
1299         "name": "success",
1300         "xml": "<outcome value='success'>\n",
1301         "comments": "",
1302         "outputs": 1,
1303         "x": 2036.8341751098633,
1304         "y": 1299.8340373039246,
1305         "z": "f16b4873.701568",
1306         "wires": [
1307             [
1308                 "17c3243e.6f760c"
1309             ]
1310         ]
1311     },
1312     {
1313         "id": "17c3243e.6f760c",
1314         "type": "record",
1315         "name": "record cvass",
1316         "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"`$cvaas-file-name`\"/>\n<parameter name=\"record\" value=\"`$cvaas-file-content`\"/>",
1317         "comments": "",
1318         "outputs": 1,
1319         "x": 2219.349090576172,
1320         "y": 1307.599196434021,
1321         "z": "f16b4873.701568",
1322         "wires": [
1323             [
1324                 "1befff30.f1b281",
1325                 "e5a0a1ba.78591"
1326             ]
1327         ]
1328     },
1329     {
1330         "id": "1befff30.f1b281",
1331         "type": "failure",
1332         "name": "failure",
1333         "xml": "<outcome value='failure'>\n",
1334         "comments": "",
1335         "outputs": 1,
1336         "x": 2469.364891052246,
1337         "y": 1320.3642568588257,
1338         "z": "f16b4873.701568",
1339         "wires": [
1340             [
1341                 "d4049805.d34618"
1342             ]
1343         ]
1344     },
1345     {
1346         "id": "e5a0a1ba.78591",
1347         "type": "success",
1348         "name": "success",
1349         "xml": "<outcome value='success'>\n",
1350         "comments": "",
1351         "outputs": 1,
1352         "x": 2471.3645401000977,
1353         "y": 1369.364426612854,
1354         "z": "f16b4873.701568",
1355         "wires": [
1356             [
1357                 "d4049805.d34618"
1358             ]
1359         ]
1360     },
1361     {
1362         "id": "d4049805.d34618",
1363         "type": "execute",
1364         "name": "execute CheckFileCreated",
1365         "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='checkFileCreated' >\n<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />",
1366         "comments": "",
1367         "outputs": 1,
1368         "x": 2706.364604949951,
1369         "y": 1343.3643054962158,
1370         "z": "f16b4873.701568",
1371         "wires": [
1372             [
1373                 "8587844.5a70378",
1374                 "13a60653.f2418a"
1375             ]
1376         ]
1377     },
1378     {
1379         "id": "8587844.5a70378",
1380         "type": "success",
1381         "name": "success",
1382         "xml": "<outcome value='success'>\n",
1383         "comments": "",
1384         "outputs": 1,
1385         "x": 2956.850357055664,
1386         "y": 1421.5993309020996,
1387         "z": "f16b4873.701568",
1388         "wires": [
1389             []
1390         ]
1391     },
1392     {
1393         "id": "a89beb23.e0d968",
1394         "type": "block",
1395         "name": "block",
1396         "xml": "<block>",
1397         "atomic": "false",
1398         "comments": "",
1399         "outputs": 1,
1400         "x": 3162.849021911621,
1401         "y": 1374.5991201400757,
1402         "z": "f16b4873.701568",
1403         "wires": [
1404             [
1405                 "6c7eaa88.024dc4",
1406                 "fd02487c.77b308",
1407                 "e5102b5c.3b53c8",
1408                 "45de7390.486dfc"
1409             ]
1410         ]
1411     },
1412     {
1413         "id": "6c7eaa88.024dc4",
1414         "type": "set",
1415         "name": "Set error message",
1416         "xml": "<set>\n<parameter name='error-message' value=\"`'Cvass file could not be created'`\"/>",
1417         "comments": "",
1418         "x": 3427.404800415039,
1419         "y": 1313.487928390503,
1420         "z": "f16b4873.701568",
1421         "wires": []
1422     },
1423     {
1424         "id": "fd02487c.77b308",
1425         "type": "returnFailure",
1426         "name": "return failure",
1427         "xml": "<return status='failure'>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$output.status.message`\"/>",
1428         "comments": "",
1429         "x": 3404.251720428467,
1430         "y": 1498.3346118927002,
1431         "z": "f16b4873.701568",
1432         "wires": []
1433     },
1434     {
1435         "id": "e5102b5c.3b53c8",
1436         "type": "execute",
1437         "name": "OutputMessageBuilder",
1438         "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />",
1439         "comments": "",
1440         "outputs": 1,
1441         "x": 3436.0007400512695,
1442         "y": 1429.4880809783936,
1443         "z": "f16b4873.701568",
1444         "wires": [
1445             [
1446                 "89703cbf.30313"
1447             ]
1448         ]
1449     },
1450     {
1451         "id": "89703cbf.30313",
1452         "type": "success",
1453         "name": "success",
1454         "xml": "<outcome value='success'>\n",
1455         "comments": "",
1456         "outputs": 1,
1457         "x": 3634.1327743530273,
1458         "y": 1436.0382852554321,
1459         "z": "f16b4873.701568",
1460         "wires": [
1461             [
1462                 "892031d3.9e1bd"
1463             ]
1464         ]
1465     },
1466     {
1467         "id": "892031d3.9e1bd",
1468         "type": "execute",
1469         "name": "Report error to DCAE",
1470         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
1471         "comments": "",
1472         "outputs": 1,
1473         "x": 3835.000331878662,
1474         "y": 1436.4882678985596,
1475         "z": "f16b4873.701568",
1476         "wires": [
1477             []
1478         ]
1479     },
1480     {
1481         "id": "45de7390.486dfc",
1482         "type": "record",
1483         "name": "Log error",
1484         "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>",
1485         "comments": "",
1486         "outputs": 1,
1487         "x": 3399.500015258789,
1488         "y": 1378.4880485534668,
1489         "z": "f16b4873.701568",
1490         "wires": [
1491             []
1492         ]
1493     },
1494     {
1495         "id": "d4ee7229.fae85",
1496         "type": "other",
1497         "name": "other",
1498         "xml": "<outcome value='Other'>\n",
1499         "comments": "",
1500         "outputs": 1,
1501         "x": 2056.666831970215,
1502         "y": 1465.0834197998047,
1503         "z": "f16b4873.701568",
1504         "wires": [
1505             [
1506                 "86d0a871.815158"
1507             ]
1508         ]
1509     },
1510     {
1511         "id": "a2c9685e.16d318",
1512         "type": "execute",
1513         "name": "OutputMessageBuilder",
1514         "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />",
1515         "comments": "",
1516         "outputs": 1,
1517         "x": 2398.667205810547,
1518         "y": 1463.083589553833,
1519         "z": "f16b4873.701568",
1520         "wires": [
1521             [
1522                 "d7d7645d.5e76c8"
1523             ]
1524         ]
1525     },
1526     {
1527         "id": "d7d7645d.5e76c8",
1528         "type": "success",
1529         "name": "success",
1530         "xml": "<outcome value='success'>\n",
1531         "comments": "",
1532         "outputs": 1,
1533         "x": 2604.79891204834,
1534         "y": 1463.6331634521484,
1535         "z": "f16b4873.701568",
1536         "wires": [
1537             [
1538                 "80effa9c.33fce8"
1539             ]
1540         ]
1541     },
1542     {
1543         "id": "80effa9c.33fce8",
1544         "type": "execute",
1545         "name": "Report Error to DCAE",
1546         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
1547         "comments": "",
1548         "outputs": 1,
1549         "x": 2812.7992248535156,
1550         "y": 1464.633376121521,
1551         "z": "f16b4873.701568",
1552         "wires": [
1553             []
1554         ]
1555     },
1556     {
1557         "id": "86d0a871.815158",
1558         "type": "block",
1559         "name": "block",
1560         "xml": "<block>",
1561         "atomic": "false",
1562         "comments": "",
1563         "outputs": 1,
1564         "x": 2208.666831970215,
1565         "y": 1465.0834197998047,
1566         "z": "f16b4873.701568",
1567         "wires": [
1568             [
1569                 "a2c9685e.16d318",
1570                 "897e770a.605f58"
1571             ]
1572         ]
1573     },
1574     {
1575         "id": "897e770a.605f58",
1576         "type": "returnFailure",
1577         "name": "return failure",
1578         "xml": "<return status='failure'>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$output.status.message`\"/>",
1579         "comments": "",
1580         "x": 2371.666831970215,
1581         "y": 1552.0834197998047,
1582         "z": "f16b4873.701568",
1583         "wires": []
1584     },
1585     {
1586         "id": "d043d660.7cbce8",
1587         "type": "execute",
1588         "name": "Set payload in Context",
1589         "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",
1590         "comments": "",
1591         "outputs": 1,
1592         "x": 738.6666793823242,
1593         "y": 86.75000667572021,
1594         "z": "f16b4873.701568",
1595         "wires": [
1596             [
1597                 "3c42bbb1.da71f4",
1598                 "d63e629f.39f9",
1599                 "17b5a1dd.0754de",
1600                 "4fad0fe1.40343"
1601             ]
1602         ]
1603     },
1604     {
1605         "id": "d63e629f.39f9",
1606         "type": "other",
1607         "name": "other",
1608         "xml": "<outcome value='Other'>\n",
1609         "comments": "",
1610         "outputs": 1,
1611         "x": 1033.666648864746,
1612         "y": 20,
1613         "z": "f16b4873.701568",
1614         "wires": [
1615             [
1616                 "51284245.e89c1c"
1617             ]
1618         ]
1619     },
1620     {
1621         "id": "17b5a1dd.0754de",
1622         "type": "failure",
1623         "name": "failure",
1624         "xml": "<outcome value='failure'>\n",
1625         "comments": "",
1626         "outputs": 1,
1627         "x": 1034.666648864746,
1628         "y": 70,
1629         "z": "f16b4873.701568",
1630         "wires": [
1631             [
1632                 "51284245.e89c1c"
1633             ]
1634         ]
1635     },
1636     {
1637         "id": "4fad0fe1.40343",
1638         "type": "not-found",
1639         "name": "not-found",
1640         "xml": "<outcome value='not-found'>\n",
1641         "comments": "",
1642         "outputs": 1,
1643         "x": 1027.666648864746,
1644         "y": 125.00001525878906,
1645         "z": "f16b4873.701568",
1646         "wires": [
1647             [
1648                 "51284245.e89c1c"
1649             ]
1650         ]
1651     },
1652     {
1653         "id": "3c42bbb1.da71f4",
1654         "type": "success",
1655         "name": "success",
1656         "xml": "<outcome value='success'>\n",
1657         "comments": "",
1658         "outputs": 1,
1659         "x": 1024.6667098999023,
1660         "y": 180.7500114440918,
1661         "z": "f16b4873.701568",
1662         "wires": [
1663             [
1664                 "752bb299.feb57c"
1665             ]
1666         ]
1667     },
1668     {
1669         "id": "51284245.e89c1c",
1670         "type": "block",
1671         "name": "block",
1672         "xml": "<block atomic='true'>",
1673         "atomic": "true",
1674         "comments": "",
1675         "outputs": 1,
1676         "x": 1241.3332901000977,
1677         "y": 113.00000190734863,
1678         "z": "f16b4873.701568",
1679         "wires": [
1680             [
1681                 "41523e11.c90e9",
1682                 "a9abc91a.956e38"
1683             ]
1684         ]
1685     },
1686     {
1687         "id": "a9abc91a.956e38",
1688         "type": "execute",
1689         "name": "OutputMessageBuilder",
1690         "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"Failure in flattening payload Json\" />",
1691         "comments": "",
1692         "outputs": 1,
1693         "x": 1471.666358947754,
1694         "y": 64.88888740539551,
1695         "z": "f16b4873.701568",
1696         "wires": [
1697             [
1698                 "10f72f11.953841"
1699             ]
1700         ]
1701     },
1702     {
1703         "id": "41523e11.c90e9",
1704         "type": "returnFailure",
1705         "name": "return failure",
1706         "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
1707         "comments": "",
1708         "x": 1438.6662368774414,
1709         "y": 113.52372932434082,
1710         "z": "f16b4873.701568",
1711         "wires": []
1712     },
1713     {
1714         "id": "10f72f11.953841",
1715         "type": "success",
1716         "name": "success",
1717         "xml": "<outcome value='success'>\n",
1718         "comments": "",
1719         "outputs": 1,
1720         "x": 1679.7613906860352,
1721         "y": 64.17462348937988,
1722         "z": "f16b4873.701568",
1723         "wires": [
1724             [
1725                 "789d293f.1e9dc8"
1726             ]
1727         ]
1728     },
1729     {
1730         "id": "789d293f.1e9dc8",
1731         "type": "execute",
1732         "name": "Report Error to DCAE",
1733         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"event-message\" value=\"`$event-message`\" />",
1734         "comments": "",
1735         "outputs": 1,
1736         "x": 1881.3329238891602,
1737         "y": 63.88888740539551,
1738         "z": "f16b4873.701568",
1739         "wires": [
1740             []
1741         ]
1742     },
1743     {
1744         "id": "13a60653.f2418a",
1745         "type": "failure",
1746         "name": "failure",
1747         "xml": "<outcome value='failure'>\n",
1748         "comments": "",
1749         "outputs": 1,
1750         "x": 3001.3334045410156,
1751         "y": 1327.9999796748161,
1752         "z": "f16b4873.701568",
1753         "wires": [
1754             [
1755                 "a89beb23.e0d968"
1756             ]
1757         ]
1758     }
1759 ]