9711187743abcb0188016c3c4f2fe757fef83170
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.json
1 [
2     {
3         "id": "f7510939.737a28",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 97,
8         "y": 66,
9         "z": "58e8fb6f.65cbf4",
10         "wires": [
11             [
12                 "2fcf1979.35372e"
13             ]
14         ]
15     },
16     {
17         "id": "2fcf1979.35372e",
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": 373,
26         "y": 67,
27         "z": "58e8fb6f.65cbf4",
28         "wires": [
29             [
30                 "bc76009d.4ebf28"
31             ]
32         ]
33     },
34     {
35         "id": "bc76009d.4ebf28",
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": 690,
42         "y": 67,
43         "z": "58e8fb6f.65cbf4",
44         "wires": [
45             [
46                 "5a6abd1c.325a84"
47             ]
48         ]
49     },
50     {
51         "id": "5a6abd1c.325a84",
52         "type": "block",
53         "name": "block atomic",
54         "xml": "<block atomic=\"true\">\n",
55         "atomic": "false",
56         "comments": "",
57         "outputs": 1,
58         "x": 186.16664123535156,
59         "y": 147.3333339691162,
60         "z": "58e8fb6f.65cbf4",
61         "wires": [
62             [
63                 "df3086f1.895f2",
64                 "ea9193c.a6879f",
65                 "33c58f5d.79c91",
66                 "6787a8cd.55f73",
67                 "a6a772e5.982a2",
68                 "bd0c1c4e.597a5",
69                 "91dde7fd.fe86a",
70                 "a269720d.c1b3c",
71                 "c497e61b.9d5da",
72                 "5d2bdeb6.7712a",
73                 "ff9121b8.95fe6",
74                 "a656672e.be2f5",
75                 "479d04c2.fc7acc",
76                 "8048ec03.29272",
77                 "c8325ee3.97b988"
78             ]
79         ]
80     },
81     {
82         "id": "ea9193c.a6879f",
83         "type": "set",
84         "name": "set",
85         "xml": "<set>\n   <parameter name=\"request-id\" 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=\"resource-id\" value=\"`$vnf-topology-operation-input.vnf-information.vnf-id`\" />   \n   <parameter name=\"action-name\" value=\"resource-assignment\"/> \n   <parameter name=\"responsePrefix\" value=\"raAssign\" />\n",
86         "comments": "",
87         "x": 371.9166603088379,
88         "y": 192.08333015441895,
89         "z": "58e8fb6f.65cbf4",
90         "wires": []
91     },
92     {
93         "id": "6b11523.8f254ac",
94         "type": "get-resource",
95         "name": "get-resource VF_MODEL",
96         "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",
97         "comments": "",
98         "outputs": 1,
99         "x": 910.8094635009766,
100         "y": 583.6189861297607,
101         "z": "58e8fb6f.65cbf4",
102         "wires": [
103             [
104                 "5877f735.e57fd",
105                 "7ba78ada.2fb134",
106                 "bf519ef3.d251"
107             ]
108         ]
109     },
110     {
111         "id": "5877f735.e57fd",
112         "type": "failure",
113         "name": "failure",
114         "xml": "<outcome value='failure'>\n",
115         "comments": "",
116         "outputs": 1,
117         "x": 1155.8095626831055,
118         "y": 532.904709815979,
119         "z": "58e8fb6f.65cbf4",
120         "wires": [
121             [
122                 "f07c5725.aa61d"
123             ]
124         ]
125     },
126     {
127         "id": "f07c5725.aa61d",
128         "type": "returnFailure",
129         "name": "return failure",
130         "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",
131         "comments": "",
132         "x": 1328.8095626831055,
133         "y": 531.904709815979,
134         "z": "58e8fb6f.65cbf4",
135         "wires": []
136     },
137     {
138         "id": "fbb3efb4.020878",
139         "type": "set",
140         "name": "set tmp.sdnc-model-name, tmp.sdnc-model-version, tmp.sdnc-artifact-name",
141         "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",
142         "comments": "",
143         "x": 1531.2380638122559,
144         "y": 633.047513961792,
145         "z": "58e8fb6f.65cbf4",
146         "wires": []
147     },
148     {
149         "id": "7d77945b.b872dc",
150         "type": "returnFailure",
151         "name": "return failure",
152         "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",
153         "comments": "",
154         "x": 1330.8095626831055,
155         "y": 580.904709815979,
156         "z": "58e8fb6f.65cbf4",
157         "wires": []
158     },
159     {
160         "id": "a6a772e5.982a2",
161         "type": "switchNode",
162         "name": "switch: model info == NULL",
163         "xml": "<switch test=\"`$tmp.sdnc-model-name == '' or $tmp.sdnc-model-version == '' or $tmp.sdnc-artifact-name == ''`\">\n",
164         "comments": "",
165         "outputs": 1,
166         "x": 431.80946350097656,
167         "y": 584.6189861297607,
168         "z": "58e8fb6f.65cbf4",
169         "wires": [
170             [
171                 "45517119.0e4e48"
172             ]
173         ]
174     },
175     {
176         "id": "7ba78ada.2fb134",
177         "type": "not-found",
178         "name": "not-found",
179         "xml": "<outcome value='not-found'>\n",
180         "comments": "",
181         "outputs": 1,
182         "x": 1161.8095626831055,
183         "y": 581.904709815979,
184         "z": "58e8fb6f.65cbf4",
185         "wires": [
186             [
187                 "7d77945b.b872dc"
188             ]
189         ]
190     },
191     {
192         "id": "45517119.0e4e48",
193         "type": "outcome",
194         "name": "true",
195         "xml": "<outcome value='true'>",
196         "comments": "",
197         "outputs": 1,
198         "x": 680.8094635009766,
199         "y": 584.6189861297607,
200         "z": "58e8fb6f.65cbf4",
201         "wires": [
202             [
203                 "6b11523.8f254ac"
204             ]
205         ]
206     },
207     {
208         "id": "6787a8cd.55f73",
209         "type": "for",
210         "name": "for vnf-topology-operation-input",
211         "xml": "<for silentFailure='true' index='i' start='0' end='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`' >",
212         "comments": "",
213         "outputs": 1,
214         "x": 447.66664123535156,
215         "y": 384.3333339691162,
216         "z": "58e8fb6f.65cbf4",
217         "wires": [
218             [
219                 "df930bd3.0b7718"
220             ]
221         ]
222     },
223     {
224         "id": "df930bd3.0b7718",
225         "type": "block",
226         "name": "block atomic",
227         "xml": "<block atomic=\"true\">",
228         "atomic": "false",
229         "comments": "",
230         "outputs": 1,
231         "x": 669.6666412353516,
232         "y": 383.3333339691162,
233         "z": "58e8fb6f.65cbf4",
234         "wires": [
235             [
236                 "408427e4.b460e8"
237             ]
238         ]
239     },
240     {
241         "id": "e049960d.9cd738",
242         "type": "set",
243         "name": "set tmp.sdnc-model-name",
244         "xml": "<set>\n<parameter name='tmp.sdnc-model-name' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value`' />\n",
245         "comments": "",
246         "x": 1320.6666412353516,
247         "y": 316.3333339691162,
248         "z": "58e8fb6f.65cbf4",
249         "wires": []
250     },
251     {
252         "id": "16a8e775.3a66e1",
253         "type": "outcome",
254         "name": "sdnc_model_name",
255         "xml": "<outcome value='sdnc_model_name'>\n",
256         "comments": "",
257         "outputs": 1,
258         "x": 1066.6666412353516,
259         "y": 316.3333339691162,
260         "z": "58e8fb6f.65cbf4",
261         "wires": [
262             [
263                 "e049960d.9cd738"
264             ]
265         ]
266     },
267     {
268         "id": "408427e4.b460e8",
269         "type": "switchNode",
270         "name": "switch",
271         "xml": "<switch test='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].name`'>\n\n",
272         "comments": "",
273         "outputs": 1,
274         "x": 828.6666412353516,
275         "y": 383.3333339691162,
276         "z": "58e8fb6f.65cbf4",
277         "wires": [
278             [
279                 "16a8e775.3a66e1",
280                 "6adfc9ab.cf61f",
281                 "5d22c0ae.86e7a",
282                 "45edf3cd.ba4db4"
283             ]
284         ]
285     },
286     {
287         "id": "6adfc9ab.cf61f",
288         "type": "outcome",
289         "name": "sdnc_model_version",
290         "xml": "<outcome value='sdnc_model_version'>\n",
291         "comments": "",
292         "outputs": 1,
293         "x": 1069.6666412353516,
294         "y": 362.3333339691162,
295         "z": "58e8fb6f.65cbf4",
296         "wires": [
297             [
298                 "591cbcf1.5fb17c"
299             ]
300         ]
301     },
302     {
303         "id": "5d22c0ae.86e7a",
304         "type": "outcome",
305         "name": "sdnc_artifact_name",
306         "xml": "<outcome value='sdnc_artifact_name'>\n",
307         "comments": "",
308         "outputs": 1,
309         "x": 1068.6666412353516,
310         "y": 411.3333339691162,
311         "z": "58e8fb6f.65cbf4",
312         "wires": [
313             [
314                 "122b59ca.cd367e"
315             ]
316         ]
317     },
318     {
319         "id": "591cbcf1.5fb17c",
320         "type": "set",
321         "name": "set tmp.sdnc-model-version",
322         "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",
323         "comments": "",
324         "x": 1324.6666412353516,
325         "y": 362.3333339691162,
326         "z": "58e8fb6f.65cbf4",
327         "wires": []
328     },
329     {
330         "id": "122b59ca.cd367e",
331         "type": "set",
332         "name": "set tmp.sdnc-artifact-name",
333         "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",
334         "comments": "",
335         "x": 1320.6666412353516,
336         "y": 411.3333339691162,
337         "z": "58e8fb6f.65cbf4",
338         "wires": []
339     },
340     {
341         "id": "3f7c8176.d6b64e",
342         "type": "set",
343         "name": "set name-value other JsonString",
344         "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",
345         "comments": "",
346         "x": 1336.6666412353516,
347         "y": 460.3333339691162,
348         "z": "58e8fb6f.65cbf4",
349         "wires": []
350     },
351     {
352         "id": "45edf3cd.ba4db4",
353         "type": "outcome",
354         "name": "other",
355         "xml": "<outcome value='Other'>\n",
356         "comments": "",
357         "outputs": 1,
358         "x": 1028.666648864746,
359         "y": 460.9047546386719,
360         "z": "58e8fb6f.65cbf4",
361         "wires": [
362             [
363                 "3f7c8176.d6b64e"
364             ]
365         ]
366     },
367     {
368         "id": "bd0c1c4e.597a5",
369         "type": "set",
370         "name": "set configAssignment JsonString",
371         "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<parameter name=\"tmp.json-payload\" value=\"`'{' + $tmp.config-name-value-payload7 + '}'`\" />",
372         "comments": "",
373         "x": 441.66664123535156,
374         "y": 703.3333339691162,
375         "z": "58e8fb6f.65cbf4",
376         "wires": []
377     },
378     {
379         "id": "91dde7fd.fe86a",
380         "type": "execute",
381         "name": "execute BlueprintProcessingClient",
382         "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.grpc.cds.BlueprintProcessingClient' method='sendRequest'>\n <parameter name='blueprint_name' value='`$tmp.sdnc-model-name`' />\n <parameter name='blueprint_version' value='`$tmp.sdnc-model-version`' />\n <parameter name='action' value='`$action-name`' />\n <parameter name='mode' value='sync' />\n <parameter name='force' value='false' />\n <parameter name='ttl' value='0' />\n <parameter name='prefix' value='`$responsePrefix`' />\n <parameter name='payload' value=\"`'{\n  &quot;resource-assignment-request&quot;: {\n    &quot;template-prefix&quot;: [\n      &quot;' + $tmp.sdnc-artifact-name + '&quot;\n    ],\n    &quot;resource-assignment-properties&quot;: \n        ' + $tmp.json-payload + '\n  }\n}'`\"/>",
383         "comments": "",
384         "outputs": 1,
385         "x": 449.33331298828125,
386         "y": 858,
387         "z": "58e8fb6f.65cbf4",
388         "wires": [
389             [
390                 "7b68efaf.314158",
391                 "7211bbf0.b473fc"
392             ]
393         ]
394     },
395     {
396         "id": "7b68efaf.314158",
397         "type": "failure",
398         "name": "failure",
399         "xml": "<outcome value='failure'>\n",
400         "comments": "",
401         "outputs": 1,
402         "x": 689.3333129882812,
403         "y": 832,
404         "z": "58e8fb6f.65cbf4",
405         "wires": [
406             [
407                 "e94b29ef.72631"
408             ]
409         ]
410     },
411     {
412         "id": "e94b29ef.72631",
413         "type": "returnFailure",
414         "name": "return failure",
415         "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",
416         "comments": "",
417         "x": 871.3333129882812,
418         "y": 853,
419         "z": "58e8fb6f.65cbf4",
420         "wires": []
421     },
422     {
423         "id": "c497e61b.9d5da",
424         "type": "for",
425         "name": "for resource-accumulator-resolved-data loop",
426         "xml": "<for silentFailure='true'  index='i' start='0' end='`$jsonContextPrefix.resource-accumulator-resolved-data_length`' >\n",
427         "comments": "",
428         "outputs": 1,
429         "x": 473.66664123535156,
430         "y": 1075.333324432373,
431         "z": "58e8fb6f.65cbf4",
432         "wires": [
433             [
434                 "a0e85ddc.4c617"
435             ]
436         ]
437     },
438     {
439         "id": "e4968d42.952ee8",
440         "type": "set",
441         "name": "set from resource-accumulator-resolved-data",
442         "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",
443         "comments": "",
444         "x": 1703.6666412353516,
445         "y": 1127.333324432373,
446         "z": "58e8fb6f.65cbf4",
447         "wires": []
448     },
449     {
450         "id": "5d2bdeb6.7712a",
451         "type": "for",
452         "name": "for capability-data",
453         "xml": "<for silentFailure='true' index='i' start='0' end='`$jsonContextPrefix.capability-data_length`' >\n",
454         "comments": "",
455         "outputs": 1,
456         "x": 398.66664123535156,
457         "y": 1417.333324432373,
458         "z": "58e8fb6f.65cbf4",
459         "wires": [
460             [
461                 "59ba36cd.90352"
462             ]
463         ]
464     },
465     {
466         "id": "59ba36cd.90352",
467         "type": "for",
468         "name": "for key-mapping",
469         "xml": "<for silentFailure='true' index='j' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping_length`' >",
470         "comments": "",
471         "outputs": 1,
472         "x": 607.6666412353516,
473         "y": 1417.333324432373,
474         "z": "58e8fb6f.65cbf4",
475         "wires": [
476             [
477                 "c262587.ce01da8"
478             ]
479         ]
480     },
481     {
482         "id": "a269720d.c1b3c",
483         "type": "execute",
484         "name": "execute jsonStringToCtx",
485         "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",
486         "comments": "",
487         "outputs": 1,
488         "x": 417.66664123535156,
489         "y": 996.333324432373,
490         "z": "58e8fb6f.65cbf4",
491         "wires": [
492             []
493         ]
494     },
495     {
496         "id": "df3086f1.895f2",
497         "type": "execute",
498         "name": "execute generateUUID",
499         "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 ",
500         "comments": "",
501         "outputs": 1,
502         "x": 423.66664123535156,
503         "y": 147.3333339691162,
504         "z": "58e8fb6f.65cbf4",
505         "wires": [
506             [
507                 "7701fdb8.3f24cc"
508             ]
509         ]
510     },
511     {
512         "id": "7701fdb8.3f24cc",
513         "type": "failure",
514         "name": "failure",
515         "xml": "<outcome value='failure'>\n",
516         "comments": "",
517         "outputs": 1,
518         "x": 601.6666412353516,
519         "y": 145.3333339691162,
520         "z": "58e8fb6f.65cbf4",
521         "wires": [
522             [
523                 "1d32ed0e.9e31f3"
524             ]
525         ]
526     },
527     {
528         "id": "1d32ed0e.9e31f3",
529         "type": "returnFailure",
530         "name": "return failure",
531         "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",
532         "comments": "",
533         "x": 748.6666412353516,
534         "y": 146.3333339691162,
535         "z": "58e8fb6f.65cbf4",
536         "wires": []
537     },
538     {
539         "id": "c131d15b.1aef98",
540         "type": "for",
541         "name": "for vnf-parameters-data.param",
542         "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",
543         "comments": "",
544         "outputs": 1,
545         "x": 1446.6666412353516,
546         "y": 1075.333324432373,
547         "z": "58e8fb6f.65cbf4",
548         "wires": [
549             [
550                 "3c69fe77.c81ada"
551             ]
552         ]
553     },
554     {
555         "id": "a0e85ddc.4c617",
556         "type": "block",
557         "name": "block atomic",
558         "xml": "<block atomic=\"true\">",
559         "atomic": "false",
560         "comments": "",
561         "outputs": 1,
562         "x": 752.6666412353516,
563         "y": 1076.333324432373,
564         "z": "58e8fb6f.65cbf4",
565         "wires": [
566             [
567                 "c865c555.1438c8",
568                 "69622bed.1e814c",
569                 "8148c167.a33aa"
570             ]
571         ]
572     },
573     {
574         "id": "33c58f5d.79c91",
575         "type": "switchNode",
576         "name": "switch vnf-parameters-data.param_length",
577         "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`'>\n",
578         "comments": "",
579         "outputs": 1,
580         "x": 475.66664123535156,
581         "y": 245.3333339691162,
582         "z": "58e8fb6f.65cbf4",
583         "wires": [
584             [
585                 "80ce6f0d.c3a98",
586                 "a0423db8.f01fe8"
587             ]
588         ]
589     },
590     {
591         "id": "80ce6f0d.c3a98",
592         "type": "outcome",
593         "name": "null",
594         "xml": "<outcome value=''>",
595         "comments": "",
596         "outputs": 1,
597         "x": 713.6666412353516,
598         "y": 213.3333339691162,
599         "z": "58e8fb6f.65cbf4",
600         "wires": [
601             [
602                 "99ca71f9.ca2008"
603             ]
604         ]
605     },
606     {
607         "id": "a0423db8.f01fe8",
608         "type": "other",
609         "name": "other",
610         "xml": "<outcome value='Other'>\n",
611         "comments": "",
612         "outputs": 1,
613         "x": 712.6666412353516,
614         "y": 277.3333339691162,
615         "z": "58e8fb6f.65cbf4",
616         "wires": [
617             [
618                 "d63b03e5.819148"
619             ]
620         ]
621     },
622     {
623         "id": "99ca71f9.ca2008",
624         "type": "set",
625         "name": "set pre service param len as 0",
626         "xml": "<set>\n   <parameter name='highnum' value='0' />\n   <parameter name='prehighnum' value='0'/>\n",
627         "comments": "",
628         "x": 926.6666412353516,
629         "y": 213.3333339691162,
630         "z": "58e8fb6f.65cbf4",
631         "wires": []
632     },
633     {
634         "id": "d63b03e5.819148",
635         "type": "set",
636         "name": "set pre service param len",
637         "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`' />",
638         "comments": "",
639         "x": 911.6666412353516,
640         "y": 277.3333339691162,
641         "z": "58e8fb6f.65cbf4",
642         "wires": []
643     },
644     {
645         "id": "3c69fe77.c81ada",
646         "type": "switchNode",
647         "name": "switch input vnf-name",
648         "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",
649         "comments": "",
650         "outputs": 1,
651         "x": 1704.6666412353516,
652         "y": 1075.333324432373,
653         "z": "58e8fb6f.65cbf4",
654         "wires": [
655             [
656                 "f71f49f1.2930d"
657             ]
658         ]
659     },
660     {
661         "id": "f71f49f1.2930d",
662         "type": "not-found",
663         "name": "true",
664         "xml": "<outcome value='true'>\n",
665         "comments": "",
666         "outputs": 1,
667         "x": 1884.6666412353516,
668         "y": 1075.333324432373,
669         "z": "58e8fb6f.65cbf4",
670         "wires": [
671             [
672                 "6f785c18.a5a264"
673             ]
674         ]
675     },
676     {
677         "id": "6f785c18.a5a264",
678         "type": "set",
679         "name": "set for existing param name",
680         "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",
681         "comments": "",
682         "x": 2094.6666412353516,
683         "y": 1076.333324432373,
684         "z": "58e8fb6f.65cbf4",
685         "wires": []
686     },
687     {
688         "id": "8148c167.a33aa",
689         "type": "switchNode",
690         "name": "switch tmp.mso.param.not-found",
691         "xml": "<switch test='`$tmp.mso.param.found`'>\n",
692         "comments": "",
693         "outputs": 1,
694         "x": 994.6666412353516,
695         "y": 1128.333324432373,
696         "z": "58e8fb6f.65cbf4",
697         "wires": [
698             [
699                 "43bd538.13b17ac"
700             ]
701         ]
702     },
703     {
704         "id": "43bd538.13b17ac",
705         "type": "not-found",
706         "name": "false",
707         "xml": "<outcome value='false'>\n",
708         "comments": "",
709         "outputs": 1,
710         "x": 1228.6666412353516,
711         "y": 1127.333324432373,
712         "z": "58e8fb6f.65cbf4",
713         "wires": [
714             [
715                 "8e656d8f.2c0638"
716             ]
717         ]
718     },
719     {
720         "id": "c865c555.1438c8",
721         "type": "set",
722         "name": "set for existing param name",
723         "xml": "<set>\n<parameter name='tmp.mso.param.found' value='false' />\n",
724         "comments": "",
725         "x": 978.6666412353516,
726         "y": 1017.333324432373,
727         "z": "58e8fb6f.65cbf4",
728         "wires": []
729     },
730     {
731         "id": "69622bed.1e814c",
732         "type": "switchNode",
733         "name": "switch check length > 0",
734         "xml": "<switch test='`$prehighnum &gt; 0`'>\n",
735         "comments": "",
736         "outputs": 1,
737         "x": 971.1666412353516,
738         "y": 1076.333324432373,
739         "z": "58e8fb6f.65cbf4",
740         "wires": [
741             [
742                 "d5b14a95.351558"
743             ]
744         ]
745     },
746     {
747         "id": "d5b14a95.351558",
748         "type": "not-found",
749         "name": "true",
750         "xml": "<outcome value='true'>\n",
751         "comments": "",
752         "outputs": 1,
753         "x": 1218.1666412353516,
754         "y": 1076.333324432373,
755         "z": "58e8fb6f.65cbf4",
756         "wires": [
757             [
758                 "c131d15b.1aef98"
759             ]
760         ]
761     },
762     {
763         "id": "530a0de5.6510fc",
764         "type": "for",
765         "name": "for payload",
766         "xml": "<for silentFailure='true' index='k' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length`' >",
767         "comments": "",
768         "outputs": 1,
769         "x": 1789.6666412353516,
770         "y": 1435.333324432373,
771         "z": "58e8fb6f.65cbf4",
772         "wires": [
773             [
774                 "d780496.e20e538"
775             ]
776         ]
777     },
778     {
779         "id": "39414253.4d201e",
780         "type": "set",
781         "name": "set resource-key",
782         "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",
783         "comments": "",
784         "x": 2138.6666412353516,
785         "y": 1371.333324432373,
786         "z": "58e8fb6f.65cbf4",
787         "wires": []
788     },
789     {
790         "id": "79092629.a0057",
791         "type": "set",
792         "name": "set output-data ",
793         "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' />",
794         "comments": "",
795         "x": 1362.6666412353516,
796         "y": 1315.333324432373,
797         "z": "58e8fb6f.65cbf4",
798         "wires": []
799     },
800     {
801         "id": "c262587.ce01da8",
802         "type": "for",
803         "name": "for output-key-mapping",
804         "xml": "<for silentFailure='true' index='l' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping_length`' >",
805         "comments": "",
806         "outputs": 1,
807         "x": 830.6666412353516,
808         "y": 1417.333324432373,
809         "z": "58e8fb6f.65cbf4",
810         "wires": [
811             [
812                 "a651056f.79b248"
813             ]
814         ]
815     },
816     {
817         "id": "a651056f.79b248",
818         "type": "block",
819         "name": "block atomic",
820         "xml": "<block atomic=\"true\">",
821         "atomic": "false",
822         "comments": "",
823         "outputs": 1,
824         "x": 1081.6666412353516,
825         "y": 1417.333324432373,
826         "z": "58e8fb6f.65cbf4",
827         "wires": [
828             [
829                 "79092629.a0057",
830                 "5a379da9.df18dc",
831                 "37a6c3e.3ad683c",
832                 "3d8ba937.dbc0d6"
833             ]
834         ]
835     },
836     {
837         "id": "5a379da9.df18dc",
838         "type": "set",
839         "name": "set length",
840         "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",
841         "comments": "",
842         "x": 1350.6666412353516,
843         "y": 1453.333324432373,
844         "z": "58e8fb6f.65cbf4",
845         "wires": []
846     },
847     {
848         "id": "7211bbf0.b473fc",
849         "type": "failure",
850         "name": "not-found",
851         "xml": "<outcome value='not-found'>\n",
852         "comments": "",
853         "outputs": 1,
854         "x": 694.3333129882812,
855         "y": 894,
856         "z": "58e8fb6f.65cbf4",
857         "wires": [
858             [
859                 "e94b29ef.72631"
860             ]
861         ]
862     },
863     {
864         "id": "37a6c3e.3ad683c",
865         "type": "switchNode",
866         "name": "switch payload_length",
867         "xml": "<switch test=\"`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length == ''`\">\n",
868         "comments": "",
869         "outputs": 1,
870         "x": 1386.6666412353516,
871         "y": 1386.333324432373,
872         "z": "58e8fb6f.65cbf4",
873         "wires": [
874             [
875                 "9c94dbb3.05da2",
876                 "b6532788.a69bf8"
877             ]
878         ]
879     },
880     {
881         "id": "9c94dbb3.05da2",
882         "type": "outcome",
883         "name": "true",
884         "xml": "<outcome value='true'>",
885         "comments": "",
886         "outputs": 1,
887         "x": 1607.6666412353516,
888         "y": 1317.333324432373,
889         "z": "58e8fb6f.65cbf4",
890         "wires": [
891             []
892         ]
893     },
894     {
895         "id": "b6532788.a69bf8",
896         "type": "other",
897         "name": "false",
898         "xml": "<outcome value='false'>\n",
899         "comments": "",
900         "outputs": 1,
901         "x": 1614.6666412353516,
902         "y": 1435.333324432373,
903         "z": "58e8fb6f.65cbf4",
904         "wires": [
905             [
906                 "530a0de5.6510fc"
907             ]
908         ]
909     },
910     {
911         "id": "bf519ef3.d251",
912         "type": "success",
913         "name": "success",
914         "xml": "<outcome value='success'>\n",
915         "comments": "",
916         "outputs": 1,
917         "x": 1157.9523658752441,
918         "y": 632.9046821594238,
919         "z": "58e8fb6f.65cbf4",
920         "wires": [
921             [
922                 "fbb3efb4.020878"
923             ]
924         ]
925     },
926     {
927         "id": "c6d0d2f9.dcf96",
928         "type": "set",
929         "name": "set length",
930         "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",
931         "comments": "",
932         "x": 2127.6666412353516,
933         "y": 1435.333324432373,
934         "z": "58e8fb6f.65cbf4",
935         "wires": []
936     },
937     {
938         "id": "8236fb65.2996b",
939         "type": "set",
940         "name": "increment length",
941         "xml": "<set>\n\t<parameter name='num' value='`$num + 1`' />\n",
942         "comments": "",
943         "x": 2145.6666412353516,
944         "y": 1509.333324432373,
945         "z": "58e8fb6f.65cbf4",
946         "wires": []
947     },
948     {
949         "id": "3d8ba937.dbc0d6",
950         "type": "set",
951         "name": "increment length",
952         "xml": "<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n\n",
953         "comments": "",
954         "x": 1371.6666412353516,
955         "y": 1520.333324432373,
956         "z": "58e8fb6f.65cbf4",
957         "wires": []
958     },
959     {
960         "id": "8e656d8f.2c0638",
961         "type": "block",
962         "name": "block : atomic",
963         "xml": "<block atomic='true'>",
964         "atomic": "true",
965         "comments": "",
966         "outputs": 1,
967         "x": 1405.6666412353516,
968         "y": 1126.333324432373,
969         "z": "58e8fb6f.65cbf4",
970         "wires": [
971             [
972                 "e4968d42.952ee8",
973                 "d52c802e.c9c1a8"
974             ]
975         ]
976     },
977     {
978         "id": "d52c802e.c9c1a8",
979         "type": "set",
980         "name": "increment length",
981         "xml": "<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n",
982         "comments": "",
983         "x": 1620.6666412353516,
984         "y": 1186.333324432373,
985         "z": "58e8fb6f.65cbf4",
986         "wires": []
987     },
988     {
989         "id": "d780496.e20e538",
990         "type": "block",
991         "name": "block atomic",
992         "xml": "<block atomic=\"true\">",
993         "atomic": "false",
994         "comments": "",
995         "outputs": 1,
996         "x": 1945.6666412353516,
997         "y": 1436.333324432373,
998         "z": "58e8fb6f.65cbf4",
999         "wires": [
1000             [
1001                 "39414253.4d201e",
1002                 "c6d0d2f9.dcf96",
1003                 "8236fb65.2996b"
1004             ]
1005         ]
1006     },
1007     {
1008         "id": "ff9121b8.95fe6",
1009         "type": "record",
1010         "name": "record",
1011         "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",
1012         "comments": "",
1013         "outputs": 1,
1014         "x": 371.9999809265137,
1015         "y": 779.333324432373,
1016         "z": "58e8fb6f.65cbf4",
1017         "wires": [
1018             []
1019         ]
1020     },
1021     {
1022         "id": "a656672e.be2f5",
1023         "type": "record",
1024         "name": "record",
1025         "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",
1026         "comments": "",
1027         "outputs": 1,
1028         "x": 368.6666488647461,
1029         "y": 934.3333320617676,
1030         "z": "58e8fb6f.65cbf4",
1031         "wires": [
1032             []
1033         ]
1034     },
1035     {
1036         "id": "8048ec03.29272",
1037         "type": "execute",
1038         "name": "printContext",
1039         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='`$pathname`' />\n",
1040         "comments": "",
1041         "outputs": 1,
1042         "x": 377.00000762939453,
1043         "y": 1738.5000267028809,
1044         "z": "58e8fb6f.65cbf4",
1045         "wires": [
1046             []
1047         ]
1048     },
1049     {
1050         "id": "479d04c2.fc7acc",
1051         "type": "set",
1052         "name": "set pathname",
1053         "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",
1054         "comments": "",
1055         "x": 383.25000762939453,
1056         "y": 1686.0000247955322,
1057         "z": "58e8fb6f.65cbf4",
1058         "wires": []
1059     },
1060     {
1061         "id": "c8325ee3.97b988",
1062         "type": "record",
1063         "name": "record",
1064         "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",
1065         "comments": "",
1066         "outputs": 1,
1067         "x": 360.75000381469727,
1068         "y": 1639.7500247955322,
1069         "z": "58e8fb6f.65cbf4",
1070         "wires": [
1071             []
1072         ]
1073     }
1074 ]