Dublin release
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_self-serve-pnf-ra-assignment.json
1 [\r
2     {\r
3         "id": "81013586.72b878",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 152.5,\r
8         "y": 73.75,\r
9         "z": "2b4129e2.7e3f56",\r
10         "wires": [\r
11             [\r
12                 "16d29a69.fd75d6"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "16d29a69.fd75d6",\r
18         "type": "service-logic",\r
19         "name": "GENERIC-RESOURCE-API ${project.version}",\r
20         "module": "GENERIC-RESOURCE-API",\r
21         "version": "${project.version}",\r
22         "comments": "",\r
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}'>",\r
24         "outputs": 1,\r
25         "x": 428.5,\r
26         "y": 74.75,\r
27         "z": "2b4129e2.7e3f56",\r
28         "wires": [\r
29             [\r
30                 "fb8a3acf.eacc88"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "fb8a3acf.eacc88",\r
36         "type": "method",\r
37         "name": "self-serve-pnf-ra-assignment",\r
38         "xml": "<method rpc='self-serve-pnf-ra-assignment' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 745.5,\r
42         "y": 74.75,\r
43         "z": "2b4129e2.7e3f56",\r
44         "wires": [\r
45             [\r
46                 "11ad89b0.4aa4c6"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "11ad89b0.4aa4c6",\r
52         "type": "block",\r
53         "name": "block atomic",\r
54         "xml": "<block atomic=\"true\">\n",\r
55         "atomic": "false",\r
56         "comments": "",\r
57         "outputs": 1,\r
58         "x": 241.66664123535156,\r
59         "y": 155.0833339691162,\r
60         "z": "2b4129e2.7e3f56",\r
61         "wires": [\r
62             [\r
63                 "6a8abb82.762c24",\r
64                 "d5ddf680.bc1228",\r
65                 "d7d846c4.3b1898",\r
66                 "62bc77a8.9608f8",\r
67                 "ef795e5f.2b62e",\r
68                 "cd9ccb1d.ad27d8",\r
69                 "e4653dfe.029a3",\r
70                 "ed802b4f.e3de88",\r
71                 "4ae0bbb3.7d20c4",\r
72                 "3049bbb0.b6b734",\r
73                 "9eebb178.0f2de",\r
74                 "507cc1d.a43bf4",\r
75                 "22187a30.f13be6",\r
76                 "c7fb6ab.3a33598",\r
77                 "7905fcc3.ff7874"\r
78             ]\r
79         ]\r
80     },\r
81     {\r
82         "id": "d5ddf680.bc1228",\r
83         "type": "set",\r
84         "name": "set",\r
85         "xml": "<set>\n   <parameter name=\"request-id\" value=\"`$tmp.return.generate.pnf-se-serv-uuid`\"/>\n   <parameter name=\"resource-type\" value=\"`$pnf-topology-operation-input.pnf-details.pnf-type`\" />  \n   <parameter name=\"resource-id\" value=\"`$pnf-topology-operation-input.pnf-details.pnf-id`\" />   \n   <parameter name=\"action-name\" value=\"resource-assignment\"/> \n   <parameter name=\"responsePrefix\" value=\"raAssign\" />\n",\r
86         "comments": "",\r
87         "x": 427.4166603088379,\r
88         "y": 199.83333015441895,\r
89         "z": "2b4129e2.7e3f56",\r
90         "wires": []\r
91     },\r
92     {\r
93         "id": "1893855c.d16e5b",\r
94         "type": "get-resource",\r
95         "name": "get-resource VF_MODEL",\r
96         "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from VF_MODEL WHERE customization_uuid = $pnf-topology-operation-input.pnf-details.onap-model-information.model-customization-uuid'\n  pfx='db1.vf-model'>\n  \n\n",\r
97         "comments": "",\r
98         "outputs": 1,\r
99         "x": 966.3094635009766,\r
100         "y": 591.3689861297607,\r
101         "z": "2b4129e2.7e3f56",\r
102         "wires": [\r
103             [\r
104                 "a87dd4cc.178e18",\r
105                 "ba66fea4.81fad",\r
106                 "c6434f37.1962d"\r
107             ]\r
108         ]\r
109     },\r
110     {\r
111         "id": "a87dd4cc.178e18",\r
112         "type": "failure",\r
113         "name": "failure",\r
114         "xml": "<outcome value='failure'>\n",\r
115         "comments": "",\r
116         "outputs": 1,\r
117         "x": 1211.3095626831055,\r
118         "y": 540.654709815979,\r
119         "z": "2b4129e2.7e3f56",\r
120         "wires": [\r
121             [\r
122                 "ab46b2b3.a771c"\r
123             ]\r
124         ]\r
125     },\r
126     {\r
127         "id": "ab46b2b3.a771c",\r
128         "type": "returnFailure",\r
129         "name": "return failure",\r
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_MODEL table\" />\n",\r
131         "comments": "",\r
132         "x": 1384.3095626831055,\r
133         "y": 539.654709815979,\r
134         "z": "2b4129e2.7e3f56",\r
135         "wires": []\r
136     },\r
137     {\r
138         "id": "879b8f8b.c19ed",\r
139         "type": "set",\r
140         "name": "set tmp.sdnc-model-name, tmp.sdnc-model-version, tmp.sdnc-artifact-name",\r
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",\r
142         "comments": "",\r
143         "x": 1586.7380638122559,\r
144         "y": 640.797513961792,\r
145         "z": "2b4129e2.7e3f56",\r
146         "wires": []\r
147     },\r
148     {\r
149         "id": "c7b5dfc8.8b235",\r
150         "type": "returnFailure",\r
151         "name": "return failure",\r
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=\"`'No VF_MODEL found where customization_uuid = ' + $pnf-topology-operation-input.pnf-details.onap-model-information.model-customization-uuid`\" />\n",\r
153         "comments": "",\r
154         "x": 1386.3095626831055,\r
155         "y": 588.654709815979,\r
156         "z": "2b4129e2.7e3f56",\r
157         "wires": []\r
158     },\r
159     {\r
160         "id": "ef795e5f.2b62e",\r
161         "type": "switchNode",\r
162         "name": "switch: model info == NULL",\r
163         "xml": "<switch test=\"`$tmp.sdnc-model-name == '' or $tmp.sdnc-model-version == '' or $tmp.sdnc-artifact-name == ''`\">\n",\r
164         "comments": "",\r
165         "outputs": 1,\r
166         "x": 487.30946350097656,\r
167         "y": 592.3689861297607,\r
168         "z": "2b4129e2.7e3f56",\r
169         "wires": [\r
170             [\r
171                 "e98bb0b9.b2422"\r
172             ]\r
173         ]\r
174     },\r
175     {\r
176         "id": "ba66fea4.81fad",\r
177         "type": "not-found",\r
178         "name": "not-found",\r
179         "xml": "<outcome value='not-found'>\n",\r
180         "comments": "",\r
181         "outputs": 1,\r
182         "x": 1217.3095626831055,\r
183         "y": 589.654709815979,\r
184         "z": "2b4129e2.7e3f56",\r
185         "wires": [\r
186             [\r
187                 "c7b5dfc8.8b235"\r
188             ]\r
189         ]\r
190     },\r
191     {\r
192         "id": "e98bb0b9.b2422",\r
193         "type": "outcome",\r
194         "name": "true",\r
195         "xml": "<outcome value='true'>",\r
196         "comments": "",\r
197         "outputs": 1,\r
198         "x": 736.3094635009766,\r
199         "y": 592.3689861297607,\r
200         "z": "2b4129e2.7e3f56",\r
201         "wires": [\r
202             [\r
203                 "1893855c.d16e5b"\r
204             ]\r
205         ]\r
206     },\r
207     {\r
208         "id": "62bc77a8.9608f8",\r
209         "type": "for",\r
210         "name": "for pnf-topology-operation-input",\r
211         "xml": "<for silentFailure='true' index='i' start='0' end='`$pnf-topology-operation-input.pnf-request-input.pnf-input-parameters.param_length`' >",\r
212         "comments": "",\r
213         "outputs": 1,\r
214         "x": 503.16664123535156,\r
215         "y": 392.0833339691162,\r
216         "z": "2b4129e2.7e3f56",\r
217         "wires": [\r
218             [\r
219                 "72f58635.66b448"\r
220             ]\r
221         ]\r
222     },\r
223     {\r
224         "id": "72f58635.66b448",\r
225         "type": "block",\r
226         "name": "block atomic",\r
227         "xml": "<block atomic=\"true\">",\r
228         "atomic": "false",\r
229         "comments": "",\r
230         "outputs": 1,\r
231         "x": 725.1666412353516,\r
232         "y": 391.0833339691162,\r
233         "z": "2b4129e2.7e3f56",\r
234         "wires": [\r
235             [\r
236                 "86d3f258.93e3b"\r
237             ]\r
238         ]\r
239     },\r
240     {\r
241         "id": "d041de83.d9577",\r
242         "type": "set",\r
243         "name": "set tmp.sdnc-model-name",\r
244         "xml": "<set>\n<parameter name='tmp.sdnc-model-name' value='`$pnf-topology-operation-input.pnf-request-input.pnf-input-parameters.param[$i].value`' />\n",\r
245         "comments": "",\r
246         "x": 1376.1666412353516,\r
247         "y": 324.0833339691162,\r
248         "z": "2b4129e2.7e3f56",\r
249         "wires": []\r
250     },\r
251     {\r
252         "id": "2a96bf97.393f3",\r
253         "type": "outcome",\r
254         "name": "sdnc_model_name",\r
255         "xml": "<outcome value='sdnc_model_name'>\n",\r
256         "comments": "",\r
257         "outputs": 1,\r
258         "x": 1122.1666412353516,\r
259         "y": 324.0833339691162,\r
260         "z": "2b4129e2.7e3f56",\r
261         "wires": [\r
262             [\r
263                 "d041de83.d9577"\r
264             ]\r
265         ]\r
266     },\r
267     {\r
268         "id": "86d3f258.93e3b",\r
269         "type": "switchNode",\r
270         "name": "switch",\r
271         "xml": "<switch test='`$pnf-topology-operation-input.pnf-request-input.pnf-input-parameters.param[$i].name`'>\n\n",\r
272         "comments": "",\r
273         "outputs": 1,\r
274         "x": 884.1666412353516,\r
275         "y": 391.0833339691162,\r
276         "z": "2b4129e2.7e3f56",\r
277         "wires": [\r
278             [\r
279                 "2a96bf97.393f3",\r
280                 "ff1ab59.1eb4148",\r
281                 "733b67e2.c4f3c8",\r
282                 "e6ecce71.c3cfb"\r
283             ]\r
284         ]\r
285     },\r
286     {\r
287         "id": "ff1ab59.1eb4148",\r
288         "type": "outcome",\r
289         "name": "sdnc_model_version",\r
290         "xml": "<outcome value='sdnc_model_version'>\n",\r
291         "comments": "",\r
292         "outputs": 1,\r
293         "x": 1125.1666412353516,\r
294         "y": 370.0833339691162,\r
295         "z": "2b4129e2.7e3f56",\r
296         "wires": [\r
297             [\r
298                 "9cc66f84.f4ee2"\r
299             ]\r
300         ]\r
301     },\r
302     {\r
303         "id": "733b67e2.c4f3c8",\r
304         "type": "outcome",\r
305         "name": "sdnc_artifact_name",\r
306         "xml": "<outcome value='sdnc_artifact_name'>\n",\r
307         "comments": "",\r
308         "outputs": 1,\r
309         "x": 1124.1666412353516,\r
310         "y": 419.0833339691162,\r
311         "z": "2b4129e2.7e3f56",\r
312         "wires": [\r
313             [\r
314                 "f2663e84.97046"\r
315             ]\r
316         ]\r
317     },\r
318     {\r
319         "id": "9cc66f84.f4ee2",\r
320         "type": "set",\r
321         "name": "set tmp.sdnc-model-version",\r
322         "xml": "<set>\n<parameter name='tmp.sdnc-model-version' value='`$pnf-topology-operation-input.pnf-request-input.pnf-input-parameters.param[$i].value`' />\n\n",\r
323         "comments": "",\r
324         "x": 1380.1666412353516,\r
325         "y": 370.0833339691162,\r
326         "z": "2b4129e2.7e3f56",\r
327         "wires": []\r
328     },\r
329     {\r
330         "id": "f2663e84.97046",\r
331         "type": "set",\r
332         "name": "set tmp.sdnc-artifact-name",\r
333         "xml": "<set>\n<parameter name='tmp.sdnc-artifact-name' value='`$pnf-topology-operation-input.pnf-request-input.pnf-input-parameters.param[$i].value`' />\n\n",\r
334         "comments": "",\r
335         "x": 1376.1666412353516,\r
336         "y": 419.0833339691162,\r
337         "z": "2b4129e2.7e3f56",\r
338         "wires": []\r
339     },\r
340     {\r
341         "id": "ab5de2cd.b8552",\r
342         "type": "set",\r
343         "name": "set name-value other JsonString",\r
344         "xml": "<set>\n<parameter name=\"tmp.config-name-value-other-payload\" value=\"`$tmp.config-name-value-other-payload + '&quot;' + $pnf-topology-operation-input.pnf-request-input.pnf-input-parameters.param[$i].name + '&quot;:&quot;' + $pnf-topology-operation-input.pnf-request-input.pnf-input-parameters.param[$i].value + '&quot;,'`\"/>\n\n",\r
345         "comments": "",\r
346         "x": 1293.416648864746,\r
347         "y": 470.58335041999817,\r
348         "z": "2b4129e2.7e3f56",\r
349         "wires": []\r
350     },\r
351     {\r
352         "id": "e6ecce71.c3cfb",\r
353         "type": "outcome",\r
354         "name": "other",\r
355         "xml": "<outcome value='Other'>\n",\r
356         "comments": "",\r
357         "outputs": 1,\r
358         "x": 1084.166648864746,\r
359         "y": 468.6547546386719,\r
360         "z": "2b4129e2.7e3f56",\r
361         "wires": [\r
362             [\r
363                 "ab5de2cd.b8552"\r
364             ]\r
365         ]\r
366     },\r
367     {\r
368         "id": "cd9ccb1d.ad27d8",\r
369         "type": "set",\r
370         "name": "set configAssignment JsonString",\r
371         "xml": "<set>\n<parameter name=\"tmp.config-name-value-payload4\" value=\"`$tmp.config-name-value-other-payload + '&quot;service-instance-id&quot;:&quot;' + $pnf-topology-operation-input.service-information.service-instance-id   + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload5\" value=\"`$tmp.config-name-value-payload4 + '&quot;pnf-model-customization-uuid&quot;:&quot;' + $pnf-topology-operation-input.pnf-details.onap-model-information.model-customization-uuid + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload6\" value=\"`$tmp.config-name-value-payload5 + '&quot;pnf-id&quot;:&quot;' + $pnf-topology-operation-input.pnf-details.pnf-id + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload7\" value=\"`$tmp.config-name-value-payload6 + '&quot;aic-cloud-region&quot;:&quot;' + $pnf-topology-operation-input.pnf-request-input.aic-cloud-region + '&quot;'`\"/>\n<parameter name=\"tmp.json-payload\" value=\"`'{' + $tmp.config-name-value-payload7 + '}'`\" />",\r
372         "comments": "",\r
373         "x": 497.16664123535156,\r
374         "y": 711.0833339691162,\r
375         "z": "2b4129e2.7e3f56",\r
376         "wires": []\r
377     },\r
378     {\r
379         "id": "e4653dfe.029a3",\r
380         "type": "execute",\r
381         "name": "execute BlueprintProcessingClient",\r
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}'`\"/>",\r
383         "comments": "",\r
384         "outputs": 1,\r
385         "x": 504.83331298828125,\r
386         "y": 865.75,\r
387         "z": "2b4129e2.7e3f56",\r
388         "wires": [\r
389             [\r
390                 "e9f0b05a.ea9a7",\r
391                 "9906e0de.d8aa9"\r
392             ]\r
393         ]\r
394     },\r
395     {\r
396         "id": "e9f0b05a.ea9a7",\r
397         "type": "failure",\r
398         "name": "failure",\r
399         "xml": "<outcome value='failure'>\n",\r
400         "comments": "",\r
401         "outputs": 1,\r
402         "x": 744.8333129882812,\r
403         "y": 839.75,\r
404         "z": "2b4129e2.7e3f56",\r
405         "wires": [\r
406             [\r
407                 "f76d9cc.08daa6"\r
408             ]\r
409         ]\r
410     },\r
411     {\r
412         "id": "f76d9cc.08daa6",\r
413         "type": "returnFailure",\r
414         "name": "return failure",\r
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 BlueprintProcessingClient\" />\n",\r
416         "comments": "",\r
417         "x": 926.8333129882812,\r
418         "y": 860.75,\r
419         "z": "2b4129e2.7e3f56",\r
420         "wires": []\r
421     },\r
422     {\r
423         "id": "4ae0bbb3.7d20c4",\r
424         "type": "for",\r
425         "name": "for resource-accumulator-resolved-data loop",\r
426         "xml": "<for silentFailure='true'  index='i' start='0' end='`$jsonContextPrefix.resource-accumulator-resolved-data_length`' >\n",\r
427         "comments": "",\r
428         "outputs": 1,\r
429         "x": 529.1666412353516,\r
430         "y": 1083.083324432373,\r
431         "z": "2b4129e2.7e3f56",\r
432         "wires": [\r
433             [\r
434                 "f7dcae4c.80d6"\r
435             ]\r
436         ]\r
437     },\r
438     {\r
439         "id": "a560f52e.73b478",\r
440         "type": "set",\r
441         "name": "set from resource-accumulator-resolved-data",\r
442         "xml": "<set>\n\t<parameter name='`service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param[$highnum].name`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'/>\n\t<parameter name='`service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param[$highnum].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n\t<parameter name='`service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param[$highnum].resource-resolution-data.capability-name`' value='RA Resolved'/>\n\t<parameter name='`service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param[$highnum].resource-resolution-data.status`' value='SUCCESS'/>\n",\r
443         "comments": "",\r
444         "x": 1759.1666412353516,\r
445         "y": 1135.083324432373,\r
446         "z": "2b4129e2.7e3f56",\r
447         "wires": []\r
448     },\r
449     {\r
450         "id": "3049bbb0.b6b734",\r
451         "type": "for",\r
452         "name": "for capability-data",\r
453         "xml": "<for silentFailure='true' index='i' start='0' end='`$jsonContextPrefix.capability-data_length`' >\n",\r
454         "comments": "",\r
455         "outputs": 1,\r
456         "x": 454.16664123535156,\r
457         "y": 1425.083324432373,\r
458         "z": "2b4129e2.7e3f56",\r
459         "wires": [\r
460             [\r
461                 "c321b6db.f91618"\r
462             ]\r
463         ]\r
464     },\r
465     {\r
466         "id": "c321b6db.f91618",\r
467         "type": "for",\r
468         "name": "for key-mapping",\r
469         "xml": "<for silentFailure='true' index='j' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping_length`' >",\r
470         "comments": "",\r
471         "outputs": 1,\r
472         "x": 663.1666412353516,\r
473         "y": 1425.083324432373,\r
474         "z": "2b4129e2.7e3f56",\r
475         "wires": [\r
476             [\r
477                 "4bdfbe92.58a07"\r
478             ]\r
479         ]\r
480     },\r
481     {\r
482         "id": "ed802b4f.e3de88",\r
483         "type": "execute",\r
484         "name": "execute jsonStringToCtx",\r
485         "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"`'raAssign.payload.resource-assignment-params.' + $tmp.sdnc-artifact-name`\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",\r
486         "comments": "",\r
487         "outputs": 1,\r
488         "x": 473.16664123535156,\r
489         "y": 1004.083324432373,\r
490         "z": "2b4129e2.7e3f56",\r
491         "wires": [\r
492             []\r
493         ]\r
494     },\r
495     {\r
496         "id": "6a8abb82.762c24",\r
497         "type": "execute",\r
498         "name": "execute generateUUID",\r
499         "xml": " <execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"generateUUID\" > \n <parameter name=\"ctx-destination\" value=\"tmp.return.generate.pnf-se-serv-uuid\" /> \n ",\r
500         "comments": "",\r
501         "outputs": 1,\r
502         "x": 479.16664123535156,\r
503         "y": 155.0833339691162,\r
504         "z": "2b4129e2.7e3f56",\r
505         "wires": [\r
506             [\r
507                 "da110978.037e18"\r
508             ]\r
509         ]\r
510     },\r
511     {\r
512         "id": "da110978.037e18",\r
513         "type": "failure",\r
514         "name": "failure",\r
515         "xml": "<outcome value='failure'>\n",\r
516         "comments": "",\r
517         "outputs": 1,\r
518         "x": 657.1666412353516,\r
519         "y": 153.0833339691162,\r
520         "z": "2b4129e2.7e3f56",\r
521         "wires": [\r
522             [\r
523                 "25f8a570.76c1ea"\r
524             ]\r
525         ]\r
526     },\r
527     {\r
528         "id": "25f8a570.76c1ea",\r
529         "type": "returnFailure",\r
530         "name": "return failure",\r
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",\r
532         "comments": "",\r
533         "x": 804.1666412353516,\r
534         "y": 154.0833339691162,\r
535         "z": "2b4129e2.7e3f56",\r
536         "wires": []\r
537     },\r
538     {\r
539         "id": "b8f9dea4.7ec9d",\r
540         "type": "for",\r
541         "name": "for pnf-parameters-data.param[]",\r
542         "xml": "<for silentFailure='true' index='cnt' start='0' end='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param_length`' >\n",\r
543         "comments": "",\r
544         "outputs": 1,\r
545         "x": 1502.1666412353516,\r
546         "y": 1084.083324432373,\r
547         "z": "2b4129e2.7e3f56",\r
548         "wires": [\r
549             [\r
550                 "9d5dafdb.8e745"\r
551             ]\r
552         ]\r
553     },\r
554     {\r
555         "id": "f7dcae4c.80d6",\r
556         "type": "block",\r
557         "name": "block atomic",\r
558         "xml": "<block atomic=\"true\">",\r
559         "atomic": "false",\r
560         "comments": "",\r
561         "outputs": 1,\r
562         "x": 808.1666412353516,\r
563         "y": 1084.083324432373,\r
564         "z": "2b4129e2.7e3f56",\r
565         "wires": [\r
566             [\r
567                 "4b875a14.db0584",\r
568                 "a6645a90.aff8b8",\r
569                 "ac27262.137afd8"\r
570             ]\r
571         ]\r
572     },\r
573     {\r
574         "id": "d7d846c4.3b1898",\r
575         "type": "switchNode",\r
576         "name": "switch pnf-parameters-data.param_length",\r
577         "xml": "<switch test='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param_length`'>\n",\r
578         "comments": "",\r
579         "outputs": 1,\r
580         "x": 531.1666412353516,\r
581         "y": 253.0833339691162,\r
582         "z": "2b4129e2.7e3f56",\r
583         "wires": [\r
584             [\r
585                 "270f1448.0f808c",\r
586                 "df2ab314.6f53a"\r
587             ]\r
588         ]\r
589     },\r
590     {\r
591         "id": "270f1448.0f808c",\r
592         "type": "outcome",\r
593         "name": "null",\r
594         "xml": "<outcome value=''>",\r
595         "comments": "",\r
596         "outputs": 1,\r
597         "x": 769.1666412353516,\r
598         "y": 221.0833339691162,\r
599         "z": "2b4129e2.7e3f56",\r
600         "wires": [\r
601             [\r
602                 "bc1bcfe4.47473"\r
603             ]\r
604         ]\r
605     },\r
606     {\r
607         "id": "df2ab314.6f53a",\r
608         "type": "other",\r
609         "name": "other",\r
610         "xml": "<outcome value='Other'>\n",\r
611         "comments": "",\r
612         "outputs": 1,\r
613         "x": 768.1666412353516,\r
614         "y": 285.0833339691162,\r
615         "z": "2b4129e2.7e3f56",\r
616         "wires": [\r
617             [\r
618                 "6ae0c2e2.e112ec"\r
619             ]\r
620         ]\r
621     },\r
622     {\r
623         "id": "bc1bcfe4.47473",\r
624         "type": "set",\r
625         "name": "set pre service param len as 0",\r
626         "xml": "<set>\n   <parameter name='highnum' value='0' />\n   <parameter name='prehighnum' value='0'/>\n",\r
627         "comments": "",\r
628         "x": 982.1666412353516,\r
629         "y": 221.0833339691162,\r
630         "z": "2b4129e2.7e3f56",\r
631         "wires": []\r
632     },\r
633     {\r
634         "id": "6ae0c2e2.e112ec",\r
635         "type": "set",\r
636         "name": "set pre service param len",\r
637         "xml": "<set>\n   <parameter name='highnum' value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param_length`' />\n   <parameter name='prehighnum' value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param_length`' />",\r
638         "comments": "",\r
639         "x": 967.1666412353516,\r
640         "y": 285.0833339691162,\r
641         "z": "2b4129e2.7e3f56",\r
642         "wires": []\r
643     },\r
644     {\r
645         "id": "9d5dafdb.8e745",\r
646         "type": "switchNode",\r
647         "name": "switch param[].name - input vs. jsonContextPrefix",\r
648         "xml": "<switch test='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param[$cnt].name == $jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'>\n",\r
649         "comments": "",\r
650         "outputs": 1,\r
651         "x": 1881.1666412353516,\r
652         "y": 1084.083324432373,\r
653         "z": "2b4129e2.7e3f56",\r
654         "wires": [\r
655             [\r
656                 "d54adb3d.c51348"\r
657             ]\r
658         ]\r
659     },\r
660     {\r
661         "id": "d54adb3d.c51348",\r
662         "type": "not-found",\r
663         "name": "true",\r
664         "xml": "<outcome value='true'>\n",\r
665         "comments": "",\r
666         "outputs": 1,\r
667         "x": 2165.1666412353516,\r
668         "y": 1084.083324432373,\r
669         "z": "2b4129e2.7e3f56",\r
670         "wires": [\r
671             [\r
672                 "bf4269c.812a398"\r
673             ]\r
674         ]\r
675     },\r
676     {\r
677         "id": "bf4269c.812a398",\r
678         "type": "set",\r
679         "name": "set for existing param name",\r
680         "xml": "<set>\n<parameter name='`service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param[$cnt].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n<parameter name='tmp.mso.param.found' value='true' />\n",\r
681         "comments": "",\r
682         "x": 2375.1666412353516,\r
683         "y": 1084.083324432373,\r
684         "z": "2b4129e2.7e3f56",\r
685         "wires": []\r
686     },\r
687     {\r
688         "id": "ac27262.137afd8",\r
689         "type": "switchNode",\r
690         "name": "switch tmp.mso.param.found",\r
691         "xml": "<switch test='`$tmp.mso.param.found`'>\n",\r
692         "comments": "",\r
693         "outputs": 1,\r
694         "x": 1050.1666412353516,\r
695         "y": 1136.083324432373,\r
696         "z": "2b4129e2.7e3f56",\r
697         "wires": [\r
698             [\r
699                 "80869ef9.b42b6"\r
700             ]\r
701         ]\r
702     },\r
703     {\r
704         "id": "80869ef9.b42b6",\r
705         "type": "not-found",\r
706         "name": "false",\r
707         "xml": "<outcome value='false'>\n",\r
708         "comments": "",\r
709         "outputs": 1,\r
710         "x": 1284.1666412353516,\r
711         "y": 1135.083324432373,\r
712         "z": "2b4129e2.7e3f56",\r
713         "wires": [\r
714             [\r
715                 "aa6d15b3.b54808"\r
716             ]\r
717         ]\r
718     },\r
719     {\r
720         "id": "4b875a14.db0584",\r
721         "type": "set",\r
722         "name": "set for existing param name",\r
723         "xml": "<set>\n<parameter name='tmp.mso.param.found' value='false' />\n",\r
724         "comments": "",\r
725         "x": 1031.6666412353516,\r
726         "y": 1022.5833282470703,\r
727         "z": "2b4129e2.7e3f56",\r
728         "wires": []\r
729     },\r
730     {\r
731         "id": "a6645a90.aff8b8",\r
732         "type": "switchNode",\r
733         "name": "switch check length > 0",\r
734         "xml": "<switch test='`$prehighnum &gt; 0`'>\n",\r
735         "comments": "",\r
736         "outputs": 1,\r
737         "x": 1026.6666412353516,\r
738         "y": 1084.083324432373,\r
739         "z": "2b4129e2.7e3f56",\r
740         "wires": [\r
741             [\r
742                 "3e9847d7.a9a428"\r
743             ]\r
744         ]\r
745     },\r
746     {\r
747         "id": "3e9847d7.a9a428",\r
748         "type": "not-found",\r
749         "name": "true",\r
750         "xml": "<outcome value='true'>\n",\r
751         "comments": "",\r
752         "outputs": 1,\r
753         "x": 1273.6666412353516,\r
754         "y": 1084.083324432373,\r
755         "z": "2b4129e2.7e3f56",\r
756         "wires": [\r
757             [\r
758                 "b8f9dea4.7ec9d"\r
759             ]\r
760         ]\r
761     },\r
762     {\r
763         "id": "b72432c2.1cb81",\r
764         "type": "for",\r
765         "name": "for payload",\r
766         "xml": "<for silentFailure='true' index='k' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length`' >",\r
767         "comments": "",\r
768         "outputs": 1,\r
769         "x": 1845.1666412353516,\r
770         "y": 1443.083324432373,\r
771         "z": "2b4129e2.7e3f56",\r
772         "wires": [\r
773             [\r
774                 "8a6d87a5.167378"\r
775             ]\r
776         ]\r
777     },\r
778     {\r
779         "id": "993132bf.1fc03",\r
780         "type": "set",\r
781         "name": "set resource-key",\r
782         "xml": "<set>\n<parameter name='`service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-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.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-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",\r
783         "comments": "",\r
784         "x": 2194.1666412353516,\r
785         "y": 1379.083324432373,\r
786         "z": "2b4129e2.7e3f56",\r
787         "wires": []\r
788     },\r
789     {\r
790         "id": "92dd255a.846018",\r
791         "type": "set",\r
792         "name": "set output-data ",\r
793         "xml": "<set>\n<parameter name='`service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param[$highnum].name`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping[$l].resource-name`'/>\n<parameter name='`service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param[$highnum].value`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping[$l].resource-value`'/>\n<parameter name='`service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param[$highnum].resource-resolution-data.capability-name`' value='`$jsonContextPrefix.capability-data[$i].capability-name`'/>\n<parameter name='`service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param[$highnum].resource-resolution-data.status`' value='PENDING'/>\n<parameter name='num' value='0' />",\r
794         "comments": "",\r
795         "x": 1418.1666412353516,\r
796         "y": 1323.083324432373,\r
797         "z": "2b4129e2.7e3f56",\r
798         "wires": []\r
799     },\r
800     {\r
801         "id": "4bdfbe92.58a07",\r
802         "type": "for",\r
803         "name": "for output-key-mapping",\r
804         "xml": "<for silentFailure='true' index='l' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping_length`' >",\r
805         "comments": "",\r
806         "outputs": 1,\r
807         "x": 886.1666412353516,\r
808         "y": 1425.083324432373,\r
809         "z": "2b4129e2.7e3f56",\r
810         "wires": [\r
811             [\r
812                 "c7cc9512.4faa18"\r
813             ]\r
814         ]\r
815     },\r
816     {\r
817         "id": "c7cc9512.4faa18",\r
818         "type": "block",\r
819         "name": "block atomic",\r
820         "xml": "<block atomic=\"true\">",\r
821         "atomic": "false",\r
822         "comments": "",\r
823         "outputs": 1,\r
824         "x": 1137.1666412353516,\r
825         "y": 1425.083324432373,\r
826         "z": "2b4129e2.7e3f56",\r
827         "wires": [\r
828             [\r
829                 "92dd255a.846018",\r
830                 "17ff9631.56b25a",\r
831                 "72c5b1f7.aa391",\r
832                 "69144068.7c5f8"\r
833             ]\r
834         ]\r
835     },\r
836     {\r
837         "id": "17ff9631.56b25a",\r
838         "type": "set",\r
839         "name": "set length",\r
840         "xml": "<set>\n\t<parameter name='`service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param_length`' value='`$highnum + 1`'/>\n",\r
841         "comments": "",\r
842         "x": 1406.1666412353516,\r
843         "y": 1461.083324432373,\r
844         "z": "2b4129e2.7e3f56",\r
845         "wires": []\r
846     },\r
847     {\r
848         "id": "9906e0de.d8aa9",\r
849         "type": "failure",\r
850         "name": "not-found",\r
851         "xml": "<outcome value='not-found'>\n",\r
852         "comments": "",\r
853         "outputs": 1,\r
854         "x": 749.8333129882812,\r
855         "y": 901.75,\r
856         "z": "2b4129e2.7e3f56",\r
857         "wires": [\r
858             [\r
859                 "f76d9cc.08daa6"\r
860             ]\r
861         ]\r
862     },\r
863     {\r
864         "id": "72c5b1f7.aa391",\r
865         "type": "switchNode",\r
866         "name": "switch payload_length",\r
867         "xml": "<switch test=\"`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length == ''`\">\n",\r
868         "comments": "",\r
869         "outputs": 1,\r
870         "x": 1442.1666412353516,\r
871         "y": 1394.083324432373,\r
872         "z": "2b4129e2.7e3f56",\r
873         "wires": [\r
874             [\r
875                 "4ffaaf1f.506fd",\r
876                 "797447ba.d290d8"\r
877             ]\r
878         ]\r
879     },\r
880     {\r
881         "id": "4ffaaf1f.506fd",\r
882         "type": "outcome",\r
883         "name": "true",\r
884         "xml": "<outcome value='true'>",\r
885         "comments": "",\r
886         "outputs": 1,\r
887         "x": 1663.1666412353516,\r
888         "y": 1325.083324432373,\r
889         "z": "2b4129e2.7e3f56",\r
890         "wires": [\r
891             []\r
892         ]\r
893     },\r
894     {\r
895         "id": "797447ba.d290d8",\r
896         "type": "other",\r
897         "name": "false",\r
898         "xml": "<outcome value='false'>\n",\r
899         "comments": "",\r
900         "outputs": 1,\r
901         "x": 1670.1666412353516,\r
902         "y": 1443.083324432373,\r
903         "z": "2b4129e2.7e3f56",\r
904         "wires": [\r
905             [\r
906                 "b72432c2.1cb81"\r
907             ]\r
908         ]\r
909     },\r
910     {\r
911         "id": "c6434f37.1962d",\r
912         "type": "success",\r
913         "name": "success",\r
914         "xml": "<outcome value='success'>\n",\r
915         "comments": "",\r
916         "outputs": 1,\r
917         "x": 1213.4523658752441,\r
918         "y": 640.6546821594238,\r
919         "z": "2b4129e2.7e3f56",\r
920         "wires": [\r
921             [\r
922                 "879b8f8b.c19ed"\r
923             ]\r
924         ]\r
925     },\r
926     {\r
927         "id": "831efa97.1c0588",\r
928         "type": "set",\r
929         "name": "set length",\r
930         "xml": "<set>\n\t<parameter name='`service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param[$highnum].resource-resolution-data.resource-key_length`' value='`$num + 1`'/>\n",\r
931         "comments": "",\r
932         "x": 2183.1666412353516,\r
933         "y": 1443.083324432373,\r
934         "z": "2b4129e2.7e3f56",\r
935         "wires": []\r
936     },\r
937     {\r
938         "id": "da21f5c1.b6dc88",\r
939         "type": "set",\r
940         "name": "increment length",\r
941         "xml": "<set>\n\t<parameter name='num' value='`$num + 1`' />\n",\r
942         "comments": "",\r
943         "x": 2201.1666412353516,\r
944         "y": 1517.083324432373,\r
945         "z": "2b4129e2.7e3f56",\r
946         "wires": []\r
947     },\r
948     {\r
949         "id": "69144068.7c5f8",\r
950         "type": "set",\r
951         "name": "increment length",\r
952         "xml": "<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n\n",\r
953         "comments": "",\r
954         "x": 1427.1666412353516,\r
955         "y": 1528.083324432373,\r
956         "z": "2b4129e2.7e3f56",\r
957         "wires": []\r
958     },\r
959     {\r
960         "id": "aa6d15b3.b54808",\r
961         "type": "block",\r
962         "name": "block : atomic",\r
963         "xml": "<block atomic='true'>",\r
964         "atomic": "true",\r
965         "comments": "",\r
966         "outputs": 1,\r
967         "x": 1461.1666412353516,\r
968         "y": 1134.083324432373,\r
969         "z": "2b4129e2.7e3f56",\r
970         "wires": [\r
971             [\r
972                 "a560f52e.73b478",\r
973                 "2dccbddc.c39b12"\r
974             ]\r
975         ]\r
976     },\r
977     {\r
978         "id": "2dccbddc.c39b12",\r
979         "type": "set",\r
980         "name": "increment length",\r
981         "xml": "<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n",\r
982         "comments": "",\r
983         "x": 1676.1666412353516,\r
984         "y": 1194.083324432373,\r
985         "z": "2b4129e2.7e3f56",\r
986         "wires": []\r
987     },\r
988     {\r
989         "id": "8a6d87a5.167378",\r
990         "type": "block",\r
991         "name": "block atomic",\r
992         "xml": "<block atomic=\"true\">",\r
993         "atomic": "false",\r
994         "comments": "",\r
995         "outputs": 1,\r
996         "x": 2001.1666412353516,\r
997         "y": 1444.083324432373,\r
998         "z": "2b4129e2.7e3f56",\r
999         "wires": [\r
1000             [\r
1001                 "993132bf.1fc03",\r
1002                 "831efa97.1c0588",\r
1003                 "da21f5c1.b6dc88"\r
1004             ]\r
1005         ]\r
1006     },\r
1007     {\r
1008         "id": "9eebb178.0f2de",\r
1009         "type": "record",\r
1010         "name": "record",\r
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",\r
1012         "comments": "",\r
1013         "outputs": 1,\r
1014         "x": 427.4999809265137,\r
1015         "y": 787.083324432373,\r
1016         "z": "2b4129e2.7e3f56",\r
1017         "wires": [\r
1018             []\r
1019         ]\r
1020     },\r
1021     {\r
1022         "id": "507cc1d.a43bf4",\r
1023         "type": "record",\r
1024         "name": "record",\r
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",\r
1026         "comments": "",\r
1027         "outputs": 1,\r
1028         "x": 424.1666488647461,\r
1029         "y": 942.0833320617676,\r
1030         "z": "2b4129e2.7e3f56",\r
1031         "wires": [\r
1032             []\r
1033         ]\r
1034     },\r
1035     {\r
1036         "id": "c7fb6ab.3a33598",\r
1037         "type": "execute",\r
1038         "name": "printContext",\r
1039         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='`$pathname`' />\n",\r
1040         "comments": "",\r
1041         "outputs": 1,\r
1042         "x": 432.50000762939453,\r
1043         "y": 1746.2500267028809,\r
1044         "z": "2b4129e2.7e3f56",\r
1045         "wires": [\r
1046             []\r
1047         ]\r
1048     },\r
1049     {\r
1050         "id": "22187a30.f13be6",\r
1051         "type": "set",\r
1052         "name": "set pathname",\r
1053         "xml": "<set>\n<parameter name='pathname' \n\tvalue=\"`'/var/tmp/ss-pnf-ra-assignment-' + \n\t$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-details.pnf-id + '.log'`\" />\n",\r
1054         "comments": "",\r
1055         "x": 438.75000762939453,\r
1056         "y": 1693.7500247955322,\r
1057         "z": "2b4129e2.7e3f56",\r
1058         "wires": []\r
1059     },\r
1060     {\r
1061         "id": "7905fcc3.ff7874",\r
1062         "type": "record",\r
1063         "name": "record",\r
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: pnf-ra-assignment\"/>\n\n",\r
1065         "comments": "",\r
1066         "outputs": 1,\r
1067         "x": 416.25000381469727,\r
1068         "y": 1647.5000247955322,\r
1069         "z": "2b4129e2.7e3f56",\r
1070         "wires": [\r
1071             []\r
1072         ]\r
1073     }\r
1074 ]