Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_wan-connection-topology-operation-deactivate.json
1 [{
2         "id": "dc5daae1.4b2b68",
3         "type": "dgstart",
4         "name": "DGSTART",
5         "outputs": 1,
6         "x": 136.01040649414062,
7         "y": 88.01041412353516,
8         "z": "5f2b1b80.205544",
9         "wires": [
10                 ["f86fe308.85c13"]
11         ]
12 }, {
13         "id": "f86fe308.85c13",
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": 348.0104103088379,
22         "y": 160.01043128967285,
23         "z": "5f2b1b80.205544",
24         "wires": [
25                 ["c94e70a1.1a9f8"]
26         ]
27 }, {
28         "id": "c94e70a1.1a9f8",
29         "type": "method",
30         "name": "wan-connection-topology-operation-deactivate",
31         "xml": "<method rpc='wan-connection-topology-operation-deactivate' mode='sync'>\n",
32         "comments": "",
33         "outputs": 1,
34         "x": 336.0105285644531,
35         "y": 248.01041412353516,
36         "z": "5f2b1b80.205544",
37         "wires": [
38                 ["2779c46a.0d3bfc"]
39         ]
40 }, {
41         "id": "57a97cf3.f011a4",
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": 723.0106887817383,
48         "y": 332.0104856491089,
49         "z": "5f2b1b80.205544",
50         "wires": [
51                 []
52         ]
53 }, {
54         "id": "ea250cc1.d5382",
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": 323.0104217529297,
60         "y": 1197.010627746582,
61         "z": "5f2b1b80.205544",
62         "wires": []
63 }, {
64         "id": "2779c46a.0d3bfc",
65         "type": "block",
66         "name": "block : atomic",
67         "xml": "<block atomic=\"true\">",
68         "atomic": "true",
69         "outputs": 1,
70         "x": 248.51060485839844,
71         "y": 689.0105495452881,
72         "z": "5f2b1b80.205544",
73         "wires": [
74                 ["ed99019f.1977", "7dda64d7.a5a00c", "f7ff6068.4e95b", "3266b2a4.654dfe", "5f4320a1.8de1c", "57a97cf3.f011a4", "ea250cc1.d5382"]
75         ]
76 }, {
77         "id": "ed99019f.1977",
78         "type": "execute",
79         "name": "generate services url",
80         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.network-provided-resource`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.services-url\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$network-topology-operation-input.service-information.service-id`\"/>\n",
81         "comments": "",
82         "outputs": 1,
83         "x": 709.0106735229492,
84         "y": 403.0105857849121,
85         "z": "5f2b1b80.205544",
86         "wires": [
87                 []
88         ]
89 }, {
90         "id": "7dda64d7.a5a00c",
91         "type": "execute",
92         "name": "execute RestApiCallNode - get-resource parent service data",
93         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.services-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-psd\" />\n\n",
94         "comments": "",
95         "outputs": 1,
96         "x": 835.0106735229492,
97         "y": 480.0105857849121,
98         "z": "5f2b1b80.205544",
99         "wires": [
100                 ["1a420eef.b4ab81", "758b4d6.827c5b4"]
101         ]
102 }, {
103         "id": "1a420eef.b4ab81",
104         "type": "success",
105         "name": "success",
106         "xml": "<outcome value='success'>\n",
107         "comments": "",
108         "outputs": 1,
109         "x": 1182.010856628418,
110         "y": 431.0105857849121,
111         "z": "5f2b1b80.205544",
112         "wires": [
113                 ["f55029d2.253db8"]
114         ]
115 }, {
116         "id": "f55029d2.253db8",
117         "type": "block",
118         "name": "block",
119         "xml": "<block>\n",
120         "atomic": "false",
121         "comments": "",
122         "outputs": 1,
123         "x": 1349.0109329223633,
124         "y": 465.0106463432312,
125         "z": "5f2b1b80.205544",
126         "wires": [
127                 []
128         ]
129 }, {
130         "id": "758b4d6.827c5b4",
131         "type": "other",
132         "name": "other",
133         "xml": "<outcome value='Other'>\n",
134         "comments": "",
135         "outputs": 1,
136         "x": 1187.8626289367676,
137         "y": 514.0767450332642,
138         "z": "5f2b1b80.205544",
139         "wires": [
140                 ["1418c003.c3bc4"]
141         ]
142 }, {
143         "id": "1418c003.c3bc4",
144         "type": "returnFailure",
145         "name": "return failure",
146         "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: Parent service data not available\" />\n    \n",
147         "comments": "",
148         "x": 1358.2607803344727,
149         "y": 530.0105752944946,
150         "z": "5f2b1b80.205544",
151         "wires": []
152 }, {
153         "id": "f7ff6068.4e95b",
154         "type": "for",
155         "name": "for pidx..mdsal-psd.service-data.networks.network[]",
156         "xml": "<for index='pidx' start='0' end='`$mdsal-psd.service-data.networks.network_length`' >\n",
157         "comments": "",
158         "outputs": 1,
159         "x": 895.5107116699219,
160         "y": 631.0105295181274,
161         "z": "5f2b1b80.205544",
162         "wires": [
163                 ["492dcfc8.84723"]
164         ]
165 }, {
166         "id": "492dcfc8.84723",
167         "type": "switchNode",
168         "name": "switch model-name",
169         "xml": "<switch test=\"`$mdsal-psd.service-data.networks.network[$pidx].network-id == $network-topology-operation-input.network-information.network-id`\">\n\n",
170         "comments": "",
171         "outputs": 1,
172         "x": 843.5106887817383,
173         "y": 708.0105800628662,
174         "z": "5f2b1b80.205544",
175         "wires": [
176                 ["27343179.181b8e"]
177         ]
178 }, {
179         "id": "27343179.181b8e",
180         "type": "outcomeTrue",
181         "name": "true",
182         "xml": "<outcome value='true'>\n",
183         "comments": "",
184         "outputs": 1,
185         "x": 1025.7607917785645,
186         "y": 710.0106735229492,
187         "z": "5f2b1b80.205544",
188         "wires": [
189                 ["63f3970f.a34118"]
190         ]
191 }, {
192         "id": "63f3970f.a34118",
193         "type": "block",
194         "name": "block : atomic",
195         "xml": "<block atomic=\"true\">",
196         "atomic": "true",
197         "outputs": 1,
198         "x": 1196.5214195251465,
199         "y": 714.867790222168,
200         "z": "5f2b1b80.205544",
201         "wires": [
202                 ["a56f8acd.7498b8"]
203         ]
204 }, {
205         "id": "a56f8acd.7498b8",
206         "type": "set",
207         "name": "set tmp.pidx and tmp.network-input-parameters",
208         "xml": "<set>\n<parameter name='tmp.pidx' value='`$pidx`' />\n<parameter name='tmp.network.' value='`$mdsal-psd.service-data.networks.network[$pidx].`' />\n<parameter name='tmp.network-input-parameters' value='`$mdsal-psd.service-data.networks.network[$pidx].network-data.network-request-input.network-input-parameters`' />\n<parameter name='tmp.found-network-input' value='true' />",
209         "comments": "",
210         "x": 1143.3788032531738,
211         "y": 788.4393863677979,
212         "z": "5f2b1b80.205544",
213         "wires": []
214 }, {
215         "id": "3266b2a4.654dfe",
216         "type": "set",
217         "name": "set tmp.found-network-input",
218         "xml": "<set>\n<parameter name='tmp.found-network-input' value='false' />",
219         "comments": "",
220         "x": 777.5106582641602,
221         "y": 560.0105857849121,
222         "z": "5f2b1b80.205544",
223         "wires": []
224 }, {
225         "id": "5f4320a1.8de1c",
226         "type": "switchNode",
227         "name": "switch found-network-input",
228         "xml": "<switch test=\"`$found-network-input`\">\n\n",
229         "comments": "",
230         "outputs": 1,
231         "x": 608.5107040405273,
232         "y": 899.0107097625732,
233         "z": "5f2b1b80.205544",
234         "wires": [
235                 ["8d8a4cba.9e184", "b9d9fb0b.7db9b8"]
236         ]
237 }, {
238         "id": "8d8a4cba.9e184",
239         "type": "outcomeTrue",
240         "name": "true",
241         "xml": "<outcome value='true'>\n",
242         "comments": "",
243         "outputs": 1,
244         "x": 840.5107955932617,
245         "y": 943.010908126831,
246         "z": "5f2b1b80.205544",
247         "wires": [
248                 ["d6f87580.2dc1d8"]
249         ]
250 }, {
251         "id": "b9d9fb0b.7db9b8",
252         "type": "outcomeTrue",
253         "name": "false",
254         "xml": "<outcome value='false'>\n",
255         "comments": "",
256         "outputs": 1,
257         "x": 841.2607345581055,
258         "y": 901.010799407959,
259         "z": "5f2b1b80.205544",
260         "wires": [
261                 ["cd109ebd.9e8f9"]
262         ]
263 }, {
264         "id": "cd109ebd.9e8f9",
265         "type": "returnFailure",
266         "name": "return failure",
267         "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",
268         "comments": "",
269         "x": 1012.2607345581055,
270         "y": 909.0107688903809,
271         "z": "5f2b1b80.205544",
272         "wires": []
273 }, {
274         "id": "d6f87580.2dc1d8",
275         "type": "block",
276         "name": "block : atomic",
277         "xml": "<block atomic=\"true\">",
278         "atomic": "true",
279         "outputs": 1,
280         "x": 578.0105819702148,
281         "y": 1055.0106945037842,
282         "z": "5f2b1b80.205544",
283         "wires": [
284                 ["9089330c.7c429", "f7517eb4.eccef", "c4ea6652.9fa878"]
285         ]
286 }, {
287         "id": "9089330c.7c429",
288         "type": "for",
289         "name": "for cidx..tmp.network.network-data.network-topology.network-parameters.network-parameter[]",
290         "xml": "<for index='cidx' start='0' end='`$tmp.network.network-data.network-topology.network-parameters.network-parameter_length`' >\n",
291         "comments": "",
292         "outputs": 1,
293         "x": 1027.0104217529297,
294         "y": 1141.0105504989624,
295         "z": "5f2b1b80.205544",
296         "wires": [
297                 ["91a2217e.0aa36"]
298         ]
299 }, {
300         "id": "44bbe120.7255",
301         "type": "switchNode",
302         "name": "switch network-parameter-name == 'restapiUrl-deactivate'",
303         "xml": "<switch test=\"`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-name == 'restapiUrl-deactivate'`\">\n",
304         "comments": "",
305         "outputs": 1,
306         "x": 1141.010482788086,
307         "y": 1211.010612487793,
308         "z": "5f2b1b80.205544",
309         "wires": [
310                 ["ae0bda70.be78d8"]
311         ]
312 }, {
313         "id": "ae0bda70.be78d8",
314         "type": "outcomeTrue",
315         "name": "true",
316         "xml": "<outcome value='true'>\n",
317         "comments": "",
318         "outputs": 1,
319         "x": 1414.0106048583984,
320         "y": 1210.010570526123,
321         "z": "5f2b1b80.205544",
322         "wires": [
323                 ["866f7c3c.d7349"]
324         ]
325 }, {
326         "id": "866f7c3c.d7349",
327         "type": "set",
328         "name": "set tmp.thirdparty-sdnc-url",
329         "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' />",
330         "comments": "",
331         "x": 1593.0105667114258,
332         "y": 1212.0106191635132,
333         "z": "5f2b1b80.205544",
334         "wires": []
335 }, {
336         "id": "2a83ab2c.a5f774",
337         "type": "execute",
338         "name": "execute RestApiCallNode delete wan-connection",
339         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.restapiUrl + $tmp.actualId`\" />\n<parameter name=\"restapiUser\" value=\"`$tmp.restapiUser`\" />\n<parameter name=\"restapiPassword\" value=\"`$tmp.restapiPassword`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>",
340         "comments": "",
341         "outputs": 1,
342         "x": 915.2604522705078,
343         "y": 1943.0111656188965,
344         "z": "5f2b1b80.205544",
345         "wires": [
346                 ["5eb1697e.075858", "dd1f30f9.8bae3", "bd716a80.bf8068"]
347         ]
348 }, {
349         "id": "9154a660.674bb8",
350         "type": "switchNode",
351         "name": "switch network-parameter-name == 'restapiUser'",
352         "xml": "<switch test=\"`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-name == 'restapiUser'`\">\n",
353         "comments": "",
354         "outputs": 1,
355         "x": 1144.2604751586914,
356         "y": 1262.0105876922607,
357         "z": "5f2b1b80.205544",
358         "wires": [
359                 ["dcf17939.4e7148"]
360         ]
361 }, {
362         "id": "dcf17939.4e7148",
363         "type": "outcomeTrue",
364         "name": "true",
365         "xml": "<outcome value='true'>\n",
366         "comments": "",
367         "outputs": 1,
368         "x": 1410.2605895996094,
369         "y": 1264.0106649398804,
370         "z": "5f2b1b80.205544",
371         "wires": [
372                 ["de64ea4d.ab18b8"]
373         ]
374 }, {
375         "id": "de64ea4d.ab18b8",
376         "type": "set",
377         "name": "set tmp.restapiUser",
378         "xml": "<set>\n<parameter name='tmp.restapiUser' value='`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-value`' />\n<parameter name='tmp.restapiUser-found' value='true' />",
379         "comments": "",
380         "x": 1611.2606201171875,
381         "y": 1262.0106658935547,
382         "z": "5f2b1b80.205544",
383         "wires": []
384 }, {
385         "id": "6d3fee98.40477",
386         "type": "switchNode",
387         "name": "switch network-parameter-name == 'restapiPassword'",
388         "xml": "<switch test=\"`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-name == 'restapiPassword'`\">\n",
389         "comments": "",
390         "outputs": 1,
391         "x": 1152.2605438232422,
392         "y": 1316.010513305664,
393         "z": "5f2b1b80.205544",
394         "wires": [
395                 ["e3d0d091.7555a"]
396         ]
397 }, {
398         "id": "e3d0d091.7555a",
399         "type": "outcomeTrue",
400         "name": "true",
401         "xml": "<outcome value='true'>\n",
402         "comments": "",
403         "outputs": 1,
404         "x": 1429.260555267334,
405         "y": 1314.0105457305908,
406         "z": "5f2b1b80.205544",
407         "wires": [
408                 ["4b4e91b6.1741a"]
409         ]
410 }, {
411         "id": "4b4e91b6.1741a",
412         "type": "set",
413         "name": "set tmp.restapiPassword",
414         "xml": "<set>\n<parameter name='tmp.restapiPassword' value='`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-value`' />\n<parameter name='tmp.restapiPassword-found' value='true' />",
415         "comments": "",
416         "x": 1630.260585784912,
417         "y": 1312.0105466842651,
418         "z": "5f2b1b80.205544",
419         "wires": []
420 }, {
421         "id": "f7517eb4.eccef",
422         "type": "set",
423         "name": "set paras flags",
424         "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.thirdPartyAdaptorRpc-found' value='false' />\n<parameter name='tmp.actualId-found' value='false' />",
425         "comments": "",
426         "x": 814.0105895996094,
427         "y": 1056.0105476379395,
428         "z": "5f2b1b80.205544",
429         "wires": []
430 }, {
431         "id": "c4ea6652.9fa878",
432         "type": "switchNode",
433         "name": "switch thirdPartyAdaptorRpc-found == 'true'",
434         "xml": "<switch test=\"`$tmp.thirdPartyAdaptorRpc-found == 'true'`\">\n",
435         "comments": "",
436         "outputs": 1,
437         "x": 856.0104217529297,
438         "y": 1551.0105934143066,
439         "z": "5f2b1b80.205544",
440         "wires": [
441                 ["a1470852.fbe9a8", "44560421.b5783c"]
442         ]
443 }, {
444         "id": "91a2217e.0aa36",
445         "type": "block",
446         "name": "block",
447         "xml": "<block>\n",
448         "atomic": "false",
449         "comments": "",
450         "outputs": 1,
451         "x": 798.0104217529297,
452         "y": 1322.0104637145996,
453         "z": "5f2b1b80.205544",
454         "wires": [
455                 ["44bbe120.7255", "9154a660.674bb8", "6d3fee98.40477", "fe9a117b.1f532", "9e6c08bf.a2fe88"]
456         ]
457 }, {
458         "id": "a1470852.fbe9a8",
459         "type": "outcomeTrue",
460         "name": "true",
461         "xml": "<outcome value='true'>\n",
462         "comments": "",
463         "outputs": 1,
464         "x": 1118.010440826416,
465         "y": 1513.0105304718018,
466         "z": "5f2b1b80.205544",
467         "wires": [
468                 ["87499e3e.8efd7"]
469         ]
470 }, {
471         "id": "44560421.b5783c",
472         "type": "outcomeTrue",
473         "name": "false",
474         "xml": "<outcome value='false'>\n",
475         "comments": "",
476         "outputs": 1,
477         "x": 1119.0103912353516,
478         "y": 1579.010495185852,
479         "z": "5f2b1b80.205544",
480         "wires": [
481                 ["1d000250.ddb41e"]
482         ]
483 }, {
484         "id": "87499e3e.8efd7",
485         "type": "call",
486         "name": "call thirdPartyAdaptorRpc",
487         "xml": "<call module='GENERIC-RESOURCE-API' rpc='`$tmp.thirdPartyAdaptorRpc`' mode='sync' >\n",
488         "comments": "",
489         "outputs": 1,
490         "x": 1338.010482788086,
491         "y": 1514.0105895996094,
492         "z": "5f2b1b80.205544",
493         "wires": [
494                 ["be1c43cd.6c6d5", "36f2fa8b.9ff576", "9830e901.9d2aa8"]
495         ]
496 }, {
497         "id": "1d000250.ddb41e",
498         "type": "switchNode",
499         "name": "switch restapiUrl-found == 'true'",
500         "xml": "<switch test=\"`$tmp.restapiUrl-found == 'true'`\">\n",
501         "comments": "",
502         "outputs": 1,
503         "x": 880.461311340332,
504         "y": 1663.0172395706177,
505         "z": "5f2b1b80.205544",
506         "wires": [
507                 ["e6d9ab3.015a858", "20fb14a8.faab2c"]
508         ]
509 }, {
510         "id": "e6d9ab3.015a858",
511         "type": "outcomeTrue",
512         "name": "true",
513         "xml": "<outcome value='true'>\n",
514         "comments": "",
515         "outputs": 1,
516         "x": 1131.461296081543,
517         "y": 1661.017035484314,
518         "z": "5f2b1b80.205544",
519         "wires": [
520                 ["481b171e.ab37e8"]
521         ]
522 }, {
523         "id": "481b171e.ab37e8",
524         "type": "switchNode",
525         "name": "switch restapiUser-found == 'true'",
526         "xml": "<switch test=\"`$tmp.restapiUser-found == 'true'`\">\n",
527         "comments": "",
528         "outputs": 1,
529         "x": 858.4614105224609,
530         "y": 1730.2393379211426,
531         "z": "5f2b1b80.205544",
532         "wires": [
533                 ["3742155.0c254ea", "6f396aea.673404"]
534         ]
535 }, {
536         "id": "3742155.0c254ea",
537         "type": "outcomeTrue",
538         "name": "true",
539         "xml": "<outcome value='true'>\n",
540         "comments": "",
541         "outputs": 1,
542         "x": 1125.4613037109375,
543         "y": 1731.2390508651733,
544         "z": "5f2b1b80.205544",
545         "wires": [
546                 ["2df75511.30eb8a"]
547         ]
548 }, {
549         "id": "2df75511.30eb8a",
550         "type": "switchNode",
551         "name": "switch restapiPassword-found == 'true'",
552         "xml": "<switch test=\"`$tmp.restapiPassword-found == 'true'`\">\n",
553         "comments": "",
554         "outputs": 1,
555         "x": 873.4613037109375,
556         "y": 1800.239260673523,
557         "z": "5f2b1b80.205544",
558         "wires": [
559                 ["6e3c4b77.f76d04", "79b92f2b.ec99"]
560         ]
561 }, {
562         "id": "6e3c4b77.f76d04",
563         "type": "outcomeTrue",
564         "name": "true",
565         "xml": "<outcome value='true'>\n",
566         "comments": "",
567         "outputs": 1,
568         "x": 1133.4613037109375,
569         "y": 1800.2390508651733,
570         "z": "5f2b1b80.205544",
571         "wires": [
572                 ["e4613219.7da05"]
573         ]
574 }, {
575         "id": "fe9a117b.1f532",
576         "type": "switchNode",
577         "name": "switch network-parameter-name == 'thirdPartyAdaptorRpc-deactivate'",
578         "xml": "<switch test=\"`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-name == 'thirdPartyAdaptorRpc-deactivate'`\">\n",
579         "comments": "",
580         "outputs": 1,
581         "x": 1170.0169410705566,
582         "y": 1409.0168914794922,
583         "z": "5f2b1b80.205544",
584         "wires": [
585                 ["3b34faa8.496266"]
586         ]
587 }, {
588         "id": "3b34faa8.496266",
589         "type": "outcomeTrue",
590         "name": "true",
591         "xml": "<outcome value='true'>\n",
592         "comments": "",
593         "outputs": 1,
594         "x": 1481.0171585083008,
595         "y": 1413.0167961120605,
596         "z": "5f2b1b80.205544",
597         "wires": [
598                 ["89a96064.90193"]
599         ]
600 }, {
601         "id": "89a96064.90193",
602         "type": "set",
603         "name": "set tmp.thirdPartyAdaptorRpc",
604         "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' />",
605         "comments": "",
606         "x": 1676.0171127319336,
607         "y": 1407.0169868469238,
608         "z": "5f2b1b80.205544",
609         "wires": []
610 }, {
611         "id": "9830e901.9d2aa8",
612         "type": "not-found",
613         "name": "not-found",
614         "xml": "<outcome value='not-found'>\n",
615         "comments": "",
616         "outputs": 1,
617         "x": 1604.0168762207031,
618         "y": 1553.3502578735352,
619         "z": "5f2b1b80.205544",
620         "wires": [
621                 ["e00f6454.dddf68"]
622         ]
623 }, {
624         "id": "36f2fa8b.9ff576",
625         "type": "failure",
626         "name": "failure",
627         "xml": "<outcome value='failure'>\n",
628         "comments": "",
629         "outputs": 1,
630         "x": 1595.0169258117676,
631         "y": 1521.8502836227417,
632         "z": "5f2b1b80.205544",
633         "wires": [
634                 ["e00f6454.dddf68"]
635         ]
636 }, {
637         "id": "be1c43cd.6c6d5",
638         "type": "success",
639         "name": "success",
640         "xml": "<outcome value='success'>\n",
641         "comments": "",
642         "outputs": 1,
643         "x": 1598.7669639587402,
644         "y": 1492.207388497889,
645         "z": "5f2b1b80.205544",
646         "wires": [
647                 ["6355ce7d.fb42b"]
648         ]
649 }, {
650         "id": "e00f6454.dddf68",
651         "type": "returnFailure",
652         "name": "return failure",
653         "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",
654         "comments": "",
655         "x": 1761.766990661621,
656         "y": 1538.6003561019897,
657         "z": "5f2b1b80.205544",
658         "wires": []
659 }, {
660         "id": "6355ce7d.fb42b",
661         "type": "block",
662         "name": "block",
663         "xml": "<block>\n",
664         "atomic": "false",
665         "comments": "",
666         "outputs": 1,
667         "x": 1740.4229316711426,
668         "y": 1488.3995576873422,
669         "z": "5f2b1b80.205544",
670         "wires": [
671                 []
672         ]
673 }, {
674         "id": "bd716a80.bf8068",
675         "type": "not-found",
676         "name": "not-found",
677         "xml": "<outcome value='not-found'>\n",
678         "comments": "",
679         "outputs": 1,
680         "x": 1245.0168762207031,
681         "y": 1978.3502578735352,
682         "z": "5f2b1b80.205544",
683         "wires": [
684                 ["593817ce.8c6458"]
685         ]
686 }, {
687         "id": "dd1f30f9.8bae3",
688         "type": "failure",
689         "name": "failure",
690         "xml": "<outcome value='failure'>\n",
691         "comments": "",
692         "outputs": 1,
693         "x": 1236.0169258117676,
694         "y": 1946.8502836227417,
695         "z": "5f2b1b80.205544",
696         "wires": [
697                 ["593817ce.8c6458"]
698         ]
699 }, {
700         "id": "5eb1697e.075858",
701         "type": "success",
702         "name": "success",
703         "xml": "<outcome value='success'>\n",
704         "comments": "",
705         "outputs": 1,
706         "x": 1239.7669639587402,
707         "y": 1917.207388497889,
708         "z": "5f2b1b80.205544",
709         "wires": [
710                 ["33a4cba3.45a344"]
711         ]
712 }, {
713         "id": "593817ce.8c6458",
714         "type": "returnFailure",
715         "name": "return failure",
716         "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",
717         "comments": "",
718         "x": 1402.766990661621,
719         "y": 1963.6003561019897,
720         "z": "5f2b1b80.205544",
721         "wires": []
722 }, {
723         "id": "33a4cba3.45a344",
724         "type": "block",
725         "name": "block",
726         "xml": "<block>\n",
727         "atomic": "false",
728         "comments": "",
729         "outputs": 1,
730         "x": 1381.4229316711426,
731         "y": 1913.3995576873422,
732         "z": "5f2b1b80.205544",
733         "wires": [
734                 []
735         ]
736 }, {
737         "id": "20fb14a8.faab2c",
738         "type": "outcomeTrue",
739         "name": "false",
740         "xml": "<outcome value='false'>\n",
741         "comments": "",
742         "outputs": 1,
743         "x": 1282.6835021972656,
744         "y": 1628.4613418579102,
745         "z": "5f2b1b80.205544",
746         "wires": [
747                 ["f5cee36d.88941"]
748         ]
749 }, {
750         "id": "f5cee36d.88941",
751         "type": "returnFailure",
752         "name": "return failure",
753         "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",
754         "comments": "",
755         "x": 1453.6835021972656,
756         "y": 1636.461311340332,
757         "z": "5f2b1b80.205544",
758         "wires": []
759 }, {
760         "id": "6f396aea.673404",
761         "type": "outcomeTrue",
762         "name": "false",
763         "xml": "<outcome value='false'>\n",
764         "comments": "",
765         "outputs": 1,
766         "x": 1287.6835021972656,
767         "y": 1707.4613418579102,
768         "z": "5f2b1b80.205544",
769         "wires": [
770                 ["82e86a2a.10b8e8"]
771         ]
772 }, {
773         "id": "82e86a2a.10b8e8",
774         "type": "returnFailure",
775         "name": "return failure",
776         "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 restapiUser not found\" />\n    \n",
777         "comments": "",
778         "x": 1458.6835021972656,
779         "y": 1715.461311340332,
780         "z": "5f2b1b80.205544",
781         "wires": []
782 }, {
783         "id": "79b92f2b.ec99",
784         "type": "outcomeTrue",
785         "name": "false",
786         "xml": "<outcome value='false'>\n",
787         "comments": "",
788         "outputs": 1,
789         "x": 1278.6835021972656,
790         "y": 1778.4613418579102,
791         "z": "5f2b1b80.205544",
792         "wires": [
793                 ["2dcb87b4.9d09e8"]
794         ]
795 }, {
796         "id": "2dcb87b4.9d09e8",
797         "type": "returnFailure",
798         "name": "return failure",
799         "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 restapiPassword not found\" />\n    \n",
800         "comments": "",
801         "x": 1449.6835021972656,
802         "y": 1786.461311340332,
803         "z": "5f2b1b80.205544",
804         "wires": []
805 }, {
806         "id": "9e6c08bf.a2fe88",
807         "type": "switchNode",
808         "name": "switch network-parameter-name == 'actualId'",
809         "xml": "<switch test=\"`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-name == 'actualId'`\">\n",
810         "comments": "",
811         "outputs": 1,
812         "x": 1156.0103759765625,
813         "y": 1364.0103759765625,
814         "z": "5f2b1b80.205544",
815         "wires": [
816                 ["11fcb359.0b74ed"]
817         ]
818 }, {
819         "id": "11fcb359.0b74ed",
820         "type": "outcomeTrue",
821         "name": "true",
822         "xml": "<outcome value='true'>\n",
823         "comments": "",
824         "outputs": 1,
825         "x": 1433.0103874206543,
826         "y": 1362.0104084014893,
827         "z": "5f2b1b80.205544",
828         "wires": [
829                 ["f5a304ff.f9aea8"]
830         ]
831 }, {
832         "id": "f5a304ff.f9aea8",
833         "type": "set",
834         "name": "set tmp.actualId",
835         "xml": "<set>\n<parameter name='tmp.actualId' value='`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-value`' />\n<parameter name='tmp.actualId-found' value='true' />",
836         "comments": "",
837         "x": 1634.0104179382324,
838         "y": 1360.0104093551636,
839         "z": "5f2b1b80.205544",
840         "wires": []
841 }, {
842         "id": "e4613219.7da05",
843         "type": "switchNode",
844         "name": "switch actualId-found == 'true'",
845         "xml": "<switch test=\"`$tmp.actualId-found == 'true'`\">\n",
846         "comments": "",
847         "outputs": 1,
848         "x": 887.2326049804688,
849         "y": 1868.454833984375,
850         "z": "5f2b1b80.205544",
851         "wires": [
852                 ["572932d1.b17b3c", "c0db58a1.69dc58"]
853         ]
854 }, {
855         "id": "572932d1.b17b3c",
856         "type": "outcomeTrue",
857         "name": "true",
858         "xml": "<outcome value='true'>\n",
859         "comments": "",
860         "outputs": 1,
861         "x": 1147.2326049804688,
862         "y": 1868.4546241760254,
863         "z": "5f2b1b80.205544",
864         "wires": [
865                 ["2a83ab2c.a5f774"]
866         ]
867 }, {
868         "id": "c0db58a1.69dc58",
869         "type": "outcomeTrue",
870         "name": "false",
871         "xml": "<outcome value='false'>\n",
872         "comments": "",
873         "outputs": 1,
874         "x": 1292.4548034667969,
875         "y": 1846.6769151687622,
876         "z": "5f2b1b80.205544",
877         "wires": [
878                 ["cf40162e.095f98"]
879         ]
880 }, {
881         "id": "cf40162e.095f98",
882         "type": "returnFailure",
883         "name": "return failure",
884         "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: Wan Connection actualId not found\" />\n    \n",
885         "comments": "",
886         "x": 1463.4548034667969,
887         "y": 1854.676884651184,
888         "z": "5f2b1b80.205544",
889         "wires": []
890 }]