Integration test issues fix for sdwan and sotn
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_sdwan-attachment-topology-operation-create.json
1 [
2   {
3     "id": "44d87731.3a3c18",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 95.0000228881836,
8     "y": 25,
9     "z": "9c3e2040.51e8d",
10     "wires": [
11       [
12         "6fd2c371.0f81ec"
13       ]
14     ]
15   },
16   {
17     "id": "6fd2c371.0f81ec",
18     "type": "service-logic",
19     "name": "GENERIC-RESOURCE-API ${project.version}",
20     "module": "GENERIC-RESOURCE-API",
21     "version": "${project.version}",
22     "comments": "",
23     "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
24     "outputs": 1,
25     "x": 278.00002670288086,
26     "y": 99.00001811981201,
27     "z": "9c3e2040.51e8d",
28     "wires": [
29       [
30         "45f888b.a092e78"
31       ]
32     ]
33   },
34   {
35     "id": "45f888b.a092e78",
36     "type": "method",
37     "name": "sdwan-attachment-topology-operation-create",
38     "xml": "<method rpc='sdwan-attachment-topology-operation-create' mode='sync'>\n",
39     "comments": "",
40     "outputs": 1,
41     "x": 266.0001449584961,
42     "y": 187.00000095367432,
43     "z": "9c3e2040.51e8d",
44     "wires": [
45       [
46         "13d40907.770c77"
47       ]
48     ]
49   },
50   {
51     "id": "13d40907.770c77",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">\n",
55     "atomic": "false",
56     "comments": "",
57     "outputs": 1,
58     "x": 186.0000762939453,
59     "y": 936.0002489089966,
60     "z": "9c3e2040.51e8d",
61     "wires": [
62       [
63         "7bc4c8b1.1d9f68",
64         "9cf88721.96ba18",
65         "f2e620b.7ad45e",
66         "5cd475b4.e29f6c",
67         "e3b4ab98.b00c28",
68         "31146b5a.f96304",
69         "337b8132.75507e",
70         "33eb09e.c2f17f6",
71         "d6792827.57dcf8",
72         "145b2990.9f1986",
73         "e23f7239.d2c",
74         "c7cc4539.500a68",
75         "eae0ae19.16041",
76         "d8cd962c.832e98",
77         "81f242e0.4cfb8",
78         "a785b9fe.8e2b78",
79         "e1b91be4.687fd8",
80         "6d2b2eaf.a08e",
81         "55176b7b.204274",
82         "e7eec3f2.e0455",
83         "a8dc15.338363e8",
84         "3040fa3e.5fdf76",
85         "48507d03.0cfd24"
86       ]
87     ]
88   },
89   {
90     "id": "b682cccd.903f2",
91     "type": "comment",
92     "name": "Set allotted resource id if not sent by SO",
93     "info": "",
94     "comments": "",
95     "x": 670.076774597168,
96     "y": 96.43391990661621,
97     "z": "9c3e2040.51e8d",
98     "wires": []
99   },
100   {
101     "id": "7bc4c8b1.1d9f68",
102     "type": "switchNode",
103     "name": "switch allotted-resource-id",
104     "xml": "<switch test='`$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-id`'>\n",
105     "comments": "",
106     "outputs": 1,
107     "x": 616.0000534057617,
108     "y": 151.99999332427979,
109     "z": "9c3e2040.51e8d",
110     "wires": [
111       [
112         "576ebd26.f091e4",
113         "24a61a74.3f6846"
114       ]
115     ]
116   },
117   {
118     "id": "576ebd26.f091e4",
119     "type": "outcome",
120     "name": "NULL",
121     "xml": "<outcome value=''>",
122     "comments": "",
123     "outputs": 1,
124     "x": 814.0001411437988,
125     "y": 121.99998188018799,
126     "z": "9c3e2040.51e8d",
127     "wires": [
128       [
129         "3df307a8.733fb8"
130       ]
131     ]
132   },
133   {
134     "id": "24a61a74.3f6846",
135     "type": "other",
136     "name": "other",
137     "xml": "<outcome value='Other'>\n",
138     "comments": "",
139     "outputs": 1,
140     "x": 813.0000495910645,
141     "y": 158.99999237060547,
142     "z": "9c3e2040.51e8d",
143     "wires": [
144       [
145         "318df0c4.63f14"
146       ]
147     ]
148   },
149   {
150     "id": "318df0c4.63f14",
151     "type": "set",
152     "name": "set tmp.ar.allotted-resource-id",
153     "xml": "<set>\n<parameter name='tmp.ar.allotted-resource-id' value='`$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-id`' />\n",
154     "comments": "",
155     "x": 1011.0000381469727,
156     "y": 156.0000114440918,
157     "z": "9c3e2040.51e8d",
158     "wires": []
159   },
160   {
161     "id": "9cf88721.96ba18",
162     "type": "set",
163     "name": "set tmp.ar.self-link",
164     "xml": "<set>\n<parameter name='tmp.ar.self-link' value=\"`'restconf/config/GENERIC-RESOURCE-API:connection-attachment-allotted-resources/connection-attachment-allotted-resource/'\n + $tmp.ar.allotted-resource-id\n + '/allotted-resource-data/connection-attachment-topology/'` \" />\n\n",
165     "comments": "",
166     "x": 583.9999771118164,
167     "y": 373.0001001358032,
168     "z": "9c3e2040.51e8d",
169     "wires": []
170   },
171   {
172     "id": "f2e620b.7ad45e",
173     "type": "execute",
174     "name": "execute Properties",
175     "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",
176     "comments": "",
177     "outputs": 1,
178     "x": 584.2618942260742,
179     "y": 454.6667814254761,
180     "z": "9c3e2040.51e8d",
181     "wires": [
182       []
183     ]
184   },
185   {
186     "id": "5cd475b4.e29f6c",
187     "type": "execute",
188     "name": "generate allotted-resource tmp.ar-url",
189     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.connection-attachment-allottedresource`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ar-url\"/>\n    <parameter name=\"target\" value=\"{allotted-resource-id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.ar.allotted-resource-id`\"/>\n",
190     "comments": "",
191     "outputs": 1,
192     "x": 637.2619552612305,
193     "y": 541.6666994094849,
194     "z": "9c3e2040.51e8d",
195     "wires": [
196       []
197     ]
198   },
199   {
200     "id": "3df307a8.733fb8",
201     "type": "execute",
202     "name": "execute tmp.ar.allotted-resource-id",
203     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"tmp.ar.allotted-resource-id\"/>\n",
204     "comments": "",
205     "outputs": 1,
206     "x": 1029.0001182556152,
207     "y": 122.99998760223389,
208     "z": "9c3e2040.51e8d",
209     "wires": [
210       [
211         "4abca60e.39e308"
212       ]
213     ]
214   },
215   {
216     "id": "4abca60e.39e308",
217     "type": "failure",
218     "name": "failure",
219     "xml": "<outcome value='failure'>\n",
220     "comments": "",
221     "outputs": 1,
222     "x": 1247.0001602172852,
223     "y": 122.99995136260986,
224     "z": "9c3e2040.51e8d",
225     "wires": [
226       [
227         "99c3fe86.a7edc"
228       ]
229     ]
230   },
231   {
232     "id": "99c3fe86.a7edc",
233     "type": "returnFailure",
234     "name": "return failure",
235     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while generation allotted resource ID\" />\n",
236     "comments": "",
237     "x": 1413.000114440918,
238     "y": 122.99996566772461,
239     "z": "9c3e2040.51e8d",
240     "wires": []
241   },
242   {
243     "id": "4f647ff8.bc9ba",
244     "type": "success",
245     "name": "success",
246     "xml": "<outcome value='success'>\n",
247     "comments": "",
248     "outputs": 1,
249     "x": 1143.0002536773682,
250     "y": 613.7778720855713,
251     "z": "9c3e2040.51e8d",
252     "wires": [
253       [
254         "926c698b.647238"
255       ]
256     ]
257   },
258   {
259     "id": "b4b47003.957fd",
260     "type": "returnFailure",
261     "name": "return failure",
262     "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: Existing connection attachment allotted resource\" />\n    \n",
263     "comments": "",
264     "x": 1876.518632888794,
265     "y": 614.8439435958862,
266     "z": "9c3e2040.51e8d",
267     "wires": []
268   },
269   {
270     "id": "8e25385a.b2e448",
271     "type": "comment",
272     "name": "Check for non existence of allotted resource",
273     "info": "",
274     "comments": "",
275     "x": 999.0001754760742,
276     "y": 547.7779388427734,
277     "z": "9c3e2040.51e8d",
278     "wires": []
279   },
280   {
281     "id": "164faa8f.422405",
282     "type": "for",
283     "name": "for cidx..service-data.consumed-allotted-resources.consumed-allotted-resource[]",
284     "xml": "<for index='cidx' start='0' end='`$service-data.consumed-allotted-resources.consumed-allotted-resource_length`' >\n",
285     "comments": "",
286     "outputs": 1,
287     "x": 1519.6667213439941,
288     "y": 758.0000512599945,
289     "z": "9c3e2040.51e8d",
290     "wires": [
291       [
292         "82bdbd96.1528d"
293       ]
294     ]
295   },
296   {
297     "id": "31146b5a.f96304",
298     "type": "switchNode",
299     "name": "switch service-data.consumed-allotted-resources_length",
300     "xml": "<switch test='`$service-data.consumed-allotted-resources.consumed-allotted-resource_length`'>\n",
301     "comments": "",
302     "outputs": 1,
303     "x": 701.6660461425781,
304     "y": 734.7140836715698,
305     "z": "9c3e2040.51e8d",
306     "wires": [
307       [
308         "89e1b0e1.b280a",
309         "42609e0d.0b1fc"
310       ]
311     ]
312   },
313   {
314     "id": "89e1b0e1.b280a",
315     "type": "other",
316     "name": "outcome Null",
317     "xml": "<outcome value=''>\n",
318     "comments": "",
319     "outputs": 1,
320     "x": 1005.8089447021484,
321     "y": 703.5715208053589,
322     "z": "9c3e2040.51e8d",
323     "wires": [
324       [
325         "d2a66fcc.9de12"
326       ]
327     ]
328   },
329   {
330     "id": "42609e0d.0b1fc",
331     "type": "other",
332     "name": "other",
333     "xml": "<outcome value='Other'>\n",
334     "comments": "",
335     "outputs": 1,
336     "x": 982.8089942932129,
337     "y": 764.571475982666,
338     "z": "9c3e2040.51e8d",
339     "wires": [
340       [
341         "2a82891c.586b96"
342       ]
343     ]
344   },
345   {
346     "id": "2a82891c.586b96",
347     "type": "block",
348     "name": "block : atomic",
349     "xml": "<block atomic=\"true\">",
350     "atomic": "true",
351     "outputs": 1,
352     "x": 1142.9360847473145,
353     "y": 762.697452545166,
354     "z": "9c3e2040.51e8d",
355     "wires": [
356       [
357         "164faa8f.422405",
358         "6d36a6c.f47fa58",
359         "eedafcbb.09c83"
360       ]
361     ]
362   },
363   {
364     "id": "d2a66fcc.9de12",
365     "type": "set",
366     "name": "set cidx",
367     "xml": "<set>\n<parameter name='tmp.cidx' value=\"`0`\" />\n<parameter name='service-data.consumed-allotted-resources.consumed-allotted-resource_length' value=\"1\" />\n\n\n",
368     "comments": "",
369     "x": 1155.665927886963,
370     "y": 701.2855710983276,
371     "z": "9c3e2040.51e8d",
372     "wires": []
373   },
374   {
375     "id": "337b8132.75507e",
376     "type": "set",
377     "name": "set consumed allotted resources",
378     "xml": "<set>\n<parameter name='service-data.consumed-allotted-resources.consumed-allotted-resource[$tmp.cidx].allotted-resource-id' value=\"`$tmp.ar.allotted-resource-id` \" />\n<parameter name='service-data.consumed-allotted-resources.consumed-allotted-resource[$tmp.cidx].allotted-resource-type' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-type` \" />\n<parameter name='service-data.consumed-allotted-resources.consumed-allotted-resource[$tmp.cidx].allotted-resource-pointer' value=\"`$tmp.ar.self-link` \" />\n<parameter name='service-data.consumed-allotted-resources.consumed-allotted-resource_length' value='`$tmp.cidx + 1`' />\n\n",
379     "comments": "",
380     "x": 630.5233383178711,
381     "y": 838.2856483459473,
382     "z": "9c3e2040.51e8d",
383     "wires": []
384   },
385   {
386     "id": "6d36a6c.f47fa58",
387     "type": "switchNode",
388     "name": "switch tmp.found-cidx",
389     "xml": "<switch test='`$tmp.found-cidx`'>\n",
390     "comments": "",
391     "outputs": 1,
392     "x": 1332.0511322021484,
393     "y": 794.708975315094,
394     "z": "9c3e2040.51e8d",
395     "wires": [
396       [
397         "23de8d9f.e2dd32"
398       ]
399     ]
400   },
401   {
402     "id": "23de8d9f.e2dd32",
403     "type": "outcomeTrue",
404     "name": "false",
405     "xml": "<outcome value='false'>\n",
406     "comments": "",
407     "outputs": 1,
408     "x": 1522.0510864257812,
409     "y": 794.7089123725891,
410     "z": "9c3e2040.51e8d",
411     "wires": [
412       [
413         "64af2897.2703a8"
414       ]
415     ]
416   },
417   {
418     "id": "64af2897.2703a8",
419     "type": "block",
420     "name": "block : atomic",
421     "xml": "<block atomic=\"true\">",
422     "atomic": "true",
423     "outputs": 1,
424     "x": 1688.0510864257812,
425     "y": 794.7089123725891,
426     "z": "9c3e2040.51e8d",
427     "wires": [
428       [
429         "923cdb1e.68a888"
430       ]
431     ]
432   },
433   {
434     "id": "82bdbd96.1528d",
435     "type": "switchNode",
436     "name": "switch allotted-resource-id",
437     "xml": "<switch test=\"`$service-data.consumed-allotted-resources.consumed-allotted-resource[$cidx].allotted-resource-id == $tmp.ar.allotted-resource-id`\">\n\n",
438     "comments": "",
439     "outputs": 1,
440     "x": 1936.7783508300781,
441     "y": 755.000078201294,
442     "z": "9c3e2040.51e8d",
443     "wires": [
444       [
445         "87fbbf54.c1a56"
446       ]
447     ]
448   },
449   {
450     "id": "87fbbf54.c1a56",
451     "type": "outcomeTrue",
452     "name": "true",
453     "xml": "<outcome value='true'>\n",
454     "comments": "",
455     "outputs": 1,
456     "x": 2118.5879249572754,
457     "y": 755.4645252227783,
458     "z": "9c3e2040.51e8d",
459     "wires": [
460       [
461         "98cf5592.16f948"
462       ]
463     ]
464   },
465   {
466     "id": "923cdb1e.68a888",
467     "type": "set",
468     "name": "set tmp.cidx",
469     "xml": "<set>\n<parameter name='tmp.cidx' value='`$service-data.consumed-allotted-resources.consumed-allotted-resource_length`' />\n",
470     "comments": "",
471     "x": 1849.9244689941406,
472     "y": 794.2206134796143,
473     "z": "9c3e2040.51e8d",
474     "wires": []
475   },
476   {
477     "id": "b1e5bcf3.c8fd2",
478     "type": "comment",
479     "name": "Add to consumed service consumed-allotted-resources in mdsal",
480     "info": "Prepare data and add to service-data",
481     "comments": "",
482     "x": 722.6672592163086,
483     "y": 665.0000476837158,
484     "z": "9c3e2040.51e8d",
485     "wires": []
486   },
487   {
488     "id": "7a7522d7.8a362c",
489     "type": "comment",
490     "name": "This set resource will be added to MDSAL by provider code",
491     "info": "Below we add to service-data.consumed-allotted-resource at last index",
492     "comments": "",
493     "x": 710.0001754760742,
494     "y": 803.7781400680542,
495     "z": "9c3e2040.51e8d",
496     "wires": []
497   },
498   {
499     "id": "48507d03.0cfd24",
500     "type": "update",
501     "name": "save AAI allotted-resource",
502     "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"allotted-resource\" \n\t\tkey=\"customer.global-customer-id = $connection-attachment-topology-operation-input.service-information.global-customer-id AND\n\t\t\tservice-subscription.service-type = $connection-attachment-topology-operation-input.service-information.subscription-service-type AND\n\t\t\tservice-instance.service-instance-id = $connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id AND\n\t\t\tallotted-resource.id = $tmp.ar.allotted-resource-id\"\n        pfx='pfx' local-only='false' force='false'>\n    <parameter name=\"id\" value=\"`$tmp.ar.allotted-resource-id`\" />\n\t<parameter name=\"role\" value=\"`$prop.connection-attachment.role`\" />\t\n    <parameter name=\"vpn-name\" value=\"`$prop.connection-attachment.sdwanVpnName`\" />\n\t<parameter name=\"selflink\" value=\"`$tmp.ar.self-link`\" />\n\t<parameter name=\"model-invariant-id\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.model-invariant-uuid`\" />\n\t<parameter name=\"model-version-id\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.model-uuid`\" />\n\t<parameter name=\"operational-status\" value=\"Created\" />\n",
503     "comments": "",
504     "outputs": 1,
505     "x": 620.6908798217773,
506     "y": 1763.531904220581,
507     "z": "9c3e2040.51e8d",
508     "wires": [
509       [
510         "d0cb3ffb.0f22",
511         "8cbfcb17.5674d8"
512       ]
513     ]
514   },
515   {
516     "id": "d0cb3ffb.0f22",
517     "type": "failure",
518     "name": "failure",
519     "xml": "<outcome value='failure'>\n",
520     "comments": "",
521     "outputs": 1,
522     "x": 815.4528160095215,
523     "y": 1754.4845056533813,
524     "z": "9c3e2040.51e8d",
525     "wires": [
526       [
527         "551edb9d.a56dc4"
528       ]
529     ]
530   },
531   {
532     "id": "551edb9d.a56dc4",
533     "type": "returnFailure",
534     "name": "return failure",
535     "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=\"AAI failed\" />\n",
536     "comments": "",
537     "x": 981.9766960144043,
538     "y": 1766.1035766601562,
539     "z": "9c3e2040.51e8d",
540     "wires": []
541   },
542   {
543     "id": "8cbfcb17.5674d8",
544     "type": "failure",
545     "name": "not-found",
546     "xml": "<outcome value='not-found'>\n",
547     "comments": "",
548     "outputs": 1,
549     "x": 822.5481033325195,
550     "y": 1787.246473312378,
551     "z": "9c3e2040.51e8d",
552     "wires": [
553       [
554         "551edb9d.a56dc4"
555       ]
556     ]
557   },
558   {
559     "id": "7964b486.89bffc",
560     "type": "comment",
561     "name": "Save Resource to AAI",
562     "info": "",
563     "comments": "",
564     "x": 654.5005569458008,
565     "y": 1731.833875656128,
566     "z": "9c3e2040.51e8d",
567     "wires": []
568   },
569   {
570     "id": "24a443b3.cdd5dc",
571     "type": "comment",
572     "name": "Set allotted resource type if not sent by SO",
573     "info": "",
574     "comments": "",
575     "x": 656.0000228881836,
576     "y": 205.00000095367432,
577     "z": "9c3e2040.51e8d",
578     "wires": []
579   },
580   {
581     "id": "e3b4ab98.b00c28",
582     "type": "switchNode",
583     "name": "switch allotted-resource-type",
584     "xml": "<switch test='`$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-type`'>\n",
585     "comments": "",
586     "outputs": 1,
587     "x": 617.9233322143555,
588     "y": 245.5660572052002,
589     "z": "9c3e2040.51e8d",
590     "wires": [
591       [
592         "7cb47d8a.56e0d4",
593         "161c8b14.4822c5"
594       ]
595     ]
596   },
597   {
598     "id": "7cb47d8a.56e0d4",
599     "type": "outcome",
600     "name": "NULL",
601     "xml": "<outcome value=''>",
602     "comments": "",
603     "outputs": 1,
604     "x": 820.9234848022461,
605     "y": 230.56606006622314,
606     "z": "9c3e2040.51e8d",
607     "wires": [
608       [
609         "b02b0441.1428c8"
610       ]
611     ]
612   },
613   {
614     "id": "161c8b14.4822c5",
615     "type": "other",
616     "name": "other",
617     "xml": "<outcome value='Other'>\n",
618     "comments": "",
619     "outputs": 1,
620     "x": 813.9233131408691,
621     "y": 270.5660800933838,
622     "z": "9c3e2040.51e8d",
623     "wires": [
624       [
625         "40a66352.bcb05c"
626       ]
627     ]
628   },
629   {
630     "id": "40a66352.bcb05c",
631     "type": "set",
632     "name": "set tmp.ar.allotted-resource-type",
633     "xml": "<set>\n<parameter name='tmp.ar.allotted-resource-type' value='`$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-type`' />\n",
634     "comments": "",
635     "x": 1045.92329788208,
636     "y": 270.56608486175537,
637     "z": "9c3e2040.51e8d",
638     "wires": []
639   },
640   {
641     "id": "8a266541.a12688",
642     "type": "comment",
643     "name": "For storage in AAI connection-attachment-topology",
644     "info": "",
645     "comments": "",
646     "x": 680.9999847412109,
647     "y": 340.0000009536743,
648     "z": "9c3e2040.51e8d",
649     "wires": []
650   },
651   {
652     "id": "755897d2.b185f8",
653     "type": "comment",
654     "name": "Obtain different URL, template location etc",
655     "info": "For saving resource information to MDSAL & for AAI",
656     "comments": "",
657     "x": 655.9999694824219,
658     "y": 421.8889102935791,
659     "z": "9c3e2040.51e8d",
660     "wires": []
661   },
662   {
663     "id": "6815830a.cf38ec",
664     "type": "comment",
665     "name": "Used for Put AR by id to MDSAL",
666     "info": "",
667     "comments": "",
668     "x": 622.0000534057617,
669     "y": 510.8889274597168,
670     "z": "9c3e2040.51e8d",
671     "wires": []
672   },
673   {
674     "id": "6533f8ad.391638",
675     "type": "comment",
676     "name": "Obtain the last index in services",
677     "info": "ServiceData is added by Provider code",
678     "comments": "",
679     "x": 623.4444961547852,
680     "y": 696.8888721466064,
681     "z": "9c3e2040.51e8d",
682     "wires": []
683   },
684   {
685     "id": "55176b7b.204274",
686     "type": "set",
687     "name": "set output to api handler",
688     "xml": "<set>\n<parameter name='allotted-resource-id' value='`$tmp.ar.allotted-resource-id`' />\n<parameter name='connection-attachment-object-path' value=\"`$tmp.ar.self-link`\"/>\n<parameter name='service-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $connection-attachment-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n \n",
689     "comments": "",
690     "x": 606.2681655883789,
691     "y": 1670.359203338623,
692     "z": "9c3e2040.51e8d",
693     "wires": []
694   },
695   {
696     "id": "e7eec3f2.e0455",
697     "type": "returnSuccess",
698     "name": "return success",
699     "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
700     "comments": "",
701     "x": 574.6812515258789,
702     "y": 1832.9749298095703,
703     "z": "9c3e2040.51e8d",
704     "wires": []
705   },
706   {
707     "id": "b02b0441.1428c8",
708     "type": "set",
709     "name": "set tmp.ar.allotted-resource-type",
710     "xml": "<set>\n<parameter name='tmp.ar.allotted-resource-type' value=\"SDWANAttachmentInstance\" />\n",
711     "comments": "",
712     "x": 1060.000171661377,
713     "y": 230.99998664855957,
714     "z": "9c3e2040.51e8d",
715     "wires": []
716   },
717   {
718     "id": "6d2b2eaf.a08e",
719     "type": "execute",
720     "name": "execute RestApiCallNode - PUT AR by id",
721     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.sdwan-attachment.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-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-ar\" />\n\n",
722     "comments": "",
723     "outputs": 1,
724     "x": 657.0002975463867,
725     "y": 1604.00013256073,
726     "z": "9c3e2040.51e8d",
727     "wires": [
728       [
729         "2544cf2e.7797d",
730         "d0176f37.1631f",
731         "3214e8f5.c864c8"
732       ]
733     ]
734   },
735   {
736     "id": "2544cf2e.7797d",
737     "type": "not-found",
738     "name": "not-found",
739     "xml": "<outcome value='not-found'>\n",
740     "comments": "",
741     "outputs": 1,
742     "x": 906.6416511535645,
743     "y": 1642.3314628601074,
744     "z": "9c3e2040.51e8d",
745     "wires": [
746       [
747         "93bb925b.d10a9"
748       ]
749     ]
750   },
751   {
752     "id": "d0176f37.1631f",
753     "type": "failure",
754     "name": "failure",
755     "xml": "<outcome value='failure'>\n",
756     "comments": "",
757     "outputs": 1,
758     "x": 897.6417007446289,
759     "y": 1610.831488609314,
760     "z": "9c3e2040.51e8d",
761     "wires": [
762       [
763         "93bb925b.d10a9"
764       ]
765     ]
766   },
767   {
768     "id": "3214e8f5.c864c8",
769     "type": "success",
770     "name": "success",
771     "xml": "<outcome value='success'>\n",
772     "comments": "",
773     "outputs": 1,
774     "x": 901.3917388916016,
775     "y": 1581.1885934844613,
776     "z": "9c3e2040.51e8d",
777     "wires": [
778       [
779         "92a0c9d6.d7b8b8"
780       ]
781     ]
782   },
783   {
784     "id": "93bb925b.d10a9",
785     "type": "returnFailure",
786     "name": "return failure",
787     "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 updating md-sal for connection-attachment-allotted-resource\" />\n",
788     "comments": "",
789     "x": 1067.3917388916016,
790     "y": 1611.5815124511719,
791     "z": "9c3e2040.51e8d",
792     "wires": []
793   },
794   {
795     "id": "92a0c9d6.d7b8b8",
796     "type": "block",
797     "name": "block",
798     "xml": "<block>\n",
799     "atomic": "false",
800     "comments": "",
801     "outputs": 1,
802     "x": 1043.047706604004,
803     "y": 1577.3807626739144,
804     "z": "9c3e2040.51e8d",
805     "wires": [
806       []
807     ]
808   },
809   {
810     "id": "e23f7239.d2c",
811     "type": "execute",
812     "name": "execute RestApiCallNode - Update parent provided service AR",
813     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.parentsvc.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.parent-ar-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=\"parent\" />\n\n",
814     "comments": "",
815     "outputs": 1,
816     "x": 721.9999771118164,
817     "y": 1120.000165939331,
818     "z": "9c3e2040.51e8d",
819     "wires": [
820       [
821         "42d4726.f4b8f8c",
822         "fcb14e51.71cdd",
823         "ed9689dc.1ce198"
824       ]
825     ]
826   },
827   {
828     "id": "42d4726.f4b8f8c",
829     "type": "not-found",
830     "name": "not-found",
831     "xml": "<outcome value='not-found'>\n",
832     "comments": "",
833     "outputs": 1,
834     "x": 1030.3080368041992,
835     "y": 1151.998441696167,
836     "z": "9c3e2040.51e8d",
837     "wires": [
838       [
839         "91022749.be6058"
840       ]
841     ]
842   },
843   {
844     "id": "fcb14e51.71cdd",
845     "type": "failure",
846     "name": "failure",
847     "xml": "<outcome value='failure'>\n",
848     "comments": "",
849     "outputs": 1,
850     "x": 1021.3080863952637,
851     "y": 1120.4984674453735,
852     "z": "9c3e2040.51e8d",
853     "wires": [
854       [
855         "91022749.be6058"
856       ]
857     ]
858   },
859   {
860     "id": "ed9689dc.1ce198",
861     "type": "success",
862     "name": "success",
863     "xml": "<outcome value='success'>\n",
864     "comments": "",
865     "outputs": 1,
866     "x": 1025.0581245422363,
867     "y": 1090.8555723205209,
868     "z": "9c3e2040.51e8d",
869     "wires": [
870       [
871         "c35c0848.28fbf8"
872       ]
873     ]
874   },
875   {
876     "id": "91022749.be6058",
877     "type": "returnFailure",
878     "name": "return failure",
879     "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 updating md-sal for connection-attachment-allotted-resource\" />\n",
880     "comments": "",
881     "x": 1191.0581245422363,
882     "y": 1121.2484912872314,
883     "z": "9c3e2040.51e8d",
884     "wires": []
885   },
886   {
887     "id": "c35c0848.28fbf8",
888     "type": "block",
889     "name": "block",
890     "xml": "<block>\n",
891     "atomic": "false",
892     "comments": "",
893     "outputs": 1,
894     "x": 1166.7140922546387,
895     "y": 1087.047741509974,
896     "z": "9c3e2040.51e8d",
897     "wires": [
898       []
899     ]
900   },
901   {
902     "id": "bd46d511.3b0d08",
903     "type": "comment",
904     "name": "Put the parent allotted resource in mdsal",
905     "info": "",
906     "comments": "",
907     "x": 650.9999237060547,
908     "y": 1082.000072479248,
909     "z": "9c3e2040.51e8d",
910     "wires": []
911   },
912   {
913     "id": "eae0ae19.16041",
914     "type": "set",
915     "name": "set connection-attachment-ar-identifiers",
916     "xml": "<set>\n<parameter name='connection-attachment-ar-identifiers.consuming-service-instance-id' value=\"`$connection-attachment-topology-operation-input.service-information.service-instance-id` \" />\n<parameter name='connection-attachment-ar-identifiers.parent-service-instance-id' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id` \" />\n<parameter name='connection-attachment-ar-identifiers.allotted-resource-type' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-type` \" />\n<parameter name='connection-attachment-ar-identifiers.allotted-resource-id' value=\"`$tmp.ar.allotted-resource-id` \" />\n\n",
917     "comments": "",
918     "x": 647.3571090698242,
919     "y": 1284.5716915130615,
920     "z": "9c3e2040.51e8d",
921     "wires": []
922   },
923   {
924     "id": "c7cc4539.500a68",
925     "type": "set",
926     "name": "set ar-data",
927     "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-id' value=\"`$tmp.ar.allotted-resource-id` \" />\n<parameter name='connection-attachment-ar.allotted-resource-status.action' value=\"`$connection-attachment-topology-operation-input.request-information.request-action` \" />\n<parameter name='connection-attachment-ar.allotted-resource-status.rpc-name' value=\"connection-attachment-topology-operation\" />\n<parameter name='connection-attachment-ar.allotted-resource-status.rpc-action' value=\"`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.' value=\"`$connection-attachment-topology-operation-input.request-information.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.' value=\"`$connection-attachment-topology-operation-input.sdnc-request-header.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.service-information.' value=\"`$connection-attachment-topology-operation-input.service-information.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.' value=\"`$connection-attachment-topology-operation-input.connection-attachment-request-input.` \" />",
928     "comments": "",
929     "x": 567.2139358520508,
930     "y": 1252.381194114685,
931     "z": "9c3e2040.51e8d",
932     "wires": []
933   },
934   {
935     "id": "d8cd962c.832e98",
936     "type": "set",
937     "name": "set identifiers in overall structure",
938     "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.connection-attachment-topology.allotted-resource-identifiers.' \nvalue=\"`$connection-attachment-ar-identifiers.`\" />\n\n\n",
939     "comments": "",
940     "x": 626.1669082641602,
941     "y": 1318.6668767929077,
942     "z": "9c3e2040.51e8d",
943     "wires": []
944   },
945   {
946     "id": "81f242e0.4cfb8",
947     "type": "execute",
948     "name": "execute getTime",
949     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setTime' >\n    <parameter name=\"outputPath\" value=\"tmp.current-time\" />\n\n",
950     "comments": "",
951     "outputs": 1,
952     "x": 578.4997482299805,
953     "y": 1392.0004043579102,
954     "z": "9c3e2040.51e8d",
955     "wires": [
956       []
957     ]
958   },
959   {
960     "id": "a785b9fe.8e2b78",
961     "type": "set",
962     "name": "set allotted-resource-oper-status",
963     "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status' value='Created' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$connection-attachment-topology-operation-input.request-information.request-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-request-id`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.create-timestamp' value='`$tmp.current-time`' />\n",
964     "comments": "",
965     "x": 629.4867858886719,
966     "y": 1447.9516372680664,
967     "z": "9c3e2040.51e8d",
968     "wires": []
969   },
970   {
971     "id": "e1b91be4.687fd8",
972     "type": "set",
973     "name": "set model-data",
974     "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.connection-attachment-topology.onap-model-information.' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.` \" />",
975     "comments": "",
976     "x": 574.0554046630859,
977     "y": 1353.5557622909546,
978     "z": "9c3e2040.51e8d",
979     "wires": []
980   },
981   {
982     "id": "4b42ac54.3e0884",
983     "type": "comment",
984     "name": "Prepare data for allotted-resource addition to MDSAL",
985     "info": "This will add to allotted-resource which is present inside service.",
986     "comments": "",
987     "x": 691.3888931274414,
988     "y": 1218.5556087493896,
989     "z": "9c3e2040.51e8d",
990     "wires": []
991   },
992   {
993     "id": "145b2990.9f1986",
994     "type": "execute",
995     "name": "generate parent-ar url - replace allotted-resource-id",
996     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.parent-ar-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.parent-ar-url\"/>\n    <parameter name=\"target\" value=\"{allotted-resource-id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.ar.allotted-resource-id`\"/>\n",
997     "comments": "",
998     "outputs": 1,
999     "x": 686.5000381469727,
1000     "y": 1046.0000114440918,
1001     "z": "9c3e2040.51e8d",
1002     "wires": [
1003       []
1004     ]
1005   },
1006   {
1007     "id": "d6792827.57dcf8",
1008     "type": "execute",
1009     "name": "generate parent-ar url - replace service-instance-id",
1010     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.parent-provided-resource`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.parent-ar-url\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.ar.parent-service-instance-id`\"/>\n",
1011     "comments": "",
1012     "outputs": 1,
1013     "x": 682.4999618530273,
1014     "y": 1003.000147819519,
1015     "z": "9c3e2040.51e8d",
1016     "wires": [
1017       []
1018     ]
1019   },
1020   {
1021     "id": "78c9708b.d276a",
1022     "type": "comment",
1023     "name": "Prepare Parent AR URL",
1024     "info": "Preparation to set provided-allotted-resource in parent service instance",
1025     "comments": "",
1026     "x": 600.5004196166992,
1027     "y": 932.0001010894775,
1028     "z": "9c3e2040.51e8d",
1029     "wires": []
1030   },
1031   {
1032     "id": "33eb09e.c2f17f6",
1033     "type": "set",
1034     "name": "set tmp.ar.parent-service-instance-id",
1035     "xml": "<set>\n<parameter name='tmp.ar.parent-service-instance-id' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id` \" />\n\n",
1036     "comments": "",
1037     "x": 639.5002136230469,
1038     "y": 965.5000405311584,
1039     "z": "9c3e2040.51e8d",
1040     "wires": []
1041   },
1042   {
1043     "id": "98cf5592.16f948",
1044     "type": "returnFailure",
1045     "name": "return failure",
1046     "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 updating md-sal for connection-attachment-allotted-resource as cosumed allotted resource already exists.\" />\n",
1047     "comments": "",
1048     "x": 2196.756996154785,
1049     "y": 803.645830154419,
1050     "z": "9c3e2040.51e8d",
1051     "wires": []
1052   },
1053   {
1054     "id": "eedafcbb.09c83",
1055     "type": "set",
1056     "name": "set tmp.found-cidx",
1057     "xml": "<set>\n<parameter name='tmp.found-cidx' value=\"`false`\" />\n\n\n",
1058     "comments": "",
1059     "x": 1322.646167755127,
1060     "y": 715.3125731945038,
1061     "z": "9c3e2040.51e8d",
1062     "wires": []
1063   },
1064   {
1065     "id": "e5b4f922.408cd8",
1066     "type": "comment",
1067     "name": "Add to parent services provided-allotted-resources in mdsal",
1068     "info": "",
1069     "comments": "",
1070     "x": 711.201530456543,
1071     "y": 899.9792575836182,
1072     "z": "9c3e2040.51e8d",
1073     "wires": []
1074   },
1075   {
1076     "id": "367dfa87.13b4b6",
1077     "type": "comment",
1078     "name": "Add to allotted-resources in mdsal",
1079     "info": "",
1080     "comments": "",
1081     "x": 631.9687194824219,
1082     "y": 1185.9689378738403,
1083     "z": "9c3e2040.51e8d",
1084     "wires": []
1085   },
1086   {
1087     "id": "926c698b.647238",
1088     "type": "block",
1089     "name": "block: atomic",
1090     "xml": "<block atomic=\"true\">\n",
1091     "atomic": "false",
1092     "comments": "",
1093     "outputs": 1,
1094     "x": 1305.0000743865967,
1095     "y": 613.2777614593506,
1096     "z": "9c3e2040.51e8d",
1097     "wires": [
1098       [
1099         "34cda0a8.01ed1"
1100       ]
1101     ]
1102   },
1103   {
1104     "id": "34cda0a8.01ed1",
1105     "type": "switchNode",
1106     "name": "switch cr length",
1107     "xml": "<switch test='`$mdsal-ar.connection-attachment-allotted-resource_length`'>\n",
1108     "comments": "",
1109     "outputs": 1,
1110     "x": 1492.8574542999268,
1111     "y": 613.8968968391418,
1112     "z": "9c3e2040.51e8d",
1113     "wires": [
1114       [
1115         "4253f13d.3a8c2"
1116       ]
1117     ]
1118   },
1119   {
1120     "id": "4253f13d.3a8c2",
1121     "type": "other",
1122     "name": "outcome 1",
1123     "xml": "<outcome value='1'>\n",
1124     "comments": "",
1125     "outputs": 1,
1126     "x": 1692.1905765533447,
1127     "y": 613.896975517273,
1128     "z": "9c3e2040.51e8d",
1129     "wires": [
1130       [
1131         "b4b47003.957fd"
1132       ]
1133     ]
1134   },
1135   {
1136     "id": "a8dc15.338363e8",
1137     "type": "execute",
1138     "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",
1139     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-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='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n",
1140     "comments": "",
1141     "outputs": 1,
1142     "x": 777.0000762939453,
1143     "y": 608.0000371932983,
1144     "z": "9c3e2040.51e8d",
1145     "wires": [
1146       [
1147         "4f647ff8.bc9ba",
1148         "37dd5f16.a8f17"
1149       ]
1150     ]
1151   },
1152   {
1153     "id": "37dd5f16.a8f17",
1154     "type": "failure",
1155     "name": "failure",
1156     "xml": "<outcome value='failure'>\n",
1157     "comments": "",
1158     "outputs": 1,
1159     "x": 1145.0001068115234,
1160     "y": 578.0000352859497,
1161     "z": "9c3e2040.51e8d",
1162     "wires": [
1163       [
1164         "7fea5096.61664"
1165       ]
1166     ]
1167   },
1168   {
1169     "id": "7fea5096.61664",
1170     "type": "block",
1171     "name": "block",
1172     "xml": "<block>\n",
1173     "atomic": "false",
1174     "comments": "",
1175     "outputs": 1,
1176     "x": 1297.0001068115234,
1177     "y": 577.0000352859497,
1178     "z": "9c3e2040.51e8d",
1179     "wires": [
1180       []
1181     ]
1182   },
1183   {
1184     "id": "3040fa3e.5fdf76",
1185     "type": "block",
1186     "name": "block : atomic",
1187     "xml": "<block atomic=\"true\">",
1188     "atomic": "true",
1189     "outputs": 1,
1190     "x": 583.0039443969727,
1191     "y": 1523.2500038146973,
1192     "z": "9c3e2040.51e8d",
1193     "wires": [
1194       [
1195         "a477b468.1a1198",
1196         "df63659d.a31038"
1197       ]
1198     ]
1199   },
1200   {
1201     "id": "a477b468.1a1198",
1202     "type": "for",
1203     "name": "for each sdwan-get-request-input-param",
1204     "xml": "<for index='i' start='0' end='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param_length`' >\n",
1205     "comments": "",
1206     "outputs": 1,
1207     "x": 918.0041427612305,
1208     "y": 1469.2501260638237,
1209     "z": "9c3e2040.51e8d",
1210     "wires": [
1211       [
1212         "f75d6e3.e38f69"
1213       ]
1214     ]
1215   },
1216   {
1217     "id": "bcc416f0.2895c8",
1218     "type": "comment",
1219     "name": "Required for filling template values",
1220     "info": "This is done because connection-attachment is generic resource and doesn't have specific parameters",
1221     "comments": "",
1222     "x": 940.4486465454102,
1223     "y": 1503.0832867622375,
1224     "z": "9c3e2040.51e8d",
1225     "wires": []
1226   },
1227   {
1228     "id": "40c178cb.5bcab8",
1229     "type": "comment",
1230     "name": "Remove VNFC prefix",
1231     "info": "",
1232     "comments": "",
1233     "x": 1001.0039863586426,
1234     "y": 1425.6944618225098,
1235     "z": "9c3e2040.51e8d",
1236     "wires": []
1237   },
1238   {
1239     "id": "f75d6e3.e38f69",
1240     "type": "block",
1241     "name": "block : atomic",
1242     "xml": "<block atomic=\"true\">",
1243     "atomic": "true",
1244     "outputs": 1,
1245     "x": 1165.0039901733398,
1246     "y": 1470.6943712234497,
1247     "z": "9c3e2040.51e8d",
1248     "wires": [
1249       [
1250         "a64439d1.ae5a88",
1251         "3b97b61d.424c1a"
1252       ]
1253     ]
1254   },
1255   {
1256     "id": "9ddd821f.74043",
1257     "type": "comment",
1258     "name": "Take the parameter names by removing prefix",
1259     "info": "",
1260     "comments": "",
1261     "x": 1433.0038375854492,
1262     "y": 1386.250369310379,
1263     "z": "9c3e2040.51e8d",
1264     "wires": []
1265   },
1266   {
1267     "id": "a64439d1.ae5a88",
1268     "type": "execute",
1269     "name": "execute split parameterName",
1270     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$i].name`'/>\n<parameter name=\"regex\" value=\"_\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix\"/>\n",
1271     "comments": "",
1272     "outputs": 1,
1273     "x": 1384.0385055541992,
1274     "y": 1421.2294654846191,
1275     "z": "9c3e2040.51e8d",
1276     "wires": [
1277       []
1278     ]
1279   },
1280   {
1281     "id": "3b97b61d.424c1a",
1282     "type": "set",
1283     "name": "set parameterName",
1284     "xml": "<set>\n<parameter name=\"`connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$i].name`\" value='`$param-prefix[$param-prefix_length -1]`'/>\n",
1285     "comments": "",
1286     "x": 1372.4829788208008,
1287     "y": 1525.2294359207153,
1288     "z": "9c3e2040.51e8d",
1289     "wires": []
1290   },
1291   {
1292     "id": "df63659d.a31038",
1293     "type": "call",
1294     "name": "call GENERIC-RESOURCE-API:sdwan-get-saved-ar-param",
1295     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-saved-ar-param' mode='sync' >\n",
1296     "comments": "",
1297     "outputs": 1,
1298     "x": 959.0039901733398,
1299     "y": 1543.2500658035278,
1300     "z": "9c3e2040.51e8d",
1301     "wires": [
1302       []
1303     ]
1304   }
1305 ]