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