Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / sdwan / GENERIC-RESOURCE-API_sdwan-vf-topology-operation-zte-activate.json
1 [
2     {
3         "id": "38ad5ef3.8fa5c2",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 137.00390625,
8         "y": 125.00390625,
9         "z": "bf8d58e2.6e6ac8",
10         "wires": [
11             [
12                 "59b2f037.b79a4"
13             ]
14         ]
15     },
16     {
17         "id": "59b2f037.b79a4",
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": 349.00391006469727,
26         "y": 197.0039234161377,
27         "z": "bf8d58e2.6e6ac8",
28         "wires": [
29             [
30                 "7aa0bfba.98463"
31             ]
32         ]
33     },
34     {
35         "id": "7aa0bfba.98463",
36         "type": "method",
37         "name": "wan-connection-topology-operation-activate",
38         "xml": "<method rpc='wan-connection-topology-operation-activate' mode='sync'>\n",
39         "comments": "",
40         "outputs": 1,
41         "x": 337.0040283203125,
42         "y": 285.00390625,
43         "z": "bf8d58e2.6e6ac8",
44         "wires": [
45             [
46                 "5fa21447.0f651c"
47             ]
48         ]
49     },
50     {
51         "id": "ac6656dd.35a3c8",
52         "type": "execute",
53         "name": "execute Properties",
54         "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",
55         "comments": "",
56         "outputs": 1,
57         "x": 587.0045166015625,
58         "y": 473.0041103363037,
59         "z": "bf8d58e2.6e6ac8",
60         "wires": [
61             []
62         ]
63     },
64     {
65         "id": "5eafccd5.5cff74",
66         "type": "returnSuccess",
67         "name": "return success",
68         "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",
69         "comments": "",
70         "x": 890.0041275024414,
71         "y": 2205.004325866699,
72         "z": "bf8d58e2.6e6ac8",
73         "wires": []
74     },
75     {
76         "id": "77d24866.f3a848",
77         "type": "block",
78         "name": "general-activate-block : atomic",
79         "xml": "<block atomic=\"true\">",
80         "atomic": "true",
81         "comments": "",
82         "outputs": 1,
83         "x": 731.5041828155518,
84         "y": 1920.0041402578354,
85         "z": "bf8d58e2.6e6ac8",
86         "wires": [
87             [
88                 "5eafccd5.5cff74",
89                 "664ad94.da0ee28",
90                 "4329fb4d.2499b4",
91                 "d6f9dbf2.6a98d8"
92             ]
93         ]
94     },
95     {
96         "id": "4329fb4d.2499b4",
97         "type": "for",
98         "name": "for cxid..network-topology-operation-input.network-request-input.network-input-parameters.param[]",
99         "xml": "<for index='cxid' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n",
100         "comments": "",
101         "outputs": 1,
102         "x": 1545.003984451294,
103         "y": 2037.0041707754135,
104         "z": "bf8d58e2.6e6ac8",
105         "wires": [
106             [
107                 "a7a35b54.a22968"
108             ]
109         ]
110     },
111     {
112         "id": "d6f9dbf2.6a98d8",
113         "type": "execute",
114         "name": "execute RestApiCallNode Create wan-connection",
115         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$tmp.templateFileName`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + $tmp.restapiUrl`\" />\n<parameter name=\"restapiUser\" value=\"admin\" />\n<parameter name=\"restapiPassword\" value=\"admin\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"restApi-result\"/>",
116         "comments": "",
117         "outputs": 1,
118         "x": 1571.2540397644043,
119         "y": 2591.0043576955795,
120         "z": "bf8d58e2.6e6ac8",
121         "wires": [
122             [
123                 "baab7187.80f6b",
124                 "1ff9ce75.2238b2",
125                 "2afc86f8.6d0eca"
126             ]
127         ]
128     },
129     {
130         "id": "6c80438c.95e70c",
131         "type": "outcomeTrue",
132         "name": "true",
133         "xml": "<outcome value='true'>\n",
134         "comments": "",
135         "outputs": 1,
136         "x": 1870.254409790039,
137         "y": 2141.0045127868652,
138         "z": "bf8d58e2.6e6ac8",
139         "wires": [
140             [
141                 "5cacbb75.a9b194"
142             ]
143         ]
144     },
145     {
146         "id": "5cacbb75.a9b194",
147         "type": "set",
148         "name": "set tmp.templateFileName",
149         "xml": "<set>\n<parameter name='tmp.templateFileName' value=\"`$prop.restapi.templateDir + '/' + $network-topology-operation-input.network-request-input.network-input-parameters.param[$cxid].value`\" />\n<parameter name='tmp.templateFileName-found' value='true' />",
150         "comments": "",
151         "x": 2227.2544174194336,
152         "y": 2144.004379630089,
153         "z": "bf8d58e2.6e6ac8",
154         "wires": []
155     },
156     {
157         "id": "664ad94.da0ee28",
158         "type": "set",
159         "name": "set paras flags",
160         "xml": "<set>\n<parameter name='tmp.restapiUrl-found' value='false' />\n<parameter name='tmp.restapiUser-found' value='false' />\n<parameter name='tmp.restapiPassword-found' value='false' />\n<parameter name='tmp.templateFileName-found' value='false' />\n<parameter name='tmp.thirdPartyAdaptorRpc-found' value='false' />",
161         "comments": "",
162         "x": 1332.0041522979736,
163         "y": 1952.0041679143906,
164         "z": "bf8d58e2.6e6ac8",
165         "wires": []
166     },
167     {
168         "id": "2afc86f8.6d0eca",
169         "type": "not-found",
170         "name": "not-found",
171         "xml": "<outcome value='not-found'>\n",
172         "comments": "",
173         "outputs": 1,
174         "x": 1901.0104637145996,
175         "y": 2626.343449950218,
176         "z": "bf8d58e2.6e6ac8",
177         "wires": [
178             [
179                 "c3e0d84f.772da8"
180             ]
181         ]
182     },
183     {
184         "id": "1ff9ce75.2238b2",
185         "type": "failure",
186         "name": "failure",
187         "xml": "<outcome value='failure'>\n",
188         "comments": "",
189         "outputs": 1,
190         "x": 1892.010513305664,
191         "y": 2594.8434756994247,
192         "z": "bf8d58e2.6e6ac8",
193         "wires": [
194             [
195                 "c3e0d84f.772da8"
196             ]
197         ]
198     },
199     {
200         "id": "baab7187.80f6b",
201         "type": "success",
202         "name": "success",
203         "xml": "<outcome value='success'>\n",
204         "comments": "",
205         "outputs": 1,
206         "x": 1895.7605514526367,
207         "y": 2565.200580574572,
208         "z": "bf8d58e2.6e6ac8",
209         "wires": [
210             [
211                 "195471ac.565dfe"
212             ]
213         ]
214     },
215     {
216         "id": "c3e0d84f.772da8",
217         "type": "returnFailure",
218         "name": "return failure",
219         "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 calling ' + $tmp.restapiUrl`\" />\n",
220         "comments": "",
221         "x": 2058.7605781555176,
222         "y": 2611.593548178673,
223         "z": "bf8d58e2.6e6ac8",
224         "wires": []
225     },
226     {
227         "id": "5fa21447.0f651c",
228         "type": "execute",
229         "name": "contains specification",
230         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n    <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n    <parameter name=\"target\" value=\"specification\"/>\n",
231         "comments": "",
232         "outputs": 1,
233         "x": 234.00385665893555,
234         "y": 407.00773561000824,
235         "z": "bf8d58e2.6e6ac8",
236         "wires": [
237             [
238                 "709657dc.92cf68",
239                 "9f362f1a.3252f"
240             ]
241         ]
242     },
243     {
244         "id": "709657dc.92cf68",
245         "type": "outcomeTrue",
246         "name": "true",
247         "xml": "<outcome value='true'>\n",
248         "comments": "",
249         "outputs": 1,
250         "x": 470.00389099121094,
251         "y": 405.00772750377655,
252         "z": "bf8d58e2.6e6ac8",
253         "wires": [
254             [
255                 "a54c999.f509368"
256             ]
257         ]
258     },
259     {
260         "id": "9f362f1a.3252f",
261         "type": "outcomeTrue",
262         "name": "false",
263         "xml": "<outcome value='false'>\n",
264         "comments": "",
265         "outputs": 1,
266         "x": 173.00394439697266,
267         "y": 630.007900595665,
268         "z": "bf8d58e2.6e6ac8",
269         "wires": [
270             [
271                 "34f92a60.a00a16"
272             ]
273         ]
274     },
275     {
276         "id": "43ec8f53.27728",
277         "type": "execute",
278         "name": "contains Fc",
279         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n    <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n    <parameter name=\"target\" value=\"Fc\"/>\n",
280         "comments": "",
281         "outputs": 1,
282         "x": 504.00395584106445,
283         "y": 714.0078290700912,
284         "z": "bf8d58e2.6e6ac8",
285         "wires": [
286             [
287                 "99a5ce.39d8fa3",
288                 "9aeabbf6.e3e4e8"
289             ]
290         ]
291     },
292     {
293         "id": "9aeabbf6.e3e4e8",
294         "type": "outcomeTrue",
295         "name": "false",
296         "xml": "<outcome value='false'>\n",
297         "comments": "",
298         "outputs": 1,
299         "x": 149.00393295288086,
300         "y": 1062.0079015493393,
301         "z": "bf8d58e2.6e6ac8",
302         "wires": [
303             [
304                 "3c9043b1.35740c"
305             ]
306         ]
307     },
308     {
309         "id": "3c9043b1.35740c",
310         "type": "execute",
311         "name": "contains Fd",
312         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n    <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n    <parameter name=\"target\" value=\"Fd\"/>\n",
313         "comments": "",
314         "outputs": 1,
315         "x": 358.00392150878906,
316         "y": 1058.0078800916672,
317         "z": "bf8d58e2.6e6ac8",
318         "wires": [
319             [
320                 "371cd5ef.c2eb7a",
321                 "e569686f.faece8"
322             ]
323         ]
324     },
325     {
326         "id": "e569686f.faece8",
327         "type": "outcomeTrue",
328         "name": "false",
329         "xml": "<outcome value='false'>\n",
330         "comments": "",
331         "outputs": 1,
332         "x": 140.97263717651367,
333         "y": 1133.9765380620956,
334         "z": "bf8d58e2.6e6ac8",
335         "wires": [
336             [
337                 "cbe73854.eea6a8"
338             ]
339         ]
340     },
341     {
342         "id": "cbe73854.eea6a8",
343         "type": "execute",
344         "name": "contains FcPort",
345         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n    <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n    <parameter name=\"target\" value=\"FcPort\"/>\n",
346         "comments": "",
347         "outputs": 1,
348         "x": 349.97262954711914,
349         "y": 1130.9765666723251,
350         "z": "bf8d58e2.6e6ac8",
351         "wires": [
352             [
353                 "8253886a.5043b8",
354                 "aae3e74c.32cb78"
355             ]
356         ]
357     },
358     {
359         "id": "99a5ce.39d8fa3",
360         "type": "outcomeTrue",
361         "name": "true",
362         "xml": "<outcome value='true'>\n",
363         "comments": "",
364         "outputs": 1,
365         "x": 686.0039596557617,
366         "y": 715.0078123807907,
367         "z": "bf8d58e2.6e6ac8",
368         "wires": [
369             [
370                 "6cad7750.ad59e8"
371             ]
372         ]
373     },
374     {
375         "id": "371cd5ef.c2eb7a",
376         "type": "outcomeTrue",
377         "name": "true",
378         "xml": "<outcome value='true'>\n",
379         "comments": "",
380         "outputs": 1,
381         "x": 930.0040893554688,
382         "y": 1060.008066534996,
383         "z": "bf8d58e2.6e6ac8",
384         "wires": [
385             [
386                 "77d24866.f3a848"
387             ]
388         ]
389     },
390     {
391         "id": "8253886a.5043b8",
392         "type": "outcomeTrue",
393         "name": "true",
394         "xml": "<outcome value='true'>\n",
395         "comments": "",
396         "outputs": 1,
397         "x": 544.972713470459,
398         "y": 1132.976599097252,
399         "z": "bf8d58e2.6e6ac8",
400         "wires": [
401             [
402                 "19d89423.0a7e6c"
403             ]
404         ]
405     },
406     {
407         "id": "aae3e74c.32cb78",
408         "type": "outcomeTrue",
409         "name": "false",
410         "xml": "<outcome value='false'>\n",
411         "comments": "",
412         "outputs": 1,
413         "x": 102.00405883789062,
414         "y": 1375.0081828832626,
415         "z": "bf8d58e2.6e6ac8",
416         "wires": [
417             [
418                 "7c4d10db.fc2b"
419             ]
420         ]
421     },
422     {
423         "id": "7c4d10db.fc2b",
424         "type": "block",
425         "name": "block",
426         "xml": "<block>\n",
427         "atomic": "false",
428         "comments": "",
429         "outputs": 1,
430         "x": 389.9727592468262,
431         "y": 1373.9769405126572,
432         "z": "bf8d58e2.6e6ac8",
433         "wires": [
434             [
435                 "1370131a.38495d"
436             ]
437         ]
438     },
439     {
440         "id": "a54c999.f509368",
441         "type": "returnSuccess",
442         "name": "return success",
443         "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",
444         "comments": "",
445         "x": 734.0312538146973,
446         "y": 401.03510224819183,
447         "z": "bf8d58e2.6e6ac8",
448         "wires": []
449     },
450     {
451         "id": "1370131a.38495d",
452         "type": "returnSuccess",
453         "name": "return success",
454         "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",
455         "comments": "",
456         "x": 597.0313987731934,
457         "y": 1371.0353931188583,
458         "z": "bf8d58e2.6e6ac8",
459         "wires": []
460     },
461     {
462         "id": "19d89423.0a7e6c",
463         "type": "execute",
464         "name": "contains sitewan",
465         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n    <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n    <parameter name=\"target\" value=\"sitewan\"/>\n",
466         "comments": "",
467         "outputs": 1,
468         "x": 738.0002174377441,
469         "y": 1134.004186987877,
470         "z": "bf8d58e2.6e6ac8",
471         "wires": [
472             [
473                 "ba88f958.08aa68",
474                 "38c06fa8.7d4cc"
475             ]
476         ]
477     },
478     {
479         "id": "ba88f958.08aa68",
480         "type": "outcomeTrue",
481         "name": "true",
482         "xml": "<outcome value='true'>\n",
483         "comments": "",
484         "outputs": 1,
485         "x": 933.000301361084,
486         "y": 1136.0042194128036,
487         "z": "bf8d58e2.6e6ac8",
488         "wires": [
489             [
490                 "77d24866.f3a848"
491             ]
492         ]
493     },
494     {
495         "id": "38c06fa8.7d4cc",
496         "type": "outcomeTrue",
497         "name": "false",
498         "xml": "<outcome value='false'>\n",
499         "comments": "",
500         "outputs": 1,
501         "x": 486.00010681152344,
502         "y": 1288.0040343999863,
503         "z": "bf8d58e2.6e6ac8",
504         "wires": [
505             [
506                 "7c4d10db.fc2b"
507             ]
508         ]
509     },
510     {
511         "id": "d3d5931c.c4f83",
512         "type": "outcomeTrue",
513         "name": "true",
514         "xml": "<outcome value='true'>\n",
515         "comments": "",
516         "outputs": 1,
517         "x": 1396.754035949707,
518         "y": 901.0077877044678,
519         "z": "bf8d58e2.6e6ac8",
520         "wires": [
521             [
522                 "3636527d.52348e"
523             ]
524         ]
525     },
526     {
527         "id": "8ea3d7d7.febac8",
528         "type": "outcomeTrue",
529         "name": "false",
530         "xml": "<outcome value='false'>\n",
531         "comments": "",
532         "outputs": 1,
533         "x": 925.7541236877441,
534         "y": 1003.0078510046005,
535         "z": "bf8d58e2.6e6ac8",
536         "wires": [
537             [
538                 "77d24866.f3a848"
539             ]
540         ]
541     },
542     {
543         "id": "5e27888.9f8f978",
544         "type": "for",
545         "name": "for sIdx..service-data.networks.network[]",
546         "xml": "<for index='sIdx' start='0' end='`$service-data.networks.network_length`' >\n",
547         "comments": "",
548         "outputs": 1,
549         "x": 2097.0320587158203,
550         "y": 662.035418510437,
551         "z": "bf8d58e2.6e6ac8",
552         "wires": [
553             [
554                 "d2e8a0ee.5213c"
555             ]
556         ]
557     },
558     {
559         "id": "1d6c0cc0.95f1c3",
560         "type": "outcomeTrue",
561         "name": "true",
562         "xml": "<outcome value='true'>\n",
563         "comments": "",
564         "outputs": 1,
565         "x": 2506.0320625305176,
566         "y": 702.0355480909348,
567         "z": "bf8d58e2.6e6ac8",
568         "wires": [
569             [
570                 "16926ebd.1ab8f1"
571             ]
572         ]
573     },
574     {
575         "id": "ee4ec835.0a0ae8",
576         "type": "set",
577         "name": "set tmp.pidx and tmp.network-input-parameters",
578         "xml": "<set>\n<parameter name='tmp.sotnFcPortList[`$sotnFcPortListLength`]' value='`$sIdx`' />",
579         "comments": "",
580         "x": 2955.6514015197754,
581         "y": 501.46492528915405,
582         "z": "bf8d58e2.6e6ac8",
583         "wires": []
584     },
585     {
586         "id": "d2e8a0ee.5213c",
587         "type": "execute",
588         "name": "contains sotn",
589         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n    <parameter name=\"source\" value=\"`$service-data.networks.network[$sIdx].network-data.network-information.onap-model-information.model-name`\"/>\n    <parameter name=\"target\" value=\"sotn\"/>\n",
590         "comments": "",
591         "outputs": 1,
592         "x": 2343.0319786071777,
593         "y": 703.0354298353195,
594         "z": "bf8d58e2.6e6ac8",
595         "wires": [
596             [
597                 "1d6c0cc0.95f1c3"
598             ]
599         ]
600     },
601     {
602         "id": "16926ebd.1ab8f1",
603         "type": "execute",
604         "name": "contains FcPort",
605         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n    <parameter name=\"source\" value=\"`$service-data.networks.network[$sIdx].network-data.network-information.onap-model-information.model-name`\"/>\n    <parameter name=\"target\" value=\"FcPort\"/>\n",
606         "comments": "",
607         "outputs": 1,
608         "x": 2347.031940460205,
609         "y": 757.0356148481369,
610         "z": "bf8d58e2.6e6ac8",
611         "wires": [
612             [
613                 "2ec05a20.11a5f6"
614             ]
615         ]
616     },
617     {
618         "id": "34f92a60.a00a16",
619         "type": "block",
620         "name": "block : atomic",
621         "xml": "<block atomic=\"true\">",
622         "atomic": "true",
623         "outputs": 1,
624         "x": 336.0313186645508,
625         "y": 632.0351232290268,
626         "z": "bf8d58e2.6e6ac8",
627         "wires": [
628             [
629                 "43ec8f53.27728",
630                 "ac6656dd.35a3c8"
631             ]
632         ]
633     },
634     {
635         "id": "2ec05a20.11a5f6",
636         "type": "outcomeTrue",
637         "name": "true",
638         "xml": "<outcome value='true'>\n",
639         "comments": "",
640         "outputs": 1,
641         "x": 2515.0318641662598,
642         "y": 754.0354546308517,
643         "z": "bf8d58e2.6e6ac8",
644         "wires": [
645             [
646                 "6ea2fca7.3f57a4"
647             ]
648         ]
649     },
650     {
651         "id": "e089d5c4.b1a808",
652         "type": "block",
653         "name": "find-sotn-fc-port-block : atomic",
654         "xml": "<block atomic=\"true\">",
655         "atomic": "true",
656         "comments": "",
657         "outputs": 1,
658         "x": 1730.031837463379,
659         "y": 712.0354261398315,
660         "z": "bf8d58e2.6e6ac8",
661         "wires": [
662             [
663                 "5e27888.9f8f978",
664                 "df34ef29.a5514"
665             ]
666         ]
667     },
668     {
669         "id": "df34ef29.a5514",
670         "type": "set",
671         "name": "set sotnFcPortListLength",
672         "xml": "<set>\n<parameter name='sotnFcPortListLength' value='0' />",
673         "comments": "",
674         "x": 2013.031509399414,
675         "y": 569.0353946685791,
676         "z": "bf8d58e2.6e6ac8",
677         "wires": []
678     },
679     {
680         "id": "6ea2fca7.3f57a4",
681         "type": "block",
682         "name": "find-OOF-input-block : atomic",
683         "xml": "<block atomic=\"true\">",
684         "atomic": "true",
685         "comments": "",
686         "outputs": 1,
687         "x": 2393.5318031311035,
688         "y": 808.0353444814682,
689         "z": "bf8d58e2.6e6ac8",
690         "wires": [
691             [
692                 "ee4ec835.0a0ae8",
693                 "4b280a8d.8f4424"
694             ]
695         ]
696     },
697     {
698         "id": "4b280a8d.8f4424",
699         "type": "for",
700         "name": "for sIdx..network-input-parameters[]",
701         "xml": "<for index='paramIdx' start='0' end='`$service-data.networks.network[$sIdx].network-data.network-request-input.network-input-parameters.param_length`' >\n",
702         "comments": "",
703         "outputs": 1,
704         "x": 2931.0315895080566,
705         "y": 553.0354828834534,
706         "z": "bf8d58e2.6e6ac8",
707         "wires": [
708             [
709                 "85f3cbde.7dcb88"
710             ]
711         ]
712     },
713     {
714         "id": "85f3cbde.7dcb88",
715         "type": "execute",
716         "name": "contains address",
717         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n    <parameter name=\"source\" value=\"`$service-data.networks.network[$sIdx].network-data.network-request-input.network-input-parameters.param[$paramIdx].name`\"/>\n    <parameter name=\"target\" value=\"address\"/>\n",
718         "comments": "",
719         "outputs": 1,
720         "x": 2899.5314979553223,
721         "y": 606.0353150367737,
722         "z": "bf8d58e2.6e6ac8",
723         "wires": [
724             [
725                 "31f133f3.99bbfc"
726             ]
727         ]
728     },
729     {
730         "id": "31f133f3.99bbfc",
731         "type": "outcomeTrue",
732         "name": "true",
733         "xml": "<outcome value='true'>\n",
734         "comments": "",
735         "outputs": 1,
736         "x": 3081.5316200256348,
737         "y": 606.0353150367737,
738         "z": "bf8d58e2.6e6ac8",
739         "wires": [
740             [
741                 "9b1feb51.adf0c8"
742             ]
743         ]
744     },
745     {
746         "id": "67728772.5b2df8",
747         "type": "set",
748         "name": "set sotnFcPortAddress",
749         "xml": "<set>\n<parameter name='sotnFcPortAddress' value='`$service-data.networks.network[$sIdx].network-data.network-request-input.network-input-parameters.param[$paramIdx].value`' />",
750         "comments": "",
751         "x": 3139.5330810546875,
752         "y": 719.0357418060303,
753         "z": "bf8d58e2.6e6ac8",
754         "wires": []
755     },
756     {
757         "id": "9b1feb51.adf0c8",
758         "type": "block",
759         "name": "get-OOF-input-block : atomic",
760         "xml": "<block atomic=\"true\">",
761         "atomic": "true",
762         "comments": "",
763         "outputs": 1,
764         "x": 2948.531650543213,
765         "y": 664.0354866981506,
766         "z": "bf8d58e2.6e6ac8",
767         "wires": [
768             [
769                 "67728772.5b2df8",
770                 "23bb424d.0bfdfe"
771             ]
772         ]
773     },
774     {
775         "id": "f6db23cd.84a15",
776         "type": "success",
777         "name": "success",
778         "xml": "<outcome value='success'>\n",
779         "comments": "",
780         "outputs": 1,
781         "x": 3164.0326957702637,
782         "y": 841.0352597236633,
783         "z": "bf8d58e2.6e6ac8",
784         "wires": [
785             [
786                 "3bfbe626.42a93a"
787             ]
788         ]
789     },
790     {
791         "id": "23bb424d.0bfdfe",
792         "type": "execute",
793         "name": "execute RestApiCallNode - get access Tp from OSS",
794         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value=\"`$prop.oss.url + '/oss/inventory?location=' + $sotnFcPortAddress`\"/>\n    <parameter name='format' value='json' />\n    <parameter name='customHttpHeaders' value=\"X-FromAppId=MSO\" />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"temp.oss.accessTPs\" />\n\n",
795         "comments": "",
796         "outputs": 1,
797         "x": 3261.0316200256348,
798         "y": 778.0351929664612,
799         "z": "bf8d58e2.6e6ac8",
800         "wires": [
801             [
802                 "f6db23cd.84a15"
803             ]
804         ]
805     },
806     {
807         "id": "3bfbe626.42a93a",
808         "type": "switchNode",
809         "name": "switch temp.oss.accessTPs_length",
810         "xml": "<switch test=\"`$temp.oss.accessTPs_length`\">\n",
811         "comments": "",
812         "outputs": 1,
813         "x": 3460.0318031311035,
814         "y": 840.0351700782776,
815         "z": "bf8d58e2.6e6ac8",
816         "wires": [
817             [
818                 "62442e7c.6f486"
819             ]
820         ]
821     },
822     {
823         "id": "62442e7c.6f486",
824         "type": "other",
825         "name": "other",
826         "xml": "<outcome value='Other'>\n",
827         "comments": "",
828         "outputs": 1,
829         "x": 3724.533073425293,
830         "y": 839.0354471206665,
831         "z": "bf8d58e2.6e6ac8",
832         "wires": [
833             [
834                 "29a2d036.e5fea"
835             ]
836         ]
837     },
838     {
839         "id": "2ce2f873.7ccbc8",
840         "type": "set",
841         "name": "set temp.accessTPs_length",
842         "xml": "<set>\n<parameter name='temp.accessTPs_length' value='`$temp.accessTPs_length + $temp.oss.accessTPs_length`' />\n\n",
843         "comments": "",
844         "x": 3670.032699584961,
845         "y": 1105.031608581543,
846         "z": "bf8d58e2.6e6ac8",
847         "wires": []
848     },
849     {
850         "id": "29a2d036.e5fea",
851         "type": "block",
852         "name": "copy-accessTPs-block : atomic",
853         "xml": "<block atomic=\"true\">",
854         "atomic": "true",
855         "comments": "",
856         "outputs": 1,
857         "x": 3324.7810668945312,
858         "y": 928.0308704376221,
859         "z": "bf8d58e2.6e6ac8",
860         "wires": [
861             [
862                 "2ce2f873.7ccbc8",
863                 "b0f47160.ab83c",
864                 "7275b121.376d5"
865             ]
866         ]
867     },
868     {
869         "id": "b0f47160.ab83c",
870         "type": "switchNode",
871         "name": "switch temp.accessTPs_length",
872         "xml": "<switch test='`$temp.accessTPs_length`'>\n",
873         "comments": "",
874         "outputs": 1,
875         "x": 3708.531021118164,
876         "y": 930.030707359314,
877         "z": "bf8d58e2.6e6ac8",
878         "wires": [
879             [
880                 "e57f314e.d692f",
881                 "7eb00f9f.b7ba5"
882             ]
883         ]
884     },
885     {
886         "id": "e57f314e.d692f",
887         "type": "other",
888         "name": "Null",
889         "xml": "<outcome value=''>\n",
890         "comments": "",
891         "outputs": 1,
892         "x": 3934.5308723449707,
893         "y": 905.0306348800659,
894         "z": "bf8d58e2.6e6ac8",
895         "wires": [
896             [
897                 "d1909b4c.2dada8"
898             ]
899         ]
900     },
901     {
902         "id": "d1909b4c.2dada8",
903         "type": "set",
904         "name": "set tp_length",
905         "xml": "<set>\n<parameter name='tp_length' value='0' />",
906         "comments": "",
907         "x": 4121.030708312988,
908         "y": 903.0306406314485,
909         "z": "bf8d58e2.6e6ac8",
910         "wires": []
911     },
912     {
913         "id": "7eb00f9f.b7ba5",
914         "type": "other",
915         "name": "other",
916         "xml": "<outcome value='Other'>\n",
917         "comments": "",
918         "outputs": 1,
919         "x": 3930.5308380126953,
920         "y": 960.0306806564331,
921         "z": "bf8d58e2.6e6ac8",
922         "wires": [
923             [
924                 "666d9674.3fd3a8"
925             ]
926         ]
927     },
928     {
929         "id": "666d9674.3fd3a8",
930         "type": "set",
931         "name": "set tp_length",
932         "xml": "<set>\n<parameter name='tp_length' value='`$temp.accessTPs_length`' />",
933         "comments": "",
934         "x": 4119.280776977539,
935         "y": 960.030665397644,
936         "z": "bf8d58e2.6e6ac8",
937         "wires": []
938     },
939     {
940         "id": "7275b121.376d5",
941         "type": "for",
942         "name": "for each existing temp.oss.accessTPs",
943         "xml": "<for index='idx' start='0' end='`$temp.oss.accessTPs_length`' >\n",
944         "comments": "",
945         "outputs": 1,
946         "x": 3710.281463623047,
947         "y": 1028.0308122634888,
948         "z": "bf8d58e2.6e6ac8",
949         "wires": [
950             [
951                 "f2dec21b.c72d"
952             ]
953         ]
954     },
955     {
956         "id": "f2dec21b.c72d",
957         "type": "set",
958         "name": "set temp.accessTPs",
959         "xml": "<set>\n<parameter name='`temp.accessTPs[$idx + $tp_length].`' value='`$temp.oss.accessTPs[$idx].`' />",
960         "comments": "",
961         "x": 4078.2813568115234,
962         "y": 1029.0309600830078,
963         "z": "bf8d58e2.6e6ac8",
964         "wires": []
965     },
966     {
967         "id": "3636527d.52348e",
968         "type": "block",
969         "name": "block",
970         "xml": "<block>\n",
971         "atomic": "false",
972         "comments": "",
973         "outputs": 1,
974         "x": 1544.0314102172852,
975         "y": 896.0351066589355,
976         "z": "bf8d58e2.6e6ac8",
977         "wires": [
978             [
979                 "e089d5c4.b1a808",
980                 "aa30b2cc.32af1"
981             ]
982         ]
983     },
984     {
985         "id": "3a7071f1.30ce3e",
986         "type": "execute",
987         "name": "execute RestApiCallNode getPath from OOF",
988         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.oof-getpath.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.oof.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.oof.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
989         "comments": "",
990         "outputs": 1,
991         "x": 1548.5318412780762,
992         "y": 1610.0354380607605,
993         "z": "bf8d58e2.6e6ac8",
994         "wires": [
995             [
996                 "13c8c509.8dd28b",
997                 "d0803760.a3cf48"
998             ]
999         ]
1000     },
1001     {
1002         "id": "d0803760.a3cf48",
1003         "type": "failure",
1004         "name": "failure",
1005         "xml": "<outcome value='failure'>\n",
1006         "comments": "",
1007         "outputs": 1,
1008         "x": 1877.531494140625,
1009         "y": 1590.035505771637,
1010         "z": "bf8d58e2.6e6ac8",
1011         "wires": [
1012             []
1013         ]
1014     },
1015     {
1016         "id": "13c8c509.8dd28b",
1017         "type": "success",
1018         "name": "success",
1019         "xml": "<outcome value='success'>\n",
1020         "comments": "",
1021         "outputs": 1,
1022         "x": 1878.5317077636719,
1023         "y": 1641.035415172577,
1024         "z": "bf8d58e2.6e6ac8",
1025         "wires": [
1026             [
1027                 "647a1bd3.ca5bb4"
1028             ]
1029         ]
1030     },
1031     {
1032         "id": "aa30b2cc.32af1",
1033         "type": "switchNode",
1034         "name": "switch temp.accessTPs_length",
1035         "xml": "<switch test=\"`$temp.accessTPs_length >= 2`\">\n\n",
1036         "comments": "",
1037         "outputs": 1,
1038         "x": 1610.531307220459,
1039         "y": 1105.0352524518967,
1040         "z": "bf8d58e2.6e6ac8",
1041         "wires": [
1042             [
1043                 "dd0c2e67.02d53"
1044             ]
1045         ]
1046     },
1047     {
1048         "id": "dd0c2e67.02d53",
1049         "type": "outcomeTrue",
1050         "name": "true",
1051         "xml": "<outcome value='true'>\n",
1052         "comments": "",
1053         "outputs": 1,
1054         "x": 1842.0316047668457,
1055         "y": 1104.0350989103317,
1056         "z": "bf8d58e2.6e6ac8",
1057         "wires": [
1058             [
1059                 "975483b1.3fe1f"
1060             ]
1061         ]
1062     },
1063     {
1064         "id": "975483b1.3fe1f",
1065         "type": "block",
1066         "name": "call-oof-block : atomic",
1067         "xml": "<block atomic=\"true\">",
1068         "atomic": "true",
1069         "comments": "",
1070         "outputs": 1,
1071         "x": 1586.0312538146973,
1072         "y": 1241.0351589918137,
1073         "z": "bf8d58e2.6e6ac8",
1074         "wires": [
1075             [
1076                 "3a7071f1.30ce3e",
1077                 "f56f577d.f30698",
1078                 "faa82de3.2bc5b"
1079             ]
1080         ]
1081     },
1082     {
1083         "id": "f56f577d.f30698",
1084         "type": "set",
1085         "name": "set oof input",
1086         "xml": "<set>\n<parameter name='prop.connection-attachment.access-topology-id' value='`$temp.accessTPs[0].access-topology-id`' />\n<parameter name='prop.connection-attachment.access-client-id' value='`$temp.accessTPs[0].access-client-id`' />\n<parameter name='prop.connection-attachment.access-provider-id' value='`$temp.accessTPs[0].access-provider-id`' />\n<parameter name='prop.connection-attachment.access-node-id' value='`$temp.accessTPs[0].access-node-id`' />\n<parameter name='prop.connection-attachment.access-ltp-id' value='`$temp.accessTPs[0].access-ltp-id`' />\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$temp.accessTPs[1].access-topology-id`' />\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$temp.accessTPs[1].access-client-id`' />\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$temp.accessTPs[1].access-provider-id`' />\n<parameter name='prop.remote.connection-attachment.access-node-id' value='`$temp.accessTPs[1].access-node-id`' />\n<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$temp.accessTPs[1].access-ltp-id`' />",
1087         "comments": "",
1088         "x": 2102.5313720703125,
1089         "y": 1111.03515625,
1090         "z": "bf8d58e2.6e6ac8",
1091         "wires": []
1092     },
1093     {
1094         "id": "577d8def.47c664",
1095         "type": "execute",
1096         "name": "execute RestApiCallNode Create Sotn connectivity Service",
1097         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-api-ConnectivityService.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ZTE-API-ConnectivityService:create-connectivity-service'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
1098         "comments": "",
1099         "outputs": 1,
1100         "x": 2601.666748046875,
1101         "y": 1967.0040283203125,
1102         "z": "bf8d58e2.6e6ac8",
1103         "wires": [
1104             [
1105                 "ee1d8114.03821",
1106                 "b2f48c23.dba01"
1107             ]
1108         ]
1109     },
1110     {
1111         "id": "ee1d8114.03821",
1112         "type": "success",
1113         "name": "success",
1114         "xml": "<outcome value='success'>\n",
1115         "comments": "",
1116         "outputs": 1,
1117         "x": 2939.6665649414062,
1118         "y": 1997.0041117668152,
1119         "z": "bf8d58e2.6e6ac8",
1120         "wires": [
1121             [
1122                 "225012e1.339dde"
1123             ]
1124         ]
1125     },
1126     {
1127         "id": "225012e1.339dde",
1128         "type": "block",
1129         "name": "block : atomic",
1130         "xml": "<block atomic=\"true\">",
1131         "atomic": "true",
1132         "comments": "",
1133         "outputs": 1,
1134         "x": 3087.6665649414062,
1135         "y": 1995.0039896965027,
1136         "z": "bf8d58e2.6e6ac8",
1137         "wires": [
1138             []
1139         ]
1140     },
1141     {
1142         "id": "e1714d35.f44de",
1143         "type": "returnFailure",
1144         "name": "return failure",
1145         "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 executing Create vpn rest api\" />\n",
1146         "comments": "",
1147         "x": 3069.6665954589844,
1148         "y": 1942.0040497779846,
1149         "z": "bf8d58e2.6e6ac8",
1150         "wires": []
1151     },
1152     {
1153         "id": "b2f48c23.dba01",
1154         "type": "failure",
1155         "name": "failure",
1156         "xml": "<outcome value='failure'>\n",
1157         "comments": "",
1158         "outputs": 1,
1159         "x": 2930.66650390625,
1160         "y": 1942.0040497779846,
1161         "z": "bf8d58e2.6e6ac8",
1162         "wires": [
1163             [
1164                 "e1714d35.f44de"
1165             ]
1166         ]
1167     },
1168     {
1169         "id": "647a1bd3.ca5bb4",
1170         "type": "for",
1171         "name": "for vidx..oof.vpns_length[]",
1172         "xml": "<for index='vidx' start='0' end='`$oof.vpns_length`' >",
1173         "comments": "",
1174         "outputs": 1,
1175         "x": 2179.670364379883,
1176         "y": 1655.5075135231018,
1177         "z": "bf8d58e2.6e6ac8",
1178         "wires": [
1179             [
1180                 "b3bf31fb.d8cd7"
1181             ]
1182         ]
1183     },
1184     {
1185         "id": "b3bf31fb.d8cd7",
1186         "type": "block",
1187         "name": "block : atomic",
1188         "xml": "<block atomic=\"true\">",
1189         "atomic": "true",
1190         "outputs": 1,
1191         "x": 2292.787727355957,
1192         "y": 1755.3475284576416,
1193         "z": "bf8d58e2.6e6ac8",
1194         "wires": [
1195             [
1196                 "5cceda35.f10fe4",
1197                 "c8f650af.4d42d",
1198                 "577d8def.47c664",
1199                 "588a3880.b8be48"
1200             ]
1201         ]
1202     },
1203     {
1204         "id": "25bd092e.03a776",
1205         "type": "set",
1206         "name": "set controller data",
1207         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n",
1208         "comments": "",
1209         "x": 2934.232391357422,
1210         "y": 1819.6807208061218,
1211         "z": "bf8d58e2.6e6ac8",
1212         "wires": []
1213     },
1214     {
1215         "id": "c8f650af.4d42d",
1216         "type": "get-resource",
1217         "name": "get-resource esr-thirdparty-sdnc",
1218         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.thirdparty-sdnc-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
1219         "comments": "",
1220         "outputs": 1,
1221         "x": 2550.7322998046875,
1222         "y": 1856.6806602478027,
1223         "z": "bf8d58e2.6e6ac8",
1224         "wires": [
1225             [
1226                 "379812a3.1c00ce",
1227                 "18c2cc8d.f57b93",
1228                 "2e629d58.9a59a2"
1229             ]
1230         ]
1231     },
1232     {
1233         "id": "379812a3.1c00ce",
1234         "type": "success",
1235         "name": "success",
1236         "xml": "<outcome value='success'>\n",
1237         "comments": "",
1238         "outputs": 1,
1239         "x": 2770.732234954834,
1240         "y": 1820.6806292533875,
1241         "z": "bf8d58e2.6e6ac8",
1242         "wires": [
1243             [
1244                 "25bd092e.03a776"
1245             ]
1246         ]
1247     },
1248     {
1249         "id": "18c2cc8d.f57b93",
1250         "type": "not-found",
1251         "name": "not-found",
1252         "xml": "<outcome value='not-found'>\n",
1253         "comments": "",
1254         "outputs": 1,
1255         "x": 2780.223175048828,
1256         "y": 1861.254635334015,
1257         "z": "bf8d58e2.6e6ac8",
1258         "wires": [
1259             [
1260                 "e998ff2.0c21a"
1261             ]
1262         ]
1263     },
1264     {
1265         "id": "2e629d58.9a59a2",
1266         "type": "other",
1267         "name": "other",
1268         "xml": "<outcome value='Other'>\n",
1269         "comments": "",
1270         "outputs": 1,
1271         "x": 2775.55615234375,
1272         "y": 1897.5879483222961,
1273         "z": "bf8d58e2.6e6ac8",
1274         "wires": [
1275             [
1276                 "809ff6c0.f2acc8"
1277             ]
1278         ]
1279     },
1280     {
1281         "id": "e998ff2.0c21a",
1282         "type": "returnFailure",
1283         "name": "return failure",
1284         "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=\"`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
1285         "comments": "",
1286         "x": 2926.7945251464844,
1287         "y": 1857.5404620170593,
1288         "z": "bf8d58e2.6e6ac8",
1289         "wires": []
1290     },
1291     {
1292         "id": "809ff6c0.f2acc8",
1293         "type": "returnFailure",
1294         "name": "return failure",
1295         "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=\"`'Unexpected error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
1296         "comments": "",
1297         "x": 2930.3287963867188,
1298         "y": 1899.027096271515,
1299         "z": "bf8d58e2.6e6ac8",
1300         "wires": []
1301     },
1302     {
1303         "id": "5cceda35.f10fe4",
1304         "type": "get-resource",
1305         "name": "get-resource pnf",
1306         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $oof.vpn.access-node-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.pnf' local-only='false' >\n\n\n",
1307         "comments": "",
1308         "outputs": 1,
1309         "x": 2496.232192993164,
1310         "y": 1765.6803040504456,
1311         "z": "bf8d58e2.6e6ac8",
1312         "wires": [
1313             [
1314                 "12b22620.806b0a",
1315                 "e580af57.c7b0e",
1316                 "63b978e1.8d23a8"
1317             ]
1318         ]
1319     },
1320     {
1321         "id": "12b22620.806b0a",
1322         "type": "success",
1323         "name": "success",
1324         "xml": "<outcome value='success'>\n",
1325         "comments": "",
1326         "outputs": 1,
1327         "x": 2678.2322387695312,
1328         "y": 1710.680414199829,
1329         "z": "bf8d58e2.6e6ac8",
1330         "wires": [
1331             [
1332                 "402a3c95.e18ff4"
1333             ]
1334         ]
1335     },
1336     {
1337         "id": "e580af57.c7b0e",
1338         "type": "not-found",
1339         "name": "not-found",
1340         "xml": "<outcome value='not-found'>\n",
1341         "comments": "",
1342         "outputs": 1,
1343         "x": 2678.7231407165527,
1344         "y": 1748.2545108795166,
1345         "z": "bf8d58e2.6e6ac8",
1346         "wires": [
1347             [
1348                 "57284c52.e22c64"
1349             ]
1350         ]
1351     },
1352     {
1353         "id": "63b978e1.8d23a8",
1354         "type": "other",
1355         "name": "other",
1356         "xml": "<outcome value='Other'>\n",
1357         "comments": "",
1358         "outputs": 1,
1359         "x": 2670.05615234375,
1360         "y": 1781.5878858566284,
1361         "z": "bf8d58e2.6e6ac8",
1362         "wires": [
1363             [
1364                 "28728857.9fb6a8"
1365             ]
1366         ]
1367     },
1368     {
1369         "id": "57284c52.e22c64",
1370         "type": "returnFailure",
1371         "name": "return failure",
1372         "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=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
1373         "comments": "",
1374         "x": 2826.294765472412,
1375         "y": 1747.5403995513916,
1376         "z": "bf8d58e2.6e6ac8",
1377         "wires": []
1378     },
1379     {
1380         "id": "28728857.9fb6a8",
1381         "type": "returnFailure",
1382         "name": "return failure",
1383         "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=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
1384         "comments": "",
1385         "x": 2823.8287963867188,
1386         "y": 1781.0270338058472,
1387         "z": "bf8d58e2.6e6ac8",
1388         "wires": []
1389     },
1390     {
1391         "id": "402a3c95.e18ff4",
1392         "type": "set",
1393         "name": "set tmp.thirdparty-sdnc-id",
1394         "xml": "<set>\n<parameter name='tmp.thirdparty-sdnc-id' value=\"`$tmp.aai.pnf.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n",
1395         "comments": "",
1396         "x": 2863.2322387695312,
1397         "y": 1709.6805362701416,
1398         "z": "bf8d58e2.6e6ac8",
1399         "wires": []
1400     },
1401     {
1402         "id": "588a3880.b8be48",
1403         "type": "set",
1404         "name": "set oof.vpn",
1405         "xml": "<set>\n<parameter name='oof.vpn.' value='`$oof.vpns[$vidx].`' />",
1406         "comments": "",
1407         "x": 2488.2321853637695,
1408         "y": 1654.7913761138916,
1409         "z": "bf8d58e2.6e6ac8",
1410         "wires": []
1411     },
1412     {
1413         "id": "8a37fd2a.9df7f",
1414         "type": "outcomeTrue",
1415         "name": "true",
1416         "xml": "<outcome value='true'>\n",
1417         "comments": "",
1418         "outputs": 1,
1419         "x": 1880.5312957763672,
1420         "y": 2102.034999847412,
1421         "z": "bf8d58e2.6e6ac8",
1422         "wires": [
1423             [
1424                 "9292d8c4.9a2c38"
1425             ]
1426         ]
1427     },
1428     {
1429         "id": "9292d8c4.9a2c38",
1430         "type": "get-resource",
1431         "name": "get-resource esr-thirdparty-sdnc",
1432         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = `$network-topology-operation-input.network-request-input.network-input-parameters.param[$cxid].value` AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
1433         "comments": "",
1434         "outputs": 1,
1435         "x": 2255.532169342041,
1436         "y": 2096.0348600149155,
1437         "z": "bf8d58e2.6e6ac8",
1438         "wires": [
1439             [
1440                 "ffb94613.95e098",
1441                 "565c3562.84041c",
1442                 "bd93f6c9.548798"
1443             ]
1444         ]
1445     },
1446     {
1447         "id": "ffb94613.95e098",
1448         "type": "success",
1449         "name": "success",
1450         "xml": "<outcome value='success'>\n",
1451         "comments": "",
1452         "outputs": 1,
1453         "x": 2517.5319747924805,
1454         "y": 2040.0346721410751,
1455         "z": "bf8d58e2.6e6ac8",
1456         "wires": [
1457             [
1458                 "2126da98.7396c6"
1459             ]
1460         ]
1461     },
1462     {
1463         "id": "2126da98.7396c6",
1464         "type": "set",
1465         "name": "set controller data",
1466         "xml": "<set>\n<parameter name='prop.thirdpartySdnc-found' value='true' />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n",
1467         "comments": "",
1468         "x": 2715.0320358276367,
1469         "y": 2028.0346721410751,
1470         "z": "bf8d58e2.6e6ac8",
1471         "wires": []
1472     },
1473     {
1474         "id": "565c3562.84041c",
1475         "type": "not-found",
1476         "name": "not-found",
1477         "xml": "<outcome value='not-found'>\n",
1478         "comments": "",
1479         "outputs": 1,
1480         "x": 2549.0228385925293,
1481         "y": 2088.608775496483,
1482         "z": "bf8d58e2.6e6ac8",
1483         "wires": [
1484             [
1485                 "e073491.0a8bcb8"
1486             ]
1487         ]
1488     },
1489     {
1490         "id": "bd93f6c9.548798",
1491         "type": "other",
1492         "name": "other",
1493         "xml": "<outcome value='Other'>\n",
1494         "comments": "",
1495         "outputs": 1,
1496         "x": 2544.3558464050293,
1497         "y": 2129.942088484764,
1498         "z": "bf8d58e2.6e6ac8",
1499         "wires": [
1500             [
1501                 "e073491.0a8bcb8"
1502             ]
1503         ]
1504     },
1505     {
1506         "id": "e073491.0a8bcb8",
1507         "type": "set",
1508         "name": "set controller data",
1509         "xml": "<set>\n<parameter name='prop.thirdpartySdnc-found' value='false' />\n",
1510         "comments": "",
1511         "x": 2756.0312538146973,
1512         "y": 2107.034858107567,
1513         "z": "bf8d58e2.6e6ac8",
1514         "wires": []
1515     },
1516     {
1517         "id": "f71b9c09.8160d",
1518         "type": "outcomeTrue",
1519         "name": "true",
1520         "xml": "<outcome value='true'>\n",
1521         "comments": "",
1522         "outputs": 1,
1523         "x": 1885.5313873291016,
1524         "y": 2187.034938812256,
1525         "z": "bf8d58e2.6e6ac8",
1526         "wires": [
1527             [
1528                 "781d667a.48d338"
1529             ]
1530         ]
1531     },
1532     {
1533         "id": "781d667a.48d338",
1534         "type": "set",
1535         "name": "set tmp.restapiUrl-found",
1536         "xml": "<set>\n<parameter name='tmp.restapiUrl' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$cxid].value`' />\n<parameter name='tmp.restapiUrl-found' value='true' />",
1537         "comments": "",
1538         "x": 2218.531301498413,
1539         "y": 2191.0349324941635,
1540         "z": "bf8d58e2.6e6ac8",
1541         "wires": []
1542     },
1543     {
1544         "id": "3a7b6aa5.045bc6",
1545         "type": "block",
1546         "name": "block",
1547         "xml": "<block>\n",
1548         "atomic": "false",
1549         "comments": "",
1550         "outputs": 1,
1551         "x": 2347.00390625,
1552         "y": 1235.00390625,
1553         "z": "bf8d58e2.6e6ac8",
1554         "wires": [
1555             [
1556                 "6e2071a4.92462",
1557                 "df7041a6.51331",
1558                 "dbdc0ae8.393328",
1559                 "aaa5c23.8b2364",
1560                 "b1db26a.6449ed8",
1561                 "4c08e6d0.e790e8",
1562                 "18a93c3.067c1c4",
1563                 "15c976cc.7eedd9",
1564                 "2cbc8da1.8ed692",
1565                 "2804ce8b.3d5072"
1566             ]
1567         ]
1568     },
1569     {
1570         "id": "6e2071a4.92462",
1571         "type": "switchNode",
1572         "name": "switch name",
1573         "xml": "<switch test=\"`$tmp.network-input-parameters.param[$paidx].name == 'name'`\">",
1574         "comments": "",
1575         "outputs": 1,
1576         "x": 2569.0038528442383,
1577         "y": 1033.0039868354797,
1578         "z": "bf8d58e2.6e6ac8",
1579         "wires": [
1580             [
1581                 "2381365f.5b11aa"
1582             ]
1583         ]
1584     },
1585     {
1586         "id": "2381365f.5b11aa",
1587         "type": "outcomeTrue",
1588         "name": "true",
1589         "xml": "<outcome value='true'>\n",
1590         "comments": "",
1591         "outputs": 1,
1592         "x": 2756.0038528442383,
1593         "y": 1029.0039868354797,
1594         "z": "bf8d58e2.6e6ac8",
1595         "wires": [
1596             [
1597                 "279f5f0f.a7e29"
1598             ]
1599         ]
1600     },
1601     {
1602         "id": "279f5f0f.a7e29",
1603         "type": "set",
1604         "name": "set name",
1605         "xml": "<set>\n<parameter name='template.name' value='`$tmp.network-input-parameters.param[$paidx].value`' />\n",
1606         "comments": "",
1607         "x": 2924.0038528442383,
1608         "y": 1029.6039929389954,
1609         "z": "bf8d58e2.6e6ac8",
1610         "wires": []
1611     },
1612     {
1613         "id": "df7041a6.51331",
1614         "type": "switchNode",
1615         "name": "switch service-type",
1616         "xml": "<switch test=\"`$tmp.network-input-parameters.param[$paidx].name == 'service-type'`\">",
1617         "comments": "",
1618         "outputs": 1,
1619         "x": 2586.514045715332,
1620         "y": 1094.0039267539978,
1621         "z": "bf8d58e2.6e6ac8",
1622         "wires": [
1623             [
1624                 "391cf8f6.e35b68"
1625             ]
1626         ]
1627     },
1628     {
1629         "id": "391cf8f6.e35b68",
1630         "type": "outcomeTrue",
1631         "name": "true",
1632         "xml": "<outcome value='true'>\n",
1633         "comments": "",
1634         "outputs": 1,
1635         "x": 2773.514045715332,
1636         "y": 1090.0039267539978,
1637         "z": "bf8d58e2.6e6ac8",
1638         "wires": [
1639             [
1640                 "963b6a75.854958"
1641             ]
1642         ]
1643     },
1644     {
1645         "id": "963b6a75.854958",
1646         "type": "set",
1647         "name": "set service-type",
1648         "xml": "<set>\n<parameter name='template.service-type' value='`$tmp.network-input-parameters.param[$paidx].value`' />\n",
1649         "comments": "",
1650         "x": 2941.514045715332,
1651         "y": 1090.6039328575134,
1652         "z": "bf8d58e2.6e6ac8",
1653         "wires": []
1654     },
1655     {
1656         "id": "dbdc0ae8.393328",
1657         "type": "switchNode",
1658         "name": "switch total-size",
1659         "xml": "<switch test=\"`$tmp.network-input-parameters.param[$paidx].name == 'total-size'`\">",
1660         "comments": "",
1661         "outputs": 1,
1662         "x": 2579.9766235351562,
1663         "y": 1150.476727962494,
1664         "z": "bf8d58e2.6e6ac8",
1665         "wires": [
1666             [
1667                 "b077f122.4fbd2"
1668             ]
1669         ]
1670     },
1671     {
1672         "id": "b077f122.4fbd2",
1673         "type": "outcomeTrue",
1674         "name": "true",
1675         "xml": "<outcome value='true'>\n",
1676         "comments": "",
1677         "outputs": 1,
1678         "x": 2766.9766235351562,
1679         "y": 1146.476727962494,
1680         "z": "bf8d58e2.6e6ac8",
1681         "wires": [
1682             [
1683                 "ebbae5da.7a9fe8"
1684             ]
1685         ]
1686     },
1687     {
1688         "id": "ebbae5da.7a9fe8",
1689         "type": "set",
1690         "name": "set total-size",
1691         "xml": "<set>\n<parameter name='template.total-size' value='`$tmp.network-input-parameters.param[$paidx].value`' />\n",
1692         "comments": "",
1693         "x": 2934.9766235351562,
1694         "y": 1147.0767340660095,
1695         "z": "bf8d58e2.6e6ac8",
1696         "wires": []
1697     },
1698     {
1699         "id": "aaa5c23.8b2364",
1700         "type": "switchNode",
1701         "name": "switch pir",
1702         "xml": "<switch test=\"`$tmp.network-input-parameters.param[$paidx].name == 'pir'`\">",
1703         "comments": "",
1704         "outputs": 1,
1705         "x": 2557.976722717285,
1706         "y": 1199.4767670631409,
1707         "z": "bf8d58e2.6e6ac8",
1708         "wires": [
1709             [
1710                 "dd36a279.f0f0b"
1711             ]
1712         ]
1713     },
1714     {
1715         "id": "dd36a279.f0f0b",
1716         "type": "outcomeTrue",
1717         "name": "true",
1718         "xml": "<outcome value='true'>\n",
1719         "comments": "",
1720         "outputs": 1,
1721         "x": 2744.976722717285,
1722         "y": 1195.4767670631409,
1723         "z": "bf8d58e2.6e6ac8",
1724         "wires": [
1725             [
1726                 "d7a0fe6d.faa06"
1727             ]
1728         ]
1729     },
1730     {
1731         "id": "d7a0fe6d.faa06",
1732         "type": "set",
1733         "name": "set pir",
1734         "xml": "<set>\n<parameter name='template.pir' value='`$tmp.network-input-parameters.param[$paidx].value`' />\n",
1735         "comments": "",
1736         "x": 2912.976722717285,
1737         "y": 1196.0767731666565,
1738         "z": "bf8d58e2.6e6ac8",
1739         "wires": []
1740     },
1741     {
1742         "id": "b1db26a.6449ed8",
1743         "type": "switchNode",
1744         "name": "switch cbs",
1745         "xml": "<switch test=\"`$tmp.network-input-parameters.param[$paidx].name == 'cbs'`\">",
1746         "comments": "",
1747         "outputs": 1,
1748         "x": 2558.9767570495605,
1749         "y": 1250.4766917228699,
1750         "z": "bf8d58e2.6e6ac8",
1751         "wires": [
1752             [
1753                 "f5a3f275.f1642"
1754             ]
1755         ]
1756     },
1757     {
1758         "id": "f5a3f275.f1642",
1759         "type": "outcomeTrue",
1760         "name": "true",
1761         "xml": "<outcome value='true'>\n",
1762         "comments": "",
1763         "outputs": 1,
1764         "x": 2745.9767570495605,
1765         "y": 1246.4766917228699,
1766         "z": "bf8d58e2.6e6ac8",
1767         "wires": [
1768             [
1769                 "cec40dd1.40cb9"
1770             ]
1771         ]
1772     },
1773     {
1774         "id": "cec40dd1.40cb9",
1775         "type": "set",
1776         "name": "set cbs",
1777         "xml": "<set>\n<parameter name='template.cbs' value='`$tmp.network-input-parameters.param[$paidx].value`' />\n",
1778         "comments": "",
1779         "x": 2913.9767570495605,
1780         "y": 1247.0766978263855,
1781         "z": "bf8d58e2.6e6ac8",
1782         "wires": []
1783     },
1784     {
1785         "id": "4c08e6d0.e790e8",
1786         "type": "switchNode",
1787         "name": "switch pbs",
1788         "xml": "<switch test=\"`$tmp.network-input-parameters.param[$paidx].name == 'pbs'`\">",
1789         "comments": "",
1790         "outputs": 1,
1791         "x": 2554.9767570495605,
1792         "y": 1305.4766917228699,
1793         "z": "bf8d58e2.6e6ac8",
1794         "wires": [
1795             [
1796                 "883541e9.99bd6"
1797             ]
1798         ]
1799     },
1800     {
1801         "id": "883541e9.99bd6",
1802         "type": "outcomeTrue",
1803         "name": "true",
1804         "xml": "<outcome value='true'>\n",
1805         "comments": "",
1806         "outputs": 1,
1807         "x": 2741.9767570495605,
1808         "y": 1301.4766917228699,
1809         "z": "bf8d58e2.6e6ac8",
1810         "wires": [
1811             [
1812                 "a988d120.b2aea"
1813             ]
1814         ]
1815     },
1816     {
1817         "id": "a988d120.b2aea",
1818         "type": "set",
1819         "name": "set pbs",
1820         "xml": "<set>\n<parameter name='template.pbs' value='`$tmp.network-input-parameters.param[$paidx].value`' />\n",
1821         "comments": "",
1822         "x": 2909.9767570495605,
1823         "y": 1302.0766978263855,
1824         "z": "bf8d58e2.6e6ac8",
1825         "wires": []
1826     },
1827     {
1828         "id": "18a93c3.067c1c4",
1829         "type": "switchNode",
1830         "name": "switch couplingFlag",
1831         "xml": "<switch test=\"`$tmp.network-input-parameters.param[$paidx].name == 'couplingFlag'`\">",
1832         "comments": "",
1833         "outputs": 1,
1834         "x": 2584.976905822754,
1835         "y": 1361.4766936302185,
1836         "z": "bf8d58e2.6e6ac8",
1837         "wires": [
1838             [
1839                 "980d8b86.bee918"
1840             ]
1841         ]
1842     },
1843     {
1844         "id": "980d8b86.bee918",
1845         "type": "outcomeTrue",
1846         "name": "true",
1847         "xml": "<outcome value='true'>\n",
1848         "comments": "",
1849         "outputs": 1,
1850         "x": 2771.976905822754,
1851         "y": 1357.4766936302185,
1852         "z": "bf8d58e2.6e6ac8",
1853         "wires": [
1854             [
1855                 "51fcb9b3.05a2a8"
1856             ]
1857         ]
1858     },
1859     {
1860         "id": "51fcb9b3.05a2a8",
1861         "type": "set",
1862         "name": "set couplingFlag",
1863         "xml": "<set>\n<parameter name='template.couplingFlag' value='`$tmp.network-input-parameters.param[$paidx].value`' />\n",
1864         "comments": "",
1865         "x": 2939.976905822754,
1866         "y": 1358.0766997337341,
1867         "z": "bf8d58e2.6e6ac8",
1868         "wires": []
1869     },
1870     {
1871         "id": "15c976cc.7eedd9",
1872         "type": "switchNode",
1873         "name": "switch colorAware",
1874         "xml": "<switch test=\"`$tmp.network-input-parameters.param[$paidx].name == 'colorAware'`\">",
1875         "comments": "",
1876         "outputs": 1,
1877         "x": 2578.976905822754,
1878         "y": 1407.4766936302185,
1879         "z": "bf8d58e2.6e6ac8",
1880         "wires": [
1881             [
1882                 "fc32dc8f.1306d"
1883             ]
1884         ]
1885     },
1886     {
1887         "id": "fc32dc8f.1306d",
1888         "type": "outcomeTrue",
1889         "name": "true",
1890         "xml": "<outcome value='true'>\n",
1891         "comments": "",
1892         "outputs": 1,
1893         "x": 2765.976905822754,
1894         "y": 1403.4766936302185,
1895         "z": "bf8d58e2.6e6ac8",
1896         "wires": [
1897             [
1898                 "767980d9.60391"
1899             ]
1900         ]
1901     },
1902     {
1903         "id": "767980d9.60391",
1904         "type": "set",
1905         "name": "set colorAware",
1906         "xml": "<set>\n<parameter name='template.colorAware' value='`$tmp.network-input-parameters.param[$paidx].value`' />\n",
1907         "comments": "",
1908         "x": 2933.976905822754,
1909         "y": 1404.0766997337341,
1910         "z": "bf8d58e2.6e6ac8",
1911         "wires": []
1912     },
1913     {
1914         "id": "2804ce8b.3d5072",
1915         "type": "switchNode",
1916         "name": "switch diversity-policy",
1917         "xml": "<switch test=\"`$tmp.network-input-parameters.param[$paidx].name == 'diversity-policy'`\">",
1918         "comments": "",
1919         "outputs": 1,
1920         "x": 2586.9771461486816,
1921         "y": 1498.476758480072,
1922         "z": "bf8d58e2.6e6ac8",
1923         "wires": [
1924             [
1925                 "fc3e428f.e47a2"
1926             ]
1927         ]
1928     },
1929     {
1930         "id": "fc3e428f.e47a2",
1931         "type": "outcomeTrue",
1932         "name": "true",
1933         "xml": "<outcome value='true'>\n",
1934         "comments": "",
1935         "outputs": 1,
1936         "x": 2773.9771461486816,
1937         "y": 1494.476758480072,
1938         "z": "bf8d58e2.6e6ac8",
1939         "wires": [
1940             [
1941                 "f817158c.79da68"
1942             ]
1943         ]
1944     },
1945     {
1946         "id": "f817158c.79da68",
1947         "type": "set",
1948         "name": "set diversity-policy",
1949         "xml": "<set>\n<parameter name='template.diversity-policy' value='`$tmp.network-input-parameters.param[$paidx].value`' />\n",
1950         "comments": "",
1951         "x": 2941.9771461486816,
1952         "y": 1495.0767645835876,
1953         "z": "bf8d58e2.6e6ac8",
1954         "wires": []
1955     },
1956     {
1957         "id": "2cbc8da1.8ed692",
1958         "type": "switchNode",
1959         "name": "switch route-objective-function",
1960         "xml": "<switch test=\"`$tmp.network-input-parameters.param[$paidx].name == 'route-objective-function'`\">",
1961         "comments": "",
1962         "outputs": 1,
1963         "x": 2615.9770545959473,
1964         "y": 1447.476758480072,
1965         "z": "bf8d58e2.6e6ac8",
1966         "wires": [
1967             [
1968                 "3c9d002d.c7368"
1969             ]
1970         ]
1971     },
1972     {
1973         "id": "3c9d002d.c7368",
1974         "type": "outcomeTrue",
1975         "name": "true",
1976         "xml": "<outcome value='true'>\n",
1977         "comments": "",
1978         "outputs": 1,
1979         "x": 2802.9770545959473,
1980         "y": 1443.476758480072,
1981         "z": "bf8d58e2.6e6ac8",
1982         "wires": [
1983             [
1984                 "4b04be90.c9dfb"
1985             ]
1986         ]
1987     },
1988     {
1989         "id": "4b04be90.c9dfb",
1990         "type": "set",
1991         "name": "set route-objective-function",
1992         "xml": "<set>\n<parameter name='template.route-objective-function' value='`$tmp.network-input-parameters.param[$paidx].value`' />\n",
1993         "comments": "",
1994         "x": 2970.9770545959473,
1995         "y": 1444.0767645835876,
1996         "z": "bf8d58e2.6e6ac8",
1997         "wires": []
1998     },
1999     {
2000         "id": "faa82de3.2bc5b",
2001         "type": "for",
2002         "name": "for paidx..tmp.network-input-parameters.param_length[]",
2003         "xml": "<for index='paidx' start='0' end='`$tmp.network-input-parameters.param_length`' >",
2004         "comments": "",
2005         "outputs": 1,
2006         "x": 2067.1394424438477,
2007         "y": 1365.472831249237,
2008         "z": "bf8d58e2.6e6ac8",
2009         "wires": [
2010             [
2011                 "3a7b6aa5.045bc6"
2012             ]
2013         ]
2014     },
2015     {
2016         "id": "cd3fb1b6.a548f",
2017         "type": "set",
2018         "name": "set param",
2019         "xml": "<set>\n<parameter name='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$cxid].name`' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$cxid].value`' />",
2020         "comments": "",
2021         "x": 1343.7539405822754,
2022         "y": 2286.0039920806885,
2023         "z": "bf8d58e2.6e6ac8",
2024         "wires": []
2025     },
2026     {
2027         "id": "6cad7750.ad59e8",
2028         "type": "block",
2029         "name": "find-sotn-fc-port-block : atomic",
2030         "xml": "<block atomic=\"true\">",
2031         "atomic": "true",
2032         "comments": "",
2033         "outputs": 1,
2034         "x": 924.5040130615234,
2035         "y": 660.0039396286011,
2036         "z": "bf8d58e2.6e6ac8",
2037         "wires": [
2038             [
2039                 "4bb0f260.939b6c",
2040                 "f63464b.235d598",
2041                 "53964d8b.013054"
2042             ]
2043         ]
2044     },
2045     {
2046         "id": "4bb0f260.939b6c",
2047         "type": "for",
2048         "name": "for aidx..network-topology-operation-input.network-request-input.network-input-parameters.param[]",
2049         "xml": "<for index='aidx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n",
2050         "comments": "",
2051         "outputs": 1,
2052         "x": 1000.2539672851562,
2053         "y": 817.003984451294,
2054         "z": "bf8d58e2.6e6ac8",
2055         "wires": [
2056             [
2057                 "b8e2888d.7baee8"
2058             ]
2059         ]
2060     },
2061     {
2062         "id": "b8e2888d.7baee8",
2063         "type": "execute",
2064         "name": "contains fcport",
2065         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n    <parameter name=\"source\" value=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$aidx].name`\"/>\n    <parameter name=\"target\" value=\"fcport\"/>\n",
2066         "comments": "",
2067         "outputs": 1,
2068         "x": 859.5039291381836,
2069         "y": 871.0041389465332,
2070         "z": "bf8d58e2.6e6ac8",
2071         "wires": [
2072             [
2073                 "d22970d4.90a5"
2074             ]
2075         ]
2076     },
2077     {
2078         "id": "d22970d4.90a5",
2079         "type": "outcomeTrue",
2080         "name": "true",
2081         "xml": "<outcome value='true'>\n",
2082         "comments": "",
2083         "outputs": 1,
2084         "x": 1035.2539176940918,
2085         "y": 872.0039710998535,
2086         "z": "bf8d58e2.6e6ac8",
2087         "wires": [
2088             [
2089                 "fb11f9b4.228c58"
2090             ]
2091         ]
2092     },
2093     {
2094         "id": "fb11f9b4.228c58",
2095         "type": "set",
2096         "name": "set needOof",
2097         "xml": "<set>\n<parameter name='needOof' value='true' />",
2098         "comments": "",
2099         "x": 1205.253921508789,
2100         "y": 869.0039577484131,
2101         "z": "bf8d58e2.6e6ac8",
2102         "wires": []
2103     },
2104     {
2105         "id": "f63464b.235d598",
2106         "type": "set",
2107         "name": "set needOof",
2108         "xml": "<set>\n<parameter name='needOof' value='false' />",
2109         "comments": "",
2110         "x": 734.2539672851562,
2111         "y": 768.0040035247803,
2112         "z": "bf8d58e2.6e6ac8",
2113         "wires": []
2114     },
2115     {
2116         "id": "53964d8b.013054",
2117         "type": "switchNode",
2118         "name": "switch needOof",
2119         "xml": "<switch test=\"`$needOof`\">\n\n",
2120         "comments": "",
2121         "outputs": 1,
2122         "x": 719.2539215087891,
2123         "y": 924.0039577484131,
2124         "z": "bf8d58e2.6e6ac8",
2125         "wires": [
2126             [
2127                 "8ea3d7d7.febac8",
2128                 "d3d5931c.c4f83"
2129             ]
2130         ]
2131     },
2132     {
2133         "id": "2b21902e.55dd5",
2134         "type": "execute",
2135         "name": "contains thirdPartySdncId",
2136         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n    <parameter name=\"source\" value=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$cxid].name`\"/>\n    <parameter name=\"target\" value=\"thirdPartySdncId\"/>\n",
2137         "comments": "",
2138         "outputs": 1,
2139         "x": 1576.2581024169922,
2140         "y": 2093.0041122436523,
2141         "z": "bf8d58e2.6e6ac8",
2142         "wires": [
2143             [
2144                 "8a37fd2a.9df7f",
2145                 "3916c6e2.e1777a"
2146             ]
2147         ]
2148     },
2149     {
2150         "id": "2e03ec55.fb6014",
2151         "type": "execute",
2152         "name": "contains templateFileName",
2153         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n    <parameter name=\"source\" value=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$cxid].name`\"/>\n    <parameter name=\"target\" value=\"templateFileName\"/>\n",
2154         "comments": "",
2155         "outputs": 1,
2156         "x": 1579.258041381836,
2157         "y": 2137.0038986206055,
2158         "z": "bf8d58e2.6e6ac8",
2159         "wires": [
2160             [
2161                 "6c80438c.95e70c",
2162                 "6f6408d0.757528"
2163             ]
2164         ]
2165     },
2166     {
2167         "id": "f3f5a797.4cdaf8",
2168         "type": "execute",
2169         "name": "contains restapiUrl",
2170         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n    <parameter name=\"source\" value=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$cxid].name`\"/>\n    <parameter name=\"target\" value=\"restapiUrl\"/>\n",
2171         "comments": "",
2172         "outputs": 1,
2173         "x": 1549.2579727172852,
2174         "y": 2186.00399017334,
2175         "z": "bf8d58e2.6e6ac8",
2176         "wires": [
2177             [
2178                 "f71b9c09.8160d"
2179             ]
2180         ]
2181     },
2182     {
2183         "id": "3916c6e2.e1777a",
2184         "type": "outcomeTrue",
2185         "name": "false",
2186         "xml": "<outcome value='false'>\n",
2187         "comments": "",
2188         "outputs": 1,
2189         "x": 1383.50390625,
2190         "y": 2141.00390625,
2191         "z": "bf8d58e2.6e6ac8",
2192         "wires": [
2193             [
2194                 "2e03ec55.fb6014"
2195             ]
2196         ]
2197     },
2198     {
2199         "id": "6f6408d0.757528",
2200         "type": "outcomeTrue",
2201         "name": "false",
2202         "xml": "<outcome value='false'>\n",
2203         "comments": "",
2204         "outputs": 1,
2205         "x": 1372.50390625,
2206         "y": 2191.00390625,
2207         "z": "bf8d58e2.6e6ac8",
2208         "wires": [
2209             [
2210                 "f3f5a797.4cdaf8"
2211             ]
2212         ]
2213     },
2214     {
2215         "id": "a7a35b54.a22968",
2216         "type": "block",
2217         "name": "block : atomic",
2218         "xml": "<block atomic=\"true\">",
2219         "atomic": "true",
2220         "comments": "",
2221         "outputs": 1,
2222         "x": 1197.7539596557617,
2223         "y": 2105.0040531158447,
2224         "z": "bf8d58e2.6e6ac8",
2225         "wires": [
2226             [
2227                 "2b21902e.55dd5",
2228                 "cd3fb1b6.a548f"
2229             ]
2230         ]
2231     },
2232     {
2233         "id": "195471ac.565dfe",
2234         "type": "for",
2235         "name": "for sIdx..service-data.networks.network[]",
2236         "xml": "<for index='sIdx' start='0' end='`$service-data.networks.network_length`' >\n",
2237         "comments": "",
2238         "outputs": 1,
2239         "x": 2247.503921508789,
2240         "y": 2561.00390625,
2241         "z": "bf8d58e2.6e6ac8",
2242         "wires": [
2243             [
2244                 "530203c3.a5f1bc"
2245             ]
2246         ]
2247     },
2248     {
2249         "id": "530203c3.a5f1bc",
2250         "type": "switchNode",
2251         "name": "switch svc-action",
2252         "xml": "<switch test='`$service-data.networks.network[$sIdx].network-id == $network-topology-operation-input.network-information.network-id`'>\n",
2253         "comments": "",
2254         "outputs": 1,
2255         "x": 2538.7542724609375,
2256         "y": 2556.00390625,
2257         "z": "bf8d58e2.6e6ac8",
2258         "wires": [
2259             [
2260                 "d85c868.33ef678"
2261             ]
2262         ]
2263     },
2264     {
2265         "id": "d85c868.33ef678",
2266         "type": "outcomeTrue",
2267         "name": "true",
2268         "xml": "<outcome value='true'>\n",
2269         "comments": "",
2270         "outputs": 1,
2271         "x": 2705.5048484802246,
2272         "y": 2554.003936767578,
2273         "z": "bf8d58e2.6e6ac8",
2274         "wires": [
2275             [
2276                 "bd6349d8.0c5b08"
2277             ]
2278         ]
2279     },
2280     {
2281         "id": "30dc6201.193a2e",
2282         "type": "set",
2283         "name": "set localServiceId",
2284         "xml": "<set>\n<parameter name='`$service-data.networks.network[$sIdx].network-data.network-request-input.network-input-parameters.param[$paraIndx].name`' value='localServiceId' />\n<parameter name='`$service-data.networks.network[$sIdx].network-data.network-request-input.network-input-parameters.param[$paraIndx].value`' value='`$restApi-result.output.service.uuid`' />",
2285         "comments": "",
2286         "x": 3060.0043029785156,
2287         "y": 2577.003936767578,
2288         "z": "bf8d58e2.6e6ac8",
2289         "wires": []
2290     },
2291     {
2292         "id": "e46941d6.14145",
2293         "type": "set",
2294         "name": "set paraIndx",
2295         "xml": "<set>\n<parameter name='paraIndx' value='`$service-data.networks.network[$sIdx].network-data.network-request-input.network-input-parameters.param_length`' />",
2296         "comments": "",
2297         "x": 3058.5040550231934,
2298         "y": 2510.0040283203125,
2299         "z": "bf8d58e2.6e6ac8",
2300         "wires": []
2301     },
2302     {
2303         "id": "bd6349d8.0c5b08",
2304         "type": "block",
2305         "name": "block : atomic",
2306         "xml": "<block atomic=\"true\">",
2307         "atomic": "true",
2308         "comments": "",
2309         "outputs": 1,
2310         "x": 2860.503936767578,
2311         "y": 2544.0039978027344,
2312         "z": "bf8d58e2.6e6ac8",
2313         "wires": [
2314             [
2315                 "e46941d6.14145",
2316                 "30dc6201.193a2e"
2317             ]
2318         ]
2319     }
2320 ]