Bug fix in self-serve api
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.json
1 [
2     {
3         "id": "1264c6cd.930839",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 101,
8         "y": 96,
9         "z": "4a0b2401.ec39ec",
10         "wires": [
11             [
12                 "cd72f82b.448a88"
13             ]
14         ]
15     },
16     {
17         "id": "cd72f82b.448a88",
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": 377,
26         "y": 97,
27         "z": "4a0b2401.ec39ec",
28         "wires": [
29             [
30                 "1882c0cd.fac1af"
31             ]
32         ]
33     },
34     {
35         "id": "1882c0cd.fac1af",
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": 694,
42         "y": 97,
43         "z": "4a0b2401.ec39ec",
44         "wires": [
45             [
46                 "5be6105f.ccbde"
47             ]
48         ]
49     },
50     {
51         "id": "5be6105f.ccbde",
52         "type": "block",
53         "name": "block atomic",
54         "xml": "<block atomic=\"true\">\n",
55         "atomic": "false",
56         "comments": "",
57         "outputs": 1,
58         "x": 190.16664123535156,
59         "y": 177.3333339691162,
60         "z": "4a0b2401.ec39ec",
61         "wires": [
62             [
63                 "95e79859.795e68",
64                 "9ad508ab.052518",
65                 "3ac5cd34.2257f2",
66                 "2edab5da.4808ea",
67                 "f2aa029b.615de",
68                 "10dc8417.707e0c",
69                 "fd52ae4e.bd56c",
70                 "c73b8162.24f6f",
71                 "d29a4d92.8e7d9",
72                 "84a90182.cf73",
73                 "48b65c6e.618e44",
74                 "80225cf4.2c8b2",
75                 "a4083479.8e5dd8",
76                 "638697ae.8d3678",
77                 "2e936c1f.cb2bd4",
78                 "546a230c.3e01dc"
79             ]
80         ]
81     },
82     {
83         "id": "9ad508ab.052518",
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": 375.9166603088379,
89         "y": 222.08333015441895,
90         "z": "4a0b2401.ec39ec",
91         "wires": []
92     },
93     {
94         "id": "877ede4f.92e9b",
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": 914.8094635009766,
101         "y": 613.6189861297607,
102         "z": "4a0b2401.ec39ec",
103         "wires": [
104             [
105                 "8947e8ba.8b6c18",
106                 "7bc2b258.538c7c",
107                 "c5829c3f.f44d7"
108             ]
109         ]
110     },
111     {
112         "id": "8947e8ba.8b6c18",
113         "type": "failure",
114         "name": "failure",
115         "xml": "<outcome value='failure'>\n",
116         "comments": "",
117         "outputs": 1,
118         "x": 1159.8095626831055,
119         "y": 562.904709815979,
120         "z": "4a0b2401.ec39ec",
121         "wires": [
122             [
123                 "2b79a1d8.82461e"
124             ]
125         ]
126     },
127     {
128         "id": "2b79a1d8.82461e",
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": 1332.8095626831055,
134         "y": 561.904709815979,
135         "z": "4a0b2401.ec39ec",
136         "wires": []
137     },
138     {
139         "id": "9a929dee.aae27",
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": 1535.2380638122559,
145         "y": 663.047513961792,
146         "z": "4a0b2401.ec39ec",
147         "wires": []
148     },
149     {
150         "id": "1f983518.26a63b",
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": 1334.8095626831055,
156         "y": 610.904709815979,
157         "z": "4a0b2401.ec39ec",
158         "wires": []
159     },
160     {
161         "id": "f2aa029b.615de",
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": 435.80946350097656,
168         "y": 614.6189861297607,
169         "z": "4a0b2401.ec39ec",
170         "wires": [
171             [
172                 "a0598bd4.bb2518"
173             ]
174         ]
175     },
176     {
177         "id": "7bc2b258.538c7c",
178         "type": "not-found",
179         "name": "not-found",
180         "xml": "<outcome value='not-found'>\n",
181         "comments": "",
182         "outputs": 1,
183         "x": 1165.8095626831055,
184         "y": 611.904709815979,
185         "z": "4a0b2401.ec39ec",
186         "wires": [
187             [
188                 "1f983518.26a63b"
189             ]
190         ]
191     },
192     {
193         "id": "a0598bd4.bb2518",
194         "type": "outcome",
195         "name": "true",
196         "xml": "<outcome value='true'>",
197         "comments": "",
198         "outputs": 1,
199         "x": 684.8094635009766,
200         "y": 614.6189861297607,
201         "z": "4a0b2401.ec39ec",
202         "wires": [
203             [
204                 "877ede4f.92e9b"
205             ]
206         ]
207     },
208     {
209         "id": "2edab5da.4808ea",
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": 451.66664123535156,
216         "y": 414.3333339691162,
217         "z": "4a0b2401.ec39ec",
218         "wires": [
219             [
220                 "8e542e02.8473f"
221             ]
222         ]
223     },
224     {
225         "id": "8e542e02.8473f",
226         "type": "block",
227         "name": "block atomic",
228         "xml": "<block atomic=\"true\">",
229         "atomic": "false",
230         "comments": "",
231         "outputs": 1,
232         "x": 673.6666412353516,
233         "y": 413.3333339691162,
234         "z": "4a0b2401.ec39ec",
235         "wires": [
236             [
237                 "d470eb9a.687f98"
238             ]
239         ]
240     },
241     {
242         "id": "fb20cb1a.51a4b8",
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": 1324.6666412353516,
248         "y": 346.3333339691162,
249         "z": "4a0b2401.ec39ec",
250         "wires": []
251     },
252     {
253         "id": "7c80301e.7f871",
254         "type": "outcome",
255         "name": "sdnc_model_name",
256         "xml": "<outcome value='sdnc_model_name'>\n",
257         "comments": "",
258         "outputs": 1,
259         "x": 1070.6666412353516,
260         "y": 346.3333339691162,
261         "z": "4a0b2401.ec39ec",
262         "wires": [
263             [
264                 "fb20cb1a.51a4b8"
265             ]
266         ]
267     },
268     {
269         "id": "d470eb9a.687f98",
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": 832.6666412353516,
276         "y": 413.3333339691162,
277         "z": "4a0b2401.ec39ec",
278         "wires": [
279             [
280                 "7c80301e.7f871",
281                 "69dbd226.9264ec",
282                 "87b3dbed.61a088",
283                 "27ccfdc6.314a12"
284             ]
285         ]
286     },
287     {
288         "id": "69dbd226.9264ec",
289         "type": "outcome",
290         "name": "sdnc_model_version",
291         "xml": "<outcome value='sdnc_model_version'>\n",
292         "comments": "",
293         "outputs": 1,
294         "x": 1073.6666412353516,
295         "y": 392.3333339691162,
296         "z": "4a0b2401.ec39ec",
297         "wires": [
298             [
299                 "74fadd31.036b54"
300             ]
301         ]
302     },
303     {
304         "id": "87b3dbed.61a088",
305         "type": "outcome",
306         "name": "sdnc_artifact_name",
307         "xml": "<outcome value='sdnc_artifact_name'>\n",
308         "comments": "",
309         "outputs": 1,
310         "x": 1072.6666412353516,
311         "y": 441.3333339691162,
312         "z": "4a0b2401.ec39ec",
313         "wires": [
314             [
315                 "a7f5b067.57b29"
316             ]
317         ]
318     },
319     {
320         "id": "74fadd31.036b54",
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": 1328.6666412353516,
326         "y": 392.3333339691162,
327         "z": "4a0b2401.ec39ec",
328         "wires": []
329     },
330     {
331         "id": "a7f5b067.57b29",
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": 1324.6666412353516,
337         "y": 441.3333339691162,
338         "z": "4a0b2401.ec39ec",
339         "wires": []
340     },
341     {
342         "id": "e803a56a.a7f258",
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": 1340.6666412353516,
348         "y": 490.3333339691162,
349         "z": "4a0b2401.ec39ec",
350         "wires": []
351     },
352     {
353         "id": "27ccfdc6.314a12",
354         "type": "outcome",
355         "name": "other",
356         "xml": "<outcome value='Other'>\n",
357         "comments": "",
358         "outputs": 1,
359         "x": 1032.666648864746,
360         "y": 490.9047546386719,
361         "z": "4a0b2401.ec39ec",
362         "wires": [
363             [
364                 "e803a56a.a7f258"
365             ]
366         ]
367     },
368     {
369         "id": "10dc8417.707e0c",
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": 461.6666564941406,
375         "y": 685.3333568572998,
376         "z": "4a0b2401.ec39ec",
377         "wires": []
378     },
379     {
380         "id": "fd52ae4e.bd56c",
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": 453.33331298828125,
387         "y": 888,
388         "z": "4a0b2401.ec39ec",
389         "wires": [
390             [
391                 "51cecb46.839514",
392                 "d8c1b9cb.9f5348"
393             ]
394         ]
395     },
396     {
397         "id": "51cecb46.839514",
398         "type": "failure",
399         "name": "failure",
400         "xml": "<outcome value='failure'>\n",
401         "comments": "",
402         "outputs": 1,
403         "x": 693.3333129882812,
404         "y": 862,
405         "z": "4a0b2401.ec39ec",
406         "wires": [
407             [
408                 "5d166bf5.6d0624"
409             ]
410         ]
411     },
412     {
413         "id": "5d166bf5.6d0624",
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": 875.3333129882812,
419         "y": 883,
420         "z": "4a0b2401.ec39ec",
421         "wires": []
422     },
423     {
424         "id": "d29a4d92.8e7d9",
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": 477.66664123535156,
431         "y": 1105.333324432373,
432         "z": "4a0b2401.ec39ec",
433         "wires": [
434             [
435                 "fbbcea55.468248"
436             ]
437         ]
438     },
439     {
440         "id": "9947d8c1.f7aff8",
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": 1707.6666412353516,
446         "y": 1157.333324432373,
447         "z": "4a0b2401.ec39ec",
448         "wires": []
449     },
450     {
451         "id": "84a90182.cf73",
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": 402.66664123535156,
458         "y": 1447.333324432373,
459         "z": "4a0b2401.ec39ec",
460         "wires": [
461             [
462                 "fa102a2b.773698"
463             ]
464         ]
465     },
466     {
467         "id": "fa102a2b.773698",
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": 611.6666412353516,
474         "y": 1447.333324432373,
475         "z": "4a0b2401.ec39ec",
476         "wires": [
477             [
478                 "420ba6ad.7d12f8"
479             ]
480         ]
481     },
482     {
483         "id": "c73b8162.24f6f",
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": 421.66664123535156,
490         "y": 1026.333324432373,
491         "z": "4a0b2401.ec39ec",
492         "wires": [
493             []
494         ]
495     },
496     {
497         "id": "95e79859.795e68",
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": 427.66664123535156,
504         "y": 177.3333339691162,
505         "z": "4a0b2401.ec39ec",
506         "wires": [
507             [
508                 "b2ef8bc8.f9b188"
509             ]
510         ]
511     },
512     {
513         "id": "b2ef8bc8.f9b188",
514         "type": "failure",
515         "name": "failure",
516         "xml": "<outcome value='failure'>\n",
517         "comments": "",
518         "outputs": 1,
519         "x": 605.6666412353516,
520         "y": 175.3333339691162,
521         "z": "4a0b2401.ec39ec",
522         "wires": [
523             [
524                 "359040a9.7ab45"
525             ]
526         ]
527     },
528     {
529         "id": "359040a9.7ab45",
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": 752.6666412353516,
535         "y": 176.3333339691162,
536         "z": "4a0b2401.ec39ec",
537         "wires": []
538     },
539     {
540         "id": "2048f9bb.f2f736",
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": 1450.6666412353516,
547         "y": 1105.333324432373,
548         "z": "4a0b2401.ec39ec",
549         "wires": [
550             [
551                 "b6d977b7.115288"
552             ]
553         ]
554     },
555     {
556         "id": "fbbcea55.468248",
557         "type": "block",
558         "name": "block atomic",
559         "xml": "<block atomic=\"true\">",
560         "atomic": "false",
561         "comments": "",
562         "outputs": 1,
563         "x": 756.6666412353516,
564         "y": 1106.333324432373,
565         "z": "4a0b2401.ec39ec",
566         "wires": [
567             [
568                 "4a737be7.870a34",
569                 "20c5df3a.f6ffc",
570                 "34f87842.282048"
571             ]
572         ]
573     },
574     {
575         "id": "3ac5cd34.2257f2",
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": 479.66664123535156,
582         "y": 275.3333339691162,
583         "z": "4a0b2401.ec39ec",
584         "wires": [
585             [
586                 "400017d.409bfe8",
587                 "7d611aa7.76df04"
588             ]
589         ]
590     },
591     {
592         "id": "400017d.409bfe8",
593         "type": "outcome",
594         "name": "null",
595         "xml": "<outcome value=''>",
596         "comments": "",
597         "outputs": 1,
598         "x": 717.6666412353516,
599         "y": 243.3333339691162,
600         "z": "4a0b2401.ec39ec",
601         "wires": [
602             [
603                 "27c026e8.fb154a"
604             ]
605         ]
606     },
607     {
608         "id": "7d611aa7.76df04",
609         "type": "other",
610         "name": "other",
611         "xml": "<outcome value='Other'>\n",
612         "comments": "",
613         "outputs": 1,
614         "x": 716.6666412353516,
615         "y": 307.3333339691162,
616         "z": "4a0b2401.ec39ec",
617         "wires": [
618             [
619                 "3e29b95e.47e686"
620             ]
621         ]
622     },
623     {
624         "id": "27c026e8.fb154a",
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": 930.6666412353516,
630         "y": 243.3333339691162,
631         "z": "4a0b2401.ec39ec",
632         "wires": []
633     },
634     {
635         "id": "3e29b95e.47e686",
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": 915.6666412353516,
641         "y": 307.3333339691162,
642         "z": "4a0b2401.ec39ec",
643         "wires": []
644     },
645     {
646         "id": "b6d977b7.115288",
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": 1708.6666412353516,
653         "y": 1105.333324432373,
654         "z": "4a0b2401.ec39ec",
655         "wires": [
656             [
657                 "67c98419.11b03c"
658             ]
659         ]
660     },
661     {
662         "id": "67c98419.11b03c",
663         "type": "not-found",
664         "name": "true",
665         "xml": "<outcome value='true'>\n",
666         "comments": "",
667         "outputs": 1,
668         "x": 1888.6666412353516,
669         "y": 1105.333324432373,
670         "z": "4a0b2401.ec39ec",
671         "wires": [
672             [
673                 "c179b41f.2921e8"
674             ]
675         ]
676     },
677     {
678         "id": "c179b41f.2921e8",
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": 2098.6666412353516,
684         "y": 1106.333324432373,
685         "z": "4a0b2401.ec39ec",
686         "wires": []
687     },
688     {
689         "id": "34f87842.282048",
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": 998.6666412353516,
696         "y": 1158.333324432373,
697         "z": "4a0b2401.ec39ec",
698         "wires": [
699             [
700                 "56f65a3d.bdecc4"
701             ]
702         ]
703     },
704     {
705         "id": "56f65a3d.bdecc4",
706         "type": "not-found",
707         "name": "false",
708         "xml": "<outcome value='false'>\n",
709         "comments": "",
710         "outputs": 1,
711         "x": 1232.6666412353516,
712         "y": 1157.333324432373,
713         "z": "4a0b2401.ec39ec",
714         "wires": [
715             [
716                 "ecce6565.d1e898"
717             ]
718         ]
719     },
720     {
721         "id": "4a737be7.870a34",
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": 982.6666412353516,
727         "y": 1047.333324432373,
728         "z": "4a0b2401.ec39ec",
729         "wires": []
730     },
731     {
732         "id": "20c5df3a.f6ffc",
733         "type": "switchNode",
734         "name": "switch check length > 0",
735         "xml": "<switch test='`$prehighnum &gt; 0`'>\n",
736         "comments": "",
737         "outputs": 1,
738         "x": 975.1666412353516,
739         "y": 1106.333324432373,
740         "z": "4a0b2401.ec39ec",
741         "wires": [
742             [
743                 "278fa054.17f2"
744             ]
745         ]
746     },
747     {
748         "id": "278fa054.17f2",
749         "type": "not-found",
750         "name": "true",
751         "xml": "<outcome value='true'>\n",
752         "comments": "",
753         "outputs": 1,
754         "x": 1222.1666412353516,
755         "y": 1106.333324432373,
756         "z": "4a0b2401.ec39ec",
757         "wires": [
758             [
759                 "2048f9bb.f2f736"
760             ]
761         ]
762     },
763     {
764         "id": "910d6ed9.68335",
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": 1793.6666412353516,
771         "y": 1465.333324432373,
772         "z": "4a0b2401.ec39ec",
773         "wires": [
774             [
775                 "451cb826.e55b18"
776             ]
777         ]
778     },
779     {
780         "id": "ebc212fd.50c99",
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": 2142.6666412353516,
786         "y": 1401.333324432373,
787         "z": "4a0b2401.ec39ec",
788         "wires": []
789     },
790     {
791         "id": "77f8b842.ce0bf8",
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": 1366.6666412353516,
797         "y": 1345.333324432373,
798         "z": "4a0b2401.ec39ec",
799         "wires": []
800     },
801     {
802         "id": "420ba6ad.7d12f8",
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": 834.6666412353516,
809         "y": 1447.333324432373,
810         "z": "4a0b2401.ec39ec",
811         "wires": [
812             [
813                 "de871bca.269b28"
814             ]
815         ]
816     },
817     {
818         "id": "de871bca.269b28",
819         "type": "block",
820         "name": "block atomic",
821         "xml": "<block atomic=\"true\">",
822         "atomic": "false",
823         "comments": "",
824         "outputs": 1,
825         "x": 1085.6666412353516,
826         "y": 1447.333324432373,
827         "z": "4a0b2401.ec39ec",
828         "wires": [
829             [
830                 "77f8b842.ce0bf8",
831                 "d1ce4892.013d98",
832                 "435b327b.50848c",
833                 "833f0238.99363"
834             ]
835         ]
836     },
837     {
838         "id": "d1ce4892.013d98",
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": 1354.6666412353516,
844         "y": 1483.333324432373,
845         "z": "4a0b2401.ec39ec",
846         "wires": []
847     },
848     {
849         "id": "d8c1b9cb.9f5348",
850         "type": "failure",
851         "name": "not-found",
852         "xml": "<outcome value='not-found'>\n",
853         "comments": "",
854         "outputs": 1,
855         "x": 698.3333129882812,
856         "y": 924,
857         "z": "4a0b2401.ec39ec",
858         "wires": [
859             [
860                 "5d166bf5.6d0624"
861             ]
862         ]
863     },
864     {
865         "id": "435b327b.50848c",
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": 1390.6666412353516,
872         "y": 1416.333324432373,
873         "z": "4a0b2401.ec39ec",
874         "wires": [
875             [
876                 "a70ff081.a1c2e",
877                 "cd6e211b.36062"
878             ]
879         ]
880     },
881     {
882         "id": "a70ff081.a1c2e",
883         "type": "outcome",
884         "name": "true",
885         "xml": "<outcome value='true'>",
886         "comments": "",
887         "outputs": 1,
888         "x": 1611.6666412353516,
889         "y": 1347.333324432373,
890         "z": "4a0b2401.ec39ec",
891         "wires": [
892             []
893         ]
894     },
895     {
896         "id": "cd6e211b.36062",
897         "type": "other",
898         "name": "false",
899         "xml": "<outcome value='false'>\n",
900         "comments": "",
901         "outputs": 1,
902         "x": 1618.6666412353516,
903         "y": 1465.333324432373,
904         "z": "4a0b2401.ec39ec",
905         "wires": [
906             [
907                 "910d6ed9.68335"
908             ]
909         ]
910     },
911     {
912         "id": "c5829c3f.f44d7",
913         "type": "success",
914         "name": "success",
915         "xml": "<outcome value='success'>\n",
916         "comments": "",
917         "outputs": 1,
918         "x": 1161.9523658752441,
919         "y": 662.9046821594238,
920         "z": "4a0b2401.ec39ec",
921         "wires": [
922             [
923                 "9a929dee.aae27"
924             ]
925         ]
926     },
927     {
928         "id": "7d1e7719.053288",
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": 2131.6666412353516,
934         "y": 1465.333324432373,
935         "z": "4a0b2401.ec39ec",
936         "wires": []
937     },
938     {
939         "id": "e4fba5aa.251098",
940         "type": "set",
941         "name": "increment length",
942         "xml": "<set>\n\t<parameter name='num' value='`$num + 1`' />\n",
943         "comments": "",
944         "x": 2149.6666412353516,
945         "y": 1539.333324432373,
946         "z": "4a0b2401.ec39ec",
947         "wires": []
948     },
949     {
950         "id": "833f0238.99363",
951         "type": "set",
952         "name": "increment length",
953         "xml": "<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n\n",
954         "comments": "",
955         "x": 1375.6666412353516,
956         "y": 1550.333324432373,
957         "z": "4a0b2401.ec39ec",
958         "wires": []
959     },
960     {
961         "id": "ecce6565.d1e898",
962         "type": "block",
963         "name": "block : atomic",
964         "xml": "<block atomic='true'>",
965         "atomic": "true",
966         "comments": "",
967         "outputs": 1,
968         "x": 1409.6666412353516,
969         "y": 1156.333324432373,
970         "z": "4a0b2401.ec39ec",
971         "wires": [
972             [
973                 "9947d8c1.f7aff8",
974                 "44e5b8af.77e3d8"
975             ]
976         ]
977     },
978     {
979         "id": "44e5b8af.77e3d8",
980         "type": "set",
981         "name": "increment length",
982         "xml": "<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n",
983         "comments": "",
984         "x": 1624.6666412353516,
985         "y": 1216.333324432373,
986         "z": "4a0b2401.ec39ec",
987         "wires": []
988     },
989     {
990         "id": "451cb826.e55b18",
991         "type": "block",
992         "name": "block atomic",
993         "xml": "<block atomic=\"true\">",
994         "atomic": "false",
995         "comments": "",
996         "outputs": 1,
997         "x": 1949.6666412353516,
998         "y": 1466.333324432373,
999         "z": "4a0b2401.ec39ec",
1000         "wires": [
1001             [
1002                 "ebc212fd.50c99",
1003                 "7d1e7719.053288",
1004                 "e4fba5aa.251098"
1005             ]
1006         ]
1007     },
1008     {
1009         "id": "48b65c6e.618e44",
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": 375.9999809265137,
1016         "y": 809.333324432373,
1017         "z": "4a0b2401.ec39ec",
1018         "wires": [
1019             []
1020         ]
1021     },
1022     {
1023         "id": "80225cf4.2c8b2",
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": 372.6666488647461,
1030         "y": 964.3333320617676,
1031         "z": "4a0b2401.ec39ec",
1032         "wires": [
1033             []
1034         ]
1035     },
1036     {
1037         "id": "638697ae.8d3678",
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": 381.00000762939453,
1044         "y": 1768.5000267028809,
1045         "z": "4a0b2401.ec39ec",
1046         "wires": [
1047             []
1048         ]
1049     },
1050     {
1051         "id": "a4083479.8e5dd8",
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": 387.25000762939453,
1057         "y": 1716.0000247955322,
1058         "z": "4a0b2401.ec39ec",
1059         "wires": []
1060     },
1061     {
1062         "id": "2e936c1f.cb2bd4",
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": 364.75000381469727,
1069         "y": 1669.7500247955322,
1070         "z": "4a0b2401.ec39ec",
1071         "wires": [
1072             []
1073         ]
1074     },
1075     {
1076         "id": "546a230c.3e01dc",
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.template-prefix'`\" value='`$tmp.sdnc-artifact-name`' />\n<parameter name=\"`$cds + 'payload.resource-assignment-request.resource-assignment-properties'`\" value='`$tmp.json-payload`' />",
1080         "comments": "",
1081         "x": 430.0000457763672,
1082         "y": 736.3333587646484,
1083         "z": "4a0b2401.ec39ec",
1084         "wires": []
1085     }
1086 ]