Bug fix to change leaf-list in yang
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.json
1 [
2     {
3         "id": "1e918461.063a3c",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 125,
8         "y": 42,
9         "z": "3ef876bf.78b1fa",
10         "wires": [
11             [
12                 "7b65fd49.93ba14"
13             ]
14         ]
15     },
16     {
17         "id": "7b65fd49.93ba14",
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": 401,
26         "y": 43,
27         "z": "3ef876bf.78b1fa",
28         "wires": [
29             [
30                 "96f203b4.cb4d1"
31             ]
32         ]
33     },
34     {
35         "id": "96f203b4.cb4d1",
36         "type": "method",
37         "name": "self-serve-vnf-ra-assignment",
38         "xml": "<method rpc='self-serve-vnf-ra-assignment' mode='sync'>\n",
39         "comments": "",
40         "outputs": 1,
41         "x": 718,
42         "y": 43,
43         "z": "3ef876bf.78b1fa",
44         "wires": [
45             [
46                 "38f3f9c9.28a466"
47             ]
48         ]
49     },
50     {
51         "id": "38f3f9c9.28a466",
52         "type": "block",
53         "name": "block atomic",
54         "xml": "<block atomic=\"true\">\n",
55         "atomic": "false",
56         "comments": "",
57         "outputs": 1,
58         "x": 214.16664123535156,
59         "y": 123.33333396911621,
60         "z": "3ef876bf.78b1fa",
61         "wires": [
62             [
63                 "5a42798d.9a03d8",
64                 "94e52d4.07895d",
65                 "f709c437.029758",
66                 "ef8d7a.8b1ad288",
67                 "bdb13e3c.e9de2",
68                 "dd0c4879.786768",
69                 "654c303d.bc966",
70                 "41ae2337.afe27c",
71                 "8e50b155.95aaa",
72                 "4b3da748.094068",
73                 "72e48172.d53ce",
74                 "4471abbd.a27dc4",
75                 "40bf0919.577208",
76                 "fa837cb4.36bad",
77                 "c9addd0a.302f8",
78                 "d351ac36.10e8b"
79             ]
80         ]
81     },
82     {
83         "id": "94e52d4.07895d",
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=\"`$vnf-topology-operation-input.vnf-information.vnf-type`\" />  \n   <parameter name=\"`$cds + 'commonHeader.subRequestId'`\" value=\"`$vnf-topology-operation-input.vnf-information.vnf-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": 399.9166603088379,
89         "y": 168.08333015441895,
90         "z": "3ef876bf.78b1fa",
91         "wires": []
92     },
93     {
94         "id": "1f52d973.dc6427",
95         "type": "get-resource",
96         "name": "get-resource VF_MODEL",
97         "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from VF_MODEL WHERE customization_uuid = $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid'\n  pfx='db1.vf-model'>\n  \n\n",
98         "comments": "",
99         "outputs": 1,
100         "x": 938.8094635009766,
101         "y": 559.6189861297607,
102         "z": "3ef876bf.78b1fa",
103         "wires": [
104             [
105                 "ef8bd7bf.770928",
106                 "785d91f7.04973",
107                 "7c972f3e.f0f83"
108             ]
109         ]
110     },
111     {
112         "id": "ef8bd7bf.770928",
113         "type": "failure",
114         "name": "failure",
115         "xml": "<outcome value='failure'>\n",
116         "comments": "",
117         "outputs": 1,
118         "x": 1183.8095626831055,
119         "y": 508.904709815979,
120         "z": "3ef876bf.78b1fa",
121         "wires": [
122             [
123                 "a279ec52.aab4c"
124             ]
125         ]
126     },
127     {
128         "id": "a279ec52.aab4c",
129         "type": "returnFailure",
130         "name": "return failure",
131         "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",
132         "comments": "",
133         "x": 1356.8095626831055,
134         "y": 507.904709815979,
135         "z": "3ef876bf.78b1fa",
136         "wires": []
137     },
138     {
139         "id": "a6be3be4.1bdc08",
140         "type": "set",
141         "name": "set tmp.sdnc-model-name, tmp.sdnc-model-version, tmp.sdnc-artifact-name",
142         "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<parameter name='tmp.sdnc-artifact-name' value='`$db1.vf-model.sdnc-artifact-name`' />\n\n\n\n\n",
143         "comments": "",
144         "x": 1559.2380638122559,
145         "y": 609.047513961792,
146         "z": "3ef876bf.78b1fa",
147         "wires": []
148     },
149     {
150         "id": "46a2ef10.633e8",
151         "type": "returnFailure",
152         "name": "return failure",
153         "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",
154         "comments": "",
155         "x": 1358.8095626831055,
156         "y": 556.904709815979,
157         "z": "3ef876bf.78b1fa",
158         "wires": []
159     },
160     {
161         "id": "bdb13e3c.e9de2",
162         "type": "switchNode",
163         "name": "switch: model info == NULL",
164         "xml": "<switch test=\"`$tmp.sdnc-model-name == '' or $tmp.sdnc-model-version == '' or $tmp.sdnc-artifact-name == ''`\">\n",
165         "comments": "",
166         "outputs": 1,
167         "x": 459.80946350097656,
168         "y": 560.6189861297607,
169         "z": "3ef876bf.78b1fa",
170         "wires": [
171             [
172                 "25045ee0.e3d5c2"
173             ]
174         ]
175     },
176     {
177         "id": "785d91f7.04973",
178         "type": "not-found",
179         "name": "not-found",
180         "xml": "<outcome value='not-found'>\n",
181         "comments": "",
182         "outputs": 1,
183         "x": 1189.8095626831055,
184         "y": 557.904709815979,
185         "z": "3ef876bf.78b1fa",
186         "wires": [
187             [
188                 "46a2ef10.633e8"
189             ]
190         ]
191     },
192     {
193         "id": "25045ee0.e3d5c2",
194         "type": "outcome",
195         "name": "true",
196         "xml": "<outcome value='true'>",
197         "comments": "",
198         "outputs": 1,
199         "x": 708.8094635009766,
200         "y": 560.6189861297607,
201         "z": "3ef876bf.78b1fa",
202         "wires": [
203             [
204                 "1f52d973.dc6427"
205             ]
206         ]
207     },
208     {
209         "id": "ef8d7a.8b1ad288",
210         "type": "for",
211         "name": "for vnf-topology-operation-input",
212         "xml": "<for silentFailure='true' index='i' start='0' end='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`' >",
213         "comments": "",
214         "outputs": 1,
215         "x": 475.66664123535156,
216         "y": 360.3333339691162,
217         "z": "3ef876bf.78b1fa",
218         "wires": [
219             [
220                 "51f6fdb.4dce504"
221             ]
222         ]
223     },
224     {
225         "id": "51f6fdb.4dce504",
226         "type": "block",
227         "name": "block atomic",
228         "xml": "<block atomic=\"true\">",
229         "atomic": "false",
230         "comments": "",
231         "outputs": 1,
232         "x": 697.6666412353516,
233         "y": 359.3333339691162,
234         "z": "3ef876bf.78b1fa",
235         "wires": [
236             [
237                 "58dbc6ed.e4fb78"
238             ]
239         ]
240     },
241     {
242         "id": "3eef3f7d.acf9e",
243         "type": "set",
244         "name": "set tmp.sdnc-model-name",
245         "xml": "<set>\n<parameter name='tmp.sdnc-model-name' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value`' />\n",
246         "comments": "",
247         "x": 1348.6666412353516,
248         "y": 292.3333339691162,
249         "z": "3ef876bf.78b1fa",
250         "wires": []
251     },
252     {
253         "id": "28936220.7676ce",
254         "type": "outcome",
255         "name": "sdnc_model_name",
256         "xml": "<outcome value='sdnc_model_name'>\n",
257         "comments": "",
258         "outputs": 1,
259         "x": 1094.6666412353516,
260         "y": 292.3333339691162,
261         "z": "3ef876bf.78b1fa",
262         "wires": [
263             [
264                 "3eef3f7d.acf9e"
265             ]
266         ]
267     },
268     {
269         "id": "58dbc6ed.e4fb78",
270         "type": "switchNode",
271         "name": "switch",
272         "xml": "<switch test='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].name`'>\n\n",
273         "comments": "",
274         "outputs": 1,
275         "x": 856.6666412353516,
276         "y": 359.3333339691162,
277         "z": "3ef876bf.78b1fa",
278         "wires": [
279             [
280                 "28936220.7676ce",
281                 "41a51be4.e2de84",
282                 "97a885a0.8b08e8",
283                 "95df12c3.3ce8e"
284             ]
285         ]
286     },
287     {
288         "id": "41a51be4.e2de84",
289         "type": "outcome",
290         "name": "sdnc_model_version",
291         "xml": "<outcome value='sdnc_model_version'>\n",
292         "comments": "",
293         "outputs": 1,
294         "x": 1097.6666412353516,
295         "y": 338.3333339691162,
296         "z": "3ef876bf.78b1fa",
297         "wires": [
298             [
299                 "50619bed.59bcf4"
300             ]
301         ]
302     },
303     {
304         "id": "97a885a0.8b08e8",
305         "type": "outcome",
306         "name": "sdnc_artifact_name",
307         "xml": "<outcome value='sdnc_artifact_name'>\n",
308         "comments": "",
309         "outputs": 1,
310         "x": 1096.6666412353516,
311         "y": 387.3333339691162,
312         "z": "3ef876bf.78b1fa",
313         "wires": [
314             [
315                 "82133366.c0bff"
316             ]
317         ]
318     },
319     {
320         "id": "50619bed.59bcf4",
321         "type": "set",
322         "name": "set tmp.sdnc-model-version",
323         "xml": "<set>\n<parameter name='tmp.sdnc-model-version' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value`' />\n\n",
324         "comments": "",
325         "x": 1352.6666412353516,
326         "y": 338.3333339691162,
327         "z": "3ef876bf.78b1fa",
328         "wires": []
329     },
330     {
331         "id": "82133366.c0bff",
332         "type": "set",
333         "name": "set tmp.sdnc-artifact-name",
334         "xml": "<set>\n<parameter name='tmp.sdnc-artifact-name' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value`' />\n\n",
335         "comments": "",
336         "x": 1348.6666412353516,
337         "y": 387.3333339691162,
338         "z": "3ef876bf.78b1fa",
339         "wires": []
340     },
341     {
342         "id": "77c6656f.94e17c",
343         "type": "set",
344         "name": "set name-value other JsonString",
345         "xml": "<set>\n<parameter name=\"tmp.config-name-value-other-payload\" value=\"`$tmp.config-name-value-other-payload + '&quot;' + $vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].name + '&quot;:&quot;' + $vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value + '&quot;,'`\"/>\n\n",
346         "comments": "",
347         "x": 1364.6666412353516,
348         "y": 436.3333339691162,
349         "z": "3ef876bf.78b1fa",
350         "wires": []
351     },
352     {
353         "id": "95df12c3.3ce8e",
354         "type": "outcome",
355         "name": "other",
356         "xml": "<outcome value='Other'>\n",
357         "comments": "",
358         "outputs": 1,
359         "x": 1056.666648864746,
360         "y": 436.9047546386719,
361         "z": "3ef876bf.78b1fa",
362         "wires": [
363             [
364                 "77c6656f.94e17c"
365             ]
366         ]
367     },
368     {
369         "id": "dd0c4879.786768",
370         "type": "set",
371         "name": "set configAssignment JsonString",
372         "xml": "<set>\n<parameter name=\"tmp.config-name-value-payload4\" value=\"`$tmp.config-name-value-other-payload + '&quot;service-instance-id&quot;:&quot;' + $vnf-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-model-customization-uuid&quot;:&quot;' + $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload6\" value=\"`$tmp.config-name-value-payload5 + '&quot;vnf-id&quot;:&quot;' + $vnf-topology-operation-input.vnf-information.vnf-id + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload7\" value=\"`$tmp.config-name-value-payload6 + '&quot;aic-cloud-region&quot;:&quot;' + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region + '&quot;'`\"/>\n",
373         "comments": "",
374         "x": 470,
375         "y": 620,
376         "z": "3ef876bf.78b1fa",
377         "wires": []
378     },
379     {
380         "id": "654c303d.bc966",
381         "type": "execute",
382         "name": "execute BlueprintProcessingClient",
383         "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='format' value='json' />\n    <parameter name='httpMethod' value='POST' />\n    <parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n    <parameter name=\"responsePrefix\" value=\"`$responsePrefix`\" />",
384         "comments": "",
385         "outputs": 1,
386         "x": 477.33331298828125,
387         "y": 834,
388         "z": "3ef876bf.78b1fa",
389         "wires": [
390             [
391                 "d37d9ea0.c12ad",
392                 "e8698b70.c431d8"
393             ]
394         ]
395     },
396     {
397         "id": "d37d9ea0.c12ad",
398         "type": "failure",
399         "name": "failure",
400         "xml": "<outcome value='failure'>\n",
401         "comments": "",
402         "outputs": 1,
403         "x": 717.3333129882812,
404         "y": 808,
405         "z": "3ef876bf.78b1fa",
406         "wires": [
407             [
408                 "cb6982c3.5d096"
409             ]
410         ]
411     },
412     {
413         "id": "cb6982c3.5d096",
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=\"Error from ConfigAssignmentNode\" />\n",
417         "comments": "",
418         "x": 899.3333129882812,
419         "y": 829,
420         "z": "3ef876bf.78b1fa",
421         "wires": []
422     },
423     {
424         "id": "8e50b155.95aaa",
425         "type": "for",
426         "name": "for resource-accumulator-resolved-data loop",
427         "xml": "<for silentFailure='true'  index='i' start='0' end='`$jsonContextPrefix.resource-accumulator-resolved-data_length`' >\n",
428         "comments": "",
429         "outputs": 1,
430         "x": 501.66664123535156,
431         "y": 1051.333324432373,
432         "z": "3ef876bf.78b1fa",
433         "wires": [
434             [
435                 "76ae92fe.97658c"
436             ]
437         ]
438     },
439     {
440         "id": "edaf4d66.0e603",
441         "type": "set",
442         "name": "set from resource-accumulator-resolved-data",
443         "xml": "<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].name`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'/>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.capability-name`' value='RA Resolved'/>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.status`' value='SUCCESS'/>\n",
444         "comments": "",
445         "x": 1731.6666412353516,
446         "y": 1103.333324432373,
447         "z": "3ef876bf.78b1fa",
448         "wires": []
449     },
450     {
451         "id": "4b3da748.094068",
452         "type": "for",
453         "name": "for capability-data",
454         "xml": "<for silentFailure='true' index='i' start='0' end='`$jsonContextPrefix.capability-data_length`' >\n",
455         "comments": "",
456         "outputs": 1,
457         "x": 426.66664123535156,
458         "y": 1393.333324432373,
459         "z": "3ef876bf.78b1fa",
460         "wires": [
461             [
462                 "afcca100.08442"
463             ]
464         ]
465     },
466     {
467         "id": "afcca100.08442",
468         "type": "for",
469         "name": "for key-mapping",
470         "xml": "<for silentFailure='true' index='j' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping_length`' >",
471         "comments": "",
472         "outputs": 1,
473         "x": 635.6666412353516,
474         "y": 1393.333324432373,
475         "z": "3ef876bf.78b1fa",
476         "wires": [
477             [
478                 "f22e79d3.9fa598"
479             ]
480         ]
481     },
482     {
483         "id": "41ae2337.afe27c",
484         "type": "execute",
485         "name": "execute jsonStringToCtx",
486         "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.sdnc-artifact-name`\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",
487         "comments": "",
488         "outputs": 1,
489         "x": 445.66664123535156,
490         "y": 972.333324432373,
491         "z": "3ef876bf.78b1fa",
492         "wires": [
493             []
494         ]
495     },
496     {
497         "id": "5a42798d.9a03d8",
498         "type": "execute",
499         "name": "execute generateUUID",
500         "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 ",
501         "comments": "",
502         "outputs": 1,
503         "x": 451.66664123535156,
504         "y": 123.33333396911621,
505         "z": "3ef876bf.78b1fa",
506         "wires": [
507             [
508                 "90850917.831e78"
509             ]
510         ]
511     },
512     {
513         "id": "90850917.831e78",
514         "type": "failure",
515         "name": "failure",
516         "xml": "<outcome value='failure'>\n",
517         "comments": "",
518         "outputs": 1,
519         "x": 629.6666412353516,
520         "y": 121.33333396911621,
521         "z": "3ef876bf.78b1fa",
522         "wires": [
523             [
524                 "5b293973.a44fd8"
525             ]
526         ]
527     },
528     {
529         "id": "5b293973.a44fd8",
530         "type": "returnFailure",
531         "name": "return failure",
532         "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",
533         "comments": "",
534         "x": 776.6666412353516,
535         "y": 122.33333396911621,
536         "z": "3ef876bf.78b1fa",
537         "wires": []
538     },
539     {
540         "id": "55dc72e4.040a6c",
541         "type": "for",
542         "name": "for vnf-parameters-data.param",
543         "xml": "<for silentFailure='true' index='cnt' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",
544         "comments": "",
545         "outputs": 1,
546         "x": 1474.6666412353516,
547         "y": 1051.333324432373,
548         "z": "3ef876bf.78b1fa",
549         "wires": [
550             [
551                 "ef8bc14b.ccbff"
552             ]
553         ]
554     },
555     {
556         "id": "76ae92fe.97658c",
557         "type": "block",
558         "name": "block atomic",
559         "xml": "<block atomic=\"true\">",
560         "atomic": "false",
561         "comments": "",
562         "outputs": 1,
563         "x": 780.6666412353516,
564         "y": 1052.333324432373,
565         "z": "3ef876bf.78b1fa",
566         "wires": [
567             [
568                 "824fa75d.391fc8",
569                 "2c5ebadc.773bc6",
570                 "f84c1bca.bb7958"
571             ]
572         ]
573     },
574     {
575         "id": "f709c437.029758",
576         "type": "switchNode",
577         "name": "switch vnf-parameters-data.param_length",
578         "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`'>\n",
579         "comments": "",
580         "outputs": 1,
581         "x": 503.66664123535156,
582         "y": 221.3333339691162,
583         "z": "3ef876bf.78b1fa",
584         "wires": [
585             [
586                 "23708a8a.213166",
587                 "80282891.85c258"
588             ]
589         ]
590     },
591     {
592         "id": "23708a8a.213166",
593         "type": "outcome",
594         "name": "null",
595         "xml": "<outcome value=''>",
596         "comments": "",
597         "outputs": 1,
598         "x": 741.6666412353516,
599         "y": 189.3333339691162,
600         "z": "3ef876bf.78b1fa",
601         "wires": [
602             [
603                 "dc5b10f3.283cb"
604             ]
605         ]
606     },
607     {
608         "id": "80282891.85c258",
609         "type": "other",
610         "name": "other",
611         "xml": "<outcome value='Other'>\n",
612         "comments": "",
613         "outputs": 1,
614         "x": 740.6666412353516,
615         "y": 253.3333339691162,
616         "z": "3ef876bf.78b1fa",
617         "wires": [
618             [
619                 "9174046b.b8b7d8"
620             ]
621         ]
622     },
623     {
624         "id": "dc5b10f3.283cb",
625         "type": "set",
626         "name": "set pre service param len as 0",
627         "xml": "<set>\n   <parameter name='highnum' value='0' />\n   <parameter name='prehighnum' value='0'/>\n",
628         "comments": "",
629         "x": 954.6666412353516,
630         "y": 189.3333339691162,
631         "z": "3ef876bf.78b1fa",
632         "wires": []
633     },
634     {
635         "id": "9174046b.b8b7d8",
636         "type": "set",
637         "name": "set pre service param len",
638         "xml": "<set>\n   <parameter name='highnum' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' />\n   <parameter name='prehighnum' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' />",
639         "comments": "",
640         "x": 939.6666412353516,
641         "y": 253.3333339691162,
642         "z": "3ef876bf.78b1fa",
643         "wires": []
644     },
645     {
646         "id": "ef8bc14b.ccbff",
647         "type": "switchNode",
648         "name": "switch input vnf-name",
649         "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$cnt].name == $jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'>\n",
650         "comments": "",
651         "outputs": 1,
652         "x": 1732.6666412353516,
653         "y": 1051.333324432373,
654         "z": "3ef876bf.78b1fa",
655         "wires": [
656             [
657                 "ee6ccc97.25efa"
658             ]
659         ]
660     },
661     {
662         "id": "ee6ccc97.25efa",
663         "type": "not-found",
664         "name": "true",
665         "xml": "<outcome value='true'>\n",
666         "comments": "",
667         "outputs": 1,
668         "x": 1912.6666412353516,
669         "y": 1051.333324432373,
670         "z": "3ef876bf.78b1fa",
671         "wires": [
672             [
673                 "ed52e9db.e0c808"
674             ]
675         ]
676     },
677     {
678         "id": "ed52e9db.e0c808",
679         "type": "set",
680         "name": "set for existing param name",
681         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$cnt].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n<parameter name='tmp.mso.param.found' value='true' />\n",
682         "comments": "",
683         "x": 2122.6666412353516,
684         "y": 1052.333324432373,
685         "z": "3ef876bf.78b1fa",
686         "wires": []
687     },
688     {
689         "id": "f84c1bca.bb7958",
690         "type": "switchNode",
691         "name": "switch tmp.mso.param.not-found",
692         "xml": "<switch test='`$tmp.mso.param.found`'>\n",
693         "comments": "",
694         "outputs": 1,
695         "x": 1022.6666412353516,
696         "y": 1104.333324432373,
697         "z": "3ef876bf.78b1fa",
698         "wires": [
699             [
700                 "eb181e3d.05137"
701             ]
702         ]
703     },
704     {
705         "id": "eb181e3d.05137",
706         "type": "not-found",
707         "name": "false",
708         "xml": "<outcome value='false'>\n",
709         "comments": "",
710         "outputs": 1,
711         "x": 1256.6666412353516,
712         "y": 1103.333324432373,
713         "z": "3ef876bf.78b1fa",
714         "wires": [
715             [
716                 "f72b62.fb42f4a"
717             ]
718         ]
719     },
720     {
721         "id": "824fa75d.391fc8",
722         "type": "set",
723         "name": "set for existing param name",
724         "xml": "<set>\n<parameter name='tmp.mso.param.found' value='false' />\n",
725         "comments": "",
726         "x": 1006.6666412353516,
727         "y": 993.333324432373,
728         "z": "3ef876bf.78b1fa",
729         "wires": []
730     },
731     {
732         "id": "2c5ebadc.773bc6",
733         "type": "switchNode",
734         "name": "switch check length > 0",
735         "xml": "<switch test='`$prehighnum &gt; 0`'>\n",
736         "comments": "",
737         "outputs": 1,
738         "x": 999.1666412353516,
739         "y": 1052.333324432373,
740         "z": "3ef876bf.78b1fa",
741         "wires": [
742             [
743                 "6aca2d7e.39e184"
744             ]
745         ]
746     },
747     {
748         "id": "6aca2d7e.39e184",
749         "type": "not-found",
750         "name": "true",
751         "xml": "<outcome value='true'>\n",
752         "comments": "",
753         "outputs": 1,
754         "x": 1246.1666412353516,
755         "y": 1052.333324432373,
756         "z": "3ef876bf.78b1fa",
757         "wires": [
758             [
759                 "55dc72e4.040a6c"
760             ]
761         ]
762     },
763     {
764         "id": "32788be4.48e304",
765         "type": "for",
766         "name": "for payload",
767         "xml": "<for silentFailure='true' index='k' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length`' >",
768         "comments": "",
769         "outputs": 1,
770         "x": 1817.6666412353516,
771         "y": 1411.333324432373,
772         "z": "3ef876bf.78b1fa",
773         "wires": [
774             [
775                 "52ca6e98.bf065"
776             ]
777         ]
778     },
779     {
780         "id": "778c089.bfab7f8",
781         "type": "set",
782         "name": "set resource-key",
783         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.resource-key[$num].name`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload[$k].param-name`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.resource-key[$num].value`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload[$k].param-value`'/>\n\n",
784         "comments": "",
785         "x": 2166.6666412353516,
786         "y": 1347.333324432373,
787         "z": "3ef876bf.78b1fa",
788         "wires": []
789     },
790     {
791         "id": "1eb3f359.e179fd",
792         "type": "set",
793         "name": "set output-data ",
794         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.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.vnf-topology.vnf-parameters-data.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.vnf-topology.vnf-parameters-data.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.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.status`' value='PENDING'/>\n<parameter name='num' value='0' />",
795         "comments": "",
796         "x": 1390.6666412353516,
797         "y": 1291.333324432373,
798         "z": "3ef876bf.78b1fa",
799         "wires": []
800     },
801     {
802         "id": "f22e79d3.9fa598",
803         "type": "for",
804         "name": "for output-key-mapping",
805         "xml": "<for silentFailure='true' index='l' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping_length`' >",
806         "comments": "",
807         "outputs": 1,
808         "x": 858.6666412353516,
809         "y": 1393.333324432373,
810         "z": "3ef876bf.78b1fa",
811         "wires": [
812             [
813                 "b6e3c033.d365e"
814             ]
815         ]
816     },
817     {
818         "id": "b6e3c033.d365e",
819         "type": "block",
820         "name": "block atomic",
821         "xml": "<block atomic=\"true\">",
822         "atomic": "false",
823         "comments": "",
824         "outputs": 1,
825         "x": 1109.6666412353516,
826         "y": 1393.333324432373,
827         "z": "3ef876bf.78b1fa",
828         "wires": [
829             [
830                 "1eb3f359.e179fd",
831                 "c8871600.cda7b8",
832                 "31cafe60.c858c2",
833                 "d883e8b5.c87cd8"
834             ]
835         ]
836     },
837     {
838         "id": "c8871600.cda7b8",
839         "type": "set",
840         "name": "set length",
841         "xml": "<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' value='`$highnum + 1`'/>\n",
842         "comments": "",
843         "x": 1378.6666412353516,
844         "y": 1429.333324432373,
845         "z": "3ef876bf.78b1fa",
846         "wires": []
847     },
848     {
849         "id": "e8698b70.c431d8",
850         "type": "failure",
851         "name": "not-found",
852         "xml": "<outcome value='not-found'>\n",
853         "comments": "",
854         "outputs": 1,
855         "x": 722.3333129882812,
856         "y": 870,
857         "z": "3ef876bf.78b1fa",
858         "wires": [
859             [
860                 "cb6982c3.5d096"
861             ]
862         ]
863     },
864     {
865         "id": "31cafe60.c858c2",
866         "type": "switchNode",
867         "name": "switch payload_length",
868         "xml": "<switch test=\"`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length == ''`\">\n",
869         "comments": "",
870         "outputs": 1,
871         "x": 1414.6666412353516,
872         "y": 1362.333324432373,
873         "z": "3ef876bf.78b1fa",
874         "wires": [
875             [
876                 "35a0c321.c01b8c",
877                 "4c60a062.02cd4"
878             ]
879         ]
880     },
881     {
882         "id": "35a0c321.c01b8c",
883         "type": "outcome",
884         "name": "true",
885         "xml": "<outcome value='true'>",
886         "comments": "",
887         "outputs": 1,
888         "x": 1635.6666412353516,
889         "y": 1293.333324432373,
890         "z": "3ef876bf.78b1fa",
891         "wires": [
892             []
893         ]
894     },
895     {
896         "id": "4c60a062.02cd4",
897         "type": "other",
898         "name": "false",
899         "xml": "<outcome value='false'>\n",
900         "comments": "",
901         "outputs": 1,
902         "x": 1642.6666412353516,
903         "y": 1411.333324432373,
904         "z": "3ef876bf.78b1fa",
905         "wires": [
906             [
907                 "32788be4.48e304"
908             ]
909         ]
910     },
911     {
912         "id": "7c972f3e.f0f83",
913         "type": "success",
914         "name": "success",
915         "xml": "<outcome value='success'>\n",
916         "comments": "",
917         "outputs": 1,
918         "x": 1185.9523658752441,
919         "y": 608.9046821594238,
920         "z": "3ef876bf.78b1fa",
921         "wires": [
922             [
923                 "a6be3be4.1bdc08"
924             ]
925         ]
926     },
927     {
928         "id": "b887f515.962a38",
929         "type": "set",
930         "name": "set length",
931         "xml": "<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.resource-key_length`' value='`$num + 1`'/>\n",
932         "comments": "",
933         "x": 2155.6666412353516,
934         "y": 1411.333324432373,
935         "z": "3ef876bf.78b1fa",
936         "wires": []
937     },
938     {
939         "id": "30950fde.196f6",
940         "type": "set",
941         "name": "increment length",
942         "xml": "<set>\n\t<parameter name='num' value='`$num + 1`' />\n",
943         "comments": "",
944         "x": 2173.6666412353516,
945         "y": 1485.333324432373,
946         "z": "3ef876bf.78b1fa",
947         "wires": []
948     },
949     {
950         "id": "d883e8b5.c87cd8",
951         "type": "set",
952         "name": "increment length",
953         "xml": "<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n\n",
954         "comments": "",
955         "x": 1399.6666412353516,
956         "y": 1496.333324432373,
957         "z": "3ef876bf.78b1fa",
958         "wires": []
959     },
960     {
961         "id": "f72b62.fb42f4a",
962         "type": "block",
963         "name": "block : atomic",
964         "xml": "<block atomic='true'>",
965         "atomic": "true",
966         "comments": "",
967         "outputs": 1,
968         "x": 1433.6666412353516,
969         "y": 1102.333324432373,
970         "z": "3ef876bf.78b1fa",
971         "wires": [
972             [
973                 "edaf4d66.0e603",
974                 "aba36cfb.938af"
975             ]
976         ]
977     },
978     {
979         "id": "aba36cfb.938af",
980         "type": "set",
981         "name": "increment length",
982         "xml": "<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n",
983         "comments": "",
984         "x": 1648.6666412353516,
985         "y": 1162.333324432373,
986         "z": "3ef876bf.78b1fa",
987         "wires": []
988     },
989     {
990         "id": "52ca6e98.bf065",
991         "type": "block",
992         "name": "block atomic",
993         "xml": "<block atomic=\"true\">",
994         "atomic": "false",
995         "comments": "",
996         "outputs": 1,
997         "x": 1973.6666412353516,
998         "y": 1412.333324432373,
999         "z": "3ef876bf.78b1fa",
1000         "wires": [
1001             [
1002                 "778c089.bfab7f8",
1003                 "b887f515.962a38",
1004                 "30950fde.196f6"
1005             ]
1006         ]
1007     },
1008     {
1009         "id": "72e48172.d53ce",
1010         "type": "record",
1011         "name": "record",
1012         "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",
1013         "comments": "",
1014         "outputs": 1,
1015         "x": 399.9999809265137,
1016         "y": 755.333324432373,
1017         "z": "3ef876bf.78b1fa",
1018         "wires": [
1019             []
1020         ]
1021     },
1022     {
1023         "id": "4471abbd.a27dc4",
1024         "type": "record",
1025         "name": "record",
1026         "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",
1027         "comments": "",
1028         "outputs": 1,
1029         "x": 396.6666488647461,
1030         "y": 910.3333320617676,
1031         "z": "3ef876bf.78b1fa",
1032         "wires": [
1033             []
1034         ]
1035     },
1036     {
1037         "id": "fa837cb4.36bad",
1038         "type": "execute",
1039         "name": "printContext",
1040         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='`$pathname`' />\n",
1041         "comments": "",
1042         "outputs": 1,
1043         "x": 405.00000762939453,
1044         "y": 1714.5000267028809,
1045         "z": "3ef876bf.78b1fa",
1046         "wires": [
1047             []
1048         ]
1049     },
1050     {
1051         "id": "40bf0919.577208",
1052         "type": "set",
1053         "name": "set pathname",
1054         "xml": "<set>\n<parameter name='pathname' \n\tvalue=\"`'/var/tmp/ss-vnf-ra-assignment-' + \n\t$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.vnf-id + '.log'`\" />\n",
1055         "comments": "",
1056         "x": 411.25000762939453,
1057         "y": 1662.0000247955322,
1058         "z": "3ef876bf.78b1fa",
1059         "wires": []
1060     },
1061     {
1062         "id": "c9addd0a.302f8",
1063         "type": "record",
1064         "name": "record",
1065         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"DONE: vnf-ra-assignment\"/>\n\n",
1066         "comments": "",
1067         "outputs": 1,
1068         "x": 388.75000381469727,
1069         "y": 1615.7500247955322,
1070         "z": "3ef876bf.78b1fa",
1071         "wires": [
1072             []
1073         ]
1074     },
1075     {
1076         "id": "d351ac36.10e8b",
1077         "type": "set",
1078         "name": "set updateJsonPayload",
1079         "xml": "<set>\n<parameter name=\"tmp.json-payload\" value=\"`'{' + $tmp.config-name-value-payload7 + '}'`\" />\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.sdnc-artifact-name`' />\n<parameter name=\"`$cds + 'payload.resource-assignment-request.resource-assignment-properties'`\" value='`$tmp.json-payload`' />",
1080         "comments": "",
1081         "x": 441,
1082         "y": 680,
1083         "z": "3ef876bf.78b1fa",
1084         "wires": []
1085     }
1086 ]