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