Merge "fix typos"
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_wan-connection-topology-operation-activate.json
1 [{
2         "id": "dbc4ca7a.fecf48",
3         "type": "dgstart",
4         "name": "DGSTART",
5         "outputs": 1,
6         "x": 134.03125,
7         "y": 92.03125,
8         "z": "926fea0b.1d3458",
9         "wires": [
10                 ["72a66a2c.06a7e4"]
11         ]
12 }, {
13         "id": "72a66a2c.06a7e4",
14         "type": "service-logic",
15         "name": "GENERIC-RESOURCE-API ${project.version}",
16         "module": "GENERIC-RESOURCE-API",
17         "version": "${project.version}",
18         "comments": "",
19         "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}'>",
20         "outputs": 1,
21         "x": 346.03125381469727,
22         "y": 164.0312671661377,
23         "z": "926fea0b.1d3458",
24         "wires": [
25                 ["95bab60a.026fe8"]
26         ]
27 }, {
28         "id": "95bab60a.026fe8",
29         "type": "method",
30         "name": "wan-connection-topology-operation-activate",
31         "xml": "<method rpc='wan-connection-topology-operation-activate' mode='sync'>\n",
32         "comments": "",
33         "outputs": 1,
34         "x": 334.0313720703125,
35         "y": 252.03125,
36         "z": "926fea0b.1d3458",
37         "wires": [
38                 ["a72b1cb5.05f3c"]
39         ]
40 }, {
41         "id": "4e7970ad.4b5bd",
42         "type": "execute",
43         "name": "execute Properties",
44         "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",
45         "comments": "",
46         "outputs": 1,
47         "x": 1104.031894683838,
48         "y": 341.0314643383026,
49         "z": "926fea0b.1d3458",
50         "wires": [
51                 []
52         ]
53 }, {
54         "id": "bb98003a.a46ad",
55         "type": "returnSuccess",
56         "name": "return success",
57         "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",
58         "comments": "",
59         "x": 944.0314121246338,
60         "y": 2076.0316499471664,
61         "z": "926fea0b.1d3458",
62         "wires": []
63 }, {
64         "id": "11b701bb.2b820e",
65         "type": "block",
66         "name": "general-activate-block : atomic",
67         "xml": "<block atomic=\"true\">",
68         "atomic": "true",
69         "comments": "",
70         "outputs": 1,
71         "x": 728.5315265655518,
72         "y": 1887.0314840078354,
73         "z": "926fea0b.1d3458",
74         "wires": [
75                 ["1aae4fc1.2393a", "bb98003a.a46ad"]
76         ]
77 }, {
78         "id": "c812a520.767f78",
79         "type": "for",
80         "name": "for pidx..service-data.networks.network[]",
81         "xml": "<for index='pidx' start='0' end='`$service-data.networks.network_length`' >\n",
82         "comments": "",
83         "outputs": 1,
84         "x": 1210.5319442749023,
85         "y": 508.0316289663315,
86         "z": "926fea0b.1d3458",
87         "wires": [
88                 ["3dac3b05.9ea764"]
89         ]
90 }, {
91         "id": "3dac3b05.9ea764",
92         "type": "switchNode",
93         "name": "switch model-name",
94         "xml": "<switch test=\"`$service-data.networks.network[$pidx].network-data.network-information.onap-model-information.model-name == $network-topology-operation-input.network-information.onap-model-information.model-name`\">\n\n",
95         "comments": "",
96         "outputs": 1,
97         "x": 1563.5321006774902,
98         "y": 289.0316313505173,
99         "z": "926fea0b.1d3458",
100         "wires": [
101                 ["bd71b64a.dfd5f8"]
102         ]
103 }, {
104         "id": "bd71b64a.dfd5f8",
105         "type": "outcomeTrue",
106         "name": "true",
107         "xml": "<outcome value='true'>\n",
108         "comments": "",
109         "outputs": 1,
110         "x": 1541.7822265625,
111         "y": 340.0317043066025,
112         "z": "926fea0b.1d3458",
113         "wires": [
114                 ["5d88b06.fe5a35"]
115         ]
116 }, {
117         "id": "5d88b06.fe5a35",
118         "type": "set",
119         "name": "set tmp.pidx and tmp.network-input-parameters",
120         "xml": "<set>\n<parameter name='tmp.pidx' value='`$pidx`' />\n<parameter name='tmp.network.' value='`$service-data.networks.network[$pidx].`' />\n<parameter name='tmp.network-input-parameters' value='`$service-data.networks.network[$pidx].network-data.network-request-input.network-input-parameters`' />\n<parameter name='tmp.found-network-input' value='true' />",
121         "comments": "",
122         "x": 1697.4006385803223,
123         "y": 399.46041905879974,
124         "z": "926fea0b.1d3458",
125         "wires": []
126 }, {
127         "id": "3bfb1023.2b523",
128         "type": "set",
129         "name": "set tmp.found-network-input",
130         "xml": "<set>\n<parameter name='tmp.found-network-input' value='false' />",
131         "comments": "",
132         "x": 1135.5318870544434,
133         "y": 425.03159844875336,
134         "z": "926fea0b.1d3458",
135         "wires": []
136 }, {
137         "id": "1aae4fc1.2393a",
138         "type": "switchNode",
139         "name": "switch found-network-input",
140         "xml": "<switch test=\"`$found-network-input`\">\n\n",
141         "comments": "",
142         "outputs": 1,
143         "x": 1123.5316104888916,
144         "y": 1762.0316737890244,
145         "z": "926fea0b.1d3458",
146         "wires": [
147                 ["6ed44d2a.fb0594", "18c7f98e.b212a6"]
148         ]
149 }, {
150         "id": "6ed44d2a.fb0594",
151         "type": "outcomeTrue",
152         "name": "true",
153         "xml": "<outcome value='true'>\n",
154         "comments": "",
155         "outputs": 1,
156         "x": 1355.531702041626,
157         "y": 1806.0318721532822,
158         "z": "926fea0b.1d3458",
159         "wires": [
160                 ["84ec40e9.c2c32"]
161         ]
162 }, {
163         "id": "18c7f98e.b212a6",
164         "type": "outcomeTrue",
165         "name": "false",
166         "xml": "<outcome value='false'>\n",
167         "comments": "",
168         "outputs": 1,
169         "x": 1356.2816410064697,
170         "y": 1764.03176343441,
171         "z": "926fea0b.1d3458",
172         "wires": [
173                 ["2811d502.22a33a"]
174         ]
175 }, {
176         "id": "2811d502.22a33a",
177         "type": "returnFailure",
178         "name": "return failure",
179         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: Network input parameters not found\" />\n    \n",
180         "comments": "",
181         "x": 1527.2816410064697,
182         "y": 1772.031732916832,
183         "z": "926fea0b.1d3458",
184         "wires": []
185 }, {
186         "id": "84ec40e9.c2c32",
187         "type": "block",
188         "name": "block : atomic",
189         "xml": "<block atomic=\"true\">",
190         "atomic": "true",
191         "outputs": 1,
192         "x": 1093.031488418579,
193         "y": 1918.0316585302353,
194         "z": "926fea0b.1d3458",
195         "wires": [
196                 ["61139e06.7aa2e", "8e8c51f4.d057d", "833ed1f4.d259"]
197         ]
198 }, {
199         "id": "61139e06.7aa2e",
200         "type": "for",
201         "name": "for cidx..tmp.network.network-data.network-topology.network-parameters.network-parameter[]",
202         "xml": "<for index='cidx' start='0' end='`$tmp.network.network-data.network-topology.network-parameters.network-parameter_length`' >\n",
203         "comments": "",
204         "outputs": 1,
205         "x": 1542.031328201294,
206         "y": 2004.0315145254135,
207         "z": "926fea0b.1d3458",
208         "wires": [
209                 ["d5a8b428.3ffe58"]
210         ]
211 }, {
212         "id": "bb8655c6.320038",
213         "type": "execute",
214         "name": "execute RestApiCallNode Create wan-connection",
215         "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=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"restApi-result\"/>",
216         "comments": "",
217         "outputs": 1,
218         "x": 1568.2813835144043,
219         "y": 2558.0317014455795,
220         "z": "926fea0b.1d3458",
221         "wires": [
222                 ["c0b7550d.f30fe8", "e19ff0cc.bd882", "9d57cbcd.803d08"]
223         ]
224 }, {
225         "id": "4089b1d1.8eda5",
226         "type": "switchNode",
227         "name": "switch network-parameter-name == 'templateFileName'",
228         "xml": "<switch test=\"`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-name == 'templateFileName'`\">\n",
229         "comments": "",
230         "outputs": 1,
231         "x": 1670.2815914154053,
232         "y": 2109.031648993492,
233         "z": "926fea0b.1d3458",
234         "wires": [
235                 ["80cfb20d.84134"]
236         ]
237 }, {
238         "id": "80cfb20d.84134",
239         "type": "outcomeTrue",
240         "name": "true",
241         "xml": "<outcome value='true'>\n",
242         "comments": "",
243         "outputs": 1,
244         "x": 2023.2817306518555,
245         "y": 2113.0317224264145,
246         "z": "926fea0b.1d3458",
247         "wires": [
248                 ["17b7664a.d3b9ca"]
249         ]
250 }, {
251         "id": "17b7664a.d3b9ca",
252         "type": "set",
253         "name": "set tmp.templateFileName",
254         "xml": "<set>\n<parameter name='tmp.templateFileName' value='`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-value`' />\n<parameter name='tmp.templateFileName-found' value='true' />",
255         "comments": "",
256         "x": 2224.2817611694336,
257         "y": 2111.031723380089,
258         "z": "926fea0b.1d3458",
259         "wires": []
260 }, {
261         "id": "8e8c51f4.d057d",
262         "type": "set",
263         "name": "set paras flags",
264         "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' />",
265         "comments": "",
266         "x": 1329.0314960479736,
267         "y": 1919.0315116643906,
268         "z": "926fea0b.1d3458",
269         "wires": []
270 }, {
271         "id": "833ed1f4.d259",
272         "type": "switchNode",
273         "name": "switch thirdPartyAdaptorRpc-found == 'true'",
274         "xml": "<switch test=\"`$tmp.thirdPartyAdaptorRpc-found == 'true'`\">\n",
275         "comments": "",
276         "outputs": 1,
277         "x": 1321.0312728881836,
278         "y": 2365.031446814537,
279         "z": "926fea0b.1d3458",
280         "wires": [
281                 ["575d5dfb.34fe94", "2377fd44.1eedc2"]
282         ]
283 }, {
284         "id": "d5a8b428.3ffe58",
285         "type": "block",
286         "name": "block",
287         "xml": "<block>\n",
288         "atomic": "false",
289         "comments": "",
290         "outputs": 1,
291         "x": 1307.031436920166,
292         "y": 2111.0313848257065,
293         "z": "926fea0b.1d3458",
294         "wires": [
295                 ["4089b1d1.8eda5", "e7566aa5.849bc8", "e1dac9e1.6143b8", "43cfa6be.6eb688"]
296         ]
297 }, {
298         "id": "575d5dfb.34fe94",
299         "type": "outcomeTrue",
300         "name": "true",
301         "xml": "<outcome value='true'>\n",
302         "comments": "",
303         "outputs": 1,
304         "x": 1583.03129196167,
305         "y": 2327.031383872032,
306         "z": "926fea0b.1d3458",
307         "wires": [
308                 ["4cc416ef.c63548"]
309         ]
310 }, {
311         "id": "2377fd44.1eedc2",
312         "type": "outcomeTrue",
313         "name": "false",
314         "xml": "<outcome value='false'>\n",
315         "comments": "",
316         "outputs": 1,
317         "x": 1584.0312423706055,
318         "y": 2393.0313485860825,
319         "z": "926fea0b.1d3458",
320         "wires": [
321                 ["9704be28.3f558"]
322         ]
323 }, {
324         "id": "4cc416ef.c63548",
325         "type": "call",
326         "name": "call thirdPartyAdaptorRpc",
327         "xml": "<call module='GENERIC-RESOURCE-API' rpc='`$tmp.thirdPartyAdaptorRpc`' mode='sync' >\n",
328         "comments": "",
329         "outputs": 1,
330         "x": 1803.0313339233398,
331         "y": 2328.03144299984,
332         "z": "926fea0b.1d3458",
333         "wires": [
334                 ["f46c32a6.383aa", "14327ee.aa1c281", "bbf59025.2f53"]
335         ]
336 }, {
337         "id": "9704be28.3f558",
338         "type": "switchNode",
339         "name": "switch all-found == 'true'",
340         "xml": "<switch test=\"`$tmp.prop.thirdpartySdnc-found == 'true' and $tmp.templateFileName-found == 'true' and `$tmp.prop.restapiUrl-found == 'true'`\">\n",
341         "comments": "",
342         "outputs": 1,
343         "x": 1460.4821796417236,
344         "y": 2483.0379165410995,
345         "z": "926fea0b.1d3458",
346         "wires": [
347                 ["b0b06b48.a5b488", "aeb8dbbb.1a88b8"]
348         ]
349 }, {
350         "id": "b0b06b48.a5b488",
351         "type": "outcomeTrue",
352         "name": "true",
353         "xml": "<outcome value='true'>\n",
354         "comments": "",
355         "outputs": 1,
356         "x": 1711.4821643829346,
357         "y": 2481.037712454796,
358         "z": "926fea0b.1d3458",
359         "wires": [
360                 ["bb8655c6.320038"]
361         ]
362 }, {
363         "id": "e7566aa5.849bc8",
364         "type": "switchNode",
365         "name": "switch network-parameter-name == 'thirdPartyAdaptorRpc'",
366         "xml": "<switch test=\"`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-name == 'thirdPartyAdaptorRpc'`\">\n",
367         "comments": "",
368         "outputs": 1,
369         "x": 1663.0378608703613,
370         "y": 2199.038031935692,
371         "z": "926fea0b.1d3458",
372         "wires": [
373                 ["6b611a9.1a25de4"]
374         ]
375 }, {
376         "id": "6b611a9.1a25de4",
377         "type": "outcomeTrue",
378         "name": "true",
379         "xml": "<outcome value='true'>\n",
380         "comments": "",
381         "outputs": 1,
382         "x": 1996.03812789917,
383         "y": 2202.0380758047104,
384         "z": "926fea0b.1d3458",
385         "wires": [
386                 ["af5f0328.41cb9"]
387         ]
388 }, {
389         "id": "af5f0328.41cb9",
390         "type": "set",
391         "name": "set tmp.thirdPartyAdaptorRpc",
392         "xml": "<set>\n<parameter name='tmp.thirdPartyAdaptorRpc' value='`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-value`' />\n<parameter name='tmp.thirdPartyAdaptorRpc-found' value='true' />",
393         "comments": "",
394         "x": 2217.0380306243896,
395         "y": 2201.0381063222885,
396         "z": "926fea0b.1d3458",
397         "wires": []
398 }, {
399         "id": "bbf59025.2f53",
400         "type": "not-found",
401         "name": "not-found",
402         "xml": "<outcome value='not-found'>\n",
403         "comments": "",
404         "outputs": 1,
405         "x": 2134.037733078003,
406         "y": 2368.3710893392563,
407         "z": "926fea0b.1d3458",
408         "wires": [
409                 ["5e9bef51.b04f9"]
410         ]
411 }, {
412         "id": "14327ee.aa1c281",
413         "type": "failure",
414         "name": "failure",
415         "xml": "<outcome value='failure'>\n",
416         "comments": "",
417         "outputs": 1,
418         "x": 2125.0377826690674,
419         "y": 2336.871115088463,
420         "z": "926fea0b.1d3458",
421         "wires": [
422                 ["5e9bef51.b04f9"]
423         ]
424 }, {
425         "id": "f46c32a6.383aa",
426         "type": "success",
427         "name": "success",
428         "xml": "<outcome value='success'>\n",
429         "comments": "",
430         "outputs": 1,
431         "x": 2128.78782081604,
432         "y": 2307.22821996361,
433         "z": "926fea0b.1d3458",
434         "wires": [
435                 ["2554668a.ceb99a"]
436         ]
437 }, {
438         "id": "5e9bef51.b04f9",
439         "type": "returnFailure",
440         "name": "return failure",
441         "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.thirdPartyAdaptorRpc`\" />\n",
442         "comments": "",
443         "x": 2303.7878017425537,
444         "y": 2359.621233344078,
445         "z": "926fea0b.1d3458",
446         "wires": []
447 }, {
448         "id": "2554668a.ceb99a",
449         "type": "block",
450         "name": "block",
451         "xml": "<block>\n",
452         "atomic": "false",
453         "comments": "",
454         "outputs": 1,
455         "x": 2270.4437885284424,
456         "y": 2303.4203891530633,
457         "z": "926fea0b.1d3458",
458         "wires": [
459                 []
460         ]
461 }, {
462         "id": "9d57cbcd.803d08",
463         "type": "not-found",
464         "name": "not-found",
465         "xml": "<outcome value='not-found'>\n",
466         "comments": "",
467         "outputs": 1,
468         "x": 1898.0378074645996,
469         "y": 2593.370793700218,
470         "z": "926fea0b.1d3458",
471         "wires": [
472                 ["a1110583.4c1b78"]
473         ]
474 }, {
475         "id": "e19ff0cc.bd882",
476         "type": "failure",
477         "name": "failure",
478         "xml": "<outcome value='failure'>\n",
479         "comments": "",
480         "outputs": 1,
481         "x": 1889.037857055664,
482         "y": 2561.8708194494247,
483         "z": "926fea0b.1d3458",
484         "wires": [
485                 ["a1110583.4c1b78"]
486         ]
487 }, {
488         "id": "c0b7550d.f30fe8",
489         "type": "success",
490         "name": "success",
491         "xml": "<outcome value='success'>\n",
492         "comments": "",
493         "outputs": 1,
494         "x": 1892.7878952026367,
495         "y": 2532.227924324572,
496         "z": "926fea0b.1d3458",
497         "wires": [
498                 ["723c84de.ada1cc"]
499         ]
500 }, {
501         "id": "a1110583.4c1b78",
502         "type": "returnFailure",
503         "name": "return failure",
504         "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",
505         "comments": "",
506         "x": 2055.7879219055176,
507         "y": 2578.620891928673,
508         "z": "926fea0b.1d3458",
509         "wires": []
510 }, {
511         "id": "723c84de.ada1cc",
512         "type": "block",
513         "name": "block",
514         "xml": "<block>\n",
515         "atomic": "false",
516         "comments": "",
517         "outputs": 1,
518         "x": 2034.443862915039,
519         "y": 2528.420093514025,
520         "z": "926fea0b.1d3458",
521         "wires": [
522                 []
523         ]
524 }, {
525         "id": "aeb8dbbb.1a88b8",
526         "type": "outcomeTrue",
527         "name": "false",
528         "xml": "<outcome value='false'>\n",
529         "comments": "",
530         "outputs": 1,
531         "x": 1862.7043704986572,
532         "y": 2448.482018828392,
533         "z": "926fea0b.1d3458",
534         "wires": [
535                 ["f8bc7d52.d6dd5"]
536         ]
537 }, {
538         "id": "f8bc7d52.d6dd5",
539         "type": "returnFailure",
540         "name": "return failure",
541         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: 3rd party controller restapiUrl not found\" />\n    \n",
542         "comments": "",
543         "x": 2033.7043704986572,
544         "y": 2456.481988310814,
545         "z": "926fea0b.1d3458",
546         "wires": []
547 }, {
548         "id": "a72b1cb5.05f3c",
549         "type": "execute",
550         "name": "contains specification",
551         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n    <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n    <parameter name=\"target\" value=\"specification\"/>\n",
552         "comments": "",
553         "outputs": 1,
554         "x": 231.03120040893555,
555         "y": 374.03507936000824,
556         "z": "926fea0b.1d3458",
557         "wires": [
558                 ["889cb67a.4a45c8", "2194eb01.d99b44"]
559         ]
560 }, {
561         "id": "889cb67a.4a45c8",
562         "type": "outcomeTrue",
563         "name": "true",
564         "xml": "<outcome value='true'>\n",
565         "comments": "",
566         "outputs": 1,
567         "x": 467.03123474121094,
568         "y": 372.03507125377655,
569         "z": "926fea0b.1d3458",
570         "wires": [
571                 ["ce0b82c8.e7218"]
572         ]
573 }, {
574         "id": "2194eb01.d99b44",
575         "type": "outcomeTrue",
576         "name": "false",
577         "xml": "<outcome value='false'>\n",
578         "comments": "",
579         "outputs": 1,
580         "x": 170.03128814697266,
581         "y": 597.035244345665,
582         "z": "926fea0b.1d3458",
583         "wires": [
584                 ["f8dcacdf.a6eb7"]
585         ]
586 }, {
587         "id": "e74616dd.2ed7f8",
588         "type": "execute",
589         "name": "contains FC",
590         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n    <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n    <parameter name=\"target\" value=\"FC\"/>\n",
591         "comments": "",
592         "outputs": 1,
593         "x": 501.03129959106445,
594         "y": 681.0351728200912,
595         "z": "926fea0b.1d3458",
596         "wires": [
597                 ["c1e8fe64.ca4a9", "c4d599f8.5e9608"]
598         ]
599 }, {
600         "id": "c4d599f8.5e9608",
601         "type": "outcomeTrue",
602         "name": "false",
603         "xml": "<outcome value='false'>\n",
604         "comments": "",
605         "outputs": 1,
606         "x": 146.03127670288086,
607         "y": 1029.0352452993393,
608         "z": "926fea0b.1d3458",
609         "wires": [
610                 ["321c63b.c8d039c"]
611         ]
612 }, {
613         "id": "321c63b.c8d039c",
614         "type": "execute",
615         "name": "contains FD",
616         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n    <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n    <parameter name=\"target\" value=\"FD\"/>\n",
617         "comments": "",
618         "outputs": 1,
619         "x": 355.03126525878906,
620         "y": 1025.0352238416672,
621         "z": "926fea0b.1d3458",
622         "wires": [
623                 ["84b52686.b454a8", "95140b58.666a48"]
624         ]
625 }, {
626         "id": "95140b58.666a48",
627         "type": "outcomeTrue",
628         "name": "false",
629         "xml": "<outcome value='false'>\n",
630         "comments": "",
631         "outputs": 1,
632         "x": 137.99998092651367,
633         "y": 1101.0038818120956,
634         "z": "926fea0b.1d3458",
635         "wires": [
636                 ["816059eb.09e168"]
637         ]
638 }, {
639         "id": "816059eb.09e168",
640         "type": "execute",
641         "name": "contains FcPort",
642         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n    <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n    <parameter name=\"target\" value=\"FcPort\"/>\n",
643         "comments": "",
644         "outputs": 1,
645         "x": 346.99997329711914,
646         "y": 1098.0039104223251,
647         "z": "926fea0b.1d3458",
648         "wires": [
649                 ["4edca0e1.34768", "2171b9cc.48bf96"]
650         ]
651 }, {
652         "id": "c1e8fe64.ca4a9",
653         "type": "outcomeTrue",
654         "name": "true",
655         "xml": "<outcome value='true'>\n",
656         "comments": "",
657         "outputs": 1,
658         "x": 683.0313034057617,
659         "y": 682.0351561307907,
660         "z": "926fea0b.1d3458",
661         "wires": [
662                 ["6e6cf945.de71a8"]
663         ]
664 }, {
665         "id": "84b52686.b454a8",
666         "type": "outcomeTrue",
667         "name": "true",
668         "xml": "<outcome value='true'>\n",
669         "comments": "",
670         "outputs": 1,
671         "x": 927.0314331054688,
672         "y": 1027.035410284996,
673         "z": "926fea0b.1d3458",
674         "wires": [
675                 ["11b701bb.2b820e"]
676         ]
677 }, {
678         "id": "4edca0e1.34768",
679         "type": "outcomeTrue",
680         "name": "true",
681         "xml": "<outcome value='true'>\n",
682         "comments": "",
683         "outputs": 1,
684         "x": 542.000057220459,
685         "y": 1100.003942847252,
686         "z": "926fea0b.1d3458",
687         "wires": [
688                 ["1b21b11e.20ccaf"]
689         ]
690 }, {
691         "id": "2171b9cc.48bf96",
692         "type": "outcomeTrue",
693         "name": "false",
694         "xml": "<outcome value='false'>\n",
695         "comments": "",
696         "outputs": 1,
697         "x": 99.03140258789062,
698         "y": 1342.0355266332626,
699         "z": "926fea0b.1d3458",
700         "wires": [
701                 ["9a67ff91.b1e45"]
702         ]
703 }, {
704         "id": "9a67ff91.b1e45",
705         "type": "block",
706         "name": "block",
707         "xml": "<block>\n",
708         "atomic": "false",
709         "comments": "",
710         "outputs": 1,
711         "x": 387.0001029968262,
712         "y": 1341.0042842626572,
713         "z": "926fea0b.1d3458",
714         "wires": [
715                 ["7b057224.2aa75c"]
716         ]
717 }, {
718         "id": "ce0b82c8.e7218",
719         "type": "returnSuccess",
720         "name": "return success",
721         "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",
722         "comments": "",
723         "x": 731.0585975646973,
724         "y": 368.06244599819183,
725         "z": "926fea0b.1d3458",
726         "wires": []
727 }, {
728         "id": "7b057224.2aa75c",
729         "type": "returnSuccess",
730         "name": "return success",
731         "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",
732         "comments": "",
733         "x": 594.0587425231934,
734         "y": 1338.0627368688583,
735         "z": "926fea0b.1d3458",
736         "wires": []
737 }, {
738         "id": "1b21b11e.20ccaf",
739         "type": "execute",
740         "name": "contains sitewan",
741         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n    <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n    <parameter name=\"target\" value=\"sitewan\"/>\n",
742         "comments": "",
743         "outputs": 1,
744         "x": 735.0275611877441,
745         "y": 1101.031530737877,
746         "z": "926fea0b.1d3458",
747         "wires": [
748                 ["52df494.201adb8", "dbee71dc.d74f"]
749         ]
750 }, {
751         "id": "52df494.201adb8",
752         "type": "outcomeTrue",
753         "name": "true",
754         "xml": "<outcome value='true'>\n",
755         "comments": "",
756         "outputs": 1,
757         "x": 930.027645111084,
758         "y": 1103.0315631628036,
759         "z": "926fea0b.1d3458",
760         "wires": [
761                 ["11b701bb.2b820e"]
762         ]
763 }, {
764         "id": "dbee71dc.d74f",
765         "type": "outcomeTrue",
766         "name": "false",
767         "xml": "<outcome value='false'>\n",
768         "comments": "",
769         "outputs": 1,
770         "x": 483.02745056152344,
771         "y": 1255.0313781499863,
772         "z": "926fea0b.1d3458",
773         "wires": [
774                 ["9a67ff91.b1e45"]
775         ]
776 }, {
777         "id": "6e6cf945.de71a8",
778         "type": "execute",
779         "name": "contains sotn",
780         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n    <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n    <parameter name=\"target\" value=\"sotn\"/>\n",
781         "comments": "",
782         "outputs": 1,
783         "x": 851.0312881469727,
784         "y": 682.035093665123,
785         "z": "926fea0b.1d3458",
786         "wires": [
787                 ["b8e3e9e8.4dd418", "371abc25.a00424"]
788         ]
789 }, {
790         "id": "b8e3e9e8.4dd418",
791         "type": "outcomeTrue",
792         "name": "true",
793         "xml": "<outcome value='true'>\n",
794         "comments": "",
795         "outputs": 1,
796         "x": 1056.781349182129,
797         "y": 681.035072684288,
798         "z": "926fea0b.1d3458",
799         "wires": [
800                 ["61103774.7c2958"]
801         ]
802 }, {
803         "id": "371abc25.a00424",
804         "type": "outcomeTrue",
805         "name": "false",
806         "xml": "<outcome value='false'>\n",
807         "comments": "",
808         "outputs": 1,
809         "x": 922.7814674377441,
810         "y": 970.0351947546005,
811         "z": "926fea0b.1d3458",
812         "wires": [
813                 ["11b701bb.2b820e"]
814         ]
815 }, {
816         "id": "d0dc2867.7aac48",
817         "type": "for",
818         "name": "for sIdx..service-data.networks.network[]",
819         "xml": "<for index='sIdx' start='0' end='`$service-data.networks.network_length`' >\n",
820         "comments": "",
821         "outputs": 1,
822         "x": 1968.059326171875,
823         "y": 729.0627163648605,
824         "z": "926fea0b.1d3458",
825         "wires": [
826                 ["10a3d4d5.ede31b"]
827         ]
828 }, {
829         "id": "8aee33e1.e59d9",
830         "type": "outcomeTrue",
831         "name": "true",
832         "xml": "<outcome value='true'>\n",
833         "comments": "",
834         "outputs": 1,
835         "x": 2503.0594062805176,
836         "y": 669.0628918409348,
837         "z": "926fea0b.1d3458",
838         "wires": [
839                 ["9a9356f4.363c08"]
840         ]
841 }, {
842         "id": "fe450b4f.38cbb8",
843         "type": "set",
844         "name": "set tmp.pidx and tmp.network-input-parameters",
845         "xml": "<set>\n<parameter name='tmp.sotnFcPortList[`$sotnFcPortListLength`]' value='`$sIdx`' />",
846         "comments": "",
847         "x": 2593.6787147521973,
848         "y": 838.4922603368759,
849         "z": "926fea0b.1d3458",
850         "wires": []
851 }, {
852         "id": "10a3d4d5.ede31b",
853         "type": "execute",
854         "name": "contains sotn",
855         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\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",
856         "comments": "",
857         "outputs": 1,
858         "x": 2340.0593223571777,
859         "y": 670.0627735853195,
860         "z": "926fea0b.1d3458",
861         "wires": [
862                 ["8aee33e1.e59d9"]
863         ]
864 }, {
865         "id": "9a9356f4.363c08",
866         "type": "execute",
867         "name": "contains FcPort",
868         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\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",
869         "comments": "",
870         "outputs": 1,
871         "x": 2344.059284210205,
872         "y": 724.0629585981369,
873         "z": "926fea0b.1d3458",
874         "wires": [
875                 ["2c54cd4f.4c8bf2"]
876         ]
877 }, {
878         "id": "f8dcacdf.a6eb7",
879         "type": "block",
880         "name": "block : atomic",
881         "xml": "<block atomic=\"true\">",
882         "atomic": "true",
883         "outputs": 1,
884         "x": 333.0586624145508,
885         "y": 599.0624669790268,
886         "z": "926fea0b.1d3458",
887         "wires": [
888                 ["e74616dd.2ed7f8", "3a764e2f.ce3ce2"]
889         ]
890 }, {
891         "id": "3a764e2f.ce3ce2",
892         "type": "block",
893         "name": "find-network-data-block : atomic",
894         "xml": "<block atomic=\"true\">",
895         "atomic": "true",
896         "comments": "",
897         "outputs": 1,
898         "x": 609.027530670166,
899         "y": 510.6980298757553,
900         "z": "926fea0b.1d3458",
901         "wires": [
902                 ["4e7970ad.4b5bd", "3bfb1023.2b523", "c812a520.767f78"]
903         ]
904 }, {
905         "id": "2c54cd4f.4c8bf2",
906         "type": "outcomeTrue",
907         "name": "true",
908         "xml": "<outcome value='true'>\n",
909         "comments": "",
910         "outputs": 1,
911         "x": 2512.0592079162598,
912         "y": 721.0627983808517,
913         "z": "926fea0b.1d3458",
914         "wires": [
915                 ["c9838804.3271d8"]
916         ]
917 }, {
918         "id": "f025ca00.b1be48",
919         "type": "block",
920         "name": "find-sotn-fc-port-block : atomic",
921         "xml": "<block atomic=\"true\">",
922         "atomic": "true",
923         "comments": "",
924         "outputs": 1,
925         "x": 1540.0592346191406,
926         "y": 680.0626581907272,
927         "z": "926fea0b.1d3458",
928         "wires": [
929                 ["d0dc2867.7aac48", "3f4a3ecb.0378b2"]
930         ]
931 }, {
932         "id": "3f4a3ecb.0378b2",
933         "type": "set",
934         "name": "set sotnFcPortListLength",
935         "xml": "<set>\n<parameter name='sotnFcPortListLength' value='0' />",
936         "comments": "",
937         "x": 1909.0587921142578,
938         "y": 621.0627483129501,
939         "z": "926fea0b.1d3458",
940         "wires": []
941 }, {
942         "id": "c9838804.3271d8",
943         "type": "block",
944         "name": "find-OOF-input-block : atomic",
945         "xml": "<block atomic=\"true\">",
946         "atomic": "true",
947         "comments": "",
948         "outputs": 1,
949         "x": 2390.5591468811035,
950         "y": 775.0626882314682,
951         "z": "926fea0b.1d3458",
952         "wires": [
953                 ["fe450b4f.38cbb8", "d2affa42.51fb78"]
954         ]
955 }, {
956         "id": "d2affa42.51fb78",
957         "type": "for",
958         "name": "for sIdx..network-input-parameters[]",
959         "xml": "<for index='paramIdx' start='0' end='`$service-data.networks.network[$sIdx].network-data.network-request-input.network-input-parameters.param_length`' >\n",
960         "comments": "",
961         "outputs": 1,
962         "x": 2569.0589027404785,
963         "y": 890.0628179311752,
964         "z": "926fea0b.1d3458",
965         "wires": [
966                 ["eb3ac434.e3fe48"]
967         ]
968 }, {
969         "id": "eb3ac434.e3fe48",
970         "type": "execute",
971         "name": "contains address",
972         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\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",
973         "comments": "",
974         "outputs": 1,
975         "x": 2537.558811187744,
976         "y": 943.0626500844955,
977         "z": "926fea0b.1d3458",
978         "wires": [
979                 ["7ce26fd1.8df38"]
980         ]
981 }, {
982         "id": "7ce26fd1.8df38",
983         "type": "outcomeTrue",
984         "name": "true",
985         "xml": "<outcome value='true'>\n",
986         "comments": "",
987         "outputs": 1,
988         "x": 2719.5589332580566,
989         "y": 943.0626500844955,
990         "z": "926fea0b.1d3458",
991         "wires": [
992                 ["c085ea30.cd5968"]
993         ]
994 }, {
995         "id": "a47015e8.cb0ee8",
996         "type": "set",
997         "name": "set sotnFcPortAddress",
998         "xml": "<set>\n<parameter name='sotnFcPortAddress' value='`$service-data.networks.network[$sIdx].network-data.network-request-input.network-input-parameters.param[$paramIdx].value`' />",
999         "comments": "",
1000         "x": 2777.5603942871094,
1001         "y": 1056.0630768537521,
1002         "z": "926fea0b.1d3458",
1003         "wires": []
1004 }, {
1005         "id": "c085ea30.cd5968",
1006         "type": "block",
1007         "name": "get-OOF-input-block : atomic",
1008         "xml": "<block atomic=\"true\">",
1009         "atomic": "true",
1010         "comments": "",
1011         "outputs": 1,
1012         "x": 2586.5589637756348,
1013         "y": 1001.0628217458725,
1014         "z": "926fea0b.1d3458",
1015         "wires": [
1016                 ["a47015e8.cb0ee8", "1e310231.0de11e"]
1017         ]
1018 }, {
1019         "id": "c68e0fa0.942c8",
1020         "type": "success",
1021         "name": "success",
1022         "xml": "<outcome value='success'>\n",
1023         "comments": "",
1024         "outputs": 1,
1025         "x": 2802.0600090026855,
1026         "y": 1178.0625947713852,
1027         "z": "926fea0b.1d3458",
1028         "wires": [
1029                 ["87931697.ce9668"]
1030         ]
1031 }, {
1032         "id": "1e310231.0de11e",
1033         "type": "execute",
1034         "name": "execute RestApiCallNode - get access Tp from OSS",
1035         "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",
1036         "comments": "",
1037         "outputs": 1,
1038         "x": 2899.0589332580566,
1039         "y": 1115.062528014183,
1040         "z": "926fea0b.1d3458",
1041         "wires": [
1042                 ["c68e0fa0.942c8"]
1043         ]
1044 }, {
1045         "id": "87931697.ce9668",
1046         "type": "switchNode",
1047         "name": "switch temp.oss.accessTPs_length",
1048         "xml": "<switch test=\"`$temp.oss.accessTPs_length`\">\n",
1049         "comments": "",
1050         "outputs": 1,
1051         "x": 3098.0591163635254,
1052         "y": 1177.0625051259995,
1053         "z": "926fea0b.1d3458",
1054         "wires": [
1055                 ["7d124bb0.ba2c74"]
1056         ]
1057 }, {
1058         "id": "7d124bb0.ba2c74",
1059         "type": "other",
1060         "name": "other",
1061         "xml": "<outcome value='Other'>\n",
1062         "comments": "",
1063         "outputs": 1,
1064         "x": 3362.560386657715,
1065         "y": 1176.0627821683884,
1066         "z": "926fea0b.1d3458",
1067         "wires": [
1068                 ["50e1d009.293c"]
1069         ]
1070 }, {
1071         "id": "c6383260.ec986",
1072         "type": "set",
1073         "name": "set temp.accessTPs_length",
1074         "xml": "<set>\n<parameter name='temp.accessTPs_length' value='`$temp.accessTPs_length + $temp.oss.accessTPs_length`' />\n\n",
1075         "comments": "",
1076         "x": 3308.060012817383,
1077         "y": 1442.0589436292648,
1078         "z": "926fea0b.1d3458",
1079         "wires": []
1080 }, {
1081         "id": "50e1d009.293c",
1082         "type": "block",
1083         "name": "copy-accessTPs-block : atomic",
1084         "xml": "<block atomic=\"true\">",
1085         "atomic": "true",
1086         "comments": "",
1087         "outputs": 1,
1088         "x": 2962.808380126953,
1089         "y": 1265.058205485344,
1090         "z": "926fea0b.1d3458",
1091         "wires": [
1092                 ["c6383260.ec986", "9cdee8cd.2dbad8", "d76eb76d.375dc8"]
1093         ]
1094 }, {
1095         "id": "9cdee8cd.2dbad8",
1096         "type": "switchNode",
1097         "name": "switch temp.accessTPs_length",
1098         "xml": "<switch test='`$temp.accessTPs_length`'>\n",
1099         "comments": "",
1100         "outputs": 1,
1101         "x": 3346.558334350586,
1102         "y": 1267.0580424070358,
1103         "z": "926fea0b.1d3458",
1104         "wires": [
1105                 ["ddd28ed8.0b65e", "1b7da2eb.0351cd"]
1106         ]
1107 }, {
1108         "id": "ddd28ed8.0b65e",
1109         "type": "other",
1110         "name": "Null",
1111         "xml": "<outcome value=''>\n",
1112         "comments": "",
1113         "outputs": 1,
1114         "x": 3572.5581855773926,
1115         "y": 1242.0579699277878,
1116         "z": "926fea0b.1d3458",
1117         "wires": [
1118                 ["884aab61.79c368"]
1119         ]
1120 }, {
1121         "id": "884aab61.79c368",
1122         "type": "set",
1123         "name": "set tp_length",
1124         "xml": "<set>\n<parameter name='tp_length' value='0' />",
1125         "comments": "",
1126         "x": 3759.05802154541,
1127         "y": 1240.0579756791703,
1128         "z": "926fea0b.1d3458",
1129         "wires": []
1130 }, {
1131         "id": "1b7da2eb.0351cd",
1132         "type": "other",
1133         "name": "other",
1134         "xml": "<outcome value='Other'>\n",
1135         "comments": "",
1136         "outputs": 1,
1137         "x": 3568.558151245117,
1138         "y": 1297.058015704155,
1139         "z": "926fea0b.1d3458",
1140         "wires": [
1141                 ["aab633d0.c1e13"]
1142         ]
1143 }, {
1144         "id": "aab633d0.c1e13",
1145         "type": "set",
1146         "name": "set tp_length",
1147         "xml": "<set>\n<parameter name='tp_length' value='`$temp.accessTPs_length`' />",
1148         "comments": "",
1149         "x": 3757.308090209961,
1150         "y": 1297.058000445366,
1151         "z": "926fea0b.1d3458",
1152         "wires": []
1153 }, {
1154         "id": "d76eb76d.375dc8",
1155         "type": "for",
1156         "name": "for each existing temp.oss.accessTPs",
1157         "xml": "<for index='idx' start='0' end='`$temp.oss.accessTPs_length`' >\n",
1158         "comments": "",
1159         "outputs": 1,
1160         "x": 3348.3087768554688,
1161         "y": 1365.0581473112106,
1162         "z": "926fea0b.1d3458",
1163         "wires": [
1164                 ["ee87558c.d153c8"]
1165         ]
1166 }, {
1167         "id": "ee87558c.d153c8",
1168         "type": "set",
1169         "name": "set temp.accessTPs",
1170         "xml": "<set>\n<parameter name='`temp.accessTPs[$idx + $tp_length].`' value='`$temp.oss.accessTPs[$idx].`' />",
1171         "comments": "",
1172         "x": 3716.3086700439453,
1173         "y": 1366.0582951307297,
1174         "z": "926fea0b.1d3458",
1175         "wires": []
1176 }, {
1177         "id": "61103774.7c2958",
1178         "type": "block",
1179         "name": "block",
1180         "xml": "<block>\n",
1181         "atomic": "false",
1182         "comments": "",
1183         "outputs": 1,
1184         "x": 1226.0586776733398,
1185         "y": 679.0624278783798,
1186         "z": "926fea0b.1d3458",
1187         "wires": [
1188                 ["f025ca00.b1be48", "45d2bc6f.d74144"]
1189         ]
1190 }, {
1191         "id": "3397eec.96a2812",
1192         "type": "execute",
1193         "name": "execute RestApiCallNode getPath from OOF",
1194         "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`\" />",
1195         "comments": "",
1196         "outputs": 1,
1197         "x": 1952.5589714050293,
1198         "y": 1317.0627564191818,
1199         "z": "926fea0b.1d3458",
1200         "wires": [
1201                 ["44889bda.c6f5b4", "b5ee75d7.fdc598"]
1202         ]
1203 }, {
1204         "id": "b5ee75d7.fdc598",
1205         "type": "failure",
1206         "name": "failure",
1207         "xml": "<outcome value='failure'>\n",
1208         "comments": "",
1209         "outputs": 1,
1210         "x": 2281.558624267578,
1211         "y": 1297.0628241300583,
1212         "z": "926fea0b.1d3458",
1213         "wires": [
1214                 []
1215         ]
1216 }, {
1217         "id": "44889bda.c6f5b4",
1218         "type": "success",
1219         "name": "success",
1220         "xml": "<outcome value='success'>\n",
1221         "comments": "",
1222         "outputs": 1,
1223         "x": 2282.558837890625,
1224         "y": 1348.0627335309982,
1225         "z": "926fea0b.1d3458",
1226         "wires": [
1227                 ["a7b63c93.b232"]
1228         ]
1229 }, {
1230         "id": "45d2bc6f.d74144",
1231         "type": "switchNode",
1232         "name": "switch temp.accessTPs_length",
1233         "xml": "<switch test=\"`$temp.accessTPs_length >= 2`\">\n\n",
1234         "comments": "",
1235         "outputs": 1,
1236         "x": 1607.558650970459,
1237         "y": 1072.0625962018967,
1238         "z": "926fea0b.1d3458",
1239         "wires": [
1240                 ["1fe1fd41.188173"]
1241         ]
1242 }, {
1243         "id": "1fe1fd41.188173",
1244         "type": "outcomeTrue",
1245         "name": "true",
1246         "xml": "<outcome value='true'>\n",
1247         "comments": "",
1248         "outputs": 1,
1249         "x": 1839.0589485168457,
1250         "y": 1071.0624426603317,
1251         "z": "926fea0b.1d3458",
1252         "wires": [
1253                 ["6afbb95f.22fc18"]
1254         ]
1255 }, {
1256         "id": "6afbb95f.22fc18",
1257         "type": "block",
1258         "name": "call-oof-block : atomic",
1259         "xml": "<block atomic=\"true\">",
1260         "atomic": "true",
1261         "comments": "",
1262         "outputs": 1,
1263         "x": 1583.0585975646973,
1264         "y": 1208.0625027418137,
1265         "z": "926fea0b.1d3458",
1266         "wires": [
1267                 ["3397eec.96a2812", "3bd5ae29.6c4052"]
1268         ]
1269 }, {
1270         "id": "3bd5ae29.6c4052",
1271         "type": "set",
1272         "name": "set oof input",
1273         "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`' />",
1274         "comments": "",
1275         "x": 1839.5586738586426,
1276         "y": 1212.0624779462814,
1277         "z": "926fea0b.1d3458",
1278         "wires": []
1279 }, {
1280         "id": "e5744234.46142",
1281         "type": "execute",
1282         "name": "execute RestApiCallNode Create Sotn connectivity Service",
1283         "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`\" />",
1284         "comments": "",
1285         "outputs": 1,
1286         "x": 2808.694080352783,
1287         "y": 1838.0313729047775,
1288         "z": "926fea0b.1d3458",
1289         "wires": [
1290                 ["535d5b4b.9b7f24", "2e0febd4.c0f1c4"]
1291         ]
1292 }, {
1293         "id": "535d5b4b.9b7f24",
1294         "type": "success",
1295         "name": "success",
1296         "xml": "<outcome value='success'>\n",
1297         "comments": "",
1298         "outputs": 1,
1299         "x": 3146.6938972473145,
1300         "y": 1868.0314563512802,
1301         "z": "926fea0b.1d3458",
1302         "wires": [
1303                 ["dd3310d7.09a74"]
1304         ]
1305 }, {
1306         "id": "dd3310d7.09a74",
1307         "type": "block",
1308         "name": "block : atomic",
1309         "xml": "<block atomic=\"true\">",
1310         "atomic": "true",
1311         "comments": "",
1312         "outputs": 1,
1313         "x": 3294.6938972473145,
1314         "y": 1866.0313342809677,
1315         "z": "926fea0b.1d3458",
1316         "wires": [
1317                 []
1318         ]
1319 }, {
1320         "id": "f9b75d98.9e7f2",
1321         "type": "returnFailure",
1322         "name": "return failure",
1323         "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",
1324         "comments": "",
1325         "x": 3276.6939277648926,
1326         "y": 1813.0313943624496,
1327         "z": "926fea0b.1d3458",
1328         "wires": []
1329 }, {
1330         "id": "2e0febd4.c0f1c4",
1331         "type": "failure",
1332         "name": "failure",
1333         "xml": "<outcome value='failure'>\n",
1334         "comments": "",
1335         "outputs": 1,
1336         "x": 3137.693836212158,
1337         "y": 1813.0313943624496,
1338         "z": "926fea0b.1d3458",
1339         "wires": [
1340                 ["f9b75d98.9e7f2"]
1341         ]
1342 }, {
1343         "id": "a7b63c93.b232",
1344         "type": "for",
1345         "name": "for vidx..oof.vpns_length[]",
1346         "xml": "<for index='vidx' start='0' end='`$oof.vpns_length`' >",
1347         "comments": "",
1348         "outputs": 1,
1349         "x": 2386.697696685791,
1350         "y": 1526.5348581075668,
1351         "z": "926fea0b.1d3458",
1352         "wires": [
1353                 ["eeab1f45.5ad4e"]
1354         ]
1355 }, {
1356         "id": "eeab1f45.5ad4e",
1357         "type": "block",
1358         "name": "block : atomic",
1359         "xml": "<block atomic=\"true\">",
1360         "atomic": "true",
1361         "outputs": 1,
1362         "x": 2499.8150596618652,
1363         "y": 1626.3748730421066,
1364         "z": "926fea0b.1d3458",
1365         "wires": [
1366                 ["6c8bea50.c3a084", "c15d913b.304b6", "e5744234.46142", "410e9e0d.02dd6"]
1367         ]
1368 }, {
1369         "id": "cfda9d38.b58d3",
1370         "type": "set",
1371         "name": "set controller data",
1372         "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",
1373         "comments": "",
1374         "x": 3141.25972366333,
1375         "y": 1690.7080653905869,
1376         "z": "926fea0b.1d3458",
1377         "wires": []
1378 }, {
1379         "id": "c15d913b.304b6",
1380         "type": "get-resource",
1381         "name": "get-resource esr-thirdparty-sdnc",
1382         "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",
1383         "comments": "",
1384         "outputs": 1,
1385         "x": 2757.7596321105957,
1386         "y": 1727.7080048322678,
1387         "z": "926fea0b.1d3458",
1388         "wires": [
1389                 ["13cbf9b9.b81a66", "bc1574ec.7fa5e8", "ad0c242.b566ad8"]
1390         ]
1391 }, {
1392         "id": "13cbf9b9.b81a66",
1393         "type": "success",
1394         "name": "success",
1395         "xml": "<outcome value='success'>\n",
1396         "comments": "",
1397         "outputs": 1,
1398         "x": 2977.759567260742,
1399         "y": 1691.7079738378525,
1400         "z": "926fea0b.1d3458",
1401         "wires": [
1402                 ["cfda9d38.b58d3"]
1403         ]
1404 }, {
1405         "id": "bc1574ec.7fa5e8",
1406         "type": "not-found",
1407         "name": "not-found",
1408         "xml": "<outcome value='not-found'>\n",
1409         "comments": "",
1410         "outputs": 1,
1411         "x": 2987.2505073547363,
1412         "y": 1732.28197991848,
1413         "z": "926fea0b.1d3458",
1414         "wires": [
1415                 ["6527879e.b615e8"]
1416         ]
1417 }, {
1418         "id": "ad0c242.b566ad8",
1419         "type": "other",
1420         "name": "other",
1421         "xml": "<outcome value='Other'>\n",
1422         "comments": "",
1423         "outputs": 1,
1424         "x": 2982.583484649658,
1425         "y": 1768.6152929067612,
1426         "z": "926fea0b.1d3458",
1427         "wires": [
1428                 ["85d611b.775aaf"]
1429         ]
1430 }, {
1431         "id": "6527879e.b615e8",
1432         "type": "returnFailure",
1433         "name": "return failure",
1434         "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",
1435         "comments": "",
1436         "x": 3133.8218574523926,
1437         "y": 1728.5678066015244,
1438         "z": "926fea0b.1d3458",
1439         "wires": []
1440 }, {
1441         "id": "85d611b.775aaf",
1442         "type": "returnFailure",
1443         "name": "return failure",
1444         "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",
1445         "comments": "",
1446         "x": 3137.356128692627,
1447         "y": 1770.05444085598,
1448         "z": "926fea0b.1d3458",
1449         "wires": []
1450 }, {
1451         "id": "6c8bea50.c3a084",
1452         "type": "get-resource",
1453         "name": "get-resource pnf",
1454         "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",
1455         "comments": "",
1456         "outputs": 1,
1457         "x": 2703.2595252990723,
1458         "y": 1636.7076486349106,
1459         "z": "926fea0b.1d3458",
1460         "wires": [
1461                 ["361f5e9d.140af2", "4cf0f707.e6c778", "6db6cec3.b72d2"]
1462         ]
1463 }, {
1464         "id": "361f5e9d.140af2",
1465         "type": "success",
1466         "name": "success",
1467         "xml": "<outcome value='success'>\n",
1468         "comments": "",
1469         "outputs": 1,
1470         "x": 2885.2595710754395,
1471         "y": 1581.7077587842941,
1472         "z": "926fea0b.1d3458",
1473         "wires": [
1474                 ["71ac1295.fb6b8c"]
1475         ]
1476 }, {
1477         "id": "4cf0f707.e6c778",
1478         "type": "not-found",
1479         "name": "not-found",
1480         "xml": "<outcome value='not-found'>\n",
1481         "comments": "",
1482         "outputs": 1,
1483         "x": 2885.750473022461,
1484         "y": 1619.2818554639816,
1485         "z": "926fea0b.1d3458",
1486         "wires": [
1487                 ["c8a04464.0d92e8"]
1488         ]
1489 }, {
1490         "id": "6db6cec3.b72d2",
1491         "type": "other",
1492         "name": "other",
1493         "xml": "<outcome value='Other'>\n",
1494         "comments": "",
1495         "outputs": 1,
1496         "x": 2877.083484649658,
1497         "y": 1652.6152304410934,
1498         "z": "926fea0b.1d3458",
1499         "wires": [
1500                 ["2ba90495.cc80ec"]
1501         ]
1502 }, {
1503         "id": "c8a04464.0d92e8",
1504         "type": "returnFailure",
1505         "name": "return failure",
1506         "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",
1507         "comments": "",
1508         "x": 3033.3220977783203,
1509         "y": 1618.5677441358566,
1510         "z": "926fea0b.1d3458",
1511         "wires": []
1512 }, {
1513         "id": "2ba90495.cc80ec",
1514         "type": "returnFailure",
1515         "name": "return failure",
1516         "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",
1517         "comments": "",
1518         "x": 3030.856128692627,
1519         "y": 1652.0543783903122,
1520         "z": "926fea0b.1d3458",
1521         "wires": []
1522 }, {
1523         "id": "71ac1295.fb6b8c",
1524         "type": "set",
1525         "name": "set tmp.thirdparty-sdnc-id",
1526         "xml": "<set>\n<parameter name='tmp.thirdparty-sdnc-id' value=\"`$tmp.aai.pnf.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n",
1527         "comments": "",
1528         "x": 3070.2595710754395,
1529         "y": 1580.7078808546066,
1530         "z": "926fea0b.1d3458",
1531         "wires": []
1532 }, {
1533         "id": "410e9e0d.02dd6",
1534         "type": "set",
1535         "name": "set oof.vpn",
1536         "xml": "<set>\n<parameter name='oof.vpn.' value='`$oof.vpns[$vidx].`' />",
1537         "comments": "",
1538         "x": 2695.2595176696777,
1539         "y": 1525.8187206983566,
1540         "z": "926fea0b.1d3458",
1541         "wires": []
1542 }, {
1543         "id": "e1dac9e1.6143b8",
1544         "type": "switchNode",
1545         "name": "switch network-parameter-name == 'thirdPartySdncId'",
1546         "xml": "<switch test=\"`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-name == 'thirdPartySdncId'`\">\n",
1547         "comments": "",
1548         "outputs": 1,
1549         "x": 1656.3606433868408,
1550         "y": 2064.0312827825546,
1551         "z": "926fea0b.1d3458",
1552         "wires": [
1553                 ["97e55015.0cef1"]
1554         ]
1555 }, {
1556         "id": "97e55015.0cef1",
1557         "type": "outcomeTrue",
1558         "name": "true",
1559         "xml": "<outcome value='true'>\n",
1560         "comments": "",
1561         "outputs": 1,
1562         "x": 1987.5585746765137,
1563         "y": 2065.0622037649155,
1564         "z": "926fea0b.1d3458",
1565         "wires": [
1566                 ["4f5ce339.2f4b7c"]
1567         ]
1568 }, {
1569         "id": "4f5ce339.2f4b7c",
1570         "type": "get-resource",
1571         "name": "get-resource esr-thirdparty-sdnc",
1572         "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.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-value` AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
1573         "comments": "",
1574         "outputs": 1,
1575         "x": 2252.559513092041,
1576         "y": 2063.0622037649155,
1577         "z": "926fea0b.1d3458",
1578         "wires": [
1579                 ["2b9c64e4.ee151c", "847e4996.04f018", "b0a7e0c2.d0f99"]
1580         ]
1581 }, {
1582         "id": "2b9c64e4.ee151c",
1583         "type": "success",
1584         "name": "success",
1585         "xml": "<outcome value='success'>\n",
1586         "comments": "",
1587         "outputs": 1,
1588         "x": 2514.5593185424805,
1589         "y": 2007.0620158910751,
1590         "z": "926fea0b.1d3458",
1591         "wires": [
1592                 ["760fc6b6.ea2d48"]
1593         ]
1594 }, {
1595         "id": "760fc6b6.ea2d48",
1596         "type": "set",
1597         "name": "set controller data",
1598         "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",
1599         "comments": "",
1600         "x": 2712.0593795776367,
1601         "y": 1995.0620158910751,
1602         "z": "926fea0b.1d3458",
1603         "wires": []
1604 }, {
1605         "id": "847e4996.04f018",
1606         "type": "not-found",
1607         "name": "not-found",
1608         "xml": "<outcome value='not-found'>\n",
1609         "comments": "",
1610         "outputs": 1,
1611         "x": 2546.0501823425293,
1612         "y": 2055.636119246483,
1613         "z": "926fea0b.1d3458",
1614         "wires": [
1615                 ["d47f6331.80419"]
1616         ]
1617 }, {
1618         "id": "b0a7e0c2.d0f99",
1619         "type": "other",
1620         "name": "other",
1621         "xml": "<outcome value='Other'>\n",
1622         "comments": "",
1623         "outputs": 1,
1624         "x": 2541.3831901550293,
1625         "y": 2096.969432234764,
1626         "z": "926fea0b.1d3458",
1627         "wires": [
1628                 ["d47f6331.80419"]
1629         ]
1630 }, {
1631         "id": "d47f6331.80419",
1632         "type": "set",
1633         "name": "set controller data",
1634         "xml": "<set>\n<parameter name='prop.thirdpartySdnc-found' value='false' />\n",
1635         "comments": "",
1636         "x": 2753.0585975646973,
1637         "y": 2074.062201857567,
1638         "z": "926fea0b.1d3458",
1639         "wires": []
1640 }, {
1641         "id": "43cfa6be.6eb688",
1642         "type": "switchNode",
1643         "name": "switch network-parameter-name == 'restapiUrl'",
1644         "xml": "<switch test=\"`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-name == 'restapiUrl'`\">\n",
1645         "comments": "",
1646         "outputs": 1,
1647         "x": 1629.5584564208984,
1648         "y": 2156.0620836019516,
1649         "z": "926fea0b.1d3458",
1650         "wires": [
1651                 ["24fb19a9.1d22f6"]
1652         ]
1653 }, {
1654         "id": "24fb19a9.1d22f6",
1655         "type": "outcomeTrue",
1656         "name": "true",
1657         "xml": "<outcome value='true'>\n",
1658         "comments": "",
1659         "outputs": 1,
1660         "x": 1971.5585670471191,
1661         "y": 2154.0622066259384,
1662         "z": "926fea0b.1d3458",
1663         "wires": [
1664                 ["cdaeb398.e7393"]
1665         ]
1666 }, {
1667         "id": "cdaeb398.e7393",
1668         "type": "set",
1669         "name": "set tmp.templateFileName",
1670         "xml": "<set>\n<parameter name='tmp.restapiUrl' value='`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-value`' />\n<parameter name='tmp.restapiUrl-found' value='true' />",
1671         "comments": "",
1672         "x": 2215.558645248413,
1673         "y": 2158.0622762441635,
1674         "z": "926fea0b.1d3458",
1675         "wires": []
1676 }]