Allow sub directories for graphs
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / sdwan / GENERIC-RESOURCE-API_sdwan-attachment-topology-operation-create.json
1 [
2   {
3     "id": "ad2ef973.e6a378",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 131,
8     "y": 55,
9     "z": "77e7049e.a5a37c",
10     "wires": [
11       [
12         "151183ce.27c78c"
13       ]
14     ]
15   },
16   {
17     "id": "151183ce.27c78c",
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": 314.00000381469727,
26     "y": 129.000018119812,
27     "z": "77e7049e.a5a37c",
28     "wires": [
29       [
30         "89afc74f.956348"
31       ]
32     ]
33   },
34   {
35     "id": "89afc74f.956348",
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": 302.0001220703125,
42     "y": 217.00000095367432,
43     "z": "77e7049e.a5a37c",
44     "wires": [
45       [
46         "580de8c5.e06e78"
47       ]
48     ]
49   },
50   {
51     "id": "580de8c5.e06e78",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">\n",
55     "atomic": "false",
56     "comments": "",
57     "outputs": 1,
58     "x": 222.00005340576172,
59     "y": 966.0002489089966,
60     "z": "77e7049e.a5a37c",
61     "wires": [
62       [
63         "1fbb291d.155017",
64         "f8c6b86f.980db8",
65         "655b6d38.675514",
66         "87b8ca30.cf86e8",
67         "3718c342.00f4ac",
68         "3fc33b48.8d6bf4",
69         "15c0d821.288668",
70         "99b25b64.985da8",
71         "cc1d8a7e.c8e908",
72         "aec371b2.f4eb6",
73         "7c0d6a4c.141ba4",
74         "605ed84a.e90ef8",
75         "cf809c65.e205f",
76         "5ffc39de.e33178",
77         "b70e6d89.61807",
78         "2fe0bf35.0314b",
79         "4b90a515.ea737c",
80         "30825693.105b0a",
81         "a79587b.c624178",
82         "9d0211a4.58ce8",
83         "5c590a79.9e0264",
84         "adeabb6e.cf7758",
85         "7ee858c0.930c58"
86       ]
87     ]
88   },
89   {
90     "id": "74beb7.011b0148",
91     "type": "comment",
92     "name": "Set allotted resource id if not sent by SO",
93     "info": "",
94     "comments": "",
95     "x": 706.0767517089844,
96     "y": 126.43391990661621,
97     "z": "77e7049e.a5a37c",
98     "wires": []
99   },
100   {
101     "id": "1fbb291d.155017",
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": 652.0000305175781,
108     "y": 181.99999332427979,
109     "z": "77e7049e.a5a37c",
110     "wires": [
111       [
112         "4a85a033.b553c",
113         "de2e876a.0ba078"
114       ]
115     ]
116   },
117   {
118     "id": "4a85a033.b553c",
119     "type": "outcome",
120     "name": "NULL",
121     "xml": "<outcome value=''>",
122     "comments": "",
123     "outputs": 1,
124     "x": 850.0001182556152,
125     "y": 151.999981880188,
126     "z": "77e7049e.a5a37c",
127     "wires": [
128       [
129         "63eb9d84.765954"
130       ]
131     ]
132   },
133   {
134     "id": "de2e876a.0ba078",
135     "type": "other",
136     "name": "other",
137     "xml": "<outcome value='Other'>\n",
138     "comments": "",
139     "outputs": 1,
140     "x": 849.0000267028809,
141     "y": 188.99999237060547,
142     "z": "77e7049e.a5a37c",
143     "wires": [
144       [
145         "eef884cd.26a128"
146       ]
147     ]
148   },
149   {
150     "id": "eef884cd.26a128",
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": 1047.000015258789,
156     "y": 186.0000114440918,
157     "z": "77e7049e.a5a37c",
158     "wires": []
159   },
160   {
161     "id": "f8c6b86f.980db8",
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": 619.9999542236328,
167     "y": 403.0001001358032,
168     "z": "77e7049e.a5a37c",
169     "wires": []
170   },
171   {
172     "id": "655b6d38.675514",
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": 620.2618713378906,
179     "y": 484.6667814254761,
180     "z": "77e7049e.a5a37c",
181     "wires": [
182       []
183     ]
184   },
185   {
186     "id": "87b8ca30.cf86e8",
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": 673.2619323730469,
193     "y": 571.6666994094849,
194     "z": "77e7049e.a5a37c",
195     "wires": [
196       []
197     ]
198   },
199   {
200     "id": "63eb9d84.765954",
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": 1065.0000953674316,
207     "y": 152.9999876022339,
208     "z": "77e7049e.a5a37c",
209     "wires": [
210       [
211         "7fcc0333.e4b76c"
212       ]
213     ]
214   },
215   {
216     "id": "7fcc0333.e4b76c",
217     "type": "failure",
218     "name": "failure",
219     "xml": "<outcome value='failure'>\n",
220     "comments": "",
221     "outputs": 1,
222     "x": 1283.0001373291016,
223     "y": 152.99995136260986,
224     "z": "77e7049e.a5a37c",
225     "wires": [
226       [
227         "dc8faa82.0a80d8"
228       ]
229     ]
230   },
231   {
232     "id": "dc8faa82.0a80d8",
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": 1449.0000915527344,
238     "y": 152.9999656677246,
239     "z": "77e7049e.a5a37c",
240     "wires": []
241   },
242   {
243     "id": "83948a24.3af768",
244     "type": "success",
245     "name": "success",
246     "xml": "<outcome value='success'>\n",
247     "comments": "",
248     "outputs": 1,
249     "x": 1179.0002307891846,
250     "y": 643.7778720855713,
251     "z": "77e7049e.a5a37c",
252     "wires": [
253       [
254         "64a66d0e.2cab24"
255       ]
256     ]
257   },
258   {
259     "id": "fd6c452f.f52a18",
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": 1912.5186100006104,
265     "y": 644.8439435958862,
266     "z": "77e7049e.a5a37c",
267     "wires": []
268   },
269   {
270     "id": "df1c313d.a9cf4",
271     "type": "comment",
272     "name": "Check for non existence of allotted resource",
273     "info": "",
274     "comments": "",
275     "x": 1035.0001525878906,
276     "y": 577.7779388427734,
277     "z": "77e7049e.a5a37c",
278     "wires": []
279   },
280   {
281     "id": "3c6b3ac8.5f54b6",
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": 1555.6666984558105,
288     "y": 788.0000512599945,
289     "z": "77e7049e.a5a37c",
290     "wires": [
291       [
292         "e0e0a661.74b9e8"
293       ]
294     ]
295   },
296   {
297     "id": "3fc33b48.8d6bf4",
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": 737.6660232543945,
304     "y": 764.7140836715698,
305     "z": "77e7049e.a5a37c",
306     "wires": [
307       [
308         "98246edb.9d503",
309         "303d6837.0384d8"
310       ]
311     ]
312   },
313   {
314     "id": "98246edb.9d503",
315     "type": "other",
316     "name": "outcome Null",
317     "xml": "<outcome value=''>\n",
318     "comments": "",
319     "outputs": 1,
320     "x": 1041.8089218139648,
321     "y": 733.5715208053589,
322     "z": "77e7049e.a5a37c",
323     "wires": [
324       [
325         "1bc15eed.fd45b1"
326       ]
327     ]
328   },
329   {
330     "id": "303d6837.0384d8",
331     "type": "other",
332     "name": "other",
333     "xml": "<outcome value='Other'>\n",
334     "comments": "",
335     "outputs": 1,
336     "x": 1018.8089714050293,
337     "y": 794.571475982666,
338     "z": "77e7049e.a5a37c",
339     "wires": [
340       [
341         "b930de42.50a21"
342       ]
343     ]
344   },
345   {
346     "id": "b930de42.50a21",
347     "type": "block",
348     "name": "block : atomic",
349     "xml": "<block atomic=\"true\">",
350     "atomic": "true",
351     "outputs": 1,
352     "x": 1178.9360618591309,
353     "y": 792.697452545166,
354     "z": "77e7049e.a5a37c",
355     "wires": [
356       [
357         "3c6b3ac8.5f54b6",
358         "7d532296.0d9bfc",
359         "6dd5cf93.f0258"
360       ]
361     ]
362   },
363   {
364     "id": "1bc15eed.fd45b1",
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": 1191.6659049987793,
370     "y": 731.2855710983276,
371     "z": "77e7049e.a5a37c",
372     "wires": []
373   },
374   {
375     "id": "15c0d821.288668",
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": 666.5233154296875,
381     "y": 868.2856483459473,
382     "z": "77e7049e.a5a37c",
383     "wires": []
384   },
385   {
386     "id": "7d532296.0d9bfc",
387     "type": "switchNode",
388     "name": "switch tmp.found-cidx",
389     "xml": "<switch test='`$tmp.found-cidx`'>\n",
390     "comments": "",
391     "outputs": 1,
392     "x": 1368.0511093139648,
393     "y": 824.708975315094,
394     "z": "77e7049e.a5a37c",
395     "wires": [
396       [
397         "106270aa.e9c6ff"
398       ]
399     ]
400   },
401   {
402     "id": "106270aa.e9c6ff",
403     "type": "outcomeTrue",
404     "name": "false",
405     "xml": "<outcome value='false'>\n",
406     "comments": "",
407     "outputs": 1,
408     "x": 1558.0510635375977,
409     "y": 824.7089123725891,
410     "z": "77e7049e.a5a37c",
411     "wires": [
412       [
413         "e1144596.6d5ba8"
414       ]
415     ]
416   },
417   {
418     "id": "e1144596.6d5ba8",
419     "type": "block",
420     "name": "block : atomic",
421     "xml": "<block atomic=\"true\">",
422     "atomic": "true",
423     "outputs": 1,
424     "x": 1724.0510635375977,
425     "y": 824.7089123725891,
426     "z": "77e7049e.a5a37c",
427     "wires": [
428       [
429         "b93f3869.6459e8"
430       ]
431     ]
432   },
433   {
434     "id": "e0e0a661.74b9e8",
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": 1972.7783279418945,
441     "y": 785.000078201294,
442     "z": "77e7049e.a5a37c",
443     "wires": [
444       [
445         "326d00a0.76b6c"
446       ]
447     ]
448   },
449   {
450     "id": "326d00a0.76b6c",
451     "type": "outcomeTrue",
452     "name": "true",
453     "xml": "<outcome value='true'>\n",
454     "comments": "",
455     "outputs": 1,
456     "x": 2154.587902069092,
457     "y": 785.4645252227783,
458     "z": "77e7049e.a5a37c",
459     "wires": [
460       [
461         "cec76fbc.ec734"
462       ]
463     ]
464   },
465   {
466     "id": "b93f3869.6459e8",
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": 1885.924446105957,
472     "y": 824.2206134796143,
473     "z": "77e7049e.a5a37c",
474     "wires": []
475   },
476   {
477     "id": "9dc9afd9.071d8",
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": 758.667236328125,
483     "y": 695.0000476837158,
484     "z": "77e7049e.a5a37c",
485     "wires": []
486   },
487   {
488     "id": "79d72e28.e5bf",
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": 746.0001525878906,
494     "y": 833.7781400680542,
495     "z": "77e7049e.a5a37c",
496     "wires": []
497   },
498   {
499     "id": "7ee858c0.930c58",
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.service-information.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": 656.6908569335938,
506     "y": 1793.531904220581,
507     "z": "77e7049e.a5a37c",
508     "wires": [
509       [
510         "54e2f563.b3af5c",
511         "291816ed.18393a"
512       ]
513     ]
514   },
515   {
516     "id": "54e2f563.b3af5c",
517     "type": "failure",
518     "name": "failure",
519     "xml": "<outcome value='failure'>\n",
520     "comments": "",
521     "outputs": 1,
522     "x": 851.4527931213379,
523     "y": 1784.4845056533813,
524     "z": "77e7049e.a5a37c",
525     "wires": [
526       [
527         "a3778d99.3c015"
528       ]
529     ]
530   },
531   {
532     "id": "a3778d99.3c015",
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": 1017.9766731262207,
538     "y": 1796.1035766601562,
539     "z": "77e7049e.a5a37c",
540     "wires": []
541   },
542   {
543     "id": "291816ed.18393a",
544     "type": "failure",
545     "name": "not-found",
546     "xml": "<outcome value='not-found'>\n",
547     "comments": "",
548     "outputs": 1,
549     "x": 858.5480804443359,
550     "y": 1817.246473312378,
551     "z": "77e7049e.a5a37c",
552     "wires": [
553       [
554         "a3778d99.3c015"
555       ]
556     ]
557   },
558   {
559     "id": "ac365c56.4b2",
560     "type": "comment",
561     "name": "Save Resource to AAI",
562     "info": "",
563     "comments": "",
564     "x": 690.5005340576172,
565     "y": 1761.833875656128,
566     "z": "77e7049e.a5a37c",
567     "wires": []
568   },
569   {
570     "id": "81ef7e04.cd917",
571     "type": "comment",
572     "name": "Set allotted resource type if not sent by SO",
573     "info": "",
574     "comments": "",
575     "x": 692,
576     "y": 235.00000095367432,
577     "z": "77e7049e.a5a37c",
578     "wires": []
579   },
580   {
581     "id": "3718c342.00f4ac",
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": 653.9233093261719,
588     "y": 275.5660572052002,
589     "z": "77e7049e.a5a37c",
590     "wires": [
591       [
592         "64aa0e9c.b1d09",
593         "7800ea8d.a7f124"
594       ]
595     ]
596   },
597   {
598     "id": "64aa0e9c.b1d09",
599     "type": "outcome",
600     "name": "NULL",
601     "xml": "<outcome value=''>",
602     "comments": "",
603     "outputs": 1,
604     "x": 856.9234619140625,
605     "y": 260.56606006622314,
606     "z": "77e7049e.a5a37c",
607     "wires": [
608       [
609         "f530af4a.706e5"
610       ]
611     ]
612   },
613   {
614     "id": "7800ea8d.a7f124",
615     "type": "other",
616     "name": "other",
617     "xml": "<outcome value='Other'>\n",
618     "comments": "",
619     "outputs": 1,
620     "x": 849.9232902526855,
621     "y": 300.5660800933838,
622     "z": "77e7049e.a5a37c",
623     "wires": [
624       [
625         "7a986711.0ca2d8"
626       ]
627     ]
628   },
629   {
630     "id": "7a986711.0ca2d8",
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": 1081.9232749938965,
636     "y": 300.56608486175537,
637     "z": "77e7049e.a5a37c",
638     "wires": []
639   },
640   {
641     "id": "369cb772.706cb8",
642     "type": "comment",
643     "name": "For storage in AAI connection-attachment-topology",
644     "info": "",
645     "comments": "",
646     "x": 716.9999618530273,
647     "y": 370.0000009536743,
648     "z": "77e7049e.a5a37c",
649     "wires": []
650   },
651   {
652     "id": "492255d4.2adf4c",
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": 691.9999465942383,
658     "y": 451.8889102935791,
659     "z": "77e7049e.a5a37c",
660     "wires": []
661   },
662   {
663     "id": "ddea3893.c96cd8",
664     "type": "comment",
665     "name": "Used for Put AR by id to MDSAL",
666     "info": "",
667     "comments": "",
668     "x": 658.0000305175781,
669     "y": 540.8889274597168,
670     "z": "77e7049e.a5a37c",
671     "wires": []
672   },
673   {
674     "id": "a440e95e.3176f8",
675     "type": "comment",
676     "name": "Obtain the last index in services",
677     "info": "ServiceData is added by Provider code",
678     "comments": "",
679     "x": 659.4444732666016,
680     "y": 726.8888721466064,
681     "z": "77e7049e.a5a37c",
682     "wires": []
683   },
684   {
685     "id": "a79587b.c624178",
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": 642.2681427001953,
691     "y": 1700.359203338623,
692     "z": "77e7049e.a5a37c",
693     "wires": []
694   },
695   {
696     "id": "9d0211a4.58ce8",
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": 610.6812286376953,
702     "y": 1862.9749298095703,
703     "z": "77e7049e.a5a37c",
704     "wires": []
705   },
706   {
707     "id": "f530af4a.706e5",
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": 1096.0001487731934,
713     "y": 260.99998664855957,
714     "z": "77e7049e.a5a37c",
715     "wires": []
716   },
717   {
718     "id": "30825693.105b0a",
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": 693.0002746582031,
725     "y": 1634.00013256073,
726     "z": "77e7049e.a5a37c",
727     "wires": [
728       [
729         "7725804e.b7ea",
730         "ff126c78.d9f65",
731         "34ce7aa1.c96186"
732       ]
733     ]
734   },
735   {
736     "id": "7725804e.b7ea",
737     "type": "not-found",
738     "name": "not-found",
739     "xml": "<outcome value='not-found'>\n",
740     "comments": "",
741     "outputs": 1,
742     "x": 942.6416282653809,
743     "y": 1672.3314628601074,
744     "z": "77e7049e.a5a37c",
745     "wires": [
746       [
747         "d7cd6db2.d2286"
748       ]
749     ]
750   },
751   {
752     "id": "ff126c78.d9f65",
753     "type": "failure",
754     "name": "failure",
755     "xml": "<outcome value='failure'>\n",
756     "comments": "",
757     "outputs": 1,
758     "x": 933.6416778564453,
759     "y": 1640.831488609314,
760     "z": "77e7049e.a5a37c",
761     "wires": [
762       [
763         "d7cd6db2.d2286"
764       ]
765     ]
766   },
767   {
768     "id": "34ce7aa1.c96186",
769     "type": "success",
770     "name": "success",
771     "xml": "<outcome value='success'>\n",
772     "comments": "",
773     "outputs": 1,
774     "x": 937.391716003418,
775     "y": 1611.1885934844613,
776     "z": "77e7049e.a5a37c",
777     "wires": [
778       [
779         "6ccc24c6.03b4dc"
780       ]
781     ]
782   },
783   {
784     "id": "d7cd6db2.d2286",
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": 1103.391716003418,
790     "y": 1641.5815124511719,
791     "z": "77e7049e.a5a37c",
792     "wires": []
793   },
794   {
795     "id": "6ccc24c6.03b4dc",
796     "type": "block",
797     "name": "block",
798     "xml": "<block>\n",
799     "atomic": "false",
800     "comments": "",
801     "outputs": 1,
802     "x": 1079.0476837158203,
803     "y": 1607.3807626739144,
804     "z": "77e7049e.a5a37c",
805     "wires": [
806       []
807     ]
808   },
809   {
810     "id": "7c0d6a4c.141ba4",
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": 757.9999542236328,
817     "y": 1150.000165939331,
818     "z": "77e7049e.a5a37c",
819     "wires": [
820       [
821         "494a716e.866ba",
822         "227c3021.44dc4",
823         "ff8b452c.8d9bc8"
824       ]
825     ]
826   },
827   {
828     "id": "494a716e.866ba",
829     "type": "not-found",
830     "name": "not-found",
831     "xml": "<outcome value='not-found'>\n",
832     "comments": "",
833     "outputs": 1,
834     "x": 1066.3080139160156,
835     "y": 1181.998441696167,
836     "z": "77e7049e.a5a37c",
837     "wires": [
838       [
839         "aaeb645f.80fed8"
840       ]
841     ]
842   },
843   {
844     "id": "227c3021.44dc4",
845     "type": "failure",
846     "name": "failure",
847     "xml": "<outcome value='failure'>\n",
848     "comments": "",
849     "outputs": 1,
850     "x": 1057.30806350708,
851     "y": 1150.4984674453735,
852     "z": "77e7049e.a5a37c",
853     "wires": [
854       [
855         "aaeb645f.80fed8"
856       ]
857     ]
858   },
859   {
860     "id": "ff8b452c.8d9bc8",
861     "type": "success",
862     "name": "success",
863     "xml": "<outcome value='success'>\n",
864     "comments": "",
865     "outputs": 1,
866     "x": 1061.0581016540527,
867     "y": 1120.8555723205209,
868     "z": "77e7049e.a5a37c",
869     "wires": [
870       [
871         "74f3a310.0128fc"
872       ]
873     ]
874   },
875   {
876     "id": "aaeb645f.80fed8",
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": 1227.0581016540527,
882     "y": 1151.2484912872314,
883     "z": "77e7049e.a5a37c",
884     "wires": []
885   },
886   {
887     "id": "74f3a310.0128fc",
888     "type": "block",
889     "name": "block",
890     "xml": "<block>\n",
891     "atomic": "false",
892     "comments": "",
893     "outputs": 1,
894     "x": 1202.714069366455,
895     "y": 1117.047741509974,
896     "z": "77e7049e.a5a37c",
897     "wires": [
898       []
899     ]
900   },
901   {
902     "id": "9405156b.c649a8",
903     "type": "comment",
904     "name": "Put the parent allotted resource in mdsal",
905     "info": "",
906     "comments": "",
907     "x": 686.9999008178711,
908     "y": 1112.000072479248,
909     "z": "77e7049e.a5a37c",
910     "wires": []
911   },
912   {
913     "id": "cf809c65.e205f",
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": 683.3570861816406,
919     "y": 1314.5716915130615,
920     "z": "77e7049e.a5a37c",
921     "wires": []
922   },
923   {
924     "id": "605ed84a.e90ef8",
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": 603.2139129638672,
930     "y": 1282.381194114685,
931     "z": "77e7049e.a5a37c",
932     "wires": []
933   },
934   {
935     "id": "5ffc39de.e33178",
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": 662.1668853759766,
941     "y": 1348.6668767929077,
942     "z": "77e7049e.a5a37c",
943     "wires": []
944   },
945   {
946     "id": "b70e6d89.61807",
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": 614.4997253417969,
953     "y": 1422.0004043579102,
954     "z": "77e7049e.a5a37c",
955     "wires": [
956       []
957     ]
958   },
959   {
960     "id": "2fe0bf35.0314b",
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": 665.4867630004883,
966     "y": 1477.9516372680664,
967     "z": "77e7049e.a5a37c",
968     "wires": []
969   },
970   {
971     "id": "4b90a515.ea737c",
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": 610.0553817749023,
977     "y": 1383.5557622909546,
978     "z": "77e7049e.a5a37c",
979     "wires": []
980   },
981   {
982     "id": "a3fd3ef0.9cf2",
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": 727.3888702392578,
988     "y": 1248.5556087493896,
989     "z": "77e7049e.a5a37c",
990     "wires": []
991   },
992   {
993     "id": "aec371b2.f4eb6",
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": 722.5000152587891,
1000     "y": 1076.0000114440918,
1001     "z": "77e7049e.a5a37c",
1002     "wires": [
1003       []
1004     ]
1005   },
1006   {
1007     "id": "cc1d8a7e.c8e908",
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": 718.4999389648438,
1014     "y": 1033.000147819519,
1015     "z": "77e7049e.a5a37c",
1016     "wires": [
1017       []
1018     ]
1019   },
1020   {
1021     "id": "af622d17.e96e6",
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": 636.5003967285156,
1027     "y": 962.0001010894775,
1028     "z": "77e7049e.a5a37c",
1029     "wires": []
1030   },
1031   {
1032     "id": "99b25b64.985da8",
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": 675.5001907348633,
1038     "y": 995.5000405311584,
1039     "z": "77e7049e.a5a37c",
1040     "wires": []
1041   },
1042   {
1043     "id": "cec76fbc.ec734",
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": 2232.7569732666016,
1049     "y": 833.645830154419,
1050     "z": "77e7049e.a5a37c",
1051     "wires": []
1052   },
1053   {
1054     "id": "6dd5cf93.f0258",
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": 1358.6461448669434,
1060     "y": 745.3125731945038,
1061     "z": "77e7049e.a5a37c",
1062     "wires": []
1063   },
1064   {
1065     "id": "fcf58d3f.726c9",
1066     "type": "comment",
1067     "name": "Add to parent services provided-allotted-resources in mdsal",
1068     "info": "",
1069     "comments": "",
1070     "x": 747.2015075683594,
1071     "y": 929.9792575836182,
1072     "z": "77e7049e.a5a37c",
1073     "wires": []
1074   },
1075   {
1076     "id": "edb39741.2151b8",
1077     "type": "comment",
1078     "name": "Add to allotted-resources in mdsal",
1079     "info": "",
1080     "comments": "",
1081     "x": 667.9686965942383,
1082     "y": 1215.9689378738403,
1083     "z": "77e7049e.a5a37c",
1084     "wires": []
1085   },
1086   {
1087     "id": "64a66d0e.2cab24",
1088     "type": "block",
1089     "name": "block: atomic",
1090     "xml": "<block atomic=\"true\">\n",
1091     "atomic": "false",
1092     "comments": "",
1093     "outputs": 1,
1094     "x": 1341.000051498413,
1095     "y": 643.2777614593506,
1096     "z": "77e7049e.a5a37c",
1097     "wires": [
1098       [
1099         "c5b1dd9f.c626c"
1100       ]
1101     ]
1102   },
1103   {
1104     "id": "c5b1dd9f.c626c",
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": 1528.8574314117432,
1111     "y": 643.8968968391418,
1112     "z": "77e7049e.a5a37c",
1113     "wires": [
1114       [
1115         "dea64b0a.33d1a8"
1116       ]
1117     ]
1118   },
1119   {
1120     "id": "dea64b0a.33d1a8",
1121     "type": "other",
1122     "name": "outcome 1",
1123     "xml": "<outcome value='1'>\n",
1124     "comments": "",
1125     "outputs": 1,
1126     "x": 1728.1905536651611,
1127     "y": 643.896975517273,
1128     "z": "77e7049e.a5a37c",
1129     "wires": [
1130       [
1131         "fd6c452f.f52a18"
1132       ]
1133     ]
1134   },
1135   {
1136     "id": "5c590a79.9e0264",
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": 813.0000534057617,
1143     "y": 638.0000371932983,
1144     "z": "77e7049e.a5a37c",
1145     "wires": [
1146       [
1147         "83948a24.3af768",
1148         "a688402e.6a3a9"
1149       ]
1150     ]
1151   },
1152   {
1153     "id": "a688402e.6a3a9",
1154     "type": "failure",
1155     "name": "failure",
1156     "xml": "<outcome value='failure'>\n",
1157     "comments": "",
1158     "outputs": 1,
1159     "x": 1181.0000839233398,
1160     "y": 608.0000352859497,
1161     "z": "77e7049e.a5a37c",
1162     "wires": [
1163       [
1164         "a6697dc2.ce9f3"
1165       ]
1166     ]
1167   },
1168   {
1169     "id": "a6697dc2.ce9f3",
1170     "type": "block",
1171     "name": "block",
1172     "xml": "<block>\n",
1173     "atomic": "false",
1174     "comments": "",
1175     "outputs": 1,
1176     "x": 1333.0000839233398,
1177     "y": 607.0000352859497,
1178     "z": "77e7049e.a5a37c",
1179     "wires": [
1180       []
1181     ]
1182   },
1183   {
1184     "id": "adeabb6e.cf7758",
1185     "type": "block",
1186     "name": "block : atomic",
1187     "xml": "<block atomic=\"true\">",
1188     "atomic": "true",
1189     "outputs": 1,
1190     "x": 619.0039215087891,
1191     "y": 1553.2500038146973,
1192     "z": "77e7049e.a5a37c",
1193     "wires": [
1194       [
1195         "96f36120.1f9af",
1196         "6b505cd5.c78924"
1197       ]
1198     ]
1199   },
1200   {
1201     "id": "96f36120.1f9af",
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": 954.0041198730469,
1208     "y": 1499.2501260638237,
1209     "z": "77e7049e.a5a37c",
1210     "wires": [
1211       [
1212         "7401fe63.179e9"
1213       ]
1214     ]
1215   },
1216   {
1217     "id": "4e61fb49.c94114",
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": 976.4486236572266,
1223     "y": 1533.0832867622375,
1224     "z": "77e7049e.a5a37c",
1225     "wires": []
1226   },
1227   {
1228     "id": "d4660c0f.147f3",
1229     "type": "comment",
1230     "name": "Remove VNFC prefix",
1231     "info": "",
1232     "comments": "",
1233     "x": 1037.003963470459,
1234     "y": 1455.6944618225098,
1235     "z": "77e7049e.a5a37c",
1236     "wires": []
1237   },
1238   {
1239     "id": "7401fe63.179e9",
1240     "type": "block",
1241     "name": "block : atomic",
1242     "xml": "<block atomic=\"true\">",
1243     "atomic": "true",
1244     "outputs": 1,
1245     "x": 1201.0039672851562,
1246     "y": 1500.6943712234497,
1247     "z": "77e7049e.a5a37c",
1248     "wires": [
1249       [
1250         "6a638cf5.ebb554",
1251         "3e399a15.de4336"
1252       ]
1253     ]
1254   },
1255   {
1256     "id": "50ce4566.040d7c",
1257     "type": "comment",
1258     "name": "Take the parameter names by removing prefix",
1259     "info": "",
1260     "comments": "",
1261     "x": 1469.0038146972656,
1262     "y": 1416.250369310379,
1263     "z": "77e7049e.a5a37c",
1264     "wires": []
1265   },
1266   {
1267     "id": "6a638cf5.ebb554",
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": 1420.0384826660156,
1274     "y": 1451.2294654846191,
1275     "z": "77e7049e.a5a37c",
1276     "wires": [
1277       []
1278     ]
1279   },
1280   {
1281     "id": "3e399a15.de4336",
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": 1408.4829559326172,
1287     "y": 1555.2294359207153,
1288     "z": "77e7049e.a5a37c",
1289     "wires": []
1290   },
1291   {
1292     "id": "6b505cd5.c78924",
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": 995.0039672851562,
1299     "y": 1573.2500658035278,
1300     "z": "77e7049e.a5a37c",
1301     "wires": [
1302       []
1303     ]
1304   }
1305 ]