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