Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_self-serve-pnf-assign.json
1 [\r
2     {\r
3         "id": "ecff213c.e8aaa",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 137.5,\r
8         "y": 90,\r
9         "z": "37882b3b.b21224",\r
10         "wires": [\r
11             [\r
12                 "23b17adc.1c80e6"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "e6160663.8edf48",\r
18         "type": "block",\r
19         "name": "block : atomic",\r
20         "xml": "<block atomic='true'>",\r
21         "atomic": "true",\r
22         "comments": "",\r
23         "outputs": 1,\r
24         "x": 167.9761962890625,\r
25         "y": 212.2777862548828,\r
26         "z": "37882b3b.b21224",\r
27         "wires": [\r
28             [\r
29                 "f97d0f53.e9029",\r
30                 "2d2db8c6.748ba8",\r
31                 "ff2d06ee.623348",\r
32                 "ca8257f6.464808",\r
33                 "b9417a96.c89598",\r
34                 "97cbe59f.102fe8",\r
35                 "71acdeef.4b572",\r
36                 "b26b3f10.8cd93",\r
37                 "2c0f97dd.67d808",\r
38                 "192a8a0a.311bd6"\r
39             ]\r
40         ]\r
41     },\r
42     {\r
43         "id": "7bdd8af6.d4d404",\r
44         "type": "method",\r
45         "name": "method self-serve-pnf-assign",\r
46         "xml": "<method rpc='self-serve-pnf-assign' mode='sync'>\n",\r
47         "comments": "",\r
48         "outputs": 1,\r
49         "x": 254.26190948486328,\r
50         "y": 144.70635509490967,\r
51         "z": "37882b3b.b21224",\r
52         "wires": [\r
53             [\r
54                 "e6160663.8edf48"\r
55             ]\r
56         ]\r
57     },\r
58     {\r
59         "id": "23b17adc.1c80e6",\r
60         "type": "service-logic",\r
61         "name": "GENERIC-RESOURCE-API ${project.version}",\r
62         "module": "GENERIC-RESOURCE-API",\r
63         "version": "${project.version}",\r
64         "comments": "",\r
65         "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
66         "outputs": 1,\r
67         "x": 412.73819732666016,\r
68         "y": 90.19049263000488,\r
69         "z": "37882b3b.b21224",\r
70         "wires": [\r
71             [\r
72                 "7bdd8af6.d4d404"\r
73             ]\r
74         ]\r
75     },\r
76     {\r
77         "id": "2d2db8c6.748ba8",\r
78         "type": "switchNode",\r
79         "name": "switch pnf-parameters-data.param_length",\r
80         "xml": "<switch test='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param_length`'>\n",\r
81         "comments": "",\r
82         "outputs": 1,\r
83         "x": 449.0357971191406,\r
84         "y": 1492.5120153427124,\r
85         "z": "37882b3b.b21224",\r
86         "wires": [\r
87             [\r
88                 "eb4e37ba.25e208"\r
89             ]\r
90         ]\r
91     },\r
92     {\r
93         "id": "eb4e37ba.25e208",\r
94         "type": "other",\r
95         "name": "NULL",\r
96         "xml": "<outcome value=''>\n",\r
97         "comments": "",\r
98         "outputs": 1,\r
99         "x": 711.0358276367188,\r
100         "y": 1492.5120153427124,\r
101         "z": "37882b3b.b21224",\r
102         "wires": [\r
103             [\r
104                 "ed282b71.ede0f8"\r
105             ]\r
106         ]\r
107     },\r
108     {\r
109         "id": "21ad94d1.be148c",\r
110         "type": "call",\r
111         "name": "call GENERIC-RESOURCE-API:self-serve-pnf-ra-assignment",\r
112         "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-pnf-ra-assignment' mode='sync' >\n",\r
113         "comments": "",\r
114         "outputs": 1,\r
115         "x": 1226.3214874267578,\r
116         "y": 1542.0834465026855,\r
117         "z": "37882b3b.b21224",\r
118         "wires": [\r
119             [\r
120                 "ffcba76.e3a6658"\r
121             ]\r
122         ]\r
123     },\r
124     {\r
125         "id": "afb8d713.9ea788",\r
126         "type": "returnFailure",\r
127         "name": "return failure",\r
128         "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Failed to get RA assignments: ' + $error-message`\" />\n",\r
129         "comments": "",\r
130         "x": 1698.0357284545898,\r
131         "y": 1541.6548500061035,\r
132         "z": "37882b3b.b21224",\r
133         "wires": []\r
134     },\r
135     {\r
136         "id": "6f90ee45.cde4f",\r
137         "type": "for",\r
138         "name": "foreach pnf-parameters-data.param[]",\r
139         "xml": "<for index='pidx' start='0' end='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param_length`' >\n",\r
140         "comments": "",\r
141         "outputs": 1,\r
142         "x": 681.3574600219727,\r
143         "y": 1800.0120840072632,\r
144         "z": "37882b3b.b21224",\r
145         "wires": [\r
146             [\r
147                 "c123dce6.984a6",\r
148                 "a008f4ce.816ac8"\r
149             ]\r
150         ]\r
151     },\r
152     {\r
153         "id": "f97d0f53.e9029",\r
154         "type": "set",\r
155         "name": "set ss.capability.execution-order[]",\r
156         "xml": "<set>\n<parameter name='ss.capability.execution-order[0]' value='aai-get' />\n<parameter name='ss.capability.execution-order[1]' value='generate-name' />\n<parameter name='ss.capability.execution-order[2]' value='alts-entitlement-assign' />\n<parameter name='ss.capability.execution-order[3]' value='alts-license-assign' />\n<parameter name='ss.capability.execution-order[4]' value='vlan-tag-assign' />\n<parameter name='ss.capability.execution-order[5]' value='mS-vlan-tag-assign' />\n<parameter name='ss.capability.execution-order[6]' value='eipam-ip-assignment' />\n<parameter name='ss.capability.execution-order[7]' value='eipam-create-pool' />\n<parameter name='ss.capability.execution-order[8]' value='netbox-ip-assign' />\n<parameter name='ss.capability.execution-order[9]' value='mac-address-assign' />\n<parameter name='ss.capability.execution-order[10]' value='mS-mac-address-assign' />\n<parameter name='ss.capability.execution-order[11]' value='create-vpe-pool' />\n<parameter name='ss.capability.execution-order[12]' value='unresolved-composite-data' />\n<parameter name='ss.capability.execution-order[13]' value='aai-pnf-put' />\n<parameter name='ss.capability.execution-order_length' value='14' />\n",\r
157         "comments": "",\r
158         "x": 430.02384185791016,\r
159         "y": 1271.0001401901245,\r
160         "z": "37882b3b.b21224",\r
161         "wires": []\r
162     },\r
163     {\r
164         "id": "ff2d06ee.623348",\r
165         "type": "for",\r
166         "name": "foreach capability[]",\r
167         "xml": "<for index='cidx' start='0' end='`$ss.capability.execution-order_length`' >\n",\r
168         "comments": "",\r
169         "outputs": 1,\r
170         "x": 381.14300537109375,\r
171         "y": 1644.4049034118652,\r
172         "z": "37882b3b.b21224",\r
173         "wires": [\r
174             [\r
175                 "34d7033c.1d850c",\r
176                 "bcdcac9e.1dcf8",\r
177                 "6f90ee45.cde4f",\r
178                 "7e8acf11.757ce"\r
179             ]\r
180         ]\r
181     },\r
182     {\r
183         "id": "a008f4ce.816ac8",\r
184         "type": "switchNode",\r
185         "name": "switch capability-name",\r
186         "xml": "<switch test='`$ss.capability-name == $tmp.param.capability-name`'>\n",\r
187         "comments": "",\r
188         "outputs": 1,\r
189         "x": 985.7502822875977,\r
190         "y": 1845.6548767089844,\r
191         "z": "37882b3b.b21224",\r
192         "wires": [\r
193             [\r
194                 "fbc7d0d6.d0f9a"\r
195             ]\r
196         ]\r
197     },\r
198     {\r
199         "id": "fbc7d0d6.d0f9a",\r
200         "type": "outcomeTrue",\r
201         "name": "true",\r
202         "xml": "<outcome value='true'>\n",\r
203         "comments": "",\r
204         "outputs": 1,\r
205         "x": 1176.2502822875977,\r
206         "y": 1845.9048767089844,\r
207         "z": "37882b3b.b21224",\r
208         "wires": [\r
209             [\r
210                 "1d5ac87a.53fd58"\r
211             ]\r
212         ]\r
213     },\r
214     {\r
215         "id": "ffcba76.e3a6658",\r
216         "type": "failure",\r
217         "name": "failure",\r
218         "xml": "<outcome value='failure'>\n",\r
219         "comments": "",\r
220         "outputs": 1,\r
221         "x": 1543.8928337097168,\r
222         "y": 1541.5120401382446,\r
223         "z": "37882b3b.b21224",\r
224         "wires": [\r
225             [\r
226                 "afb8d713.9ea788"\r
227             ]\r
228         ]\r
229     },\r
230     {\r
231         "id": "34d7033c.1d850c",\r
232         "type": "set",\r
233         "name": "set ss.capability-name",\r
234         "xml": "<set>\n<parameter name='ss.capability-name' value='`$ss.capability.execution-order[$cidx]`' />\n<!--\nss.capability.execution-order[]\n-->",\r
235         "comments": "",\r
236         "x": 637.5000610351562,\r
237         "y": 1644.3573551177979,\r
238         "z": "37882b3b.b21224",\r
239         "wires": []\r
240     },\r
241     {\r
242         "id": "c123dce6.984a6",\r
243         "type": "set",\r
244         "name": "tmp.param.capability-name",\r
245         "xml": "<set>\n<parameter name='tmp.param.capability-name' \n  value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param[$pidx].resource-resolution-data.capability-name`' />",\r
246         "comments": "",\r
247         "x": 997.107307434082,\r
248         "y": 1800.2620868682861,\r
249         "z": "37882b3b.b21224",\r
250         "wires": []\r
251     },\r
252     {\r
253         "id": "bcdcac9e.1dcf8",\r
254         "type": "set",\r
255         "name": "set ss.capability-action = assign",\r
256         "xml": "<set>\n<parameter name='ss.capability-action' value='assign' />\n",\r
257         "comments": "",\r
258         "x": 666.2142028808594,\r
259         "y": 1691.2739391326904,\r
260         "z": "37882b3b.b21224",\r
261         "wires": []\r
262     },\r
263     {\r
264         "id": "7e8acf11.757ce",\r
265         "type": "set",\r
266         "name": "set capability-dg with 'self-serve-' + capability-name",\r
267         "xml": "<set>\n<parameter name='ss.capability-dg' value=\"`'self-serve-' + $ss.capability.execution-order[$cidx]`\" />\n",\r
268         "comments": "",\r
269         "x": 728.7262954711914,\r
270         "y": 1744.7501831054688,\r
271         "z": "37882b3b.b21224",\r
272         "wires": []\r
273     },\r
274     {\r
275         "id": "ca8257f6.464808",\r
276         "type": "set",\r
277         "name": "set sdnc-generated-cloud-resources = true",\r
278         "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.sdnc-generated-cloud-resources' value='true' />\n",\r
279         "comments": "",\r
280         "x": 458.9881362915039,\r
281         "y": 1324.7501487731934,\r
282         "z": "37882b3b.b21224",\r
283         "wires": []\r
284     },\r
285     {\r
286         "id": "9217be7a.bbdb1",\r
287         "type": "block",\r
288         "name": "block",\r
289         "xml": "<block>",\r
290         "atomic": "false",\r
291         "comments": "",\r
292         "outputs": 1,\r
293         "x": 715.428539276123,\r
294         "y": 605.4643030166626,\r
295         "z": "37882b3b.b21224",\r
296         "wires": [\r
297             [\r
298                 "3723f166.b9d03e",\r
299                 "74858ef1.51481",\r
300                 "a4d6abfb.adbf88",\r
301                 "7c366e89.adcd7",\r
302                 "16c17b92.58b8f4",\r
303                 "2ef35e2.ce87ea2",\r
304                 "25981633.c7dc4a",\r
305                 "152546f0.c6dac9",\r
306                 "6f7c97df.b99708"\r
307             ]\r
308         ]\r
309     },\r
310     {\r
311         "id": "3723f166.b9d03e",\r
312         "type": "set",\r
313         "name": "set pnf-topology data",\r
314         "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-topology-identifier-structure.pnf-id'\n value='`$pnf-topology-operation-input.pnf-details.pnf-id`' />\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-topology-identifier-structure.pnf-type'\n value='`$pnf-topology-operation-input.pnf-details.pnf-type`' />\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.tenant'\n value='`$pnf-topology-operation-input.pnf-request-input.tenant`' />\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.aic-cloud-region'\n value='`$pnf-topology-operation-input.pnf-request-input.aic-cloud-region`' />",\r
315         "comments": "",\r
316         "x": 930.9284820556641,\r
317         "y": 606.523811340332,\r
318         "z": "37882b3b.b21224",\r
319         "wires": []\r
320     },\r
321     {\r
322         "id": "ca44a755.ad1c68",\r
323         "type": "set",\r
324         "name": "set pnf-parameters-data",\r
325         "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.'\n  value='pnf-topology-operation-input.pnf-request-input.pnf-input-parameters.' />\n",\r
326         "comments": "",\r
327         "x": 1117.3217163085938,\r
328         "y": 1492.380844116211,\r
329         "z": "37882b3b.b21224",\r
330         "wires": []\r
331     },\r
332     {\r
333         "id": "a4d6abfb.adbf88",\r
334         "type": "set",\r
335         "name": "set pnf-level-oper-status to PendingCreate",\r
336         "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-level-oper-status.order-status' value='PendingCreate' />\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-level-oper-status.last-rpc-action' value='`$pnf-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-level-oper-status.last-action' value='`$pnf-topology-operation-input.request-information.request-action`' />\n",\r
337         "comments": "",\r
338         "x": 996.2184371948242,\r
339         "y": 1180.504020690918,\r
340         "z": "37882b3b.b21224",\r
341         "wires": []\r
342     },\r
343     {\r
344         "id": "74858ef1.51481",\r
345         "type": "set",\r
346         "name": "copy input data",\r
347         "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.sdnc-request-header.'\n        value='$pnf-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.request-information.'\n        value='$pnf-topology-operation-input.request-information.' />\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.service-information.'\n        value='$pnf-topology-operation-input.service-information.' />\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-details.'\n        value='$pnf-topology-operation-input.pnf-details.' />\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-request-input.'\n        value='$pnf-topology-operation-input.pnf-request-input.' />",\r
348         "comments": "",\r
349         "x": 913.5953521728516,\r
350         "y": 1130.3096599578857,\r
351         "z": "37882b3b.b21224",\r
352         "wires": []\r
353     },\r
354     {\r
355         "id": "b0cbcbbb.b2c498",\r
356         "type": "set",\r
357         "name": "set from DB",\r
358         "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.onap-model-information.model-invariant-uuid'\n  value='`$db.pnf-model.invariant-uuid`' />",\r
359         "comments": "",\r
360         "x": 1327.9286727905273,\r
361         "y": 718.8810405731201,\r
362         "z": "37882b3b.b21224",\r
363         "wires": []\r
364     },\r
365     {\r
366         "id": "7c366e89.adcd7",\r
367         "type": "switchNode",\r
368         "name": "switch input model-invariant-uuid",\r
369         "xml": "<switch test='`$pnf-topology-operation-input.pnf-details.onap-model-information.model-invariant-uuid`'>\n",\r
370         "comments": "",\r
371         "outputs": 1,\r
372         "x": 968.7857475280762,\r
373         "y": 741.7054843902588,\r
374         "z": "37882b3b.b21224",\r
375         "wires": [\r
376             [\r
377                 "ae90c040.3cc39",\r
378                 "5f2c6ed0.29635"\r
379             ]\r
380         ]\r
381     },\r
382     {\r
383         "id": "ae90c040.3cc39",\r
384         "type": "outcome",\r
385         "name": "NULL",\r
386         "xml": "<outcome value=''>",\r
387         "comments": "",\r
388         "outputs": 1,\r
389         "x": 1177.4524192810059,\r
390         "y": 718.8484477996826,\r
391         "z": "37882b3b.b21224",\r
392         "wires": [\r
393             [\r
394                 "b0cbcbbb.b2c498"\r
395             ]\r
396         ]\r
397     },\r
398     {\r
399         "id": "5f2c6ed0.29635",\r
400         "type": "other",\r
401         "name": "other",\r
402         "xml": "<outcome value='Other'>\n",\r
403         "comments": "",\r
404         "outputs": 1,\r
405         "x": 1178.881015777588,\r
406         "y": 763.1340389251709,\r
407         "z": "37882b3b.b21224",\r
408         "wires": [\r
409             [\r
410                 "f383b18b.bfab9"\r
411             ]\r
412         ]\r
413     },\r
414     {\r
415         "id": "f383b18b.bfab9",\r
416         "type": "set",\r
417         "name": "set from input",\r
418         "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.onap-model-information.model-invariant-uuid'\n  value='`$pnf-topology-operation-input.pnf-details.onap-model-information.model-invariant-uuid`' />",\r
419         "comments": "",\r
420         "x": 1333.1667518615723,\r
421         "y": 762.5626111030579,\r
422         "z": "37882b3b.b21224",\r
423         "wires": []\r
424     },\r
425     {\r
426         "id": "4d3a329b.f2f90c",\r
427         "type": "set",\r
428         "name": "set from DB",\r
429         "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.onap-model-information.model-uuid'\n  value='`$db.pnf-model.uuid`' />",\r
430         "comments": "",\r
431         "x": 1328.8809432983398,\r
432         "y": 807.419716835022,\r
433         "z": "37882b3b.b21224",\r
434         "wires": []\r
435     },\r
436     {\r
437         "id": "16c17b92.58b8f4",\r
438         "type": "switchNode",\r
439         "name": "switch input model-uuid",\r
440         "xml": "<switch test='`$pnf-topology-operation-input.pnf-details.onap-model-information.model-uuid`'>\n",\r
441         "comments": "",\r
442         "outputs": 1,\r
443         "x": 938.4047660827637,\r
444         "y": 830.2442216873169,\r
445         "z": "37882b3b.b21224",\r
446         "wires": [\r
447             [\r
448                 "59c0725a.54805c",\r
449                 "bfa95def.afc74"\r
450             ]\r
451         ]\r
452     },\r
453     {\r
454         "id": "59c0725a.54805c",\r
455         "type": "outcome",\r
456         "name": "NULL",\r
457         "xml": "<outcome value=''>",\r
458         "comments": "",\r
459         "outputs": 1,\r
460         "x": 1178.4047393798828,\r
461         "y": 807.3871536254883,\r
462         "z": "37882b3b.b21224",\r
463         "wires": [\r
464             [\r
465                 "4d3a329b.f2f90c"\r
466             ]\r
467         ]\r
468     },\r
469     {\r
470         "id": "bfa95def.afc74",\r
471         "type": "other",\r
472         "name": "other",\r
473         "xml": "<outcome value='Other'>\n",\r
474         "comments": "",\r
475         "outputs": 1,\r
476         "x": 1179.8333358764648,\r
477         "y": 851.6727447509766,\r
478         "z": "37882b3b.b21224",\r
479         "wires": [\r
480             [\r
481                 "f2189dfb.909da"\r
482             ]\r
483         ]\r
484     },\r
485     {\r
486         "id": "f2189dfb.909da",\r
487         "type": "set",\r
488         "name": "set from input",\r
489         "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.onap-model-information.model-uuid'\n  value='`$pnf-topology-operation-input.pnf-details.onap-model-information.model-uuid`' />",\r
490         "comments": "",\r
491         "x": 1334.1190719604492,\r
492         "y": 851.1013169288635,\r
493         "z": "37882b3b.b21224",\r
494         "wires": []\r
495     },\r
496     {\r
497         "id": "24e86468.e8cd5c",\r
498         "type": "set",\r
499         "name": "set from DB",\r
500         "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.onap-model-information.model-version'\n  value='`$db.pnf-model.version`' />",\r
501         "comments": "",\r
502         "x": 1326.0238761901855,\r
503         "y": 896.2769241333008,\r
504         "z": "37882b3b.b21224",\r
505         "wires": []\r
506     },\r
507     {\r
508         "id": "2ef35e2.ce87ea2",\r
509         "type": "switchNode",\r
510         "name": "switch input model-version",\r
511         "xml": "<switch test='`$pnf-topology-operation-input.pnf-details.onap-model-information.model-version`'>\n",\r
512         "comments": "",\r
513         "outputs": 1,\r
514         "x": 949.5476379394531,\r
515         "y": 919.1013689041138,\r
516         "z": "37882b3b.b21224",\r
517         "wires": [\r
518             [\r
519                 "9b0d0090.c86a6",\r
520                 "43470848.9d99c8"\r
521             ]\r
522         ]\r
523     },\r
524     {\r
525         "id": "9b0d0090.c86a6",\r
526         "type": "outcome",\r
527         "name": "NULL",\r
528         "xml": "<outcome value=''>",\r
529         "comments": "",\r
530         "outputs": 1,\r
531         "x": 1175.547622680664,\r
532         "y": 896.2443313598633,\r
533         "z": "37882b3b.b21224",\r
534         "wires": [\r
535             [\r
536                 "24e86468.e8cd5c"\r
537             ]\r
538         ]\r
539     },\r
540     {\r
541         "id": "43470848.9d99c8",\r
542         "type": "other",\r
543         "name": "other",\r
544         "xml": "<outcome value='Other'>\n",\r
545         "comments": "",\r
546         "outputs": 1,\r
547         "x": 1176.976219177246,\r
548         "y": 940.5299224853516,\r
549         "z": "37882b3b.b21224",\r
550         "wires": [\r
551             [\r
552                 "1db4f705.93ccc9"\r
553             ]\r
554         ]\r
555     },\r
556     {\r
557         "id": "1db4f705.93ccc9",\r
558         "type": "set",\r
559         "name": "set from input",\r
560         "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.onap-model-information.model-version'\n  value='`$pnf-topology-operation-input.pnf-details.onap-model-information.model-version`' />\n",\r
561         "comments": "",\r
562         "x": 1331.2619552612305,\r
563         "y": 939.9584946632385,\r
564         "z": "37882b3b.b21224",\r
565         "wires": []\r
566     },\r
567     {\r
568         "id": "1dc78c79.a450c4",\r
569         "type": "set",\r
570         "name": "set from DB",\r
571         "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.onap-model-information.model-name'\n  value='`$db.pnf-model.name`' />\n",\r
572         "comments": "",\r
573         "x": 1326.0238761901855,\r
574         "y": 983.4197463989258,\r
575         "z": "37882b3b.b21224",\r
576         "wires": []\r
577     },\r
578     {\r
579         "id": "25981633.c7dc4a",\r
580         "type": "switchNode",\r
581         "name": "switch input model-name",\r
582         "xml": "<switch test='`$pnf-topology-operation-input.pnf-details.onap-model-information.model-name`'>\n",\r
583         "comments": "",\r
584         "outputs": 1,\r
585         "x": 944.5476379394531,\r
586         "y": 1006.2441911697388,\r
587         "z": "37882b3b.b21224",\r
588         "wires": [\r
589             [\r
590                 "443be686.54dde8",\r
591                 "f6a73c6d.1c44a"\r
592             ]\r
593         ]\r
594     },\r
595     {\r
596         "id": "443be686.54dde8",\r
597         "type": "outcome",\r
598         "name": "NULL",\r
599         "xml": "<outcome value=''>",\r
600         "comments": "",\r
601         "outputs": 1,\r
602         "x": 1175.547622680664,\r
603         "y": 983.3871536254883,\r
604         "z": "37882b3b.b21224",\r
605         "wires": [\r
606             [\r
607                 "1dc78c79.a450c4"\r
608             ]\r
609         ]\r
610     },\r
611     {\r
612         "id": "f6a73c6d.1c44a",\r
613         "type": "other",\r
614         "name": "other",\r
615         "xml": "<outcome value='Other'>\n",\r
616         "comments": "",\r
617         "outputs": 1,\r
618         "x": 1176.976219177246,\r
619         "y": 1027.6727447509766,\r
620         "z": "37882b3b.b21224",\r
621         "wires": [\r
622             [\r
623                 "963f984e.4e1598"\r
624             ]\r
625         ]\r
626     },\r
627     {\r
628         "id": "963f984e.4e1598",\r
629         "type": "set",\r
630         "name": "set from input",\r
631         "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.onap-model-information.model-name'\n  value='`$pnf-topology-operation-input.pnf-details.onap-model-information.model-name`' />\n",\r
632         "comments": "",\r
633         "x": 1331.2619552612305,\r
634         "y": 1027.1013169288635,\r
635         "z": "37882b3b.b21224",\r
636         "wires": []\r
637     },\r
638     {\r
639         "id": "152546f0.c6dac9",\r
640         "type": "set",\r
641         "name": "set pnf-id",\r
642         "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-id'\n   value='`$pnf-topology-operation-input.pnf-details.pnf-id`' />\n",\r
643         "comments": "",\r
644         "x": 894.9047088623047,\r
645         "y": 658.0388488769531,\r
646         "z": "37882b3b.b21224",\r
647         "wires": []\r
648     },\r
649     {\r
650         "id": "6f7c97df.b99708",\r
651         "type": "set",\r
652         "name": "set model-customization-uuid",\r
653         "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.onap-model-information.model-customization-uuid' \n  value='`$pnf-topology-operation-input.pnf-details.onap-model-information.model-customization-uuid`' />\n",\r
654         "comments": "",\r
655         "x": 957.3332252502441,\r
656         "y": 1079.0863952636719,\r
657         "z": "37882b3b.b21224",\r
658         "wires": []\r
659     },\r
660     {\r
661         "id": "b26b3f10.8cd93",\r
662         "type": "switchNode",\r
663         "name": "switch service-data.pnfs.pnf_length",\r
664         "xml": "<switch test='`$service-data.pnfs.pnf_length`'>\n",\r
665         "comments": "",\r
666         "outputs": 1,\r
667         "x": 441.58329010009766,\r
668         "y": 292.4285001754761,\r
669         "z": "37882b3b.b21224",\r
670         "wires": [\r
671             [\r
672                 "548784a8.6fc1bc",\r
673                 "97bdaa3b.0e9cb8",\r
674                 "f611eac6.477cc8"\r
675             ]\r
676         ]\r
677     },\r
678     {\r
679         "id": "548784a8.6fc1bc",\r
680         "type": "other",\r
681         "name": "NULL",\r
682         "xml": "<outcome value=''>\n",\r
683         "comments": "",\r
684         "outputs": 1,\r
685         "x": 683.7976760864258,\r
686         "y": 230.98793125152588,\r
687         "z": "37882b3b.b21224",\r
688         "wires": [\r
689             [\r
690                 "d33ee57f.a3ecb8"\r
691             ]\r
692         ]\r
693     },\r
694     {\r
695         "id": "1c98dcd.f3b3f23",\r
696         "type": "set",\r
697         "name": "set pnf-index=0",\r
698         "xml": "<set>\n<parameter name='pnf-index' value='0' />\n",\r
699         "comments": "",\r
700         "x": 1019.083381652832,\r
701         "y": 230.48800563812256,\r
702         "z": "37882b3b.b21224",\r
703         "wires": []\r
704     },\r
705     {\r
706         "id": "97bdaa3b.0e9cb8",\r
707         "type": "other",\r
708         "name": "other",\r
709         "xml": "<outcome value='Other'>\n",\r
710         "comments": "",\r
711         "outputs": 1,\r
712         "x": 684.976203918457,\r
713         "y": 352.607120513916,\r
714         "z": "37882b3b.b21224",\r
715         "wires": [\r
716             [\r
717                 "231e0e98.80a622"\r
718             ]\r
719         ]\r
720     },\r
721     {\r
722         "id": "6ac25c2c.af1c14",\r
723         "type": "switchNode",\r
724         "name": "switch resource-resolution-data.status",\r
725         "xml": "<switch test='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param[$pidx].resource-resolution-data.status`'>\n",\r
726         "comments": "",\r
727         "outputs": 1,\r
728         "x": 843.3693580627441,\r
729         "y": 2105.3293199539185,\r
730         "z": "37882b3b.b21224",\r
731         "wires": [\r
732             [\r
733                 "3502dbdf.32a874",\r
734                 "cc3acc09.1c768"\r
735             ]\r
736         ]\r
737     },\r
738     {\r
739         "id": "3502dbdf.32a874",\r
740         "type": "other",\r
741         "name": "PENDING",\r
742         "xml": "<outcome value='PENDING'>\n",\r
743         "comments": "",\r
744         "outputs": 1,\r
745         "x": 1112.7265739440918,\r
746         "y": 2105.3292760849,\r
747         "z": "37882b3b.b21224",\r
748         "wires": [\r
749             [\r
750                 "829e3fb9.d93a7"\r
751             ]\r
752         ]\r
753     },\r
754     {\r
755         "id": "cc3acc09.1c768",\r
756         "type": "other",\r
757         "name": "FAILED",\r
758         "xml": "<outcome value='FAILED'>\n",\r
759         "comments": "",\r
760         "outputs": 1,\r
761         "x": 1106.2623901367188,\r
762         "y": 2156.2936067581177,\r
763         "z": "37882b3b.b21224",\r
764         "wires": [\r
765             [\r
766                 "829e3fb9.d93a7"\r
767             ]\r
768         ]\r
769     },\r
770     {\r
771         "id": "829e3fb9.d93a7",\r
772         "type": "call",\r
773         "name": "call ss.capability-dg",\r
774         "xml": "<call module='GENERIC-RESOURCE-API' rpc='`$ss.capability-dg`' mode='sync' >\n",\r
775         "comments": "",\r
776         "outputs": 1,\r
777         "x": 1321.3811225891113,\r
778         "y": 2157.0554580688477,\r
779         "z": "37882b3b.b21224",\r
780         "wires": [\r
781             [\r
782                 "3962ddfe.4c5df2",\r
783                 "3e772b22.e1c734"\r
784             ]\r
785         ]\r
786     },\r
787     {\r
788         "id": "bdafebf6.f2fbb8",\r
789         "type": "returnFailure",\r
790         "name": "return failure",\r
791         "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Encountered error from capability: '+ $ss.capability-dg + ', with error: '+ $error-message`\" />\n",\r
792         "comments": "",\r
793         "x": 1888.9286193847656,\r
794         "y": 2413.532018661499,\r
795         "z": "37882b3b.b21224",\r
796         "wires": []\r
797     },\r
798     {\r
799         "id": "3962ddfe.4c5df2",\r
800         "type": "failure",\r
801         "name": "failure",\r
802         "xml": "<outcome value='failure'>\n",\r
803         "comments": "",\r
804         "outputs": 1,\r
805         "x": 1506.2736320495605,\r
806         "y": 2157.055519104004,\r
807         "z": "37882b3b.b21224",\r
808         "wires": [\r
809             [\r
810                 "c929724.d0d769"\r
811             ]\r
812         ]\r
813     },\r
814     {\r
815         "id": "c929724.d0d769",\r
816         "type": "block",\r
817         "name": "block : atomic",\r
818         "xml": "<block atomic='true'>",\r
819         "atomic": "true",\r
820         "comments": "",\r
821         "outputs": 1,\r
822         "x": 1669.5477485656738,\r
823         "y": 2156.3650598526,\r
824         "z": "37882b3b.b21224",\r
825         "wires": [\r
826             [\r
827                 "bdafebf6.f2fbb8",\r
828                 "b6818d14.aad68",\r
829                 "ae39be90.d76b7",\r
830                 "60ef7bf2.fa7a14",\r
831                 "e7c0edc.af4641"\r
832             ]\r
833         ]\r
834     },\r
835     {\r
836         "id": "ae39be90.d76b7",\r
837         "type": "execute",\r
838         "name": "generate ss-pnf url replace service-instance-id",\r
839         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.ss-pnf-assignments`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ss-pnf-url\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$service-data.pnfs.pnf[$pnf-index].pnf-data.service-information.service-instance-id`\"/>\n",\r
840         "comments": "",\r
841         "outputs": 1,\r
842         "x": 1992.8808403015137,\r
843         "y": 2209.88161945343,\r
844         "z": "37882b3b.b21224",\r
845         "wires": [\r
846             []\r
847         ]\r
848     },\r
849     {\r
850         "id": "e7c0edc.af4641",\r
851         "type": "execute",\r
852         "name": "execute RestApiCallNode - PUT pnf",\r
853         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ss.pnf.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ss-pnf-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='PUT' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-ss-pnf\" />\n\n",\r
854         "comments": "",\r
855         "outputs": 1,\r
856         "x": 1962.3451347351074,\r
857         "y": 2312.7388410568237,\r
858         "z": "37882b3b.b21224",\r
859         "wires": [\r
860             [\r
861                 "2aae309b.44db4",\r
862                 "6c63be99.6e9df"\r
863             ]\r
864         ]\r
865     },\r
866     {\r
867         "id": "2aae309b.44db4",\r
868         "type": "not-found",\r
869         "name": "not-found",\r
870         "xml": "<outcome value='not-found'>\n",\r
871         "comments": "",\r
872         "outputs": 1,\r
873         "x": 2236.9388008117676,\r
874         "y": 2366.736994743347,\r
875         "z": "37882b3b.b21224",\r
876         "wires": [\r
877             [\r
878                 "47b71a3e.97bf84"\r
879             ]\r
880         ]\r
881     },\r
882     {\r
883         "id": "6c63be99.6e9df",\r
884         "type": "failure",\r
885         "name": "failure",\r
886         "xml": "<outcome value='failure'>\n",\r
887         "comments": "",\r
888         "outputs": 1,\r
889         "x": 2229.3674354553223,\r
890         "y": 2313.237014770508,\r
891         "z": "37882b3b.b21224",\r
892         "wires": [\r
893             [\r
894                 "47b71a3e.97bf84"\r
895             ]\r
896         ]\r
897     },\r
898     {\r
899         "id": "b6818d14.aad68",\r
900         "type": "set",\r
901         "name": "set pf data for restapi-call-node",\r
902         "xml": "<set>\n<parameter name='pf.pnf-id'\n    value='`$service-data.pnfs.pnf[$pnf-index].pnf-id`' />\n<parameter name='pf.pnf-data.sdnc-request-header.'\n  value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.sdnc-request-header.`' />\n<parameter name='pf.pnf-data.request-information.'\n  value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.request-information.`' />\n<parameter name='pf.pnf-data.service-information.'\n  value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.service-information.`' />\n<parameter name='pf.pnf-data.pnf-details.'\n  value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-details.`' />\n<parameter name='pf.pnf-data.pnf-topology.'\n  value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.`' />\n<parameter name='pf.pnf-data.pnf-level-oper-status.'\n  value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-level-oper-status.`' />\n<parameter name='pf.pnf-data.pnf-request-input.pnf-input-parameters.'\n  value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-request-input.pnf-input-parameters.`' />\n<parameter name='pf.pnf-data.pnf-request-input.request-version'\n  value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-request-input.request-version`' />\n<parameter name='pf.pnf-data.pnf-request-input.pnf-name'\n  value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-request-input.pnf-name`' />\n<parameter name='pf.pnf-data.pnf-request-input.tenant'\n  value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-request-input.tenant`' />\n<parameter name='pf.pnf-data.pnf-request-input.aic-cloud-region'\n  value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-request-input.aic-cloud-region`' />\n<parameter name='pf.pnf-data.pnf-request-input.aic-clli'\n  value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-request-input.aic-clli`' />",\r
903         "comments": "",\r
904         "x": 1945.3331413269043,\r
905         "y": 2155.976131439209,\r
906         "z": "37882b3b.b21224",\r
907         "wires": []\r
908     },\r
909     {\r
910         "id": "60ef7bf2.fa7a14",\r
911         "type": "execute",\r
912         "name": "generate ss-pnf url - replace pnf-id",\r
913         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.ss-pnf-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ss-pnf-url\"/>\n    <parameter name=\"target\" value=\"{pnf-id}\"/>\n    <parameter name=\"replacement\" value=\"`$service-data.pnfs.pnf[$pnf-index].pnf-id`\"/>\n",\r
914         "comments": "",\r
915         "outputs": 1,\r
916         "x": 1957.16654586792,\r
917         "y": 2260.69038772583,\r
918         "z": "37882b3b.b21224",\r
919         "wires": [\r
920             []\r
921         ]\r
922     },\r
923     {\r
924         "id": "97cbe59f.102fe8",\r
925         "type": "execute",\r
926         "name": "printContext",\r
927         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/ss-pnf-assign.log' />\n",\r
928         "comments": "",\r
929         "outputs": 1,\r
930         "x": 344.42456817626953,\r
931         "y": 2600.920820236206,\r
932         "z": "37882b3b.b21224",\r
933         "wires": [\r
934             []\r
935         ]\r
936     },\r
937     {\r
938         "id": "b9417a96.c89598",\r
939         "type": "set",\r
940         "name": "set ss.capability-type = pnf",\r
941         "xml": "<set>\n<parameter name='ss.capability-type' value='pnf' />\n",\r
942         "comments": "",\r
943         "x": 409.89292907714844,\r
944         "y": 1375.5357942581177,\r
945         "z": "37882b3b.b21224",\r
946         "wires": []\r
947     },\r
948     {\r
949         "id": "ed282b71.ede0f8",\r
950         "type": "block",\r
951         "name": "block : atomic",\r
952         "xml": "<block atomic='true'>",\r
953         "atomic": "true",\r
954         "comments": "",\r
955         "outputs": 1,\r
956         "x": 875.8927993774414,\r
957         "y": 1492.892912864685,\r
958         "z": "37882b3b.b21224",\r
959         "wires": [\r
960             [\r
961                 "ca44a755.ad1c68",\r
962                 "21ad94d1.be148c",\r
963                 "31272402.ad905c"\r
964             ]\r
965         ]\r
966     },\r
967     {\r
968         "id": "b109eefc.1d872",\r
969         "type": "for",\r
970         "name": "for each existing PNF",\r
971         "xml": "<for index='idx' start='0' end='`$service-data.pnfs.pnf_length`' >\n",\r
972         "comments": "",\r
973         "outputs": 1,\r
974         "x": 1032.0357284545898,\r
975         "y": 352.78579807281494,\r
976         "z": "37882b3b.b21224",\r
977         "wires": [\r
978             [\r
979                 "b986a80e.96c248"\r
980             ]\r
981         ]\r
982     },\r
983     {\r
984         "id": "b986a80e.96c248",\r
985         "type": "switchNode",\r
986         "name": "switch pnf-id: input vs service-data",\r
987         "xml": "<switch test='`$pf-topology-operation-input.pnf-details.pnf-id == $service-data.pnfs.pnf[$idx].pnf-id`'>\n",\r
988         "comments": "",\r
989         "outputs": 1,\r
990         "x": 1309.321434020996,\r
991         "y": 352.85728549957275,\r
992         "z": "37882b3b.b21224",\r
993         "wires": [\r
994             [\r
995                 "cb09cf77.62df4"\r
996             ]\r
997         ]\r
998     },\r
999     {\r
1000         "id": "cb09cf77.62df4",\r
1001         "type": "outcomeTrue",\r
1002         "name": "true",\r
1003         "xml": "<outcome value='true'>\n",\r
1004         "comments": "",\r
1005         "outputs": 1,\r
1006         "x": 1532.1072006225586,\r
1007         "y": 352.4287576675415,\r
1008         "z": "37882b3b.b21224",\r
1009         "wires": [\r
1010             [\r
1011                 "747e7c3c.174b44"\r
1012             ]\r
1013         ]\r
1014     },\r
1015     {\r
1016         "id": "747e7c3c.174b44",\r
1017         "type": "block",\r
1018         "name": "block",\r
1019         "xml": "<block>\n",\r
1020         "atomic": "false",\r
1021         "comments": "",\r
1022         "outputs": 1,\r
1023         "x": 1664.5714530944824,\r
1024         "y": 352.46431827545166,\r
1025         "z": "37882b3b.b21224",\r
1026         "wires": [\r
1027             [\r
1028                 "2a95ccf.7794434",\r
1029                 "8c6ecdd5.9e28b",\r
1030                 "4b25e8bd.e53158"\r
1031             ]\r
1032         ]\r
1033     },\r
1034     {\r
1035         "id": "2a95ccf.7794434",\r
1036         "type": "break",\r
1037         "name": "break",\r
1038         "xml": "<break>\n",\r
1039         "comments": "",\r
1040         "x": 1832.464241027832,\r
1041         "y": 438.4642963409424,\r
1042         "z": "37882b3b.b21224",\r
1043         "wires": []\r
1044     },\r
1045     {\r
1046         "id": "923b1ffd.af18b",\r
1047         "type": "set",\r
1048         "name": "set new pnf_length = 1",\r
1049         "xml": "<set>\n<parameter name='service-data.pnfs.pnf_length' value='1' />\n",\r
1050         "comments": "",\r
1051         "x": 1042.642951965332,\r
1052         "y": 275.82148838043213,\r
1053         "z": "37882b3b.b21224",\r
1054         "wires": []\r
1055     },\r
1056     {\r
1057         "id": "8c6ecdd5.9e28b",\r
1058         "type": "set",\r
1059         "name": "set pnf-index = idx",\r
1060         "xml": "<set>\n<parameter name='pnf-index' value='`$idx`' />\n",\r
1061         "comments": "",\r
1062         "x": 1863.0357971191406,\r
1063         "y": 395.2499752044678,\r
1064         "z": "37882b3b.b21224",\r
1065         "wires": []\r
1066     },\r
1067     {\r
1068         "id": "71acdeef.4b572",\r
1069         "type": "set",\r
1070         "name": "set is-new-pnf = true",\r
1071         "xml": "<set>\n<parameter name='is-new-pnf' value='true' />\n",\r
1072         "comments": "",\r
1073         "x": 395.8929214477539,\r
1074         "y": 212.32144355773926,\r
1075         "z": "37882b3b.b21224",\r
1076         "wires": []\r
1077     },\r
1078     {\r
1079         "id": "4b25e8bd.e53158",\r
1080         "type": "set",\r
1081         "name": "set is-new-pnf = false",\r
1082         "xml": "<set>\n<parameter name='is-new-pnf' value='false' />\n",\r
1083         "comments": "",\r
1084         "x": 1871.0714836120605,\r
1085         "y": 351.9643201828003,\r
1086         "z": "37882b3b.b21224",\r
1087         "wires": []\r
1088     },\r
1089     {\r
1090         "id": "231e0e98.80a622",\r
1091         "type": "block",\r
1092         "name": "block",\r
1093         "xml": "<block>\n",\r
1094         "atomic": "false",\r
1095         "comments": "",\r
1096         "outputs": 1,\r
1097         "x": 822.2500228881836,\r
1098         "y": 352.2500162124634,\r
1099         "z": "37882b3b.b21224",\r
1100         "wires": [\r
1101             [\r
1102                 "b109eefc.1d872",\r
1103                 "12659093.1463bf"\r
1104             ]\r
1105         ]\r
1106     },\r
1107     {\r
1108         "id": "12659093.1463bf",\r
1109         "type": "switchNode",\r
1110         "name": "switch is-new-pnf",\r
1111         "xml": "<switch test='`$is-new-pnf`'>\n",\r
1112         "comments": "",\r
1113         "outputs": 1,\r
1114         "x": 1019.7500152587891,\r
1115         "y": 438.8214178085327,\r
1116         "z": "37882b3b.b21224",\r
1117         "wires": [\r
1118             [\r
1119                 "273b5e8f.735eb2"\r
1120             ]\r
1121         ]\r
1122     },\r
1123     {\r
1124         "id": "273b5e8f.735eb2",\r
1125         "type": "outcomeTrue",\r
1126         "name": "true",\r
1127         "xml": "<outcome value='true'>\n",\r
1128         "comments": "",\r
1129         "outputs": 1,\r
1130         "x": 1199.6071701049805,\r
1131         "y": 438.39286518096924,\r
1132         "z": "37882b3b.b21224",\r
1133         "wires": [\r
1134             [\r
1135                 "35d2b6f5.5b532a"\r
1136             ]\r
1137         ]\r
1138     },\r
1139     {\r
1140         "id": "d33ee57f.a3ecb8",\r
1141         "type": "block",\r
1142         "name": "block",\r
1143         "xml": "<block>\n",\r
1144         "atomic": "false",\r
1145         "comments": "",\r
1146         "outputs": 1,\r
1147         "x": 837.7499923706055,\r
1148         "y": 230.99999713897705,\r
1149         "z": "37882b3b.b21224",\r
1150         "wires": [\r
1151             [\r
1152                 "1c98dcd.f3b3f23",\r
1153                 "923b1ffd.af18b"\r
1154             ]\r
1155         ]\r
1156     },\r
1157     {\r
1158         "id": "f611eac6.477cc8",\r
1159         "type": "other",\r
1160         "name": "0",\r
1161         "xml": "<outcome value='0'>\n",\r
1162         "comments": "",\r
1163         "outputs": 1,\r
1164         "x": 682.2499923706055,\r
1165         "y": 290.7499990463257,\r
1166         "z": "37882b3b.b21224",\r
1167         "wires": [\r
1168             [\r
1169                 "d33ee57f.a3ecb8"\r
1170             ]\r
1171         ]\r
1172     },\r
1173     {\r
1174         "id": "2c0f97dd.67d808",\r
1175         "type": "switchNode",\r
1176         "name": "switch is-new-pnf",\r
1177         "xml": "<switch test='`$is-new-pnf`'>\n",\r
1178         "comments": "",\r
1179         "outputs": 1,\r
1180         "x": 383.75000381469727,\r
1181         "y": 606.2500057220459,\r
1182         "z": "37882b3b.b21224",\r
1183         "wires": [\r
1184             [\r
1185                 "a0d4e067.649e6"\r
1186             ]\r
1187         ]\r
1188     },\r
1189     {\r
1190         "id": "a0d4e067.649e6",\r
1191         "type": "outcomeTrue",\r
1192         "name": "true",\r
1193         "xml": "<outcome value='true'>\n",\r
1194         "comments": "",\r
1195         "outputs": 1,\r
1196         "x": 563.6071586608887,\r
1197         "y": 605.8214530944824,\r
1198         "z": "37882b3b.b21224",\r
1199         "wires": [\r
1200             [\r
1201                 "9217be7a.bbdb1"\r
1202             ]\r
1203         ]\r
1204     },\r
1205     {\r
1206         "id": "42f65de7.c91174",\r
1207         "type": "set",\r
1208         "name": "set new pnf_length++",\r
1209         "xml": "<set>\n<parameter name='service-data.pnfs.pnf_length' value='`$service-data.pnfs.pnf_length + 1`' />\n",\r
1210         "comments": "",\r
1211         "x": 1547.5,\r
1212         "y": 485,\r
1213         "z": "37882b3b.b21224",\r
1214         "wires": []\r
1215     },\r
1216     {\r
1217         "id": "35d2b6f5.5b532a",\r
1218         "type": "block",\r
1219         "name": "block",\r
1220         "xml": "<block>\n",\r
1221         "atomic": "false",\r
1222         "comments": "",\r
1223         "outputs": 1,\r
1224         "x": 1345.4999771118164,\r
1225         "y": 437.99996185302734,\r
1226         "z": "37882b3b.b21224",\r
1227         "wires": [\r
1228             [\r
1229                 "42f65de7.c91174",\r
1230                 "5e6b2c5e.23b7b4"\r
1231             ]\r
1232         ]\r
1233     },\r
1234     {\r
1235         "id": "5e6b2c5e.23b7b4",\r
1236         "type": "set",\r
1237         "name": "set pnf-index = pnf_length",\r
1238         "xml": "<set>\n<parameter name='pnf-index' value='`$service-data.pnfs.pnf_length`' />\n",\r
1239         "comments": "",\r
1240         "x": 1556.9999809265137,\r
1241         "y": 437.49996185302734,\r
1242         "z": "37882b3b.b21224",\r
1243         "wires": []\r
1244     },\r
1245     {\r
1246         "id": "47b71a3e.97bf84",\r
1247         "type": "set",\r
1248         "name": "set error-message",\r
1249         "xml": "<set>\n<parameter name=\"error-message\" value=\"Failed to persist self-serve pnf assignments during assign in MD-SAL\" />",\r
1250         "comments": "",\r
1251         "x": 2449.285758972168,\r
1252         "y": 2312.107021331787,\r
1253         "z": "37882b3b.b21224",\r
1254         "wires": []\r
1255     },\r
1256     {\r
1257         "id": "1d5ac87a.53fd58",\r
1258         "type": "block",\r
1259         "name": "block : atomic",\r
1260         "xml": "<block atomic='true'>",\r
1261         "atomic": "true",\r
1262         "comments": "",\r
1263         "outputs": 1,\r
1264         "x": 577.5000228881836,\r
1265         "y": 2105.142770767212,\r
1266         "z": "37882b3b.b21224",\r
1267         "wires": [\r
1268             [\r
1269                 "6ac25c2c.af1c14",\r
1270                 "cb3f6813.5ca268"\r
1271             ]\r
1272         ]\r
1273     },\r
1274     {\r
1275         "id": "cb3f6813.5ca268",\r
1276         "type": "break",\r
1277         "name": "break",\r
1278         "xml": "<break>\n",\r
1279         "comments": "",\r
1280         "x": 741.7857627868652,\r
1281         "y": 2481.4284267425537,\r
1282         "z": "37882b3b.b21224",\r
1283         "wires": []\r
1284     },\r
1285     {\r
1286         "id": "3e772b22.e1c734",\r
1287         "type": "success",\r
1288         "name": "success",\r
1289         "xml": "<outcome value='success'>\n",\r
1290         "comments": "",\r
1291         "outputs": 1,\r
1292         "x": 1517.5000228881836,\r
1293         "y": 2277.5000324249268,\r
1294         "z": "37882b3b.b21224",\r
1295         "wires": [\r
1296             [\r
1297                 "7440700b.da7e"\r
1298             ]\r
1299         ]\r
1300     },\r
1301     {\r
1302         "id": "7440700b.da7e",\r
1303         "type": "record",\r
1304         "name": "record",\r
1305         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"`'EXECUTION DONE: ' + $ss.capability-dg`\"/>\n\n",\r
1306         "comments": "",\r
1307         "outputs": 1,\r
1308         "x": 1661.2500228881836,\r
1309         "y": 2276.2500324249268,\r
1310         "z": "37882b3b.b21224",\r
1311         "wires": [\r
1312             []\r
1313         ]\r
1314     },\r
1315     {\r
1316         "id": "31272402.ad905c",\r
1317         "type": "record",\r
1318         "name": "record",\r
1319         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"DONE with pnf-ra-assigment\"/>\n\n",\r
1320         "comments": "",\r
1321         "outputs": 1,\r
1322         "x": 1054.1071319580078,\r
1323         "y": 1592.5000228881836,\r
1324         "z": "37882b3b.b21224",\r
1325         "wires": [\r
1326             []\r
1327         ]\r
1328     },\r
1329     {\r
1330         "id": "45a102ef.9c38fc",\r
1331         "type": "execute",\r
1332         "name": "execute PropertiesNode",\r
1333         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",\r
1334         "comments": "",\r
1335         "outputs": 1,\r
1336         "x": 817.5000381469727,\r
1337         "y": 1432.4286422729492,\r
1338         "z": "37882b3b.b21224",\r
1339         "wires": [\r
1340             []\r
1341         ]\r
1342     },\r
1343     {\r
1344         "id": "192a8a0a.311bd6",\r
1345         "type": "switchNode",\r
1346         "name": "switch prop.controller.user",\r
1347         "xml": "<switch test='`$prop.controller.user`'>\n",\r
1348         "comments": "",\r
1349         "outputs": 1,\r
1350         "x": 406.21427372523704,\r
1351         "y": 1432.8572630201065,\r
1352         "z": "37882b3b.b21224",\r
1353         "wires": [\r
1354             [\r
1355                 "98f24d4.445dfb"\r
1356             ]\r
1357         ]\r
1358     },\r
1359     {\r
1360         "id": "98f24d4.445dfb",\r
1361         "type": "failure",\r
1362         "name": "NULL",\r
1363         "xml": "<outcome value=''>\n",\r
1364         "comments": "",\r
1365         "outputs": 1,\r
1366         "x": 606.0713691711426,\r
1367         "y": 1432.428677558899,\r
1368         "z": "37882b3b.b21224",\r
1369         "wires": [\r
1370             [\r
1371                 "45a102ef.9c38fc"\r
1372             ]\r
1373         ]\r
1374     }\r
1375 ]