correct vf-module-label in self-serve-vfmodule-ra-assign DG
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.json
1 [
2     {
3         "id": "a497f564.a4f098",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 177,
8         "y": 84,
9         "z": "2e17456e.1fa78a",
10         "wires": [
11             [
12                 "86c9c962.7342a8"
13             ]
14         ]
15     },
16     {
17         "id": "86c9c962.7342a8",
18         "type": "service-logic",
19         "name": "GENERIC-RESOURCE-API ${project.version}",
20         "module": "GENERIC-RESOURCE-API",
21         "version": "${project.version}",
22         "comments": "",
23         "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
24         "outputs": 1,
25         "x": 453,
26         "y": 85,
27         "z": "2e17456e.1fa78a",
28         "wires": [
29             [
30                 "d7517e20.9dcd5"
31             ]
32         ]
33     },
34     {
35         "id": "d7517e20.9dcd5",
36         "type": "method",
37         "name": "self-serve-vfmodule-ra-assignment",
38         "xml": "<method rpc='self-serve-vfmodule-ra-assignment' mode='sync'>\n",
39         "comments": "",
40         "outputs": 1,
41         "x": 804,
42         "y": 85,
43         "z": "2e17456e.1fa78a",
44         "wires": [
45             [
46                 "ed8eb912.b3b758"
47             ]
48         ]
49     },
50     {
51         "id": "ed8eb912.b3b758",
52         "type": "block",
53         "name": "block atomic",
54         "xml": "<block atomic=\"true\">\n",
55         "atomic": "false",
56         "comments": "",
57         "outputs": 1,
58         "x": 189.5,
59         "y": 167,
60         "z": "2e17456e.1fa78a",
61         "wires": [
62             [
63                 "aa1b1c80.cc44a",
64                 "ad94d45c.b42738",
65                 "be3cc63c.1364a8",
66                 "d22ed1cc.a3d2",
67                 "3b2d4411.81821c",
68                 "e9f32b69.e2f1b8",
69                 "d975d3e7.41559",
70                 "2129120f.4c214e",
71                 "c3a30796.aceda8",
72                 "9175398d.c04fa8",
73                 "11b406c0.22da09",
74                 "bbab380e.910a58",
75                 "8e0f6b.25999098",
76                 "873ccf3b.1d408",
77                 "5989d23c.c4816c",
78                 "f15b2532.ed6cd8"
79             ]
80         ]
81     },
82     {
83         "id": "ad94d45c.b42738",
84         "type": "set",
85         "name": "set",
86         "xml": "<set>\n   <parameter name=\"cds\" value=\"execution-service_process.\"/>\n   <parameter name=\"`$cds + 'commonHeader.requestId'`\" value=\"`$tmp.return.generate.vnf-se-serv-uuid`\"/>\n   <parameter name=\"resource-type\" value=\"`$vf-module-topology-operation-input.vf-module-information.vf-module-type`\" />  \n   <parameter name=\"`$cds + 'commonHeader.subRequestId'`\" value=\"`$vf-module-topology-operation-input.vf-module-information.vf-module-id`\" />   \n   <parameter name=\"`$cds + 'actionIdentifiers.actionName'`\" value=\"resource-assignment\"/> \n   <parameter name=\"responsePrefix\" value=\"raAssign\" />\n   <parameter name=\"`$cds + 'isNonAppend'`\" value=\"true\"/>\n   <parameter name=\"`$cds + 'commonHeader.originatorId'`\" value=\"SDNC_DG\"/>\n   <parameter name=\"`$cds + 'actionIdentifiers.mode'`\" value=\"sync\"/>\n",
87         "comments": "",
88         "x": 370,
89         "y": 220,
90         "z": "2e17456e.1fa78a",
91         "wires": []
92     },
93     {
94         "id": "64e2173c.958b58",
95         "type": "outcome",
96         "name": "true",
97         "xml": "<outcome value='true'>",
98         "comments": "",
99         "outputs": 1,
100         "x": 650.2142486572266,
101         "y": 565.4642963409424,
102         "z": "2e17456e.1fa78a",
103         "wires": [
104             [
105                 "545277b4.e0bb38"
106             ]
107         ]
108     },
109     {
110         "id": "d22ed1cc.a3d2",
111         "type": "for",
112         "name": "for vf-module-topology-operation-input",
113         "xml": "<for silentFailure='true' index='i' start='0' end='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param_length`' >",
114         "comments": "",
115         "outputs": 1,
116         "x": 473.71431732177734,
117         "y": 430.7143135070801,
118         "z": "2e17456e.1fa78a",
119         "wires": [
120             [
121                 "4bf3e8f8.745bd8"
122             ]
123         ]
124     },
125     {
126         "id": "70a829fa.30fea8",
127         "type": "set",
128         "name": "set tmp.sdnc-model-name",
129         "xml": "<set>\n<parameter name='tmp.sdnc-model-name' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].value`' />\n",
130         "comments": "",
131         "x": 1220.428565979004,
132         "y": 363.1428813934326,
133         "z": "2e17456e.1fa78a",
134         "wires": []
135     },
136     {
137         "id": "3153b11f.bf66de",
138         "type": "outcome",
139         "name": "sdnc_model_name",
140         "xml": "<outcome value='sdnc_model_name'>\n",
141         "comments": "",
142         "outputs": 1,
143         "x": 966.4285659790039,
144         "y": 363.1428813934326,
145         "z": "2e17456e.1fa78a",
146         "wires": [
147             [
148                 "70a829fa.30fea8"
149             ]
150         ]
151     },
152     {
153         "id": "4bf3e8f8.745bd8",
154         "type": "switchNode",
155         "name": "switch",
156         "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].name`'>\n\n",
157         "comments": "",
158         "outputs": 1,
159         "x": 728.4285659790039,
160         "y": 430.1428813934326,
161         "z": "2e17456e.1fa78a",
162         "wires": [
163             [
164                 "3153b11f.bf66de",
165                 "2f8525ae.fd272a",
166                 "49db862e.217b58",
167                 "ba2667e.2988e98"
168             ]
169         ]
170     },
171     {
172         "id": "2f8525ae.fd272a",
173         "type": "outcome",
174         "name": "sdnc_model_version",
175         "xml": "<outcome value='sdnc_model_version'>\n",
176         "comments": "",
177         "outputs": 1,
178         "x": 969.4285659790039,
179         "y": 409.1428813934326,
180         "z": "2e17456e.1fa78a",
181         "wires": [
182             [
183                 "1585d1d8.a9e64e"
184             ]
185         ]
186     },
187     {
188         "id": "49db862e.217b58",
189         "type": "outcome",
190         "name": "vf_module_label",
191         "xml": "<outcome value='vf_module_label'>\n",
192         "comments": "",
193         "outputs": 1,
194         "x": 954.4285659790039,
195         "y": 458.1428813934326,
196         "z": "2e17456e.1fa78a",
197         "wires": [
198             [
199                 "4fdf7f0e.99111"
200             ]
201         ]
202     },
203     {
204         "id": "1585d1d8.a9e64e",
205         "type": "set",
206         "name": "set tmp.sdnc-model-version",
207         "xml": "<set>\n<parameter name='tmp.sdnc-model-version' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].value`' />\n\n",
208         "comments": "",
209         "x": 1224.428565979004,
210         "y": 409.1428813934326,
211         "z": "2e17456e.1fa78a",
212         "wires": []
213     },
214     {
215         "id": "4fdf7f0e.99111",
216         "type": "set",
217         "name": "set tmp.vf-module-label",
218         "xml": "<set>\n<parameter name='tmp.vf-module-label' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].value`' />\n\n",
219         "comments": "",
220         "x": 1206.428565979004,
221         "y": 458.1428813934326,
222         "z": "2e17456e.1fa78a",
223         "wires": []
224     },
225     {
226         "id": "99a874b2.f5f858",
227         "type": "set",
228         "name": "set name-value other JsonString",
229         "xml": "<set>\n<parameter name=\"tmp.config-name-value-other-payload\" value=\"`$tmp.config-name-value-other-payload + '&quot;' + $vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].name + '&quot;:&quot;' + $vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].value + '&quot;,'`\"/>\n\n",
230         "comments": "",
231         "x": 1224.428565979004,
232         "y": 509.1428813934326,
233         "z": "2e17456e.1fa78a",
234         "wires": []
235     },
236     {
237         "id": "ba2667e.2988e98",
238         "type": "outcome",
239         "name": "other",
240         "xml": "<outcome value='Other'>\n",
241         "comments": "",
242         "outputs": 1,
243         "x": 926.4285659790039,
244         "y": 509.1428813934326,
245         "z": "2e17456e.1fa78a",
246         "wires": [
247             [
248                 "99a874b2.f5f858"
249             ]
250         ]
251     },
252     {
253         "id": "3b2d4411.81821c",
254         "type": "set",
255         "name": "set configAssignment JsonString",
256         "xml": "<set>\n<parameter name=\"tmp.config-name-value-payload4\" value=\"`$tmp.config-name-value-other-payload + '&quot;service-instance-id&quot;:&quot;' + $vf-module-topology-operation-input.service-information.service-instance-id + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload5\" value=\"`$tmp.config-name-value-payload4 + '&quot;vnf-id&quot;:&quot;' + $vf-module-topology-operation-input.vnf-information.vnf-id + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload6\" value=\"`$tmp.config-name-value-payload5 + '&quot;vf-module-model-customization-uuid&quot;:&quot;' + $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload7\" value=\"`$tmp.config-name-value-payload6 + '&quot;vnf-model-customization-uuid&quot;:&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.onap-model-information.model-customization-uuid + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload8\" value=\"`$tmp.config-name-value-payload7 + '&quot;vf-module-id&quot;:&quot;' + $vf-module-topology-operation-input.vf-module-information.vf-module-id + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload9\" value=\"`$tmp.config-name-value-payload8 + '&quot;aic-cloud-region&quot;:&quot;' + $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region + '&quot;'`\"/>",
257         "comments": "",
258         "x": 450,
259         "y": 660,
260         "z": "2e17456e.1fa78a",
261         "wires": []
262     },
263     {
264         "id": "e9f32b69.e2f1b8",
265         "type": "execute",
266         "name": "execute BlueprintProcessingClient",
267         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value=\"`$prop.cds.url + '/api/v1/execution-service/process'`\" />\n    <parameter name='restapiUser' value='`$prop.cds.user`' />\n    <parameter name='restapiPassword' value='`$prop.cds.pwd`' />\n    <parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='POST' />\n    <parameter name=\"responsePrefix\" value=\"`$responsePrefix`\" />",
268         "comments": "",
269         "outputs": 1,
270         "x": 459.33331298828125,
271         "y": 900,
272         "z": "2e17456e.1fa78a",
273         "wires": [
274             [
275                 "110f9145.d77fff",
276                 "356e5968.733e76"
277             ]
278         ]
279     },
280     {
281         "id": "110f9145.d77fff",
282         "type": "failure",
283         "name": "failure",
284         "xml": "<outcome value='failure'>\n",
285         "comments": "",
286         "outputs": 1,
287         "x": 683.3333129882812,
288         "y": 866,
289         "z": "2e17456e.1fa78a",
290         "wires": [
291             [
292                 "48054045.e69da"
293             ]
294         ]
295     },
296     {
297         "id": "48054045.e69da",
298         "type": "returnFailure",
299         "name": "return failure",
300         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error from ConfigAssignmentNode\" />\n",
301         "comments": "",
302         "x": 881.3333129882812,
303         "y": 866,
304         "z": "2e17456e.1fa78a",
305         "wires": []
306     },
307     {
308         "id": "2129120f.4c214e",
309         "type": "for",
310         "name": "for resource-accumulator-resolved-data loop",
311         "xml": "<for silentFailure='true' index='i' start='0' end='`$jsonContextPrefix.resource-accumulator-resolved-data_length`' >\n",
312         "comments": "",
313         "outputs": 1,
314         "x": 492.00001525878906,
315         "y": 1168.3333473205566,
316         "z": "2e17456e.1fa78a",
317         "wires": [
318             [
319                 "cb710ae6.5a4038"
320             ]
321         ]
322     },
323     {
324         "id": "9c282888.202138",
325         "type": "set",
326         "name": "set from resource-accumulator-resolved-data",
327         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].name`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].resource-resolution-data.capability-name`' value='RA Resolved'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].resource-resolution-data.status`' value='SUCCESS'/>\n\n",
328         "comments": "",
329         "x": 1706.000015258789,
330         "y": 1219.3333473205566,
331         "z": "2e17456e.1fa78a",
332         "wires": []
333     },
334     {
335         "id": "c3a30796.aceda8",
336         "type": "for",
337         "name": "for capability-data",
338         "xml": "<for silentFailure='true' index='i' start='0' end='`$jsonContextPrefix.capability-data_length`' >\n",
339         "comments": "",
340         "outputs": 1,
341         "x": 411.00001525878906,
342         "y": 1431.3333473205566,
343         "z": "2e17456e.1fa78a",
344         "wires": [
345             [
346                 "74b1206d.0fed1"
347             ]
348         ]
349     },
350     {
351         "id": "74b1206d.0fed1",
352         "type": "for",
353         "name": "for key-mapping",
354         "xml": "<for silentFailure='true' index='j' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping_length`' >",
355         "comments": "",
356         "outputs": 1,
357         "x": 634.0000152587891,
358         "y": 1431.3333473205566,
359         "z": "2e17456e.1fa78a",
360         "wires": [
361             [
362                 "acaea466.cd4ab8"
363             ]
364         ]
365     },
366     {
367         "id": "d975d3e7.41559",
368         "type": "execute",
369         "name": "execute jsonStringToCtx",
370         "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"`'raAssign.payload.resource-assignment-response.meshed-template.' + $tmp.vf-module-label`\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",
371         "comments": "",
372         "outputs": 1,
373         "x": 436.00001525878906,
374         "y": 1089.3333473205566,
375         "z": "2e17456e.1fa78a",
376         "wires": [
377             []
378         ]
379     },
380     {
381         "id": "aa1b1c80.cc44a",
382         "type": "execute",
383         "name": "execute generateUUID",
384         "xml": " <execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"generateUUID\" > \n <parameter name=\"ctx-destination\" value=\"tmp.return.generate.vnf-se-serv-uuid\" /> \n ",
385         "comments": "",
386         "outputs": 1,
387         "x": 419,
388         "y": 167,
389         "z": "2e17456e.1fa78a",
390         "wires": [
391             [
392                 "322955c2.67bfda"
393             ]
394         ]
395     },
396     {
397         "id": "322955c2.67bfda",
398         "type": "failure",
399         "name": "failure",
400         "xml": "<outcome value='failure'>\n",
401         "comments": "",
402         "outputs": 1,
403         "x": 624,
404         "y": 167,
405         "z": "2e17456e.1fa78a",
406         "wires": [
407             [
408                 "eedef31.1f0501"
409             ]
410         ]
411     },
412     {
413         "id": "eedef31.1f0501",
414         "type": "returnFailure",
415         "name": "return failure",
416         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"generateUUID is failed\" />\n",
417         "comments": "",
418         "x": 788,
419         "y": 166,
420         "z": "2e17456e.1fa78a",
421         "wires": []
422     },
423     {
424         "id": "ee67402d.5d28e",
425         "type": "for",
426         "name": "for vnf-parameters-data.param",
427         "xml": "<for silentFailure='true' index='cnt' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n",
428         "comments": "",
429         "outputs": 1,
430         "x": 1465.000015258789,
431         "y": 1168.3333473205566,
432         "z": "2e17456e.1fa78a",
433         "wires": [
434             [
435                 "7f19057e.59cacc"
436             ]
437         ]
438     },
439     {
440         "id": "cb710ae6.5a4038",
441         "type": "block",
442         "name": "block atomic",
443         "xml": "<block atomic=\"true\">",
444         "atomic": "false",
445         "comments": "",
446         "outputs": 1,
447         "x": 771.0000152587891,
448         "y": 1169.3333473205566,
449         "z": "2e17456e.1fa78a",
450         "wires": [
451             [
452                 "e2f0cba4.654da8",
453                 "bd5d211c.f590f",
454                 "69e4eac9.bfa664"
455             ]
456         ]
457     },
458     {
459         "id": "be3cc63c.1364a8",
460         "type": "switchNode",
461         "name": "switch vf-parameters-data.param_length",
462         "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`'>\n",
463         "comments": "",
464         "outputs": 1,
465         "x": 491,
466         "y": 268,
467         "z": "2e17456e.1fa78a",
468         "wires": [
469             [
470                 "dcf68c0.5595078",
471                 "212315d0.254f0a"
472             ]
473         ]
474     },
475     {
476         "id": "dcf68c0.5595078",
477         "type": "outcome",
478         "name": "null",
479         "xml": "<outcome value=''>",
480         "comments": "",
481         "outputs": 1,
482         "x": 754.1428833007812,
483         "y": 235.85715293884277,
484         "z": "2e17456e.1fa78a",
485         "wires": [
486             [
487                 "2fd156a6.7f84aa"
488             ]
489         ]
490     },
491     {
492         "id": "212315d0.254f0a",
493         "type": "other",
494         "name": "other",
495         "xml": "<outcome value='Other'>\n",
496         "comments": "",
497         "outputs": 1,
498         "x": 753.1428833007812,
499         "y": 299.8571529388428,
500         "z": "2e17456e.1fa78a",
501         "wires": [
502             [
503                 "704076e8.db1178"
504             ]
505         ]
506     },
507     {
508         "id": "2fd156a6.7f84aa",
509         "type": "set",
510         "name": "set pre service param len as 0",
511         "xml": "<set>\n   <parameter name='highnum' value='0' />\n   <parameter name='prehighnum' value='0'/>\n",
512         "comments": "",
513         "x": 967.1428833007812,
514         "y": 235.85715293884277,
515         "z": "2e17456e.1fa78a",
516         "wires": []
517     },
518     {
519         "id": "704076e8.db1178",
520         "type": "set",
521         "name": "set pre service param len",
522         "xml": "<set>\n   <parameter name='highnum' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' />\n   <parameter name='prehighnum' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' />",
523         "comments": "",
524         "x": 952.1428833007812,
525         "y": 299.8571529388428,
526         "z": "2e17456e.1fa78a",
527         "wires": []
528     },
529     {
530         "id": "7f19057e.59cacc",
531         "type": "switchNode",
532         "name": "switch input vnf-name",
533         "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cnt].name == $jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'>\n",
534         "comments": "",
535         "outputs": 1,
536         "x": 1723.000015258789,
537         "y": 1168.3333473205566,
538         "z": "2e17456e.1fa78a",
539         "wires": [
540             [
541                 "249e69e0.c58706"
542             ]
543         ]
544     },
545     {
546         "id": "249e69e0.c58706",
547         "type": "not-found",
548         "name": "true",
549         "xml": "<outcome value='true'>\n",
550         "comments": "",
551         "outputs": 1,
552         "x": 1903.000015258789,
553         "y": 1168.3333473205566,
554         "z": "2e17456e.1fa78a",
555         "wires": [
556             [
557                 "ed76b6f6.2b9568"
558             ]
559         ]
560     },
561     {
562         "id": "ed76b6f6.2b9568",
563         "type": "set",
564         "name": "set for existing param name",
565         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cnt].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n<parameter name='tmp.mso.param.found' value='true' />\n",
566         "comments": "",
567         "x": 2113.000015258789,
568         "y": 1169.3333473205566,
569         "z": "2e17456e.1fa78a",
570         "wires": []
571     },
572     {
573         "id": "69e4eac9.bfa664",
574         "type": "switchNode",
575         "name": "switch tmp.mso.param.not-found",
576         "xml": "<switch test='`$tmp.mso.param.found`'>\n",
577         "comments": "",
578         "outputs": 1,
579         "x": 1013.0000152587891,
580         "y": 1221.3333473205566,
581         "z": "2e17456e.1fa78a",
582         "wires": [
583             [
584                 "9a1a87b5.132028"
585             ]
586         ]
587     },
588     {
589         "id": "9a1a87b5.132028",
590         "type": "not-found",
591         "name": "false",
592         "xml": "<outcome value='false'>\n",
593         "comments": "",
594         "outputs": 1,
595         "x": 1247.000015258789,
596         "y": 1220.3333473205566,
597         "z": "2e17456e.1fa78a",
598         "wires": [
599             [
600                 "60cb391a.7088d8"
601             ]
602         ]
603     },
604     {
605         "id": "e2f0cba4.654da8",
606         "type": "set",
607         "name": "set for existing param name",
608         "xml": "<set>\n<parameter name='tmp.mso.param.found' value='false' />\n",
609         "comments": "",
610         "x": 997.0000152587891,
611         "y": 1110.3333473205566,
612         "z": "2e17456e.1fa78a",
613         "wires": []
614     },
615     {
616         "id": "bd5d211c.f590f",
617         "type": "switchNode",
618         "name": "switch check length > 0",
619         "xml": "<switch test='`$prehighnum &gt; 0`'>\n",
620         "comments": "",
621         "outputs": 1,
622         "x": 989.5000152587891,
623         "y": 1169.3333473205566,
624         "z": "2e17456e.1fa78a",
625         "wires": [
626             [
627                 "a9041b72.5fd4e8"
628             ]
629         ]
630     },
631     {
632         "id": "a9041b72.5fd4e8",
633         "type": "not-found",
634         "name": "true",
635         "xml": "<outcome value='true'>\n",
636         "comments": "",
637         "outputs": 1,
638         "x": 1236.500015258789,
639         "y": 1169.3333473205566,
640         "z": "2e17456e.1fa78a",
641         "wires": [
642             [
643                 "ee67402d.5d28e"
644             ]
645         ]
646     },
647     {
648         "id": "a8fb4875.424878",
649         "type": "for",
650         "name": "for payload",
651         "xml": "<for index='k' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length`' >",
652         "comments": "",
653         "outputs": 1,
654         "x": 1683.000015258789,
655         "y": 1483.3333473205566,
656         "z": "2e17456e.1fa78a",
657         "wires": [
658             [
659                 "d1581b7a.307818"
660             ]
661         ]
662     },
663     {
664         "id": "c34d628a.5ba25",
665         "type": "set",
666         "name": "set resource-key",
667         "xml": "<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].resource-resolution-data.resource-key[$num].name`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload[$k].param-name`'/>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].resource-resolution-data.resource-key[$num].value`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload[$k].param-value`'/>\n\t\n",
668         "comments": "",
669         "x": 2082.000015258789,
670         "y": 1424.3333473205566,
671         "z": "2e17456e.1fa78a",
672         "wires": []
673     },
674     {
675         "id": "8aa1345a.8ddd28",
676         "type": "set",
677         "name": "set output-data ",
678         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].name`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping[$l].resource-name`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].value`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping[$l].resource-value`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].resource-resolution-data.capability-name`' value='`$jsonContextPrefix.capability-data[$i].capability-name`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].resource-resolution-data.status`' value='PENDING'/>\n<parameter name='num' value='0' />",
679         "comments": "",
680         "x": 1261.000015258789,
681         "y": 1385.3333473205566,
682         "z": "2e17456e.1fa78a",
683         "wires": []
684     },
685     {
686         "id": "acaea466.cd4ab8",
687         "type": "for",
688         "name": "for output-key-mapping",
689         "xml": "<for silentFailure='true' index='l' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping_length`' >",
690         "comments": "",
691         "outputs": 1,
692         "x": 869.0000152587891,
693         "y": 1432.3333473205566,
694         "z": "2e17456e.1fa78a",
695         "wires": [
696             [
697                 "44eeef6b.763aa"
698             ]
699         ]
700     },
701     {
702         "id": "44eeef6b.763aa",
703         "type": "block",
704         "name": "block atomic",
705         "xml": "<block atomic=\"true\">",
706         "atomic": "false",
707         "comments": "",
708         "outputs": 1,
709         "x": 1064.000015258789,
710         "y": 1431.3333473205566,
711         "z": "2e17456e.1fa78a",
712         "wires": [
713             [
714                 "8aa1345a.8ddd28",
715                 "859dcf36.75878",
716                 "7a25862.9293b78",
717                 "cf8679e9.4fafd8"
718             ]
719         ]
720     },
721     {
722         "id": "7a25862.9293b78",
723         "type": "set",
724         "name": "set length",
725         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' value='`$highnum + 1`'/>\n\n",
726         "comments": "",
727         "x": 1260.000015258789,
728         "y": 1483.3333473205566,
729         "z": "2e17456e.1fa78a",
730         "wires": []
731     },
732     {
733         "id": "356e5968.733e76",
734         "type": "failure",
735         "name": "not-found",
736         "xml": "<outcome value='not-found'>\n",
737         "comments": "",
738         "outputs": 1,
739         "x": 688.3333129882812,
740         "y": 928,
741         "z": "2e17456e.1fa78a",
742         "wires": [
743             [
744                 "48054045.e69da"
745             ]
746         ]
747     },
748     {
749         "id": "859dcf36.75878",
750         "type": "switchNode",
751         "name": "switch payload_length",
752         "xml": "<switch test=\"`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length == ''`\">\n",
753         "comments": "",
754         "outputs": 1,
755         "x": 1290.000015258789,
756         "y": 1432.3333473205566,
757         "z": "2e17456e.1fa78a",
758         "wires": [
759             [
760                 "4c86e71b.d68c88",
761                 "24678540.a0541a"
762             ]
763         ]
764     },
765     {
766         "id": "4c86e71b.d68c88",
767         "type": "outcome",
768         "name": "true",
769         "xml": "<outcome value='true'>",
770         "comments": "",
771         "outputs": 1,
772         "x": 1505.000015258789,
773         "y": 1364.3333473205566,
774         "z": "2e17456e.1fa78a",
775         "wires": [
776             []
777         ]
778     },
779     {
780         "id": "24678540.a0541a",
781         "type": "other",
782         "name": "false",
783         "xml": "<outcome value='false'>\n",
784         "comments": "",
785         "outputs": 1,
786         "x": 1514.000015258789,
787         "y": 1483.3333473205566,
788         "z": "2e17456e.1fa78a",
789         "wires": [
790             [
791                 "a8fb4875.424878"
792             ]
793         ]
794     },
795     {
796         "id": "9175398d.c04fa8",
797         "type": "switchNode",
798         "name": "switch: model info == NULL",
799         "xml": "<switch test=\"`$tmp.sdnc-model-name == '' or $tmp.sdnc-model-version == '' or $tmp.vf-module-label == ''`\">\n",
800         "comments": "",
801         "outputs": 1,
802         "x": 438.78570556640625,
803         "y": 565.6071863174438,
804         "z": "2e17456e.1fa78a",
805         "wires": [
806             [
807                 "64e2173c.958b58"
808             ]
809         ]
810     },
811     {
812         "id": "d294acc7.bd931",
813         "type": "get-resource",
814         "name": "get VF_MODEL.sdnc_model_name",
815         "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from VF_MODEL WHERE customization_uuid = $vf-module-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid'\n  pfx='db1.vf-model'>\n\n",
816         "comments": "",
817         "outputs": 1,
818         "x": 1116.9285354614258,
819         "y": 566.464297413826,
820         "z": "2e17456e.1fa78a",
821         "wires": [
822             [
823                 "10c023aa.5d4fbc",
824                 "dedcf4a6.d6ca18",
825                 "2f6f6c84.413364"
826             ]
827         ]
828     },
829     {
830         "id": "10c023aa.5d4fbc",
831         "type": "failure",
832         "name": "failure",
833         "xml": "<outcome value='failure'>\n",
834         "comments": "",
835         "outputs": 1,
836         "x": 1360.1427536010742,
837         "y": 566.8451566696167,
838         "z": "2e17456e.1fa78a",
839         "wires": [
840             [
841                 "2b521b7.20a39e4"
842             ]
843         ]
844     },
845     {
846         "id": "2b521b7.20a39e4",
847         "type": "returnFailure",
848         "name": "return failure",
849         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error reading VF_MODEL table\" />\n",
850         "comments": "",
851         "x": 1541.142734527588,
852         "y": 566.9880638122559,
853         "z": "2e17456e.1fa78a",
854         "wires": []
855     },
856     {
857         "id": "64e226e0.1a2c48",
858         "type": "get-resource",
859         "name": "get VF_MODULE_MODEL.vf-module-label",
860         "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT vf_module_label from VF_MODULE_MODEL WHERE customization_uuid = $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid \n  \tAND vf_module_label is not null'\n  pfx='db1.vf-module-model'>\n\n",
861         "comments": "",
862         "outputs": 1,
863         "x": 1138.380874633789,
864         "y": 695.3095798492432,
865         "z": "2e17456e.1fa78a",
866         "wires": [
867             [
868                 "8ea00362.3b8f7",
869                 "cf82827d.c0abe",
870                 "78e0a6e.6498258"
871             ]
872         ]
873     },
874     {
875         "id": "8ea00362.3b8f7",
876         "type": "failure",
877         "name": "failure",
878         "xml": "<outcome value='failure'>\n",
879         "comments": "",
880         "outputs": 1,
881         "x": 1417.1664581298828,
882         "y": 695.6904038190842,
883         "z": "2e17456e.1fa78a",
884         "wires": [
885             [
886                 "9c3a2915.d4bae8"
887             ]
888         ]
889     },
890     {
891         "id": "9c3a2915.d4bae8",
892         "type": "returnFailure",
893         "name": "return failure",
894         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error reading VF_MODULE_MODEL table\" />\n",
895         "comments": "",
896         "x": 1592.166389465332,
897         "y": 695.8333042860031,
898         "z": "2e17456e.1fa78a",
899         "wires": []
900     },
901     {
902         "id": "cf82827d.c0abe",
903         "type": "success",
904         "name": "success",
905         "xml": "<outcome value='success'>\n",
906         "comments": "",
907         "outputs": 1,
908         "x": 1427.3808822631836,
909         "y": 775.095287322998,
910         "z": "2e17456e.1fa78a",
911         "wires": [
912             [
913                 "726ff5db.17542c"
914             ]
915         ]
916     },
917     {
918         "id": "545277b4.e0bb38",
919         "type": "block",
920         "name": "block : atomic",
921         "xml": "<block atomic=\"true\">",
922         "atomic": "true",
923         "outputs": 1,
924         "x": 825.7380294799805,
925         "y": 565.8452922105789,
926         "z": "2e17456e.1fa78a",
927         "wires": [
928             [
929                 "d294acc7.bd931",
930                 "64e226e0.1a2c48"
931             ]
932         ]
933     },
934     {
935         "id": "7bffb405.6623ac",
936         "type": "set",
937         "name": "set sdnc-model-name, sdnc-model-version",
938         "xml": "<set>\n<parameter name='tmp.sdnc-model-name' value='`$db1.vf-model.sdnc-model-name`' />\n<parameter name='tmp.sdnc-model-version' value='`$db1.vf-model.sdnc-model-version`' />\n\n\n\n",
939         "comments": "",
940         "x": 1639.42866897583,
941         "y": 646.964334487915,
942         "z": "2e17456e.1fa78a",
943         "wires": []
944     },
945     {
946         "id": "dedcf4a6.d6ca18",
947         "type": "success",
948         "name": "success",
949         "xml": "<outcome value='success'>\n",
950         "comments": "",
951         "outputs": 1,
952         "x": 1368.0001411437988,
953         "y": 647.2500095367432,
954         "z": "2e17456e.1fa78a",
955         "wires": [
956             [
957                 "7bffb405.6623ac"
958             ]
959         ]
960     },
961     {
962         "id": "726ff5db.17542c",
963         "type": "set",
964         "name": "set vf-module-label",
965         "xml": "<set>\n<parameter name='tmp.vf-module-label' value='`$db1.vf-module-model.vf-module-label`' />\n\n\n\n",
966         "comments": "",
967         "x": 1631.821434020996,
968         "y": 776.6786003112793,
969         "z": "2e17456e.1fa78a",
970         "wires": []
971     },
972     {
973         "id": "d1581b7a.307818",
974         "type": "block",
975         "name": "block : atomic",
976         "xml": "<block atomic='true'>",
977         "atomic": "true",
978         "comments": "",
979         "outputs": 1,
980         "x": 1860.000015258789,
981         "y": 1482.3333473205566,
982         "z": "2e17456e.1fa78a",
983         "wires": [
984             [
985                 "c34d628a.5ba25",
986                 "c56e214a.a3f38",
987                 "57886653.e3ab98"
988             ]
989         ]
990     },
991     {
992         "id": "c56e214a.a3f38",
993         "type": "set",
994         "name": "set length",
995         "xml": "<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].resource-resolution-data.resource-key_length`' value='`$num + 1`'/>\n",
996         "comments": "",
997         "x": 2071.000015258789,
998         "y": 1482.3333473205566,
999         "z": "2e17456e.1fa78a",
1000         "wires": []
1001     },
1002     {
1003         "id": "2f6f6c84.413364",
1004         "type": "not-found",
1005         "name": "not-found",
1006         "xml": "<outcome value='not-found'>\n",
1007         "comments": "",
1008         "outputs": 1,
1009         "x": 1370.7500190734863,
1010         "y": 606.5000076293945,
1011         "z": "2e17456e.1fa78a",
1012         "wires": [
1013             [
1014                 "6ec44df1.26ebd4"
1015             ]
1016         ]
1017     },
1018     {
1019         "id": "6ec44df1.26ebd4",
1020         "type": "returnFailure",
1021         "name": "return failure",
1022         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'No VF_MODEL found with customization_uuid = ' + $vf-module-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`\" />",
1023         "comments": "",
1024         "x": 1542.0000228881836,
1025         "y": 605.2500085830688,
1026         "z": "2e17456e.1fa78a",
1027         "wires": []
1028     },
1029     {
1030         "id": "78e0a6e.6498258",
1031         "type": "not-found",
1032         "name": "not-found",
1033         "xml": "<outcome value='not-found'>\n",
1034         "comments": "",
1035         "outputs": 1,
1036         "x": 1428.25,
1037         "y": 736.5,
1038         "z": "2e17456e.1fa78a",
1039         "wires": [
1040             [
1041                 "b55099bd.544558"
1042             ]
1043         ]
1044     },
1045     {
1046         "id": "b55099bd.544558",
1047         "type": "returnFailure",
1048         "name": "return failure",
1049         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'vf_module_label not found in VF_MODULE_MODEL WHERE customization_uuid = ' + $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`\" />",
1050         "comments": "",
1051         "x": 1599.5000038146973,
1052         "y": 735.2500009536743,
1053         "z": "2e17456e.1fa78a",
1054         "wires": []
1055     },
1056     {
1057         "id": "57886653.e3ab98",
1058         "type": "set",
1059         "name": "increment length",
1060         "xml": "<set>\n\t<parameter name='num' value='`$num + 1`' />\n",
1061         "comments": "",
1062         "x": 2084.000015258789,
1063         "y": 1548.3333473205566,
1064         "z": "2e17456e.1fa78a",
1065         "wires": []
1066     },
1067     {
1068         "id": "cf8679e9.4fafd8",
1069         "type": "set",
1070         "name": "increment length",
1071         "xml": "<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n",
1072         "comments": "",
1073         "x": 1277.000015258789,
1074         "y": 1554.3333473205566,
1075         "z": "2e17456e.1fa78a",
1076         "wires": []
1077     },
1078     {
1079         "id": "a939f9eb.ae83b8",
1080         "type": "set",
1081         "name": "increment length",
1082         "xml": "<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n",
1083         "comments": "",
1084         "x": 1624.000015258789,
1085         "y": 1279.3333473205566,
1086         "z": "2e17456e.1fa78a",
1087         "wires": []
1088     },
1089     {
1090         "id": "60cb391a.7088d8",
1091         "type": "block",
1092         "name": "block : atomic",
1093         "xml": "<block atomic='true'>",
1094         "atomic": "true",
1095         "comments": "",
1096         "outputs": 1,
1097         "x": 1418.000015258789,
1098         "y": 1219.3333473205566,
1099         "z": "2e17456e.1fa78a",
1100         "wires": [
1101             [
1102                 "9c282888.202138",
1103                 "a939f9eb.ae83b8"
1104             ]
1105         ]
1106     },
1107     {
1108         "id": "11b406c0.22da09",
1109         "type": "record",
1110         "name": "record",
1111         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"BEFORE BlueprintProcessingClient\"/>\n\n",
1112         "comments": "",
1113         "outputs": 1,
1114         "x": 370,
1115         "y": 820,
1116         "z": "2e17456e.1fa78a",
1117         "wires": [
1118             []
1119         ]
1120     },
1121     {
1122         "id": "bbab380e.910a58",
1123         "type": "record",
1124         "name": "record",
1125         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"AFTER BlueprintProcessingClient\"/>\n\n",
1126         "comments": "",
1127         "outputs": 1,
1128         "x": 380.3333282470703,
1129         "y": 984.000018119812,
1130         "z": "2e17456e.1fa78a",
1131         "wires": [
1132             []
1133         ]
1134     },
1135     {
1136         "id": "873ccf3b.1d408",
1137         "type": "execute",
1138         "name": "printContext",
1139         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='`$pathname`' />\n",
1140         "comments": "",
1141         "outputs": 1,
1142         "x": 393.25,
1143         "y": 1706.5000133514404,
1144         "z": "2e17456e.1fa78a",
1145         "wires": [
1146             []
1147         ]
1148     },
1149     {
1150         "id": "8e0f6b.25999098",
1151         "type": "set",
1152         "name": "set pathname",
1153         "xml": "<set>\n<parameter name='pathname' \n\tvalue=\"`'/var/tmp/ss-vfmodule-ra-assignment-' + \n\t$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.vf-module-id + '.log'`\" />\n",
1154         "comments": "",
1155         "x": 399.5,
1156         "y": 1654.0000114440918,
1157         "z": "2e17456e.1fa78a",
1158         "wires": []
1159     },
1160     {
1161         "id": "5989d23c.c4816c",
1162         "type": "record",
1163         "name": "record",
1164         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"DONE: vfmodule-ra-assignment\"/>\n\n",
1165         "comments": "",
1166         "outputs": 1,
1167         "x": 378.00000381469727,
1168         "y": 1605.2500190734863,
1169         "z": "2e17456e.1fa78a",
1170         "wires": [
1171             []
1172         ]
1173     },
1174     {
1175         "id": "f15b2532.ed6cd8",
1176         "type": "set",
1177         "name": "set updateJsonPayload",
1178         "xml": "<set>\n\t<parameter name=\"tmp.json-payload\" value=\"`'{' + $tmp.config-name-value-payload9 + '}'`\" />\n    <parameter name=\"`$cds + 'actionIdentifiers.blueprintName'`\" value='`$tmp.sdnc-model-name`' />\n    <parameter name=\"`$cds + 'actionIdentifiers.blueprintVersion'`\" value='`$tmp.sdnc-model-version`' />\n    <parameter name=\"`$cds + 'payload.resource-assignment-request.template-prefix[0]'`\" value='`$tmp.vf-module-label`' />\n    <parameter name=\"`$cds + 'payload.resource-assignment-request.resource-assignment-properties'`\" value='`$tmp.json-payload`' />",
1179         "comments": "",
1180         "x": 421,
1181         "y": 740,
1182         "z": "2e17456e.1fa78a",
1183         "wires": []
1184     }
1185 ]