Update version of node base image
[appc/deployment.git] / platform-logic / appc / src / main / json / dg-loader-dgs / Dispatcher-DG / APPC_method_Generic_Sync_2.0.0.json
1 [{
2   "id": "9c13e82a.387b38",
3   "type": "dgstart",
4   "name": "DGSTART",
5   "outputs": 1,
6   "x": 131.66665649414062,
7   "y": 116.6666750907898,
8   "z": "214b12db.e4ae8e",
9   "wires": [["c8696732.57b668"]]
10 },
11   {
12     "id": "c8696732.57b668",
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": 311.6666564941406,
21     "y": 116.6666750907898,
22     "z": "214b12db.e4ae8e",
23     "wires": [["11c0a5be.fe5bfa"]]
24   },
25   {
26     "id": "11c0a5be.fe5bfa",
27     "type": "method",
28     "name": "Sync",
29     "xml": "<method rpc='Generic_Sync' mode='sync'>\n",
30     "comments": "",
31     "outputs": 1,
32     "x": 490.6666564941406,
33     "y": 116.6666750907898,
34     "z": "214b12db.e4ae8e",
35     "wires": [["cb484414.952458"]]
36   },
37   {
38     "id": "9ec6a6d6.7a5678",
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 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": 519.0861930847168,
45     "y": 437.4498953819275,
46     "z": "214b12db.e4ae8e",
47     "wires": [["a4a4499.da795b8",
48       "d4b62675.cc3218",
49       "f40aff31.110c9"]]
50   },
51   {
52     "id": "f40aff31.110c9",
53     "type": "failure",
54     "name": "failure",
55     "xml": "<outcome value='failure'>\n",
56     "comments": "",
57     "outputs": 1,
58     "x": 771.3759498596191,
59     "y": 365.17019033432007,
60     "z": "214b12db.e4ae8e",
61     "wires": [["841d3cc6.f08c7"]]
62   },
63   {
64     "id": "a4a4499.da795b8",
65     "type": "not-found",
66     "name": "not-found",
67     "xml": "<outcome value='not-found'>",
68     "comments": "",
69     "outputs": 1,
70     "x": 776.3759956359863,
71     "y": 436.947970867157,
72     "z": "214b12db.e4ae8e",
73     "wires": [["b9da4281.1adab"]]
74   },
75   {
76     "id": "d4b62675.cc3218",
77     "type": "success",
78     "name": "success",
79     "xml": "<outcome value='success'>\n",
80     "comments": "",
81     "outputs": 1,
82     "x": 773.598217010498,
83     "y": 500.61465311050415,
84     "z": "214b12db.e4ae8e",
85     "wires": [["88d88ec0.cbcfa"]]
86   },
87   {
88     "id": "2a1906ba.c69e1a",
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": 1229.2260704040527,
95     "y": 539.5462489128113,
96     "z": "214b12db.e4ae8e",
97     "wires": [[]]
98   },
99   {
100     "id": "2195ead0.db2c66",
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": 1207.9867248535156,
106     "y": 592.734308719635,
107     "z": "214b12db.e4ae8e",
108     "wires": []
109   },
110   {
111     "id": "9e646937.3ed6a8",
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": 1214.5936851501465,
117     "y": 436.7257466316223,
118     "z": "214b12db.e4ae8e",
119     "wires": []
120   },
121   {
122     "id": "88cf09de.c0d5e8",
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": 1215.234661102295,
128     "y": 384.6402335166931,
129     "z": "214b12db.e4ae8e",
130     "wires": []
131   },
132   {
133     "id": "841d3cc6.f08c7",
134     "type": "block",
135     "name": "block",
136     "xml": "<block>\n",
137     "atomic": "false",
138     "comments": "",
139     "outputs": 1,
140     "x": 932.456859588623,
141     "y": 365.05907678604126,
142     "z": "214b12db.e4ae8e",
143     "wires": [["88cf09de.c0d5e8",
144       "2a1906ba.c69e1a",
145       "2195ead0.db2c66",
146       "1aa4df6e.f6da11"]]
147   },
148   {
149     "id": "b9da4281.1adab",
150     "type": "block",
151     "name": "block",
152     "xml": "<block>\n",
153     "atomic": "false",
154     "comments": "",
155     "outputs": 1,
156     "x": 940.0124244689941,
157     "y": 436.8368649482727,
158     "z": "214b12db.e4ae8e",
159     "wires": [["9e646937.3ed6a8",
160       "2a1906ba.c69e1a",
161       "2195ead0.db2c66",
162       "1aa4df6e.f6da11"]]
163   },
164   {
165     "id": "88d88ec0.cbcfa",
166     "type": "block",
167     "name": "block : atomic",
168     "xml": "<block atomic='true'>",
169     "atomic": "true",
170     "comments": "",
171     "outputs": 1,
172     "x": 409.5640525817871,
173     "y": 615.6837515830994,
174     "z": "214b12db.e4ae8e",
175     "wires": [["7732a369.eb726c",
176       "4f4a7a36.c2a284",
177       "d5cea21b.c34aa",
178       "11dcb423.01808c",
179       "6d230a1.4a08cf4",
180       "855ad0e4.d405c",
181       "59566c79.8df204",
182       "872a0177.f9c8f",
183       "aa08d8db.e07148"]]
184   },
185   {
186     "id": "7732a369.eb726c",
187     "type": "for",
188     "name": "for each current config",
189     "xml": "<for index=\"i\" start=\"0\" end=\"`$currnt-config_length`\" >\n",
190     "comments": "",
191     "outputs": 1,
192     "x": 657.6324729919434,
193     "y": 616.0513052940369,
194     "z": "214b12db.e4ae8e",
195     "wires": [["842b0ba4.2b8248"]]
196   },
197   {
198     "id": "ce31ce3d.765e7",
199     "type": "set",
200     "name": "Set context",
201     "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",
202     "comments": "",
203     "x": 1072.4787254333496,
204     "y": 616.2821097373962,
205     "z": "214b12db.e4ae8e",
206     "wires": []
207   },
208   {
209     "id": "9fe7ebb1.f6f948",
210     "type": "call",
211     "name": "Call Retrieve running Config DG",
212     "xml": "<call rpc='GetRunningConfig' mode='sync' >\n",
213     "comments": "",
214     "outputs": 1,
215     "x": 1104.4786949157715,
216     "y": 674.28204870224,
217     "z": "214b12db.e4ae8e",
218     "wires": [["cd269b5.a716568",
219       "4f80d854.e62828",
220       "83342c8c.51a98"]]
221   },
222   {
223     "id": "842b0ba4.2b8248",
224     "type": "block",
225     "name": "block : atomic",
226     "xml": "<block atomic='true'>",
227     "atomic": "true",
228     "comments": "",
229     "outputs": 1,
230     "x": 852.7863121032715,
231     "y": 675.205144405365,
232     "z": "214b12db.e4ae8e",
233     "wires": [["ce31ce3d.765e7",
234       "9fe7ebb1.f6f948",
235       "dd580aa1.a817c8",
236       "4c8c9a0.c6b3768"]]
237   },
238   {
239     "id": "cd269b5.a716568",
240     "type": "failure",
241     "name": "failure",
242     "xml": "<outcome value='failure'>\n",
243     "comments": "",
244     "outputs": 1,
245     "x": 1346.5898399353027,
246     "y": 623.2819828987122,
247     "z": "214b12db.e4ae8e",
248     "wires": [["7e006a6b.da6ef4"]]
249   },
250   {
251     "id": "4f80d854.e62828",
252     "type": "not-found",
253     "name": "not-found",
254     "xml": "<outcome value='not-found'>",
255     "comments": "",
256     "outputs": 1,
257     "x": 1358.034236907959,
258     "y": 676.28204870224,
259     "z": "214b12db.e4ae8e",
260     "wires": [["6c663e2f.d966d"]]
261   },
262   {
263     "id": "83342c8c.51a98",
264     "type": "success",
265     "name": "success",
266     "xml": "<outcome value='success'>\n",
267     "comments": "",
268     "outputs": 1,
269     "x": 1368.1451988220215,
270     "y": 728.3930716514587,
271     "z": "214b12db.e4ae8e",
272     "wires": [[]]
273   },
274   {
275     "id": "4f4a7a36.c2a284",
276     "type": "update",
277     "name": "Mark current configs as historic",
278     "xml": "<update resource='SQL' force='true' plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' key=\"UPDATE UPLOAD_CONFIG SET config_indicator=null WHERE vnf_id = $input.action-identifiers.vnf-id AND config_indicator='Current' AND (pending_delete IS NULL OR pending_delete != 'Y')\">\n",
279     "comments": "",
280     "outputs": 1,
281     "x": 801.5814094543457,
282     "y": 1163.6410536766052,
283     "z": "214b12db.e4ae8e",
284     "wires": [["25e5bfd2.2129e",
285       "baa57190.f5968"]]
286   },
287   {
288     "id": "d5cea21b.c34aa",
289     "type": "save",
290     "name": "Store device config as 'Current'",
291     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"INSERT INTO UPLOAD_CONFIG (request_id, originator_id, service_description, action, vnf_id, vnf_name, vm_name, vnf_type, vnfc_type, host_ip_address, config_indicator, content) SELECT request_id, originator_id, service_description, action, vnf_id, vnf_name, vm_name, vnf_type, vnfc_type, host_ip_address, 'Current', content FROM UPLOAD_CONFIG WHERE vnf_id = $input.action-identifiers.vnf-id AND config_indicator = 'Running' AND (pending_delete IS NULL OR pending_delete != 'Y')\" force='true'>\n",
292     "comments": "",
293     "outputs": 1,
294     "x": 795.196704864502,
295     "y": 1331.1795058250427,
296     "z": "214b12db.e4ae8e",
297     "wires": [["3111ae3b.b3f9e2",
298       "f1f93963.7ca2d8"]]
299   },
300   {
301     "id": "f1f93963.7ca2d8",
302     "type": "success",
303     "name": "success",
304     "xml": "<outcome value='success'>\n",
305     "comments": "",
306     "outputs": 1,
307     "x": 1055.1968002319336,
308     "y": 1375.1795058250427,
309     "z": "214b12db.e4ae8e",
310     "wires": [[]]
311   },
312   {
313     "id": "3111ae3b.b3f9e2",
314     "type": "failure",
315     "name": "failure",
316     "xml": "<outcome value='failure'>\n",
317     "comments": "",
318     "outputs": 1,
319     "x": 1050.1968002319336,
320     "y": 1291.1795058250427,
321     "z": "214b12db.e4ae8e",
322     "wires": [["f16ab34d.41c77"]]
323   },
324   {
325     "id": "25e5bfd2.2129e",
326     "type": "success",
327     "name": "success",
328     "xml": "<outcome value='success'>\n",
329     "comments": "",
330     "outputs": 1,
331     "x": 1060.581470489502,
332     "y": 1218.6410384178162,
333     "z": "214b12db.e4ae8e",
334     "wires": [[]]
335   },
336   {
337     "id": "baa57190.f5968",
338     "type": "failure",
339     "name": "failure",
340     "xml": "<outcome value='failure'>\n",
341     "comments": "",
342     "outputs": 1,
343     "x": 1054.581470489502,
344     "y": 1162.6410536766052,
345     "z": "214b12db.e4ae8e",
346     "wires": [["62bc5493.c88cfc"]]
347   },
348   {
349     "id": "7e006a6b.da6ef4",
350     "type": "block",
351     "name": "block",
352     "xml": "<block>\n",
353     "atomic": "false",
354     "comments": "",
355     "outputs": 1,
356     "x": 1497.1454181671143,
357     "y": 623.2819752693176,
358     "z": "214b12db.e4ae8e",
359     "wires": [["f6c71fae.e8d17",
360       "a278106d.b2101",
361       "aac04b94.261c38",
362       "4b77bb4a.9f7014"]]
363   },
364   {
365     "id": "f6c71fae.e8d17",
366     "type": "set",
367     "name": "Set error message",
368     "xml": "<set>\n<parameter name='error-message' value=\"`$error-message`\" />\n",
369     "comments": "",
370     "x": 1804.7011909484863,
371     "y": 521.1709504127502,
372     "z": "214b12db.e4ae8e",
373     "wires": []
374   },
375   {
376     "id": "6c663e2f.d966d",
377     "type": "block",
378     "name": "block",
379     "xml": "<block>\n",
380     "atomic": "false",
381     "comments": "",
382     "outputs": 1,
383     "x": 1510.4786949157715,
384     "y": 675.1709036827087,
385     "z": "214b12db.e4ae8e",
386     "wires": [["963a5bc6.b3e628",
387       "a278106d.b2101",
388       "aac04b94.261c38",
389       "4b77bb4a.9f7014"]]
390   },
391   {
392     "id": "963a5bc6.b3e628",
393     "type": "set",
394     "name": "Set error message",
395     "xml": "<set>\n<parameter name='error-message' value='DG to retrieve running configuration not found'/>",
396     "comments": "",
397     "x": 1806.7012519836426,
398     "y": 570.1709456443787,
399     "z": "214b12db.e4ae8e",
400     "wires": []
401   },
402   {
403     "id": "62bc5493.c88cfc",
404     "type": "block",
405     "name": "block",
406     "xml": "<block>\n",
407     "atomic": "false",
408     "comments": "",
409     "outputs": 1,
410     "x": 1223.359302520752,
411     "y": 1163.6410536766052,
412     "z": "214b12db.e4ae8e",
413     "wires": [["fca9379c.f1ba58",
414       "205f706d.16fb1",
415       "15018948.152e47",
416       "3521d3f3.e7bf6c",
417       "4d82212c.2ef21"]]
418   },
419   {
420     "id": "fca9379c.f1ba58",
421     "type": "set",
422     "name": "Set error message",
423     "xml": "<set>\n<parameter name='error-message' value=\"`'Error while marking current configuration as historic in the repository for vnf-id:' + $input.action-identifiers.vnf-id`\" />\n",
424     "comments": "",
425     "x": 1451.6924629211426,
426     "y": 1200.6411147117615,
427     "z": "214b12db.e4ae8e",
428     "wires": []
429   },
430   {
431     "id": "f16ab34d.41c77",
432     "type": "block",
433     "name": "block",
434     "xml": "<block>\n",
435     "atomic": "false",
436     "comments": "",
437     "outputs": 1,
438     "x": 1216.9744491577148,
439     "y": 1293.1795058250427,
440     "z": "214b12db.e4ae8e",
441     "wires": [["4adc4f3b.17a16",
442       "205f706d.16fb1",
443       "15018948.152e47",
444       "3521d3f3.e7bf6c",
445       "4d82212c.2ef21"]]
446   },
447   {
448     "id": "4adc4f3b.17a16",
449     "type": "set",
450     "name": "Set error message",
451     "xml": "<set>\n<parameter name='error-message' value=\"`'Error while storing the new current configuration in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\" />\n",
452     "comments": "",
453     "x": 1443.529987335205,
454     "y": 1245.2907118797302,
455     "z": "214b12db.e4ae8e",
456     "wires": []
457   },
458   {
459     "id": "aac04b94.261c38",
460     "type": "returnFailure",
461     "name": "return failure",
462     "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`\"/>",
463     "comments": "",
464     "x": 1787.5473823547363,
465     "y": 713.0171122550964,
466     "z": "214b12db.e4ae8e",
467     "wires": []
468   },
469   {
470     "id": "a278106d.b2101",
471     "type": "execute",
472     "name": "Report Error to DCAE",
473     "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
474     "comments": "",
475     "outputs": 1,
476     "x": 1816.5474433898926,
477     "y": 663.0170950889587,
478     "z": "214b12db.e4ae8e",
479     "wires": [[]]
480   },
481   {
482     "id": "15018948.152e47",
483     "type": "returnFailure",
484     "name": "return failure",
485     "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`\"/>",
486     "comments": "",
487     "x": 1436.7608222961426,
488     "y": 1427.1369032859802,
489     "z": "214b12db.e4ae8e",
490     "wires": []
491   },
492   {
493     "id": "205f706d.16fb1",
494     "type": "execute",
495     "name": "Report Error to DCAE",
496     "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
497     "comments": "",
498     "outputs": 1,
499     "x": 1461.7608222961426,
500     "y": 1337.1369032859802,
501     "z": "214b12db.e4ae8e",
502     "wires": [[]]
503   },
504   {
505     "id": "f5cfbdb3.30a63",
506     "type": "block",
507     "name": "block",
508     "xml": "<block>\n",
509     "atomic": "false",
510     "comments": "",
511     "outputs": 1,
512     "x": 291.6666603088379,
513     "y": 343.57577085494995,
514     "z": "214b12db.e4ae8e",
515     "wires": [["9ec6a6d6.7a5678",
516       "58cdab19.f47684"]]
517   },
518   {
519     "id": "1aa4df6e.f6da11",
520     "type": "record",
521     "name": "Log error",
522     "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",
523     "comments": "",
524     "outputs": 1,
525     "x": 1182.3589057922363,
526     "y": 491.3589644432068,
527     "z": "214b12db.e4ae8e",
528     "wires": [[]]
529   },
530   {
531     "id": "4b77bb4a.9f7014",
532     "type": "record",
533     "name": "Log error",
534     "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",
535     "comments": "",
536     "outputs": 1,
537     "x": 1778.0247383117676,
538     "y": 613.7672305107117,
539     "z": "214b12db.e4ae8e",
540     "wires": [[]]
541   },
542   {
543     "id": "3521d3f3.e7bf6c",
544     "type": "record",
545     "name": "Log error",
546     "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",
547     "comments": "",
548     "outputs": 1,
549     "x": 1427.1704940795898,
550     "y": 1292.0814833641052,
551     "z": "214b12db.e4ae8e",
552     "wires": [[]]
553   },
554   {
555     "id": "58cdab19.f47684",
556     "type": "record",
557     "name": "Log message",
558     "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",
559     "comments": "",
560     "outputs": 1,
561     "x": 481.0855522155762,
562     "y": 343.16138219833374,
563     "z": "214b12db.e4ae8e",
564     "wires": [[]]
565   },
566   {
567     "id": "11dcb423.01808c",
568     "type": "record",
569     "name": "Log message",
570     "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=\"`'Marking current configuration as historic in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
571     "comments": "",
572     "outputs": 1,
573     "x": 735.7780342102051,
574     "y": 1098.2382216453552,
575     "z": "214b12db.e4ae8e",
576     "wires": [[]]
577   },
578   {
579     "id": "6d230a1.4a08cf4",
580     "type": "record",
581     "name": "Log message",
582     "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=\"`'Storing device configuration as Current configuration in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
583     "comments": "",
584     "outputs": 1,
585     "x": 745.7009773254395,
586     "y": 1274.3923964500427,
587     "z": "214b12db.e4ae8e",
588     "wires": [[]]
589   },
590   {
591     "id": "855ad0e4.d405c",
592     "type": "record",
593     "name": "Log message",
594     "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=\"`'Current configuration marked as historic in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
595     "comments": "",
596     "outputs": 1,
597     "x": 748.6198616027832,
598     "y": 1218.4325575828552,
599     "z": "214b12db.e4ae8e",
600     "wires": [[]]
601   },
602   {
603     "id": "59566c79.8df204",
604     "type": "record",
605     "name": "Log message",
606     "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=\"`'Device configuration stored as Current configuration in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
607     "comments": "",
608     "outputs": 1,
609     "x": 735.6198616027832,
610     "y": 1387.8555312156677,
611     "z": "214b12db.e4ae8e",
612     "wires": [[]]
613   },
614   {
615     "id": "872a0177.f9c8f",
616     "type": "returnSuccess",
617     "name": "return success",
618     "xml": "<return status='success'>\n",
619     "comments": "",
620     "x": 711.4660873413086,
621     "y": 1504.8555312156677,
622     "z": "214b12db.e4ae8e",
623     "wires": []
624   },
625   {
626     "id": "dd580aa1.a817c8",
627     "type": "set",
628     "name": "Set Running Config ID",
629     "xml": "<set>\n<parameter name='output.payload.upload-config-id[$i]' value='`$runningConfig.UPLOAD-CONFIG-ID`' />\n\n",
630     "comments": "",
631     "x": 1083.6667442321777,
632     "y": 733.0000834465027,
633     "z": "214b12db.e4ae8e",
634     "wires": []
635   },
636   {
637     "id": "aa08d8db.e07148",
638     "type": "execute",
639     "name": "Generate output payload",
640     "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='generateOutputPayloadFromContext' >",
641     "comments": "",
642     "outputs": 1,
643     "x": 763.6667366027832,
644     "y": 1445.0000014305115,
645     "z": "214b12db.e4ae8e",
646     "wires": [["1639668d.25e0d9",
647       "264aed94.5a8e32",
648       "397802b1.358f0e"]]
649   },
650   {
651     "id": "1639668d.25e0d9",
652     "type": "failure",
653     "name": "failure",
654     "xml": "<outcome value='failure'>\n",
655     "comments": "",
656     "outputs": 1,
657     "x": 1006.6668586730957,
658     "y": 1425.9999403953552,
659     "z": "214b12db.e4ae8e",
660     "wires": [["a0b721e.ccba5e"]]
661   },
662   {
663     "id": "264aed94.5a8e32",
664     "type": "not-found",
665     "name": "not-found",
666     "xml": "<outcome value='not-found'>\n",
667     "comments": "",
668     "outputs": 1,
669     "x": 1008.6668586730957,
670     "y": 1471.0000014305115,
671     "z": "214b12db.e4ae8e",
672     "wires": [["a0b721e.ccba5e"]]
673   },
674   {
675     "id": "397802b1.358f0e",
676     "type": "success",
677     "name": "success",
678     "xml": "<outcome value='success'>\n",
679     "comments": "",
680     "outputs": 1,
681     "x": 1011.6667366027832,
682     "y": 1521.9999403953552,
683     "z": "214b12db.e4ae8e",
684     "wires": [[]]
685   },
686   {
687     "id": "a0b721e.ccba5e",
688     "type": "block",
689     "name": "block : atomic",
690     "xml": "<block atomic='true'>",
691     "atomic": "true",
692     "comments": "",
693     "outputs": 1,
694     "x": 1206.3336067199707,
695     "y": 1482.9999403953552,
696     "z": "214b12db.e4ae8e",
697     "wires": [["a2cf5226.8165",
698       "bd7acdda.91a63"]]
699   },
700   {
701     "id": "bd7acdda.91a63",
702     "type": "execute",
703     "name": "Report error to DCAE",
704     "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\" />",
705     "comments": "",
706     "outputs": 1,
707     "x": 1441.2381706237793,
708     "y": 1484.3807997703552,
709     "z": "214b12db.e4ae8e",
710     "wires": [[]]
711   },
712   {
713     "id": "a2cf5226.8165",
714     "type": "returnFailure",
715     "name": "return failure",
716     "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
717     "comments": "",
718     "x": 1425.6666374206543,
719     "y": 1533.5236220359802,
720     "z": "214b12db.e4ae8e",
721     "wires": []
722   },
723   {
724     "id": "4d82212c.2ef21",
725     "type": "execute",
726     "name": "Generate output payload",
727     "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='generateOutputPayloadFromContext' >",
728     "comments": "",
729     "outputs": 1,
730     "x": 1493.8887519836426,
731     "y": 1385.0000014305115,
732     "z": "214b12db.e4ae8e",
733     "wires": [["425e2e54.04ff7",
734       "d2f01dc7.e5e29",
735       "481f9e71.90512"]]
736   },
737   {
738     "id": "425e2e54.04ff7",
739     "type": "failure",
740     "name": "failure",
741     "xml": "<outcome value='failure'>\n",
742     "comments": "",
743     "outputs": 1,
744     "x": 1740.8889350891113,
745     "y": 1332.9999403953552,
746     "z": "214b12db.e4ae8e",
747     "wires": [["62fbe5e0.d9cdcc"]]
748   },
749   {
750     "id": "d2f01dc7.e5e29",
751     "type": "not-found",
752     "name": "not-found",
753     "xml": "<outcome value='not-found'>\n",
754     "comments": "",
755     "outputs": 1,
756     "x": 1731.8889961242676,
757     "y": 1386.0000014305115,
758     "z": "214b12db.e4ae8e",
759     "wires": [["62fbe5e0.d9cdcc"]]
760   },
761   {
762     "id": "481f9e71.90512",
763     "type": "success",
764     "name": "success",
765     "xml": "<outcome value='success'>\n",
766     "comments": "",
767     "outputs": 1,
768     "x": 1733.888874053955,
769     "y": 1435.9999403953552,
770     "z": "214b12db.e4ae8e",
771     "wires": [[]]
772   },
773   {
774     "id": "62fbe5e0.d9cdcc",
775     "type": "block",
776     "name": "block : atomic",
777     "xml": "<block atomic='true'>",
778     "atomic": "true",
779     "comments": "",
780     "outputs": 1,
781     "x": 1936.5558052062988,
782     "y": 1356.9999403953552,
783     "z": "214b12db.e4ae8e",
784     "wires": [["23d2ce67.52c4d2",
785       "49e01c1c.c64a44"]]
786   },
787   {
788     "id": "49e01c1c.c64a44",
789     "type": "execute",
790     "name": "Report error to DCAE",
791     "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\" />",
792     "comments": "",
793     "outputs": 1,
794     "x": 2165.460346221924,
795     "y": 1355.3807997703552,
796     "z": "214b12db.e4ae8e",
797     "wires": [[]]
798   },
799   {
800     "id": "23d2ce67.52c4d2",
801     "type": "returnFailure",
802     "name": "return failure",
803     "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
804     "comments": "",
805     "x": 2145.888813018799,
806     "y": 1416.5236220359802,
807     "z": "214b12db.e4ae8e",
808     "wires": []
809   },
810   {
811     "id": "f6b28639.a1c3a8",
812     "type": "outcome",
813     "name": "Outcome: y",
814     "xml": "<outcome value='y'>\n",
815     "comments": "",
816     "outputs": 1,
817     "x": 1190.6666526794434,
818     "y": 808.1822867393494,
819     "z": "214b12db.e4ae8e",
820     "wires": [["60059d22.c2ba54"]]
821   },
822   {
823     "id": "4c8c9a0.c6b3768",
824     "type": "switchNode",
825     "name": "switch",
826     "xml": "<switch test='`$Publish_Config`'>",
827     "comments": "",
828     "outputs": 1,
829     "x": 1037.6666984558105,
830     "y": 799.5156636238098,
831     "z": "214b12db.e4ae8e",
832     "wires": [["f6b28639.a1c3a8",
833       "6d199d17.82f204"]]
834   },
835   {
836     "id": "60059d22.c2ba54",
837     "type": "get-resource",
838     "name": "Retrieve Running config details DB",
839     "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\">",
840     "comments": "",
841     "outputs": 1,
842     "x": 1432.6667404174805,
843     "y": 829.1823210716248,
844     "z": "214b12db.e4ae8e",
845     "wires": [["cdc99515.922c58",
846       "9a6d5a51.faabc8",
847       "9034241c.159aa8"]]
848   },
849   {
850     "id": "cdc99515.922c58",
851     "type": "success",
852     "name": "success",
853     "xml": "<outcome value='success'>\n",
854     "comments": "",
855     "outputs": 1,
856     "x": 1690.6669082641602,
857     "y": 840.1825032234192,
858     "z": "214b12db.e4ae8e",
859     "wires": [["7e300025.5253a"]]
860   },
861   {
862     "id": "7e300025.5253a",
863     "type": "execute",
864     "name": "execute CvaasDataIntoContext",
865     "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=\"appc01\" />\n<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />",
866     "comments": "",
867     "outputs": 1,
868     "x": 1943.9172744750977,
869     "y": 844.1830830574036,
870     "z": "214b12db.e4ae8e",
871     "wires": [["eb8bab96.3c6e98",
872       "46abe9bb.2c0fd8",
873       "ce71ba2a.e1ce38"]]
874   },
875   {
876     "id": "eb8bab96.3c6e98",
877     "type": "success",
878     "name": "success",
879     "xml": "<outcome value='success'>\n",
880     "comments": "",
881     "outputs": 1,
882     "x": 2241.1673278808594,
883     "y": 965.1831040382385,
884     "z": "214b12db.e4ae8e",
885     "wires": [["694c898b.ddbd58"]]
886   },
887   {
888     "id": "46abe9bb.2c0fd8",
889     "type": "failure",
890     "name": "failure",
891     "xml": "<outcome value='failure'>\n",
892     "comments": "",
893     "outputs": 1,
894     "x": 2250.6669998168945,
895     "y": 861.1828625202179,
896     "z": "214b12db.e4ae8e",
897     "wires": [["9fa2a21b.8af7c"]]
898   },
899   {
900     "id": "ce71ba2a.e1ce38",
901     "type": "not-found",
902     "name": "not-found",
903     "xml": "<outcome value='not-found'>\n",
904     "comments": "",
905     "outputs": 1,
906     "x": 2257.667266845703,
907     "y": 913.1830716133118,
908     "z": "214b12db.e4ae8e",
909     "wires": [["9fa2a21b.8af7c"]]
910   },
911   {
912     "id": "9034241c.159aa8",
913     "type": "not-found",
914     "name": "not-found",
915     "xml": "<outcome value='not-found'>",
916     "comments": "",
917     "outputs": 1,
918     "x": 1524.9166564941406,
919     "y": 1005.182294845581,
920     "z": "214b12db.e4ae8e",
921     "wires": [["567684cc.50b0dc"]]
922   },
923   {
924     "id": "9a6d5a51.faabc8",
925     "type": "failure",
926     "name": "failure",
927     "xml": "<outcome value='failure'>\n",
928     "comments": "",
929     "outputs": 1,
930     "x": 1521.9165420532227,
931     "y": 953.4044423103333,
932     "z": "214b12db.e4ae8e",
933     "wires": [["4bc0b87d.970378"]]
934   },
935   {
936     "id": "4bc0b87d.970378",
937     "type": "block",
938     "name": "block",
939     "xml": "<block>\n",
940     "atomic": "false",
941     "comments": "",
942     "outputs": 1,
943     "x": 1661.9975929260254,
944     "y": 955.2935299873352,
945     "z": "214b12db.e4ae8e",
946     "wires": [["3ce78b3b.82fee4",
947       "ce132d3c.9e7bb",
948       "de31ac1.3cad05",
949       "ba52c35d.d0a18"]]
950   },
951   {
952     "id": "567684cc.50b0dc",
953     "type": "block",
954     "name": "block",
955     "xml": "<block>\n",
956     "atomic": "false",
957     "comments": "",
958     "outputs": 1,
959     "x": 1661.553165435791,
960     "y": 1014.0713334083557,
961     "z": "214b12db.e4ae8e",
962     "wires": [["ce132d3c.9e7bb",
963       "de31ac1.3cad05",
964       "ba52c35d.d0a18",
965       "956742c7.415fd"]]
966   },
967   {
968     "id": "ba52c35d.d0a18",
969     "type": "record",
970     "name": "Log error",
971     "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",
972     "comments": "",
973     "outputs": 1,
974     "x": 1859.8998336791992,
975     "y": 1030.5936121940613,
976     "z": "214b12db.e4ae8e",
977     "wires": [[]]
978   },
979   {
980     "id": "3ce78b3b.82fee4",
981     "type": "set",
982     "name": "Set error message",
983     "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",
984     "comments": "",
985     "x": 1892.7756729125977,
986     "y": 930.875011920929,
987     "z": "214b12db.e4ae8e",
988     "wires": []
989   },
990   {
991     "id": "6d199d17.82f204",
992     "type": "outcome",
993     "name": "Outcome: Y",
994     "xml": "<outcome value='Y'>\n",
995     "comments": "",
996     "outputs": 1,
997     "x": 1191.6667098999023,
998     "y": 860.1822571754456,
999     "z": "214b12db.e4ae8e",
1000     "wires": [["60059d22.c2ba54"]]
1001   },
1002   {
1003     "id": "956742c7.415fd",
1004     "type": "set",
1005     "name": "Set error message",
1006     "xml": "<set>\n<parameter name='error-message' value=\"`'Running configuration not found in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>",
1007     "comments": "",
1008     "x": 1891.1346130371094,
1009     "y": 979.9603943824768,
1010     "z": "214b12db.e4ae8e",
1011     "wires": []
1012   },
1013   {
1014     "id": "694c898b.ddbd58",
1015     "type": "record",
1016     "name": "record cvass",
1017     "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`\"/>",
1018     "comments": "",
1019     "outputs": 1,
1020     "x": 2417.917697906494,
1021     "y": 1007.1834092140198,
1022     "z": "214b12db.e4ae8e",
1023     "wires": [["e96f6416.e57a18",
1024       "9939c991.265c38"]]
1025   },
1026   {
1027     "id": "900e8879.a7b3f8",
1028     "type": "returnFailure",
1029     "name": "return failure",
1030     "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
1031     "comments": "",
1032     "x": 2636.6667404174805,
1033     "y": 938.7069244384766,
1034     "z": "214b12db.e4ae8e",
1035     "wires": []
1036   },
1037   {
1038     "id": "4c75663f.43f0d8",
1039     "type": "execute",
1040     "name": "execute CheckFileCreated",
1041     "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='checkFileCreated' >\n<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />",
1042     "comments": "",
1043     "outputs": 1,
1044     "x": 2490.933391571045,
1045     "y": 1143.9486117362976,
1046     "z": "214b12db.e4ae8e",
1047     "wires": [["a473caa6.56a5f8",
1048       "18a86d58.a2caa3",
1049       "3498054b.73705a"]]
1050   },
1051   {
1052     "id": "4f4d3434.694adc",
1053     "type": "block",
1054     "name": "block : atomic",
1055     "xml": "<block atomic='true'>",
1056     "atomic": "false",
1057     "comments": "",
1058     "outputs": 1,
1059     "x": 2965.4338912963867,
1060     "y": 1122.9491600990295,
1061     "z": "214b12db.e4ae8e",
1062     "wires": [["8b90be34.c5f61",
1063       "cab8f54e.ec65e8",
1064       "feccd180.68417",
1065       "cd47c223.a0626"]]
1066   },
1067   {
1068     "id": "8b90be34.c5f61",
1069     "type": "set",
1070     "name": "Set error message",
1071     "xml": "<set>\n<parameter name='error-message' value=\"`'Cvass file could not be created'`\"/>",
1072     "comments": "",
1073     "x": 3205.9892539978027,
1074     "y": 1070.8379549980164,
1075     "z": "214b12db.e4ae8e",
1076     "wires": []
1077   },
1078   {
1079     "id": "feccd180.68417",
1080     "type": "record",
1081     "name": "Log error",
1082     "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",
1083     "comments": "",
1084     "outputs": 1,
1085     "x": 3182.3132286071777,
1086     "y": 1122.4345178604126,
1087     "z": "214b12db.e4ae8e",
1088     "wires": [[]]
1089   },
1090   {
1091     "id": "cab8f54e.ec65e8",
1092     "type": "execute",
1093     "name": "Report Error to DCAE",
1094     "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
1095     "comments": "",
1096     "outputs": 1,
1097     "x": 3216.8359298706055,
1098     "y": 1174.6844897270203,
1099     "z": "214b12db.e4ae8e",
1100     "wires": [[]]
1101   },
1102   {
1103     "id": "18a86d58.a2caa3",
1104     "type": "failure",
1105     "name": "failure",
1106     "xml": "<outcome value='failure'>\n",
1107     "comments": "",
1108     "outputs": 1,
1109     "x": 2745.9338912963867,
1110     "y": 1097.9491291046143,
1111     "z": "214b12db.e4ae8e",
1112     "wires": [["4f4d3434.694adc"]]
1113   },
1114   {
1115     "id": "a473caa6.56a5f8",
1116     "type": "not-found",
1117     "name": "not-found",
1118     "xml": "<outcome value='not-found'>\n",
1119     "comments": "",
1120     "outputs": 1,
1121     "x": 2754.9335975646973,
1122     "y": 1154.9489903450012,
1123     "z": "214b12db.e4ae8e",
1124     "wires": [["4f4d3434.694adc"]]
1125   },
1126   {
1127     "id": "3498054b.73705a",
1128     "type": "success",
1129     "name": "success",
1130     "xml": "<outcome value='success'>\n",
1131     "comments": "",
1132     "outputs": 1,
1133     "x": 2761.933582305908,
1134     "y": 1207.9490694999695,
1135     "z": "214b12db.e4ae8e",
1136     "wires": [[]]
1137   },
1138   {
1139     "id": "9fa2a21b.8af7c",
1140     "type": "block",
1141     "name": "block : atomic",
1142     "xml": "<block atomic='true'>",
1143     "atomic": "true",
1144     "comments": "",
1145     "outputs": 1,
1146     "x": 2456.3336868286133,
1147     "y": 883.1828720569611,
1148     "z": "214b12db.e4ae8e",
1149     "wires": [["900e8879.a7b3f8",
1150       "8652a63d.1ea618"]]
1151   },
1152   {
1153     "id": "8652a63d.1ea618",
1154     "type": "execute",
1155     "name": "Report error to DCAE",
1156     "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=\"Error while fetching cvass data\" />",
1157     "comments": "",
1158     "outputs": 1,
1159     "x": 2655.238349914551,
1160     "y": 840.5637314319611,
1161     "z": "214b12db.e4ae8e",
1162     "wires": [[]]
1163   },
1164   {
1165     "id": "e96f6416.e57a18",
1166     "type": "failure",
1167     "name": "failure",
1168     "xml": "<outcome value='failure'>\n",
1169     "comments": "",
1170     "outputs": 1,
1171     "x": 2254.933277130127,
1172     "y": 1124.9486260414124,
1173     "z": "214b12db.e4ae8e",
1174     "wires": [["4c75663f.43f0d8"]]
1175   },
1176   {
1177     "id": "9939c991.265c38",
1178     "type": "success",
1179     "name": "success",
1180     "xml": "<outcome value='success'>\n",
1181     "comments": "",
1182     "outputs": 1,
1183     "x": 2255.9330825805664,
1184     "y": 1167.9487557411194,
1185     "z": "214b12db.e4ae8e",
1186     "wires": [["4c75663f.43f0d8"]]
1187   },
1188   {
1189     "id": "de31ac1.3cad05",
1190     "type": "returnFailure",
1191     "name": "return failure",
1192     "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",
1193     "comments": "",
1194     "x": 1875.5276527404785,
1195     "y": 1128.9689564704895,
1196     "z": "214b12db.e4ae8e",
1197     "wires": []
1198   },
1199   {
1200     "id": "ce132d3c.9e7bb",
1201     "type": "execute",
1202     "name": "Report Error to DCAE",
1203     "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
1204     "comments": "",
1205     "outputs": 1,
1206     "x": 1900.7669982910156,
1207     "y": 1077.7808966636658,
1208     "z": "214b12db.e4ae8e",
1209     "wires": [[]]
1210   },
1211   {
1212     "id": "cb484414.952458",
1213     "type": "execute",
1214     "name": "Set payload in Context",
1215     "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",
1216     "comments": "",
1217     "outputs": 1,
1218     "x": 726.6667137145996,
1219     "y": 116.74999856948853,
1220     "z": "214b12db.e4ae8e",
1221     "wires": [["b20f9d10.79243",
1222       "c4b37771.d26c18",
1223       "b02ba377.938ab",
1224       "d871965c.fc6f98"]]
1225   },
1226   {
1227     "id": "c4b37771.d26c18",
1228     "type": "other",
1229     "name": "other",
1230     "xml": "<outcome value='Other'>\n",
1231     "comments": "",
1232     "outputs": 1,
1233     "x": 1016.6667289733887,
1234     "y": 58.99999761581421,
1235     "z": "214b12db.e4ae8e",
1236     "wires": [["507fcd18.8ae1c4"]]
1237   },
1238   {
1239     "id": "b02ba377.938ab",
1240     "type": "failure",
1241     "name": "failure",
1242     "xml": "<outcome value='failure'>\n",
1243     "comments": "",
1244     "outputs": 1,
1245     "x": 1017.6667289733887,
1246     "y": 108.99999761581421,
1247     "z": "214b12db.e4ae8e",
1248     "wires": [["507fcd18.8ae1c4"]]
1249   },
1250   {
1251     "id": "d871965c.fc6f98",
1252     "type": "not-found",
1253     "name": "not-found",
1254     "xml": "<outcome value='not-found'>\n",
1255     "comments": "",
1256     "outputs": 1,
1257     "x": 1010.6667289733887,
1258     "y": 164.00001287460327,
1259     "z": "214b12db.e4ae8e",
1260     "wires": [["507fcd18.8ae1c4"]]
1261   },
1262   {
1263     "id": "b20f9d10.79243",
1264     "type": "success",
1265     "name": "success",
1266     "xml": "<outcome value='success'>\n",
1267     "comments": "",
1268     "outputs": 1,
1269     "x": 1007.6667900085449,
1270     "y": 219.750009059906,
1271     "z": "214b12db.e4ae8e",
1272     "wires": [["f5cfbdb3.30a63"]]
1273   },
1274   {
1275     "id": "507fcd18.8ae1c4",
1276     "type": "block",
1277     "name": "block",
1278     "xml": "<block atomic='true'>",
1279     "atomic": "true",
1280     "comments": "",
1281     "outputs": 1,
1282     "x": 1224.3333702087402,
1283     "y": 151.99999952316284,
1284     "z": "214b12db.e4ae8e",
1285     "wires": [["2a1493.66c87b6e",
1286       "861e0870.0e6308"]]
1287   },
1288   {
1289     "id": "861e0870.0e6308",
1290     "type": "execute",
1291     "name": "OutputMessageBuilder",
1292     "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\" />",
1293     "comments": "",
1294     "outputs": 1,
1295     "x": 1454.6664390563965,
1296     "y": 103.88888502120972,
1297     "z": "214b12db.e4ae8e",
1298     "wires": [["b958118a.b4c35"]]
1299   },
1300   {
1301     "id": "2a1493.66c87b6e",
1302     "type": "returnFailure",
1303     "name": "return failure",
1304     "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
1305     "comments": "",
1306     "x": 1421.666316986084,
1307     "y": 152.52372694015503,
1308     "z": "214b12db.e4ae8e",
1309     "wires": []
1310   },
1311   {
1312     "id": "b958118a.b4c35",
1313     "type": "success",
1314     "name": "success",
1315     "xml": "<outcome value='success'>\n",
1316     "comments": "",
1317     "outputs": 1,
1318     "x": 1662.7614707946777,
1319     "y": 103.17462110519409,
1320     "z": "214b12db.e4ae8e",
1321     "wires": [["61a0d1cf.928f8"]]
1322   },
1323   {
1324     "id": "61a0d1cf.928f8",
1325     "type": "execute",
1326     "name": "Report Error to DCAE",
1327     "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"event-message\" value=\"`$event-message`\" />",
1328     "comments": "",
1329     "outputs": 1,
1330     "x": 1864.3330039978027,
1331     "y": 102.88888502120972,
1332     "z": "214b12db.e4ae8e",
1333     "wires": [[]]
1334   },
1335   {
1336     "id": "cd47c223.a0626",
1337     "type": "returnFailure",
1338     "name": "return failure",
1339     "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",
1340     "comments": "",
1341     "x": 3202.333251953125,
1342     "y": 1273,
1343     "z": "214b12db.e4ae8e",
1344     "wires": []
1345   }]