Deployment onap rename
[appc/deployment.git] / platform-logic / appc / src / main / json / dg-loader-dgs / APPC / APPC_setInputParams.json
1 [
2     {
3         "comments": "",
4         "id": "c5f27e6b.6555",
5         "name": "execute saveTxLog",
6         "outputs": 1,
7         "type": "execute",
8         "wires": [
9             [
10                 "9a41a79f.2a2b38"
11             ]
12         ],
13         "x": 331.25,
14         "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"SetInputData action complete\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
15         "y": 897.1666736602783,
16         "z": "5ad64f3a.c3774"
17     },
18     {
19         "comments": "",
20         "id": "9a41a79f.2a2b38",
21         "name": "failure",
22         "outputs": 1,
23         "type": "failure",
24         "wires": [
25             [
26                 "be9673a6.ce4fd"
27             ]
28         ],
29         "x": 584.0000114440918,
30         "xml": "<outcome value='failure'>\n",
31         "y": 900.0833206176758,
32         "z": "5ad64f3a.c3774"
33     },
34     {
35         "atomic": "false",
36         "comments": "",
37         "id": "be9673a6.ce4fd",
38         "name": "block",
39         "outputs": 1,
40         "type": "block",
41         "wires": [
42             []
43         ],
44         "x": 802.333309173584,
45         "xml": "<block>\n",
46         "y": 900.5833616256714,
47         "z": "5ad64f3a.c3774"
48     },
49     {
50         "id": "4a7685a5.000f1c",
51         "name": "DGSTART",
52         "outputs": 1,
53         "type": "dgstart",
54         "wires": [
55             [
56                 "973925de.552808"
57             ]
58         ],
59         "x": 99.63886260986328,
60         "y": 21.222224235534668,
61         "z": "5ad64f3a.c3774"
62     },
63     {
64         "comments": "",
65         "id": "973925de.552808",
66         "module": "APPC",
67         "name": "APPC 4.0.0",
68         "outputs": 1,
69         "type": "service-logic",
70         "version": "4.0.0",
71         "wires": [
72             [
73                 "41b485e7.20eb5c"
74             ]
75         ],
76         "x": 269.5118751525879,
77         "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'>",
78         "y": 25.500001907348633,
79         "z": "5ad64f3a.c3774"
80     },
81     {
82         "comments": "",
83         "id": "41b485e7.20eb5c",
84         "name": "method setInputParams",
85         "outputs": 1,
86         "type": "method",
87         "wires": [
88             [
89                 "a74c0e05.af52e"
90             ]
91         ],
92         "x": 513.9206161499023,
93         "xml": "<method rpc='setInputParams' mode='sync'>\n",
94         "y": 25.55555534362793,
95         "z": "5ad64f3a.c3774"
96     },
97     {
98         "atomic": "true",
99         "comments": "",
100         "id": "a74c0e05.af52e",
101         "name": "block : atomic",
102         "outputs": 1,
103         "type": "block",
104         "wires": [
105             [
106                 "c5f27e6b.6555",
107                 "f65ded23.e6749",
108                 "641ea02d.4b382",
109                 "d1e77579.e7ab88",
110                 "4df171f3.7b5ed",
111                 "47641fcb.2cbbc",
112                 "499cc381.43b7ac",
113                 "581c65dc.66c40c",
114                 "960e0153.19089",
115                 "df9c11ec.844bb",
116                 "c3fc55e7.85ef98",
117                 "d62b8ebb.ff133",
118                 "e5a060ba.6726c"
119             ]
120         ],
121         "x": 165.46427154541016,
122         "xml": "<block atomic=\"true\">",
123         "y": 113.95236778259277,
124         "z": "5ad64f3a.c3774"
125     },
126     {
127         "comments": "",
128         "id": "f65ded23.e6749",
129         "name": "set params based on Dispatcher Input",
130         "type": "set",
131         "wires": [],
132         "x": 738.6943969726562,
133         "xml": "<set>\n<parameter name='vnf-id' value='`$input.action-identifiers.vnf-id`' /> \n<parameter name='service-instance-id' value='`$input.action-identifiers.service-instance-id`' />\n<parameter name='vserver-id' value='`$input.action-identifiers.vserver-id`' />\n<parameter name='vf-module-id' value='`$input.action-identifiers.vf-module-id`' />\n<parameter name='vnfc-name' value='`$input.action-identifiers.vnfc-name`' />\n\n<parameter name='request-id' value='`$input.common-header.request-id`' />\n<parameter name='originator-id' value='`$input.common-header.originator-id`' /> \n\n<parameter name='payload' value='`$input.payload`' /> \n<parameter name='api-ver' value='`$input.api-ver`' /> \n<parameter name='request-action' value='`$input.action`' />\n",
134         "y": 66.63888549804688,
135         "z": "5ad64f3a.c3774"
136     },
137     {
138         "comments": "",
139         "id": "4df171f3.7b5ed",
140         "name": "execute Convert payload to DG Context ",
141         "outputs": 1,
142         "type": "execute",
143         "wires": [
144             [
145                 "13057386.cb05bc",
146                 "705bb0fd.6235a"
147             ]
148         ],
149         "x": 537.4167098999023,
150         "xml": "<execute plugin=\"org.openecomp.sdnc.config.generator.convert.ConvertNode\" method=\"convertJson2DGContext\">\n<parameter name=\"jsonData\" value=\"`$input.payload`\" />\n<parameter name=\"isEscaped\" value=\"N\" />\n<parameter name=\"blockKeys\" value=\"configuration-parameters,configuration.configuration-string,configuration.configuration-json\" />\n<parameter name=\"responsePrefix\" value=\"tmp.convertnode\" />",
151         "y": 183.0555534362793,
152         "z": "5ad64f3a.c3774"
153     },
154     {
155         "comments": "",
156         "id": "13057386.cb05bc",
157         "name": "failure",
158         "outputs": 1,
159         "type": "failure",
160         "wires": [
161             [
162                 "58736a12.c8a834"
163             ]
164         ],
165         "x": 860.2222290039062,
166         "xml": "<outcome value='failure'>\n",
167         "y": 156.1388931274414,
168         "z": "5ad64f3a.c3774"
169     },
170     {
171         "comments": "",
172         "id": "705bb0fd.6235a",
173         "name": "not-found",
174         "outputs": 1,
175         "type": "not-found",
176         "wires": [
177             [
178                 "31c8328a.24f9ee"
179             ]
180         ],
181         "x": 862.9166793823242,
182         "xml": "<outcome value='not-found'>\n",
183         "y": 202.52777481079102,
184         "z": "5ad64f3a.c3774"
185     },
186     {
187         "atomic": "false",
188         "comments": "",
189         "id": "58736a12.c8a834",
190         "name": "block",
191         "outputs": 1,
192         "type": "block",
193         "wires": [
194             [
195                 "f52e91c9.0c54f"
196             ]
197         ],
198         "x": 1060.5833358764648,
199         "xml": "<block>\n",
200         "y": 156.50000190734863,
201         "z": "5ad64f3a.c3774"
202     },
203     {
204         "atomic": "false",
205         "comments": "",
206         "id": "31c8328a.24f9ee",
207         "name": "block",
208         "outputs": 1,
209         "type": "block",
210         "wires": [
211             [
212                 "8778642b.6f0a08"
213             ]
214         ],
215         "x": 1054.8333358764648,
216         "xml": "<block>\n",
217         "y": 204.50000286102295,
218         "z": "5ad64f3a.c3774"
219     },
220     {
221         "comments": "",
222         "id": "f52e91c9.0c54f",
223         "name": "return failure",
224         "type": "returnFailure",
225         "wires": [],
226         "x": 1245.333339691162,
227         "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.convertnode.error-message`\"/>\n\t\n\t",
228         "y": 156.75000190734863,
229         "z": "5ad64f3a.c3774"
230     },
231     {
232         "comments": "",
233         "id": "8778642b.6f0a08",
234         "name": "return failure",
235         "type": "returnFailure",
236         "wires": [],
237         "x": 1248.083339691162,
238         "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to process input parameters\"/>\n\t",
239         "y": 206.25000381469727,
240         "z": "5ad64f3a.c3774"
241     },
242     {
243         "comments": "",
244         "id": "d1e77579.e7ab88",
245         "name": "execute saveTxLog",
246         "outputs": 1,
247         "type": "execute",
248         "wires": [
249             [
250                 "dd212aaa.c08fd8"
251             ]
252         ],
253         "x": 574.3333206176758,
254         "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"request\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
255         "y": 137.75000190734863,
256         "z": "5ad64f3a.c3774"
257     },
258     {
259         "comments": "",
260         "id": "641ea02d.4b382",
261         "name": "set tmp.message",
262         "type": "set",
263         "wires": [],
264         "x": 672.2777709960938,
265         "xml": "<set>\n<parameter name=\"tmp.message\" value=\"`$vnf-id + ' : ' + $request-action +  ': ' + $payload`\" />\n",
266         "y": 99.8888931274414,
267         "z": "5ad64f3a.c3774"
268     },
269     {
270         "comments": "",
271         "id": "dd212aaa.c08fd8",
272         "name": "failure",
273         "outputs": 1,
274         "type": "failure",
275         "wires": [
276             [
277                 "6f36ee18.a34f3"
278             ]
279         ],
280         "x": 981.0833129882812,
281         "xml": "<outcome value='failure'>\n",
282         "y": 94.25,
283         "z": "5ad64f3a.c3774"
284     },
285     {
286         "atomic": "false",
287         "comments": "",
288         "id": "6f36ee18.a34f3",
289         "name": "block",
290         "outputs": 1,
291         "type": "block",
292         "wires": [
293             []
294         ],
295         "x": 1138.0833129882812,
296         "xml": "<block>\n",
297         "y": 91.25,
298         "z": "5ad64f3a.c3774"
299     },
300     {
301         "comments": "",
302         "id": "46672893.29be28",
303         "name": "call: GetAaiInfo",
304         "outputs": 1,
305         "type": "call",
306         "wires": [
307             [
308                 "d3c47a04.b4c318",
309                 "44eb99ad.384d38"
310             ]
311         ],
312         "x": 825.8888626098633,
313         "xml": "<call module=\"APPC\" rpc=\"GetAaiInfo\" mode=\"sync\">",
314         "y": 619.5833129882812,
315         "z": "5ad64f3a.c3774"
316     },
317     {
318         "comments": "",
319         "id": "d3c47a04.b4c318",
320         "name": "not-found",
321         "outputs": 1,
322         "type": "not-found",
323         "wires": [
324             [
325                 "1588264f.0dbc0a"
326             ]
327         ],
328         "x": 1110.5554885864258,
329         "xml": "<outcome value='not-found'>\n",
330         "y": 592.1666870117188,
331         "z": "5ad64f3a.c3774"
332     },
333     {
334         "atomic": "false",
335         "comments": "",
336         "id": "1588264f.0dbc0a",
337         "name": "block",
338         "outputs": 1,
339         "type": "block",
340         "wires": [
341             [
342                 "911166e0.3593c8"
343             ]
344         ],
345         "x": 1291.4999465942383,
346         "xml": "<block>\n",
347         "y": 615.8333740234375,
348         "z": "5ad64f3a.c3774"
349     },
350     {
351         "comments": "",
352         "id": "911166e0.3593c8",
353         "name": "return failure",
354         "type": "returnFailure",
355         "wires": [],
356         "x": 1457.9165725708008,
357         "xml": "<return status=\"failure\">\n\t",
358         "y": 616.3333129882812,
359         "z": "5ad64f3a.c3774"
360     },
361     {
362         "comments": "",
363         "id": "44eb99ad.384d38",
364         "name": "failure",
365         "outputs": 1,
366         "type": "failure",
367         "wires": [
368             [
369                 "1588264f.0dbc0a"
370             ]
371         ],
372         "x": 1104.4445266723633,
373         "xml": "<outcome value='failure'>\n",
374         "y": 637.6943969726562,
375         "z": "5ad64f3a.c3774"
376     },
377     {
378         "comments": "",
379         "id": "47641fcb.2cbbc",
380         "name": "switch isTemplateDriven.TEMPLATE",
381         "outputs": 1,
382         "type": "switchNode",
383         "wires": [
384             [
385                 "9a6ca9b5.a5f1b8",
386                 "3e178fb8.db00e"
387             ]
388         ],
389         "x": 422.2499771118164,
390         "xml": "<switch test='`$isTemplateDriven.TEMPLATE`'>\n",
391         "y": 810.8333377838135,
392         "z": "5ad64f3a.c3774"
393     },
394     {
395         "comments": "",
396         "id": "9a6ca9b5.a5f1b8",
397         "name": "outcome: YES",
398         "outputs": 1,
399         "type": "success",
400         "wires": [
401             [
402                 "90c3ac2d.01d09"
403             ]
404         ],
405         "x": 757.174617767334,
406         "xml": "<outcome value=\"YES\">",
407         "y": 780.8134269714355,
408         "z": "5ad64f3a.c3774"
409     },
410     {
411         "comments": "",
412         "id": "3e178fb8.db00e",
413         "name": "outcome: Other",
414         "outputs": 1,
415         "type": "success",
416         "wires": [
417             [
418                 "93a44588.d50728"
419             ]
420         ],
421         "x": 758.9127349853516,
422         "xml": "<outcome value='Other'>",
423         "y": 838.9563655853271,
424         "z": "5ad64f3a.c3774"
425     },
426     {
427         "atomic": "true",
428         "comments": null,
429         "id": "90c3ac2d.01d09",
430         "name": "block : atomic",
431         "outputs": 1,
432         "type": "block",
433         "wires": [
434             [
435                 "814dc33.55b844"
436             ]
437         ],
438         "x": 992.8015785217285,
439         "xml": "<block atomic=\"true\">",
440         "y": 787.0793762207031,
441         "z": "5ad64f3a.c3774"
442     },
443     {
444         "atomic": "true",
445         "comments": null,
446         "id": "93a44588.d50728",
447         "name": "block : atomic",
448         "outputs": 1,
449         "type": "block",
450         "wires": [
451             []
452         ],
453         "x": 1022.8889465332031,
454         "xml": "<block atomic=\"true\">",
455         "y": 838.0278367996216,
456         "z": "5ad64f3a.c3774"
457     },
458     {
459         "comments": "",
460         "id": "814dc33.55b844",
461         "name": "call: loadTeamplate",
462         "outputs": 1,
463         "type": "call",
464         "wires": [
465             [
466                 "b351a17b.41869",
467                 "bfe70fa5.66e08"
468             ]
469         ],
470         "x": 1196.3889503479004,
471         "xml": "<call module=\"APPC\" rpc=\"loadTeamplate\" mode=\"sync\">",
472         "y": 787.1110744476318,
473         "z": "5ad64f3a.c3774"
474     },
475     {
476         "comments": "",
477         "id": "b351a17b.41869",
478         "name": "failure",
479         "outputs": 1,
480         "type": "failure",
481         "wires": [
482             [
483                 "33f219a0.9ce106"
484             ]
485         ],
486         "x": 1365.55562210083,
487         "xml": "<outcome value='failure'>\n",
488         "y": 756.8611545562744,
489         "z": "5ad64f3a.c3774"
490     },
491     {
492         "comments": "",
493         "id": "392a5ccd.227d44",
494         "name": "return failure",
495         "type": "returnFailure",
496         "wires": [],
497         "x": 1759.3889694213867,
498         "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to load Template Information\"/>\n",
499         "y": 752.5277996063232,
500         "z": "5ad64f3a.c3774"
501     },
502     {
503         "atomic": "true",
504         "comments": "",
505         "id": "33f219a0.9ce106",
506         "name": "block : atomic",
507         "outputs": 1,
508         "type": "block",
509         "wires": [
510             [
511                 "392a5ccd.227d44"
512             ]
513         ],
514         "x": 1542.5555877685547,
515         "xml": "<block atomic=\"true\">\n\n",
516         "y": 754.7777805328369,
517         "z": "5ad64f3a.c3774"
518     },
519     {
520         "comments": "",
521         "id": "bfe70fa5.66e08",
522         "name": "Other",
523         "outputs": 1,
524         "type": "failure",
525         "wires": [
526             [
527                 "4782d66.0e30528"
528             ]
529         ],
530         "x": 1356.4722480773926,
531         "xml": "<outcome value='Other'>\n",
532         "y": 869.4444408416748,
533         "z": "5ad64f3a.c3774"
534     },
535     {
536         "comments": "",
537         "id": "499cc381.43b7ac",
538         "name": "get-resource: APPC.action-level",
539         "outputs": 1,
540         "type": "get-resource",
541         "wires": [
542             [
543                 "34c05249.d79afe",
544                 "59f42bd7.3b8014"
545             ]
546         ],
547         "x": 474.8333206176758,
548         "xml": "<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT ACTION_LEVEL\n\t     FROM ACTION_LEVEL_REFERENCE\n         WHERE ACTION_IDENTIFIER = $action-identifier ;\"\n    force='true'\n\tpfx='APPC.action-level'>\n",
549         "y": 472.4166946411133,
550         "z": "5ad64f3a.c3774"
551     },
552     {
553         "atomic": "false",
554         "comments": "",
555         "id": "70c97dc2.b38574",
556         "name": "block",
557         "outputs": 1,
558         "type": "block",
559         "wires": [
560             [
561                 "f7860416.1a1108"
562             ]
563         ],
564         "x": 945.5833206176758,
565         "xml": "<block>\n",
566         "y": 489.75000190734863,
567         "z": "5ad64f3a.c3774"
568     },
569     {
570         "comments": "",
571         "id": "f7860416.1a1108",
572         "name": "return failure",
573         "type": "returnFailure",
574         "wires": [],
575         "x": 1113.8333206176758,
576         "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to retrieve Template Information from Reference table.\"/>\n\t",
577         "y": 487.50000190734863,
578         "z": "5ad64f3a.c3774"
579     },
580     {
581         "comments": "",
582         "id": "34c05249.d79afe",
583         "name": "failure",
584         "outputs": 1,
585         "type": "failure",
586         "wires": [
587             [
588                 "70c97dc2.b38574"
589             ]
590         ],
591         "x": 747.9999771118164,
592         "xml": "<outcome value='failure'>\n",
593         "y": 487.3611030578613,
594         "z": "5ad64f3a.c3774"
595     },
596     {
597         "comments": "",
598         "id": "4782d66.0e30528",
599         "name": "call: MergeTemplateData",
600         "outputs": 1,
601         "type": "call",
602         "wires": [
603             [
604                 "55d06171.b5739",
605                 "fb63c6c3.f262a8"
606             ]
607         ],
608         "x": 1537.7499618530273,
609         "xml": "<call module=\"APPC\" rpc=\"MergeTemplateData\" mode=\"sync\">",
610         "y": 866.2500057220459,
611         "z": "5ad64f3a.c3774"
612     },
613     {
614         "atomic": "true",
615         "comments": null,
616         "id": "13067f71.cb0181",
617         "name": "block : atomic",
618         "outputs": 1,
619         "type": "block",
620         "wires": [
621             [
622                 "569e6b14.42c9e4"
623             ]
624         ],
625         "x": 1931.2619018554688,
626         "xml": "<block atomic=\"true\">",
627         "y": 825.8214569091797,
628         "z": "5ad64f3a.c3774"
629     },
630     {
631         "comments": "",
632         "id": "55d06171.b5739",
633         "name": "failure",
634         "outputs": 1,
635         "type": "failure",
636         "wires": [
637             [
638                 "13067f71.cb0181"
639             ]
640         ],
641         "x": 1771.9047546386719,
642         "xml": "<outcome value='failure'>\n",
643         "y": 826.5238094329834,
644         "z": "5ad64f3a.c3774"
645     },
646     {
647         "comments": "",
648         "id": "fb63c6c3.f262a8",
649         "name": "Other",
650         "outputs": 1,
651         "type": "failure",
652         "wires": [
653             [
654                 "2603c6fc.c7658a"
655             ]
656         ],
657         "x": 1775.5714225769043,
658         "xml": "<outcome value='Other'>\n",
659         "y": 892.952399969101,
660         "z": "5ad64f3a.c3774"
661     },
662     {
663         "atomic": "true",
664         "comments": "",
665         "id": "2603c6fc.c7658a",
666         "name": "block : atomic",
667         "outputs": 1,
668         "type": "block",
669         "wires": [
670             [
671                 "7237869.f38ce78"
672             ]
673         ],
674         "x": 1939.8571548461914,
675         "xml": "<block atomic=\"true\">",
676         "y": 892.523811340332,
677         "z": "5ad64f3a.c3774"
678     },
679     {
680         "comments": "",
681         "id": "7237869.f38ce78",
682         "name": "record",
683         "outputs": 1,
684         "type": "record",
685         "wires": [
686             []
687         ],
688         "x": 2116.428653717041,
689         "xml": "<record plugin=\"org.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",
690         "y": 894.1428498625755,
691         "z": "5ad64f3a.c3774"
692     },
693     {
694         "comments": "",
695         "id": "10e21f94.2859d",
696         "name": "return failure",
697         "type": "returnFailure",
698         "wires": [],
699         "x": 2312.250072479248,
700         "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to Merge Template and Data Information\"/>\n",
701         "y": 822.7500057220459,
702         "z": "5ad64f3a.c3774"
703     },
704     {
705         "atomic": "true",
706         "comments": "",
707         "id": "569e6b14.42c9e4",
708         "name": "block : atomic",
709         "outputs": 1,
710         "type": "block",
711         "wires": [
712             [
713                 "10e21f94.2859d"
714             ]
715         ],
716         "x": 2124.166648864746,
717         "xml": "<block atomic=\"true\">\n\n",
718         "y": 824.1666307449341,
719         "z": "5ad64f3a.c3774"
720     },
721     {
722         "comments": "",
723         "id": "581c65dc.66c40c",
724         "name": "get-resource: isTemplateDriven",
725         "outputs": 1,
726         "type": "get-resource",
727         "wires": [
728             [
729                 "236e23a7.75805c"
730             ]
731         ],
732         "x": 423.4166488647461,
733         "xml": "<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT TEMPLATE\n\t     FROM PROTOCOL_REFERENCE\n         WHERE ACTION = $input.action and VNF_TYPE = $vnf-type and ACTION_LEVEL= $action-level ;\"\n    force='true'\n\tpfx='isTemplateDriven'>\n",
734         "y": 748.3333148956299,
735         "z": "5ad64f3a.c3774"
736     },
737     {
738         "atomic": "false",
739         "comments": "",
740         "id": "b342a11f.4cb1a",
741         "name": "block",
742         "outputs": 1,
743         "type": "block",
744         "wires": [
745             [
746                 "e30e032f.dca54"
747             ]
748         ],
749         "x": 962.4999847412109,
750         "xml": "<block>\n",
751         "y": 732.3333616256714,
752         "z": "5ad64f3a.c3774"
753     },
754     {
755         "comments": "",
756         "id": "e30e032f.dca54",
757         "name": "return failure",
758         "type": "returnFailure",
759         "wires": [],
760         "x": 1165.7499923706055,
761         "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to retrieve Template Information from Reference table.\"/>\n\t",
762         "y": 726.7499666213989,
763         "z": "5ad64f3a.c3774"
764     },
765     {
766         "comments": "",
767         "id": "236e23a7.75805c",
768         "name": "failure",
769         "outputs": 1,
770         "type": "failure",
771         "wires": [
772             [
773                 "b342a11f.4cb1a"
774             ]
775         ],
776         "x": 751.5833129882812,
777         "xml": "<outcome value='failure'>\n",
778         "y": 727.1666946411133,
779         "z": "5ad64f3a.c3774"
780     },
781     {
782         "comments": "",
783         "id": "960e0153.19089",
784         "name": "set Payload params ",
785         "type": "set",
786         "wires": [],
787         "x": 493.4722366333008,
788         "xml": "<set>\n<!-- vnf type, name is from A&AI \n<parameter name='vnf-type' value='`$tmp.vnfInfo.vnf.vnf-type`' />\n<parameter name='vnf-name' value='`$tmp.vnfInfo.vnf.vnf-name`' />\n-->\n<!-- 17.07 Parameters from request -->\n<parameter name='template-name' value='`$request-parameters.template-name`' />\n<parameter name='vnf-host-ip-address' value='`$request-parameters.vnf-host-ip-address`' />\n<parameter name='vnfc-type' value='`$request-parameters.vnfc-type`' /> \n<parameter name='vnf-type' value='`$request-parameters.vnf-type`' />\n<parameter name='vnf-name' value='`$request-parameters.vnf-name`' />\n\n<parameter name='configurationblock' value='`$block_configuration`' />\n\n\n<!-- parameters to be merged with template provided as input-->\n<parameter name='configuration-params' value='`$block_configuration-parameters`' /> \n\n\n\n<!--1702 VM/VNFC Parameters when passed from Request--> \n<parameter name='VNFCTYPE' value='`$request-parameters.vm[0].vnfc[0].vnfc-type`' />\n<parameter name=\"VMNAME0\" value=\"`$request-parameters.vm[0].vm-name`\"/>\n<parameter name=\"VNFCNAME0\" value=\"`$request-parameters.vm[0].vnfc[0].vnfc-name`\"/>\n<parameter name=\"VMLENGTH\" value=\"`$size_request-parameters.vm`\"/>\n<parameter name=\"VNFCLENGTH\" value=\"`$size_request-parameters.vm[0].vnfc`\"/>\n<parameter name=\"CONFIGTYPE\" value=\"`$config-type`\"/>\n\n\n<!-- Not Used?\n<parameter name='site-location' value='`$request-parameters.site-location`' />\n<parameter name='file-name' value='`$request-parameters.file-name`' />\n-->\n\n\n\n\n",
789         "y": 224.08331775665283,
790         "z": "5ad64f3a.c3774"
791     },
792     {
793         "comments": "",
794         "id": "59f42bd7.3b8014",
795         "name": "success",
796         "outputs": 1,
797         "type": "success",
798         "wires": [
799             [
800                 "e0bb5945.ce9928"
801             ]
802         ],
803         "x": 748.8611030578613,
804         "xml": "<outcome value='success'>\n",
805         "y": 545.3333215713501,
806         "z": "5ad64f3a.c3774"
807     },
808     {
809         "comments": "",
810         "id": "e0bb5945.ce9928",
811         "name": "set action-level ",
812         "type": "set",
813         "wires": [],
814         "x": 965.2777328491211,
815         "xml": "<set>\n<parameter name='action-level' value='`$APPC.action-level.ACTION-LEVEL`' />\n\n\n\n\n\n",
816         "y": 548.3888630867004,
817         "z": "5ad64f3a.c3774"
818     },
819     {
820         "comments": "",
821         "id": "df9c11ec.844bb",
822         "name": "switch action-level",
823         "outputs": 1,
824         "type": "switchNode",
825         "wires": [
826             [
827                 "6eb262a7.6f6d0c",
828                 "5a3d27a3.2b2d98"
829             ]
830         ],
831         "x": 407.9999771118164,
832         "xml": "<switch test='`$action-level`'>\n",
833         "y": 592.9166965484619,
834         "z": "5ad64f3a.c3774"
835     },
836     {
837         "comments": "",
838         "id": "6eb262a7.6f6d0c",
839         "name": "outcome: Other",
840         "outputs": 1,
841         "type": "success",
842         "wires": [
843             [
844                 "46672893.29be28"
845             ]
846         ],
847         "x": 625.4166564941406,
848         "xml": "<outcome value='Other'>",
849         "y": 619.3333377838135,
850         "z": "5ad64f3a.c3774"
851     },
852     {
853         "comments": "",
854         "id": "5a3d27a3.2b2d98",
855         "name": "outcome: VM",
856         "outputs": 1,
857         "type": "success",
858         "wires": [
859             [
860                 "3e46fb5e.8e8fc4"
861             ]
862         ],
863         "x": 615.4166564941406,
864         "xml": "<outcome value='VM'>",
865         "y": 682.0000276565552,
866         "z": "5ad64f3a.c3774"
867     },
868     {
869         "atomic": "false",
870         "comments": "",
871         "id": "3e46fb5e.8e8fc4",
872         "name": "block",
873         "outputs": 1,
874         "type": "block",
875         "wires": [
876             [
877                 "39e6b24d.41090e"
878             ]
879         ],
880         "x": 776.4166526794434,
881         "xml": "<block>\n",
882         "y": 683.6666445732117,
883         "z": "5ad64f3a.c3774"
884     },
885     {
886         "comments": "",
887         "id": "39e6b24d.41090e",
888         "name": "return success",
889         "type": "returnSuccess",
890         "wires": [],
891         "x": 1041.7500305175781,
892         "xml": "<return status='success'>\n\n",
893         "y": 679.6666927337646,
894         "z": "5ad64f3a.c3774"
895     },
896     {
897         "comments": "",
898         "id": "7ff4860d.906048",
899         "name": "outcome: ''",
900         "outputs": 1,
901         "type": "success",
902         "wires": [
903             [
904                 "6913b0fa.1e861"
905             ]
906         ],
907         "x": 1535.1666450500488,
908         "xml": "<outcome value=''>",
909         "y": 366.6666326522827,
910         "z": "5ad64f3a.c3774"
911     },
912     {
913         "comments": "",
914         "id": "61f421d6.bfea9",
915         "name": "outcome: Other",
916         "outputs": 1,
917         "type": "success",
918         "wires": [
919             [
920                 "5b26aeb2.014b5"
921             ]
922         ],
923         "x": 1468.9883499145508,
924         "xml": "<outcome value='Other'>",
925         "y": 463.14288330078125,
926         "z": "5ad64f3a.c3774"
927     },
928     {
929         "atomic": "true",
930         "comments": "",
931         "id": "6913b0fa.1e861",
932         "name": "block : atomic",
933         "outputs": 1,
934         "type": "block",
935         "wires": [
936             [
937                 "8c272d3a.1fda9"
938             ]
939         ],
940         "x": 1065.988182067871,
941         "xml": "<block atomic=\"true\">",
942         "y": 439.23810386657715,
943         "z": "5ad64f3a.c3774"
944     },
945     {
946         "atomic": "true",
947         "comments": null,
948         "id": "5b26aeb2.014b5",
949         "name": "block : atomic",
950         "outputs": 1,
951         "type": "block",
952         "wires": [
953             [
954                 "2f509b0e.830454"
955             ]
956         ],
957         "x": 1662.2974319458008,
958         "xml": "<block atomic=\"true\">",
959         "y": 462.54766845703125,
960         "z": "5ad64f3a.c3774"
961     },
962     {
963         "comments": "",
964         "id": "2f509b0e.830454",
965         "name": "setActionLevel VNF",
966         "type": "set",
967         "wires": [],
968         "x": 1866.9165725708008,
969         "xml": "<set>\n<parameter name='action-level' value='VNF' />\n<parameter name='action-identifier' value='vnf-id' />",
970         "y": 462.33331298828125,
971         "z": "5ad64f3a.c3774"
972     },
973     {
974         "comments": "",
975         "id": "c3fc55e7.85ef98",
976         "name": "switch vnfc-name",
977         "outputs": 1,
978         "type": "switchNode",
979         "wires": [
980             [
981                 "95399a07.ea4f08",
982                 "60550aae.3a6004"
983             ]
984         ],
985         "x": 457.25001525878906,
986         "xml": "<switch test='`$vnfc-name`'>\n",
987         "y": 345.80554389953613,
988         "z": "5ad64f3a.c3774"
989     },
990     {
991         "comments": "",
992         "id": "95399a07.ea4f08",
993         "name": "outcome: Other",
994         "outputs": 1,
995         "type": "success",
996         "wires": [
997             [
998                 "450f80e7.6d15"
999             ]
1000         ],
1001         "x": 730.7937927246094,
1002         "xml": "<outcome value='Other'>",
1003         "y": 335.4206600189209,
1004         "z": "5ad64f3a.c3774"
1005     },
1006     {
1007         "atomic": "true",
1008         "comments": null,
1009         "id": "450f80e7.6d15",
1010         "name": "block : atomic",
1011         "outputs": 1,
1012         "type": "block",
1013         "wires": [
1014             [
1015                 "af2df603.4ae968"
1016             ]
1017         ],
1018         "x": 918.7419891357422,
1019         "xml": "<block atomic=\"true\">",
1020         "y": 346.5477046966553,
1021         "z": "5ad64f3a.c3774"
1022     },
1023     {
1024         "comments": "",
1025         "id": "af2df603.4ae968",
1026         "name": "setActionLevel VNFC",
1027         "type": "set",
1028         "wires": [],
1029         "x": 1206.250099182129,
1030         "xml": "<set>\n<parameter name='action-level' value='VNFC' />\n<parameter name='action-identifier' value='vnfc-name' />\n",
1031         "y": 258.05552673339844,
1032         "z": "5ad64f3a.c3774"
1033     },
1034     {
1035         "comments": "",
1036         "id": "75506bed.9faa54",
1037         "name": "switch vserver-id",
1038         "outputs": 1,
1039         "type": "switchNode",
1040         "wires": [
1041             [
1042                 "79aeaa57.7ae244",
1043                 "98b876c6.c2b488"
1044             ]
1045         ],
1046         "x": 924.1388092041016,
1047         "xml": "<switch test='`$vserver-id`'>\n",
1048         "y": 387.1110610961914,
1049         "z": "5ad64f3a.c3774"
1050     },
1051     {
1052         "comments": "",
1053         "id": "79aeaa57.7ae244",
1054         "name": "outcome: Other",
1055         "outputs": 1,
1056         "type": "success",
1057         "wires": [
1058             [
1059                 "8df97915.365a48"
1060             ]
1061         ],
1062         "x": 1180.015998840332,
1063         "xml": "<outcome value='Other'>",
1064         "y": 309.92064571380615,
1065         "z": "5ad64f3a.c3774"
1066     },
1067     {
1068         "atomic": "true",
1069         "comments": null,
1070         "id": "8df97915.365a48",
1071         "name": "block : atomic",
1072         "outputs": 1,
1073         "type": "block",
1074         "wires": [
1075             [
1076                 "b97dd2a7.2d3e2"
1077             ]
1078         ],
1079         "x": 1364.4642028808594,
1080         "xml": "<block atomic=\"true\">",
1081         "y": 291.79767322540283,
1082         "z": "5ad64f3a.c3774"
1083     },
1084     {
1085         "comments": "",
1086         "id": "b97dd2a7.2d3e2",
1087         "name": "setActionLevel VM",
1088         "type": "set",
1089         "wires": [],
1090         "x": 1552.3333435058594,
1091         "xml": "<set>\n<parameter name='action-level' value='VM' />\n<parameter name='action-identifier' value='vserver-id' />\n\n",
1092         "y": 281.99997425079346,
1093         "z": "5ad64f3a.c3774"
1094     },
1095     {
1096         "comments": "",
1097         "id": "8c272d3a.1fda9",
1098         "name": "switch vnf-id",
1099         "outputs": 1,
1100         "type": "switchNode",
1101         "wires": [
1102             [
1103                 "61f421d6.bfea9",
1104                 "5dee6920.b9c5a8"
1105             ]
1106         ],
1107         "x": 1229.4167137145996,
1108         "xml": "<switch test='`$vnf-id`'>\n",
1109         "y": 439.83331871032715,
1110         "z": "5ad64f3a.c3774"
1111     },
1112     {
1113         "comments": "",
1114         "id": "5dee6920.b9c5a8",
1115         "name": "outcome: ''",
1116         "outputs": 1,
1117         "type": "success",
1118         "wires": [
1119             [
1120                 "1edb9ae1.72e305"
1121             ]
1122         ],
1123         "x": 1463.4999694824219,
1124         "xml": "<outcome value=''>",
1125         "y": 413.1666316986084,
1126         "z": "5ad64f3a.c3774"
1127     },
1128     {
1129         "atomic": "true",
1130         "comments": "",
1131         "id": "1edb9ae1.72e305",
1132         "name": "block : atomic",
1133         "outputs": 1,
1134         "type": "block",
1135         "wires": [
1136             [
1137                 "2ba19f2d.87e9a"
1138             ]
1139         ],
1140         "x": 1653.7382507324219,
1141         "xml": "<block atomic=\"true\">",
1142         "y": 409.5714473724365,
1143         "z": "5ad64f3a.c3774"
1144     },
1145     {
1146         "comments": "",
1147         "id": "2ba19f2d.87e9a",
1148         "name": "return failure",
1149         "type": "returnFailure",
1150         "wires": [],
1151         "x": 1852.2498512268066,
1152         "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Action identifier is missing in the request\"/>\n\t\n\t",
1153         "y": 415.58331871032715,
1154         "z": "5ad64f3a.c3774"
1155     },
1156     {
1157         "comments": "",
1158         "id": "eae00a39.c7edb8",
1159         "name": "switch vf-module-id",
1160         "outputs": 1,
1161         "type": "switchNode",
1162         "wires": [
1163             [
1164                 "2fce24e2.84f1cc",
1165                 "7ff4860d.906048"
1166             ]
1167         ],
1168         "x": 1335.2619323730469,
1169         "xml": "<switch test='`$vf-module-id`'>\n",
1170         "y": 350.4404354095459,
1171         "z": "5ad64f3a.c3774"
1172     },
1173     {
1174         "comments": "",
1175         "id": "2fce24e2.84f1cc",
1176         "name": "outcome: Other",
1177         "outputs": 1,
1178         "type": "success",
1179         "wires": [
1180             [
1181                 "6aa3f5cb.2378fc"
1182             ]
1183         ],
1184         "x": 1549.5833435058594,
1185         "xml": "<outcome value='Other'>",
1186         "y": 324.0832872390747,
1187         "z": "5ad64f3a.c3774"
1188     },
1189     {
1190         "atomic": "true",
1191         "comments": null,
1192         "id": "6aa3f5cb.2378fc",
1193         "name": "block : atomic",
1194         "outputs": 1,
1195         "type": "block",
1196         "wires": [
1197             [
1198                 "6402489b.ea4c28"
1199             ]
1200         ],
1201         "x": 1755.1427917480469,
1202         "xml": "<block atomic=\"true\">",
1203         "y": 322.9881343841553,
1204         "z": "5ad64f3a.c3774"
1205     },
1206     {
1207         "comments": "",
1208         "id": "6402489b.ea4c28",
1209         "name": "setActionLevel VF-Module",
1210         "type": "set",
1211         "wires": [],
1212         "x": 1967.428565979004,
1213         "xml": "<set>\n<parameter name='action-level' value='VF-MODULE' />\n<parameter name='action-identifier' value='vf-module-id' />\n",
1214         "y": 321.85712242126465,
1215         "z": "5ad64f3a.c3774"
1216     },
1217     {
1218         "comments": "",
1219         "id": "60550aae.3a6004",
1220         "name": "outcome: ''",
1221         "outputs": 1,
1222         "type": "success",
1223         "wires": [
1224             [
1225                 "75506bed.9faa54"
1226             ]
1227         ],
1228         "x": 725.5832939147949,
1229         "xml": "<outcome value=''>",
1230         "y": 381.2500009536743,
1231         "z": "5ad64f3a.c3774"
1232     },
1233     {
1234         "comments": "",
1235         "id": "98b876c6.c2b488",
1236         "name": "outcome: ''",
1237         "outputs": 1,
1238         "type": "success",
1239         "wires": [
1240             [
1241                 "eae00a39.c7edb8"
1242             ]
1243         ],
1244         "x": 1144.4722785949707,
1245         "xml": "<outcome value=''>",
1246         "y": 368.8888854980469,
1247         "z": "5ad64f3a.c3774"
1248     },
1249     {
1250         "comments": "",
1251         "id": "d62b8ebb.ff133",
1252         "name": "record",
1253         "outputs": 1,
1254         "type": "record",
1255         "wires": [
1256             []
1257         ],
1258         "x": 431.25000762939453,
1259         "xml": "<record plugin=\"org.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=\"`$action-identifier`\"/>\n\n",
1260         "y": 396.111120223999,
1261         "z": "5ad64f3a.c3774"
1262     },
1263     {
1264         "comments": "",
1265         "id": "e5a060ba.6726c",
1266         "name": "switch vnfc-type",
1267         "outputs": 1,
1268         "type": "switchNode",
1269         "wires": [
1270             [
1271                 "2f46d21c.ad87ce",
1272                 "1ac83acb.3771a5"
1273             ]
1274         ],
1275         "x": 466.6666488647461,
1276         "xml": "<switch test='`$vnfc-type`'>\n",
1277         "y": 278.88890266418457,
1278         "z": "5ad64f3a.c3774"
1279     },
1280     {
1281         "comments": "",
1282         "id": "2f46d21c.ad87ce",
1283         "name": "outcome: Other",
1284         "outputs": 1,
1285         "type": "success",
1286         "wires": [
1287             [
1288                 "ca9a8300.12e3d"
1289             ]
1290         ],
1291         "x": 742.4325942993164,
1292         "xml": "<outcome value='Other'>",
1293         "y": 244.0595827102661,
1294         "z": "5ad64f3a.c3774"
1295     },
1296     {
1297         "atomic": "true",
1298         "comments": null,
1299         "id": "ca9a8300.12e3d",
1300         "name": "block : atomic",
1301         "outputs": 1,
1302         "type": "block",
1303         "wires": [
1304             []
1305         ],
1306         "x": 935.9364204406738,
1307         "xml": "<block atomic=\"true\">",
1308         "y": 246.29769325256348,
1309         "z": "5ad64f3a.c3774"
1310     },
1311     {
1312         "comments": "",
1313         "id": "1ac83acb.3771a5",
1314         "name": "outcome: ''",
1315         "outputs": 1,
1316         "type": "success",
1317         "wires": [
1318             [
1319                 "6cee73a9.31fecc"
1320             ]
1321         ],
1322         "x": 738.3332672119141,
1323         "xml": "<outcome value=''>",
1324         "y": 285.4444417953491,
1325         "z": "5ad64f3a.c3774"
1326     },
1327     {
1328         "comments": "",
1329         "id": "6cee73a9.31fecc",
1330         "name": "set vnfc-type ",
1331         "type": "set",
1332         "wires": [],
1333         "x": 936.6665954589844,
1334         "xml": "<set>\n<!-- 17.07 If vnfc-type is blank assign Parameters from request in array list -->\n<parameter name='vnfc-type' value='`$VNFCTYPE`' />\n\n\n\n\n\n\n\n\n\n\n\n",
1335         "y": 285.55558013916016,
1336         "z": "5ad64f3a.c3774"
1337     }
1338 ]