Corrections to SqlResource path
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / main / resources / json / APPC / APPC_Generic_Configure.json
1 [
2     {
3         "id": "e1702b02.68c36",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 82.5,
8         "y": 39,
9         "z": "672164f1.b5c534",
10         "wires": [["c0473313.dd2c5"]
11         ]
12     }, {
13         "id": "c0473313.dd2c5",
14         "type": "service-logic",
15         "name": "APPC 4.0.0",
16         "module": "APPC",
17         "version": "4.0.0",
18         "comments": "",
19         "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='4.0.0'>",
20         "outputs": 1,
21         "x": 245.5,
22         "y": 29,
23         "z": "672164f1.b5c534",
24         "wires": [["5e833209.a4de04"]
25         ]
26     }, {
27         "id": "5e833209.a4de04",
28         "type": "method",
29         "name": "method Generic_Configure",
30         "xml": "<method rpc='Generic_Configure' mode='sync'>\n",
31         "comments": "",
32         "outputs": 1,
33         "x": 460.5,
34         "y": 21,
35         "z": "672164f1.b5c534",
36         "wires": [["55219542.2207cc"]
37         ]
38     }, {
39         "id": "55219542.2207cc",
40         "type": "block",
41         "name": "block : atomic",
42         "xml": "<block atomic=\"true\">",
43         "atomic": "true",
44         "outputs": 1,
45         "x": 79.5,
46         "y": 164.33332538604736,
47         "z": "672164f1.b5c534",
48         "wires": [["bdcbae80.7c77e", "1390e8d3.cf050f", "be6cbba5.39eb28", "a3e5cec4.d36b18", "1f6bd833.d3d578", "340d308.417f1d", "162fc1e8.dd0ece", "a4e7b53d.c77e", "7b450825.82df6"]
49         ]
50     }, {
51         "id": "bdcbae80.7c77e",
52         "type": "call",
53         "name": "call: DownloadConfig",
54         "xml": "<call module=\"APPC\" rpc=\"`$tmp.configureactiondg.DOWNLOAD-CONFIG-DG`\" mode=\"sync\">",
55         "comments": "",
56         "outputs": 1,
57         "x": 251.0872802734375,
58         "y": 885.5873413085938,
59         "z": "672164f1.b5c534",
60         "wires": [["3bc919ab.cb99ae", "c0c5c085.42dec", "31281c49.cd3134"]
61         ]
62     }, {
63         "id": "3bc919ab.cb99ae",
64         "type": "failure",
65         "name": "failure",
66         "xml": "<outcome value='failure'>\n",
67         "comments": "",
68         "outputs": 1,
69         "x": 492.452392578125,
70         "y": 780.6824951171875,
71         "z": "672164f1.b5c534",
72         "wires": [["ad3469d5.fc5a78"]
73         ]
74     }, {
75         "id": "c0c5c085.42dec",
76         "type": "failure",
77         "name": "not-found",
78         "xml": "<outcome value='not-found'>\n",
79         "comments": "",
80         "outputs": 1,
81         "x": 492.41668701171875,
82         "y": 876.5001220703125,
83         "z": "672164f1.b5c534",
84         "wires": [["625b0cb6.92403c"]
85         ]
86     }, {
87         "id": "31281c49.cd3134",
88         "type": "success",
89         "name": " success",
90         "xml": "<outcome value=\"success\">",
91         "comments": "",
92         "outputs": 1,
93         "x": 504.75,
94         "y": 948.8333740234375,
95         "z": "672164f1.b5c534",
96         "wires": [["d057ca8.6b5f838"]
97         ]
98     }, {
99         "id": "ad3469d5.fc5a78",
100         "type": "block",
101         "name": "block : atomic",
102         "xml": "<block atomic=\"true\">",
103         "atomic": "true",
104         "outputs": 1,
105         "x": 726.8333129882812,
106         "y": 781.1904907226562,
107         "z": "672164f1.b5c534",
108         "wires": [["442e79b5.66163", "83d73f41.1ccac", "b26d1130.7fb838"]
109         ]
110     }, {
111         "id": "625b0cb6.92403c",
112         "type": "block",
113         "name": "block : atomic",
114         "xml": "<block atomic=\"true\">",
115         "atomic": "true",
116         "outputs": 1,
117         "x": 739.3333129882812,
118         "y": 836.666748046875,
119         "z": "672164f1.b5c534",
120         "wires": [["67b9051d.6ff124"]
121         ]
122     }, {
123         "id": "d057ca8.6b5f838",
124         "type": "block",
125         "name": "block : atomic",
126         "xml": "<block atomic=\"true\">",
127         "atomic": "true",
128         "outputs": 1,
129         "x": 760.75,
130         "y": 965.0833740234375,
131         "z": "672164f1.b5c534",
132         "wires": [["7ccfd7d2.0672b", "f0728239.b644", "ffc183fc.d618b8", "97945525.9921c8"]
133         ]
134     }, {
135         "id": "442e79b5.66163",
136         "type": "record",
137         "name": "record",
138         "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`'error-code = ' + $error-code`\" />\n<parameter name=\"field3\" value=\"`'error-message = ' + $error-message`\" />\n",
139         "comments": "",
140         "outputs": 1,
141         "x": 983.7222900390625,
142         "y": 653.5555419921875,
143         "z": "672164f1.b5c534",
144         "wires": [[]
145         ]
146     }, {
147         "id": "67b9051d.6ff124",
148         "type": "returnFailure",
149         "name": "return failure",
150         "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`'DG Workflow ' + $tmp.configureactiondg.DOWNLOAD-CONFIG-DG + ' not found'`\"/>\n\t",
151         "comments": "",
152         "x": 1008.75,
153         "y": 804.4166870117188,
154         "z": "672164f1.b5c534",
155         "wires": []
156     }, {
157         "id": "7ccfd7d2.0672b",
158         "type": "record",
159         "name": "record",
160         "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`'error-code = ' + $error-code`\" />\n<parameter name=\"field3\" value=\"`'error-message = ' + $error-message`\" />\n<parameter name=\"field4\" value=\"ACTIVATESUCCESS\" />",
161         "comments": "",
162         "outputs": 1,
163         "x": 991.25,
164         "y": 887.8333740234375,
165         "z": "672164f1.b5c534",
166         "wires": [[]
167         ]
168     }, {
169         "id": "83d73f41.1ccac",
170         "type": "returnFailure",
171         "name": "return failure",
172         "xml": "<return status=\"failure\">\n\t",
173         "comments": "",
174         "x": 1007.27783203125,
175         "y": 762.111083984375,
176         "z": "672164f1.b5c534",
177         "wires": []
178     }, {
179         "id": "1390e8d3.cf050f",
180         "type": "set",
181         "name": "set Download params with login",
182         "xml": "<set>\n<parameter name='host-ip-address' value='`$tmp-host-ip-address`' />\n<parameter name='device-login' value='`$property.user`' />\n<parameter name='device-password' value='`$property.password`' />\n<parameter name='port-number' value='`$property.port`' />\n<parameter name='protocol' value='`$tmp.deviceinterfaceprotocol.PROTOCOL`' />\n<parameter name='device-config' value='`$deviceconfig-file-content`' />\n",
183         "comments": "",
184         "x": 323.9602966308594,
185         "y": 640.2538452148438,
186         "z": "672164f1.b5c534",
187         "wires": []
188     }, {
189         "id": "f0728239.b644",
190         "type": "set",
191         "name": "set error-code 400 and message",
192         "xml": "<set>\n<parameter name='error-code' value='400' />\n<parameter name=\"error-message\" value=\"SUCCESS - request has been processed successfully\" />\n",
193         "comments": "",
194         "x": 1055.083251953125,
195         "y": 843.0000610351562,
196         "z": "672164f1.b5c534",
197         "wires": []
198     }, {
199         "id": "525614da.716174",
200         "type": "comment",
201         "name": "ConfigCompAdaptor resets error code for success cases",
202         "info": "",
203         "comments": "",
204         "x": 1414.25,
205         "y": 813.0000610351562,
206         "z": "672164f1.b5c534",
207         "wires": []
208     }, {
209         "id": "be6cbba5.39eb28",
210         "type": "execute",
211         "name": "execute saveTxLog",
212         "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"get Config Info\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
213         "comments": "",
214         "outputs": 1,
215         "x": 417.48406982421875,
216         "y": 142.20639038085938,
217         "z": "672164f1.b5c534",
218         "wires": [["e1bbeb54.ccc45"]
219         ]
220     }, {
221         "id": "ffc183fc.d618b8",
222         "type": "execute",
223         "name": "execute saveTxLog",
224         "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"400: Download of Config file is Successful\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
225         "comments": "",
226         "outputs": 1,
227         "x": 1002.5,
228         "y": 940.4166870117188,
229         "z": "672164f1.b5c534",
230         "wires": [["cc0a3ea8.73a82"]
231         ]
232     }, {
233         "id": "6d2c6e24.0a1d68",
234         "type": "execute",
235         "name": "execute saveTxLog",
236         "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
237         "comments": "",
238         "outputs": 1,
239         "x": 1760.388916015625,
240         "y": 804.2222290039062,
241         "z": "672164f1.b5c534",
242         "wires": [[]
243         ]
244     }, {
245         "id": "6e9aaf18.d8d1b8",
246         "type": "set",
247         "name": "set tmp.message",
248         "xml": "<set>\n<parameter name='tmp.message' value=\"`'Download Failure : ' + $error-code + ' : ' + $error-message`\" />\n",
249         "comments": "",
250         "x": 1748.6109619140625,
251         "y": 740.5555419921875,
252         "z": "672164f1.b5c534",
253         "wires": []
254     }, {
255         "id": "b26d1130.7fb838",
256         "type": "switchNode",
257         "name": "switch: error-code",
258         "xml": "<switch test=\"`$error-code`\">\n",
259         "comments": "",
260         "outputs": 1,
261         "x": 1010.4998779296875,
262         "y": 711.6666259765625,
263         "z": "672164f1.b5c534",
264         "wires": [["d8e002b3.d34c3", "f1e440d2.1d1bf8"]
265         ]
266     }, {
267         "id": "d8e002b3.d34c3",
268         "type": "success",
269         "name": "outcome: 400",
270         "xml": "<outcome value=\"400\">",
271         "comments": "",
272         "outputs": 1,
273         "x": 1295.166748046875,
274         "y": 697.3333129882812,
275         "z": "672164f1.b5c534",
276         "wires": [["601f657b.528d94"]
277         ]
278     }, {
279         "id": "601f657b.528d94",
280         "type": "block",
281         "name": "block : atomic",
282         "xml": "<block atomic=\"true\">",
283         "atomic": "true",
284         "outputs": 1,
285         "x": 1529.1666259765625,
286         "y": 693.888916015625,
287         "z": "672164f1.b5c534",
288         "wires": [[]
289         ]
290     }, {
291         "id": "f1e440d2.1d1bf8",
292         "type": "success",
293         "name": "outcome: Other",
294         "xml": "<outcome value=\"Other\">",
295         "comments": "",
296         "outputs": 1,
297         "x": 1297.1666259765625,
298         "y": 764.111083984375,
299         "z": "672164f1.b5c534",
300         "wires": [["d6b85703.8eadf8"]
301         ]
302     }, {
303         "id": "d6b85703.8eadf8",
304         "type": "block",
305         "name": "block : atomic",
306         "xml": "<block atomic=\"true\">",
307         "atomic": "true",
308         "outputs": 1,
309         "x": 1537.611083984375,
310         "y": 761.2222290039062,
311         "z": "672164f1.b5c534",
312         "wires": [["6e9aaf18.d8d1b8", "6d2c6e24.0a1d68"]
313         ]
314     }, {
315         "id": "1ccf22d4.de686d",
316         "type": "comment",
317         "name": "ISBC cases returns failure to stop polling",
318         "info": "",
319         "comments": "",
320         "x": 1549.1665344238281,
321         "y": 265.5555238723755,
322         "z": "672164f1.b5c534",
323         "wires": []
324     }, {
325         "id": "cc0a3ea8.73a82",
326         "type": "failure",
327         "name": "failure",
328         "xml": "<outcome value='failure'>\n",
329         "comments": "",
330         "outputs": 1,
331         "x": 1235.4166259765625,
332         "y": 905.0000610351562,
333         "z": "672164f1.b5c534",
334         "wires": [["5bda7281.8da2c4"]
335         ]
336     }, {
337         "id": "5bda7281.8da2c4",
338         "type": "block",
339         "name": "block : atomic",
340         "xml": "<block atomic=\"true\">",
341         "atomic": "true",
342         "outputs": 1,
343         "x": 1462,
344         "y": 902.5000610351562,
345         "z": "672164f1.b5c534",
346         "wires": [[]
347         ]
348     }, {
349         "id": "e1bbeb54.ccc45",
350         "type": "failure",
351         "name": "failure",
352         "xml": "<outcome value='failure'>\n",
353         "comments": "",
354         "outputs": 1,
355         "x": 583.1666870117188,
356         "y": 166.6666259765625,
357         "z": "672164f1.b5c534",
358         "wires": [["c7abf68e.d4ebc"]
359         ]
360     }, {
361         "id": "c7abf68e.d4ebc",
362         "type": "block",
363         "name": "block : atomic",
364         "xml": "<block atomic=\"true\">",
365         "atomic": "true",
366         "outputs": 1,
367         "x": 734.388916015625,
368         "y": 165.5555419921875,
369         "z": "672164f1.b5c534",
370         "wires": [[]
371         ]
372     }, {
373         "id": "97945525.9921c8",
374         "type": "block",
375         "name": "block : atomic",
376         "xml": "<block atomic=\"true\">",
377         "atomic": "true",
378         "outputs": 1,
379         "x": 997.5,
380         "y": 1018.6665649414062,
381         "z": "672164f1.b5c534",
382         "wires": [["e539ffc.4a5c8", "3645eea2.23c422"]
383         ]
384     }, {
385         "id": "3645eea2.23c422",
386         "type": "call",
387         "name": "call: SaveRunningConfig",
388         "xml": "<call module=\"APPC\" rpc=\"SaveRunningConfig\" mode=\"sync\">",
389         "comments": "",
390         "outputs": 1,
391         "x": 1251.25,
392         "y": 952.4999389648438,
393         "z": "672164f1.b5c534",
394         "wires": [["d47766c.a9e8f18"]
395         ]
396     }, {
397         "id": "e539ffc.4a5c8",
398         "type": "switchNode",
399         "name": "switch: request-action",
400         "xml": "<switch test=\"`$request-action`\">\n",
401         "comments": "",
402         "outputs": 1,
403         "x": 1219.9998779296875,
404         "y": 1048.1665649414062,
405         "z": "672164f1.b5c534",
406         "wires": [["680c9e09.9e9b7", "58f73e6d.91ff3", "8032f43e.b93c2"]
407         ]
408     }, {
409         "id": "680c9e09.9e9b7",
410         "type": "other",
411         "name": "Configure",
412         "xml": "<outcome value='Configure'>",
413         "comments": "",
414         "outputs": 1,
415         "x": 1468.2498779296875,
416         "y": 995.0831909179688,
417         "z": "672164f1.b5c534",
418         "wires": [["f8f3ebb6.6a7fa8"]
419         ]
420     }, {
421         "id": "58f73e6d.91ff3",
422         "type": "other",
423         "name": "ConfigScale",
424         "xml": "<outcome value='ConfigScale'>",
425         "comments": "",
426         "outputs": 1,
427         "x": 1469,
428         "y": 1043.16650390625,
429         "z": "672164f1.b5c534",
430         "wires": [["f8f3ebb6.6a7fa8"]
431         ]
432     }, {
433         "id": "f8f3ebb6.6a7fa8",
434         "type": "block",
435         "name": "block : atomic",
436         "xml": "<block atomic=\"true\">",
437         "atomic": "true",
438         "outputs": 1,
439         "x": 1758.41650390625,
440         "y": 1022.2498779296875,
441         "z": "672164f1.b5c534",
442         "wires": [["5a4163e2.78fc44"]
443         ]
444     }, {
445         "id": "5a4163e2.78fc44",
446         "type": "call",
447         "name": "call: UpdateAaiInfo",
448         "xml": "<call module=\"APPC\" rpc=\"UpdateAaiInfo\" mode=\"sync\">",
449         "comments": "",
450         "outputs": 1,
451         "x": 816.83349609375,
452         "y": 1254.5831909179688,
453         "z": "672164f1.b5c534",
454         "wires": [["44edc7c1.4be9f"]
455         ]
456     }, {
457         "id": "44edc7c1.4be9f",
458         "type": "not-found",
459         "name": "not-found",
460         "xml": "<outcome value='not-found'>\n",
461         "comments": "",
462         "outputs": 1,
463         "x": 994.416748046875,
464         "y": 1223.8331909179688,
465         "z": "672164f1.b5c534",
466         "wires": [["f13cf115.25f58"]
467         ]
468     }, {
469         "id": "f13cf115.25f58",
470         "type": "block",
471         "name": "block : atomic",
472         "xml": "<block atomic=\"true\">",
473         "atomic": "true",
474         "comments": "",
475         "outputs": 1,
476         "x": 1197.583251953125,
477         "y": 1226.4164428710938,
478         "z": "672164f1.b5c534",
479         "wires": [["a8e999d2.e2b12", "6ce22398.19d3b4"]
480         ]
481     }, {
482         "id": "a8e999d2.e2b12",
483         "type": "set",
484         "name": "set:  dcae-error message",
485         "xml": "<set>\n\t  <parameter name=\"dcae-error-message\" value=\"DG Workflow UpdateAaiInfo not found\"/>\n\t  ",
486         "comments": "",
487         "x": 1433.75,
488         "y": 1199.9998168945312,
489         "z": "672164f1.b5c534",
490         "wires": []
491     }, {
492         "id": "6ce22398.19d3b4",
493         "type": "record",
494         "name": "record",
495         "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n",
496         "comments": "",
497         "outputs": 1,
498         "x": 1384.6666259765625,
499         "y": 1261.2498168945312,
500         "z": "672164f1.b5c534",
501         "wires": [[]
502         ]
503     }, {
504         "id": "ad16c81e.3c39a",
505         "type": "block",
506         "name": "block : atomic",
507         "xml": "<block atomic=\"true\">",
508         "atomic": "true",
509         "comments": "",
510         "outputs": 1,
511         "x": 1694.583251953125,
512         "y": 942.6665649414062,
513         "z": "672164f1.b5c534",
514         "wires": [["51039d38.2ad664", "8f3913d9.f83b7"]
515         ]
516     }, {
517         "id": "d47766c.a9e8f18",
518         "type": "not-found",
519         "name": "not-found",
520         "xml": "<outcome value='not-found'>\n",
521         "comments": "",
522         "outputs": 1,
523         "x": 1465.083251953125,
524         "y": 947.4165649414062,
525         "z": "672164f1.b5c534",
526         "wires": [["ad16c81e.3c39a"]
527         ]
528     }, {
529         "id": "51039d38.2ad664",
530         "type": "set",
531         "name": "set:  dcae-error message",
532         "xml": "<set>\n\t  <parameter name=\"dcae-error-message\" value=\"DG Workflow SaveRunningConfig not found\"/>\n\t ",
533         "comments": "",
534         "x": 1933.5,
535         "y": 911.9165649414062,
536         "z": "672164f1.b5c534",
537         "wires": []
538     }, {
539         "id": "8f3913d9.f83b7",
540         "type": "record",
541         "name": "record",
542         "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n",
543         "comments": "",
544         "outputs": 1,
545         "x": 1901.9998779296875,
546         "y": 971.7499389648438,
547         "z": "672164f1.b5c534",
548         "wires": [[]
549         ]
550     }, {
551         "id": "a3e5cec4.d36b18",
552         "type": "execute",
553         "name": "execute getCommonConfigInfo",
554         "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getCommonConfigInfo\">\n<parameter name=\"responsePrefix\" value=\"tmp.commonConfigInfo\" />\n",
555         "comments": "",
556         "outputs": 1,
557         "x": 458.70635986328125,
558         "y": 96.047607421875,
559         "z": "672164f1.b5c534",
560         "wires": [["2368b96f.f3ae96", "d4c176f7.6a3d58"]
561         ]
562     }, {
563         "id": "2368b96f.f3ae96",
564         "type": "other",
565         "name": "other",
566         "xml": "<outcome value='Other'>\n",
567         "comments": "",
568         "outputs": 1,
569         "x": 728.27783203125,
570         "y": 73.66664123535156,
571         "z": "672164f1.b5c534",
572         "wires": [["640258d9.5e6ca8"]
573         ]
574     }, {
575         "id": "640258d9.5e6ca8",
576         "type": "block",
577         "name": "block",
578         "xml": "<block>\n",
579         "atomic": "false",
580         "comments": "",
581         "outputs": 1,
582         "x": 865.27783203125,
583         "y": 77.66664123535156,
584         "z": "672164f1.b5c534",
585         "wires": [["c7c2f559.037d6"]
586         ]
587     }, {
588         "id": "c7c2f559.037d6",
589         "type": "record",
590         "name": "record",
591         "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`$request-action`\"/>\n<parameter name=\"field3\" value=\"`$input.action`\"/>\n\n",
592         "comments": "",
593         "outputs": 1,
594         "x": 1016.27783203125,
595         "y": 74.66664123535156,
596         "z": "672164f1.b5c534",
597         "wires": [[]
598         ]
599     }, {
600         "id": "d4c176f7.6a3d58",
601         "type": "failure",
602         "name": "failure",
603         "xml": "<outcome value='failure'>\n",
604         "comments": "",
605         "outputs": 1,
606         "x": 726.2777404785156,
607         "y": 123.80950927734375,
608         "z": "672164f1.b5c534",
609         "wires": [["a249251d.599d3"]
610         ]
611     }, {
612         "id": "a249251d.599d3",
613         "type": "block",
614         "name": "block",
615         "xml": "<block>\n",
616         "atomic": "false",
617         "comments": "",
618         "outputs": 1,
619         "x": 857.611083984375,
620         "y": 136.00003051757812,
621         "z": "672164f1.b5c534",
622         "wires": [["48ba7f7f.85a5e"]
623         ]
624     }, {
625         "id": "48ba7f7f.85a5e",
626         "type": "returnFailure",
627         "name": "return failure",
628         "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"DG Workflow GetAaiInfo not found\"/>\n\t",
629         "comments": "",
630         "x": 1015.2776794433594,
631         "y": 140.7142333984375,
632         "z": "672164f1.b5c534",
633         "wires": []
634     }, {
635         "id": "96902d7d.f094a8",
636         "type": "execute",
637         "name": "execute params",
638         "xml": " <execute plugin=\"org.onap.appc.encryptiontool.wrapper.EncryptionToolDGWrapper\" method =\"getProperty\">\n <parameter name=\"prefix\" value =\"property\"/>\n\n \n  ",
639         "comments": "",
640         "outputs": 1,
641         "x": 448.0038757324219,
642         "y": 359.92860412597656,
643         "z": "672164f1.b5c534",
644         "wires": [["8f082d37.ae0d8", "374d1ce4.f078bc"]
645         ]
646     }, {
647         "id": "8f082d37.ae0d8",
648         "type": "failure",
649         "name": "failure",
650         "xml": "<outcome value='failure'>\n",
651         "comments": "",
652         "outputs": 1,
653         "x": 603.4682312011719,
654         "y": 336.5357208251953,
655         "z": "672164f1.b5c534",
656         "wires": [["9e197b8e.352ff8"]
657         ]
658     }, {
659         "id": "374d1ce4.f078bc",
660         "type": "not-found",
661         "name": "not-found",
662         "xml": "<outcome value='not-found'>\n",
663         "comments": "",
664         "outputs": 1,
665         "x": 606.8611145019531,
666         "y": 372.2498321533203,
667         "z": "672164f1.b5c534",
668         "wires": [["9e197b8e.352ff8"]
669         ]
670     }, {
671         "id": "9e197b8e.352ff8",
672         "type": "block",
673         "name": "block",
674         "xml": "<block>\n",
675         "atomic": "false",
676         "comments": "",
677         "outputs": 1,
678         "x": 786.8610534667969,
679         "y": 338.85716247558594,
680         "z": "672164f1.b5c534",
681         "wires": [["f6be830e.2f3fa"]
682         ]
683     }, {
684         "id": "f6be830e.2f3fa",
685         "type": "returnFailure",
686         "name": "return failure",
687         "xml": "<return status=\"failure\">\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"`$property.error-message`\" />",
688         "comments": "",
689         "x": 955.2538757324219,
690         "y": 330.8214569091797,
691         "z": "672164f1.b5c534",
692         "wires": []
693     }, {
694         "id": "1f6bd833.d3d578",
695         "type": "get-resource",
696         "name": "get-resource: APPC.protocol",
697         "xml": "<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT DISTINCT PROTOCOL FROM PROTOCOL_REFERENCE WHERE ACTION = $input.action AND VNF_TYPE = $vnf-type ;\"\n    force='true'\n\tpfx='APPC.protocol'>\n",
698         "comments": "",
699         "outputs": 1,
700         "x": 416.64276123046875,
701         "y": 191.85719299316406,
702         "z": "672164f1.b5c534",
703         "wires": [["e2797955.6ef4f", "8c1cf969.8870c8"]
704         ]
705     }, {
706         "id": "e2797955.6ef4f",
707         "type": "failure",
708         "name": "failure",
709         "xml": "<outcome value='failure'>\n",
710         "comments": "",
711         "outputs": 1,
712         "x": 634.5,
713         "y": 209,
714         "z": "672164f1.b5c534",
715         "wires": [["e9e70e2c.32182"]
716         ]
717     }, {
718         "id": "e9e70e2c.32182",
719         "type": "block",
720         "name": "block",
721         "xml": "<block>\n",
722         "atomic": "false",
723         "comments": "",
724         "outputs": 1,
725         "x": 764.5,
726         "y": 206,
727         "z": "672164f1.b5c534",
728         "wires": [[]
729         ]
730     }, {
731         "id": "8c1cf969.8870c8",
732         "type": "success",
733         "name": "success",
734         "xml": "<outcome value='success'>\n",
735         "comments": "",
736         "outputs": 1,
737         "x": 636.5,
738         "y": 249,
739         "z": "672164f1.b5c534",
740         "wires": [["cbdcf23e.9de888"]
741         ]
742     }, {
743         "id": "cbdcf23e.9de888",
744         "type": "set",
745         "name": "set protocol",
746         "xml": "<set>\n<parameter name='APPC.protocol.PROTOCOL' value='`$APPC.protocol.PROTOCOL`' />\n\n\n\n\n\n",
747         "comments": "",
748         "x": 816.5,
749         "y": 246,
750         "z": "672164f1.b5c534",
751         "wires": []
752     }, {
753         "id": "340d308.417f1d",
754         "type": "record",
755         "name": "record",
756         "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name='field2' value='`$APPC.protocol.PROTOCOL`'/>",
757         "comments": "",
758         "outputs": 1,
759         "x": 358.6428527832031,
760         "y": 237.85716247558594,
761         "z": "672164f1.b5c534",
762         "wires": [[]
763         ]
764     }, {
765         "id": "162fc1e8.dd0ece",
766         "type": "set",
767         "name": "set Download params",
768         "xml": "<set> \n <parameter name='host-ip-address' value='`$tmp-host-ip-address`' />\n <parameter name='device-authentication.USER-NAME' value='`$device-login`' /> \n <parameter name='device-authentication.PASSWORD' value='`$device-password`' /> \n <parameter name='device-authentication.PORT-NUMBER' value='`$port-number`' /> \n <parameter name='protocol' value='`$tmp.deviceinterfaceprotocol.PROTOCOL`' /> \n <parameter name='device-config' value='`$deviceconfig-file-content`' /> \n\n \n ",
769         "comments": "",
770         "x": 292.7856750488281,
771         "y": 703.4285888671875,
772         "z": "672164f1.b5c534",
773         "wires": []
774     }, {
775         "id": "8fed7962.c1fbf8",
776         "type": "other",
777         "name": "other",
778         "xml": "<outcome value='Other'>\n",
779         "comments": "",
780         "outputs": 1,
781         "x": 306.6665344238281,
782         "y": 326.8806915283203,
783         "z": "672164f1.b5c534",
784         "wires": [["96902d7d.f094a8"]
785         ]
786     }, {
787         "id": "a4e7b53d.c77e",
788         "type": "switchNode",
789         "name": "switch : Protocol",
790         "xml": "<switch test=\"`$APPC.protocol.PROTOCOL`\">\n",
791         "comments": "",
792         "outputs": 1,
793         "x": 222.38088989257812,
794         "y": 275.45237731933594,
795         "z": "672164f1.b5c534",
796         "wires": [["c723e27d.4cb868", "8fed7962.c1fbf8"]
797         ]
798     }, {
799         "id": "c723e27d.4cb868",
800         "type": "outcome",
801         "name": "CHEF",
802         "xml": "<outcome value='CHEF'>\n",
803         "comments": "",
804         "outputs": 1,
805         "x": 438.0951843261719,
806         "y": 284.02381896972656,
807         "z": "672164f1.b5c534",
808         "wires": [["852bf086.08e258"]
809         ]
810     }, {
811         "id": "852bf086.08e258",
812         "type": "block",
813         "name": "block : atomic",
814         "xml": "<block atomic=\"true\">",
815         "atomic": "true",
816         "outputs": 1,
817         "x": 652.6666564941406,
818         "y": 285.14283752441406,
819         "z": "672164f1.b5c534",
820         "wires": [[]
821         ]
822     }, {
823         "id": "7b450825.82df6",
824         "type": "switchNode",
825         "name": "switch: IpAddress In Payload",
826         "xml": "<switch test='`$vnf-host-ip-address`'>\n",
827         "comments": "",
828         "outputs": 1,
829         "x": 326.5,
830         "y": 494,
831         "z": "672164f1.b5c534",
832         "wires": [["b74c0c1d.39a6e", "bd5e1de.0ed2be"]
833         ]
834     }, {
835         "id": "b74c0c1d.39a6e",
836         "type": "outcome",
837         "name": "null",
838         "xml": "<outcome value=''>\n",
839         "comments": "",
840         "outputs": 1,
841         "x": 539.5,
842         "y": 458,
843         "z": "672164f1.b5c534",
844         "wires": [["6146b7f8.e3bd38"]
845         ]
846     }, {
847         "id": "bd5e1de.0ed2be",
848         "type": "success",
849         "name": "outcome: Other",
850         "xml": "<outcome value='Other'>",
851         "comments": "",
852         "outputs": 1,
853         "x": 554.5,
854         "y": 532,
855         "z": "672164f1.b5c534",
856         "wires": [["41a0b133.01e19"]
857         ]
858     }, {
859         "id": "6146b7f8.e3bd38",
860         "type": "block",
861         "name": "block",
862         "xml": "<block>",
863         "atomic": "false",
864         "comments": "",
865         "outputs": 1,
866         "x": 707.5,
867         "y": 457,
868         "z": "672164f1.b5c534",
869         "wires": [["db086f77.248118"]
870         ]
871     }, {
872         "id": "41a0b133.01e19",
873         "type": "block",
874         "name": "block",
875         "xml": "<block>",
876         "atomic": "false",
877         "comments": "",
878         "outputs": 1,
879         "x": 730.5,
880         "y": 532,
881         "z": "672164f1.b5c534",
882         "wires": [["334ab267.54c8de"]
883         ]
884     }, {
885         "id": "db086f77.248118",
886         "type": "switchNode",
887         "name": "switch vnfc-type",
888         "xml": "<switch test='`$vnfc-type`'>\n",
889         "comments": "",
890         "outputs": 1,
891         "x": 884.5,
892         "y": 453,
893         "z": "672164f1.b5c534",
894         "wires": [["911d73c2.bc39d", "50cb5986.e18778"]
895         ]
896     }, {
897         "id": "334ab267.54c8de",
898         "type": "set",
899         "name": "set payload ip-address",
900         "xml": "<set>\n<parameter name='tmp-host-ip-address' value='`$vnf-host-ip-address`' />\n",
901         "comments": "",
902         "x": 945.5,
903         "y": 532,
904         "z": "672164f1.b5c534",
905         "wires": []
906     }, {
907         "id": "911d73c2.bc39d",
908         "type": "outcome",
909         "name": "null",
910         "xml": "<outcome value=''>\n",
911         "comments": "",
912         "outputs": 1,
913         "x": 1083.5,
914         "y": 409,
915         "z": "672164f1.b5c534",
916         "wires": [["e395fe1a.0ab418"]
917         ]
918     }, {
919         "id": "50cb5986.e18778",
920         "type": "success",
921         "name": "outcome: Other",
922         "xml": "<outcome value='Other'>",
923         "comments": "",
924         "outputs": 1,
925         "x": 1101.5,
926         "y": 480,
927         "z": "672164f1.b5c534",
928         "wires": [["7bab8d0f.22f39c"]
929         ]
930     }, {
931         "id": "e395fe1a.0ab418",
932         "type": "block",
933         "name": "block",
934         "xml": "<block>",
935         "atomic": "false",
936         "comments": "",
937         "outputs": 1,
938         "x": 1240.5,
939         "y": 407,
940         "z": "672164f1.b5c534",
941         "wires": [["553a5974.6ab79"]
942         ]
943     }, {
944         "id": "553a5974.6ab79",
945         "type": "set",
946         "name": "set vnf ip-address",
947         "xml": "<set>\n<parameter name='tmp-host-ip-address' value='`$tmp.vnfInfo.vnf.ipv4-oam-address`' />\n",
948         "comments": "",
949         "x": 1427.5,
950         "y": 402,
951         "z": "672164f1.b5c534",
952         "wires": []
953     }, {
954         "id": "7bab8d0f.22f39c",
955         "type": "block",
956         "name": "block",
957         "xml": "<block>",
958         "atomic": "false",
959         "comments": "",
960         "outputs": 1,
961         "x": 1264.5,
962         "y": 481,
963         "z": "672164f1.b5c534",
964         "wires": [["6e0daadb.9c7434"]
965         ]
966     }, {
967         "id": "6e0daadb.9c7434",
968         "type": "switchNode",
969         "name": "switch vnfc-type",
970         "xml": "<switch test='`$vnfc-type==$tmp.vnfInfo.vnfcInfo.ipaddress-v4-oam-vip`'>\n",
971         "comments": "",
972         "outputs": 1,
973         "x": 1436.5,
974         "y": 474,
975         "z": "672164f1.b5c534",
976         "wires": [["6f0f9928.17cb48", "52c8f624.7c828"]
977         ]
978     }, {
979         "id": "6f0f9928.17cb48",
980         "type": "outcomeTrue",
981         "name": "true",
982         "xml": "<outcome value='true'>\n",
983         "comments": "",
984         "outputs": 1,
985         "x": 1614.5,
986         "y": 433,
987         "z": "672164f1.b5c534",
988         "wires": [["14b4966c.7020fa"]
989         ]
990     }, {
991         "id": "52c8f624.7c828",
992         "type": "outcomeFalse",
993         "name": "false",
994         "xml": "<outcome value='false'>\n",
995         "comments": "",
996         "outputs": 1,
997         "x": 1608.5,
998         "y": 513,
999         "z": "672164f1.b5c534",
1000         "wires": [["f197b970.d0bf1"]
1001         ]
1002     }, {
1003         "id": "14b4966c.7020fa",
1004         "type": "set",
1005         "name": "set vnfc ip-address",
1006         "xml": "<set>\n<parameter name='tmp-host-ip-address' value='`$tmp.vnfInfo.vnfcInfo.ipaddress-v4-oam-vip`' />\n",
1007         "comments": "",
1008         "x": 1802.5,
1009         "y": 433,
1010         "z": "672164f1.b5c534",
1011         "wires": []
1012     }, {
1013         "id": "f197b970.d0bf1",
1014         "type": "block",
1015         "name": "block",
1016         "xml": "<block>\n",
1017         "atomic": "false",
1018         "comments": "",
1019         "outputs": 1,
1020         "x": 1769.5,
1021         "y": 513,
1022         "z": "672164f1.b5c534",
1023         "wires": [[]
1024         ]
1025     }, {
1026         "id": "8032f43e.b93c2",
1027         "type": "other",
1028         "name": "ConfigScaleOut",
1029         "xml": "<outcome value='ConfigScaleOut'>",
1030         "comments": "",
1031         "outputs": 1,
1032         "x": 1465.1500244140625,
1033         "y": 1080.083251953125,
1034         "z": "672164f1.b5c534",
1035         "wires": [["f8f3ebb6.6a7fa8"]
1036         ]
1037     }
1038 ]