Merge "Support Wan Connection"
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_wan-connection-topology-operation-activate.json
1 [{
2         "id": "17edfd48.067fb3",
3         "type": "dgstart",
4         "name": "DGSTART",
5         "outputs": 1,
6         "x": 100.01040649414062,
7         "y": 68.01041412353516,
8         "z": "e09ddcb4.62be2",
9         "wires": [
10                 ["e615e2a2.ccf4f"]
11         ]
12 }, {
13         "id": "e615e2a2.ccf4f",
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": 312.0104103088379,
22         "y": 140.01043128967285,
23         "z": "e09ddcb4.62be2",
24         "wires": [
25                 ["759cd8cf.a97478"]
26         ]
27 }, {
28         "id": "759cd8cf.a97478",
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": 300.0105285644531,
35         "y": 228.01041412353516,
36         "z": "e09ddcb4.62be2",
37         "wires": [
38                 ["6de8279c.d96f18"]
39         ]
40 }, {
41         "id": "edd7fd49.09b45",
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": 687.0106887817383,
48         "y": 312.0104856491089,
49         "z": "e09ddcb4.62be2",
50         "wires": [
51                 []
52         ]
53 }, {
54         "id": "e02df58.543ea08",
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": 287.0104217529297,
60         "y": 1177.010627746582,
61         "z": "e09ddcb4.62be2",
62         "wires": []
63 }, {
64         "id": "6de8279c.d96f18",
65         "type": "block",
66         "name": "block : atomic",
67         "xml": "<block atomic=\"true\">",
68         "atomic": "true",
69         "outputs": 1,
70         "x": 212.51060485839844,
71         "y": 669.0105495452881,
72         "z": "e09ddcb4.62be2",
73         "wires": [
74                 ["c3c817be.4ef968", "ad2c5957.526e98", "ee7ba6fd.384b18", "569cdb0d.3aa8c4", "336b6524.04896a", "edd7fd49.09b45", "e02df58.543ea08"]
75         ]
76 }, {
77         "id": "c3c817be.4ef968",
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": 673.0106735229492,
84         "y": 383.0105857849121,
85         "z": "e09ddcb4.62be2",
86         "wires": [
87                 []
88         ]
89 }, {
90         "id": "ad2c5957.526e98",
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": 799.0106735229492,
97         "y": 460.0105857849121,
98         "z": "e09ddcb4.62be2",
99         "wires": [
100                 ["649fc773.be7288", "2c3dd512.e7091a"]
101         ]
102 }, {
103         "id": "649fc773.be7288",
104         "type": "success",
105         "name": "success",
106         "xml": "<outcome value='success'>\n",
107         "comments": "",
108         "outputs": 1,
109         "x": 1146.010856628418,
110         "y": 411.0105857849121,
111         "z": "e09ddcb4.62be2",
112         "wires": [
113                 ["27ee6d28.0b0992"]
114         ]
115 }, {
116         "id": "27ee6d28.0b0992",
117         "type": "block",
118         "name": "block",
119         "xml": "<block>\n",
120         "atomic": "false",
121         "comments": "",
122         "outputs": 1,
123         "x": 1313.0109329223633,
124         "y": 445.0106463432312,
125         "z": "e09ddcb4.62be2",
126         "wires": [
127                 []
128         ]
129 }, {
130         "id": "2c3dd512.e7091a",
131         "type": "other",
132         "name": "other",
133         "xml": "<outcome value='Other'>\n",
134         "comments": "",
135         "outputs": 1,
136         "x": 1151.8626289367676,
137         "y": 494.07674503326416,
138         "z": "e09ddcb4.62be2",
139         "wires": [
140                 ["a4f3ebc3.28d808"]
141         ]
142 }, {
143         "id": "a4f3ebc3.28d808",
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": 1322.2607803344727,
149         "y": 510.01057529449463,
150         "z": "e09ddcb4.62be2",
151         "wires": []
152 }, {
153         "id": "ee7ba6fd.384b18",
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": 859.5107116699219,
160         "y": 611.0105295181274,
161         "z": "e09ddcb4.62be2",
162         "wires": [
163                 ["5178f9b4.19b7c8"]
164         ]
165 }, {
166         "id": "5178f9b4.19b7c8",
167         "type": "switchNode",
168         "name": "switch model-name",
169         "xml": "<switch test=\"`$mdsal-psd.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",
170         "comments": "",
171         "outputs": 1,
172         "x": 807.5106887817383,
173         "y": 688.0105800628662,
174         "z": "e09ddcb4.62be2",
175         "wires": [
176                 ["d017d8d9.0843a8"]
177         ]
178 }, {
179         "id": "d017d8d9.0843a8",
180         "type": "outcomeTrue",
181         "name": "true",
182         "xml": "<outcome value='true'>\n",
183         "comments": "",
184         "outputs": 1,
185         "x": 989.7607917785645,
186         "y": 690.0106735229492,
187         "z": "e09ddcb4.62be2",
188         "wires": [
189                 ["b549c649.6ef3f8"]
190         ]
191 }, {
192         "id": "b549c649.6ef3f8",
193         "type": "block",
194         "name": "block : atomic",
195         "xml": "<block atomic=\"true\">",
196         "atomic": "true",
197         "outputs": 1,
198         "x": 1160.5214195251465,
199         "y": 694.867790222168,
200         "z": "e09ddcb4.62be2",
201         "wires": [
202                 ["90347753.f53c58"]
203         ]
204 }, {
205         "id": "90347753.f53c58",
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": 1107.3788032531738,
211         "y": 768.4393863677979,
212         "z": "e09ddcb4.62be2",
213         "wires": []
214 }, {
215         "id": "569cdb0d.3aa8c4",
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": 741.5106582641602,
221         "y": 540.0105857849121,
222         "z": "e09ddcb4.62be2",
223         "wires": []
224 }, {
225         "id": "336b6524.04896a",
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": 572.5107040405273,
232         "y": 879.0107097625732,
233         "z": "e09ddcb4.62be2",
234         "wires": [
235                 ["616108fb.092f18", "40e56e53.4077e"]
236         ]
237 }, {
238         "id": "616108fb.092f18",
239         "type": "outcomeTrue",
240         "name": "true",
241         "xml": "<outcome value='true'>\n",
242         "comments": "",
243         "outputs": 1,
244         "x": 804.5107955932617,
245         "y": 923.010908126831,
246         "z": "e09ddcb4.62be2",
247         "wires": [
248                 ["a846a4bd.9956b8"]
249         ]
250 }, {
251         "id": "40e56e53.4077e",
252         "type": "outcomeTrue",
253         "name": "false",
254         "xml": "<outcome value='false'>\n",
255         "comments": "",
256         "outputs": 1,
257         "x": 805.2607345581055,
258         "y": 881.010799407959,
259         "z": "e09ddcb4.62be2",
260         "wires": [
261                 ["8273b3b3.844e2"]
262         ]
263 }, {
264         "id": "8273b3b3.844e2",
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": 976.2607345581055,
270         "y": 889.0107688903809,
271         "z": "e09ddcb4.62be2",
272         "wires": []
273 }, {
274         "id": "a846a4bd.9956b8",
275         "type": "block",
276         "name": "block : atomic",
277         "xml": "<block atomic=\"true\">",
278         "atomic": "true",
279         "outputs": 1,
280         "x": 542.0105819702148,
281         "y": 1035.0106945037842,
282         "z": "e09ddcb4.62be2",
283         "wires": [
284                 ["a938b787.7c82b8", "2becb5c8.f5838a", "fec72c37.99e8b"]
285         ]
286 }, {
287         "id": "a938b787.7c82b8",
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": 991.0104217529297,
294         "y": 1121.0105504989624,
295         "z": "e09ddcb4.62be2",
296         "wires": [
297                 ["a608965c.57ec78"]
298         ]
299 }, {
300         "id": "21b22ac0.8b6036",
301         "type": "switchNode",
302         "name": "switch network-parameter-name == 'restapiUrl'",
303         "xml": "<switch test=\"`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-name == 'restapiUrl'`\">\n",
304         "comments": "",
305         "outputs": 1,
306         "x": 1105.010482788086,
307         "y": 1191.010612487793,
308         "z": "e09ddcb4.62be2",
309         "wires": [
310                 ["b3b8f491.b604a8"]
311         ]
312 }, {
313         "id": "b3b8f491.b604a8",
314         "type": "outcomeTrue",
315         "name": "true",
316         "xml": "<outcome value='true'>\n",
317         "comments": "",
318         "outputs": 1,
319         "x": 1356.0105361938477,
320         "y": 1194.0106182098389,
321         "z": "e09ddcb4.62be2",
322         "wires": [
323                 ["f19676be.7dd8e8"]
324         ]
325 }, {
326         "id": "f19676be.7dd8e8",
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": 1557.0105667114258,
332         "y": 1192.0106191635132,
333         "z": "e09ddcb4.62be2",
334         "wires": []
335 }, {
336         "id": "5e9a3d4b.faee04",
337         "type": "execute",
338         "name": "execute RestApiCallNode Create wan-connection",
339         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$tmp.templateFileName`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.restapiUrl`\" />\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"restApi-result\"/>",
340         "comments": "",
341         "outputs": 1,
342         "x": 879.2604522705078,
343         "y": 1923.0111656188965,
344         "z": "e09ddcb4.62be2",
345         "wires": [
346                 ["6cfa08fc.d58438", "35b532e4.67c04e", "456722ac.35f45c"]
347         ]
348 }, {
349         "id": "482305da.d57c9c",
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": 1108.2604751586914,
356         "y": 1242.0105876922607,
357         "z": "e09ddcb4.62be2",
358         "wires": [
359                 ["bfa7b41.e85df48"]
360         ]
361 }, {
362         "id": "bfa7b41.e85df48",
363         "type": "outcomeTrue",
364         "name": "true",
365         "xml": "<outcome value='true'>\n",
366         "comments": "",
367         "outputs": 1,
368         "x": 1374.2605895996094,
369         "y": 1244.0106649398804,
370         "z": "e09ddcb4.62be2",
371         "wires": [
372                 ["431e7704.816128"]
373         ]
374 }, {
375         "id": "431e7704.816128",
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": 1575.2606201171875,
381         "y": 1242.0106658935547,
382         "z": "e09ddcb4.62be2",
383         "wires": []
384 }, {
385         "id": "d87dc5c6.9f2d38",
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": 1116.2605438232422,
392         "y": 1296.010513305664,
393         "z": "e09ddcb4.62be2",
394         "wires": [
395                 ["32c617c3.6666a8"]
396         ]
397 }, {
398         "id": "32c617c3.6666a8",
399         "type": "outcomeTrue",
400         "name": "true",
401         "xml": "<outcome value='true'>\n",
402         "comments": "",
403         "outputs": 1,
404         "x": 1393.260555267334,
405         "y": 1294.0105457305908,
406         "z": "e09ddcb4.62be2",
407         "wires": [
408                 ["7965a848.b113a8"]
409         ]
410 }, {
411         "id": "7965a848.b113a8",
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": 1594.260585784912,
417         "y": 1292.0105466842651,
418         "z": "e09ddcb4.62be2",
419         "wires": []
420 }, {
421         "id": "8c362f3b.3ca69",
422         "type": "switchNode",
423         "name": "switch network-parameter-name == 'templateFileName'",
424         "xml": "<switch test=\"`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-name == 'templateFileName'`\">\n",
425         "comments": "",
426         "outputs": 1,
427         "x": 1125.2605743408203,
428         "y": 1351.0105781555176,
429         "z": "e09ddcb4.62be2",
430         "wires": [
431                 ["c074d65e.325f18"]
432         ]
433 }, {
434         "id": "c074d65e.325f18",
435         "type": "outcomeTrue",
436         "name": "true",
437         "xml": "<outcome value='true'>\n",
438         "comments": "",
439         "outputs": 1,
440         "x": 1413.2607078552246,
441         "y": 1354.0106735229492,
442         "z": "e09ddcb4.62be2",
443         "wires": [
444                 ["c839c2e5.daaf"]
445         ]
446 }, {
447         "id": "c839c2e5.daaf",
448         "type": "set",
449         "name": "set tmp.templateFileName",
450         "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' />",
451         "comments": "",
452         "x": 1614.2607383728027,
453         "y": 1352.0106744766235,
454         "z": "e09ddcb4.62be2",
455         "wires": []
456 }, {
457         "id": "2becb5c8.f5838a",
458         "type": "set",
459         "name": "set paras flags",
460         "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' />",
461         "comments": "",
462         "x": 778.0105895996094,
463         "y": 1036.0105476379395,
464         "z": "e09ddcb4.62be2",
465         "wires": []
466 }, {
467         "id": "fec72c37.99e8b",
468         "type": "switchNode",
469         "name": "switch thirdPartyAdaptorRpc-found == 'true'",
470         "xml": "<switch test=\"`$tmp.thirdPartyAdaptorRpc-found == 'true'`\">\n",
471         "comments": "",
472         "outputs": 1,
473         "x": 820.0104217529297,
474         "y": 1531.0105934143066,
475         "z": "e09ddcb4.62be2",
476         "wires": [
477                 ["761c7f6a.1e156", "fc5cb76b.242648"]
478         ]
479 }, {
480         "id": "a608965c.57ec78",
481         "type": "block",
482         "name": "block",
483         "xml": "<block>\n",
484         "atomic": "false",
485         "comments": "",
486         "outputs": 1,
487         "x": 762.0104217529297,
488         "y": 1302.0104637145996,
489         "z": "e09ddcb4.62be2",
490         "wires": [
491                 ["21b22ac0.8b6036", "482305da.d57c9c", "d87dc5c6.9f2d38", "8c362f3b.3ca69", "2c7884dd.9d5eac"]
492         ]
493 }, {
494         "id": "761c7f6a.1e156",
495         "type": "outcomeTrue",
496         "name": "true",
497         "xml": "<outcome value='true'>\n",
498         "comments": "",
499         "outputs": 1,
500         "x": 1082.010440826416,
501         "y": 1493.0105304718018,
502         "z": "e09ddcb4.62be2",
503         "wires": [
504                 ["abb14bbc.08d3c8"]
505         ]
506 }, {
507         "id": "fc5cb76b.242648",
508         "type": "outcomeTrue",
509         "name": "false",
510         "xml": "<outcome value='false'>\n",
511         "comments": "",
512         "outputs": 1,
513         "x": 1083.0103912353516,
514         "y": 1559.010495185852,
515         "z": "e09ddcb4.62be2",
516         "wires": [
517                 ["7e672194.b5093"]
518         ]
519 }, {
520         "id": "abb14bbc.08d3c8",
521         "type": "call",
522         "name": "call thirdPartyAdaptorRpc",
523         "xml": "<call module='GENERIC-RESOURCE-API' rpc='`$tmp.thirdPartyAdaptorRpc`' mode='sync' >\n",
524         "comments": "",
525         "outputs": 1,
526         "x": 1302.010482788086,
527         "y": 1494.0105895996094,
528         "z": "e09ddcb4.62be2",
529         "wires": [
530                 ["97bbf68a.23df28", "54cba094.60db8", "40b8aaf.3584554"]
531         ]
532 }, {
533         "id": "7e672194.b5093",
534         "type": "switchNode",
535         "name": "switch restapiUrl-found == 'true'",
536         "xml": "<switch test=\"`$tmp.restapiUrl-found == 'true'`\">\n",
537         "comments": "",
538         "outputs": 1,
539         "x": 844.461311340332,
540         "y": 1643.0172395706177,
541         "z": "e09ddcb4.62be2",
542         "wires": [
543                 ["8b58f6f.b1e3208", "94431bfa.4e9a48"]
544         ]
545 }, {
546         "id": "8b58f6f.b1e3208",
547         "type": "outcomeTrue",
548         "name": "true",
549         "xml": "<outcome value='true'>\n",
550         "comments": "",
551         "outputs": 1,
552         "x": 1095.461296081543,
553         "y": 1641.017035484314,
554         "z": "e09ddcb4.62be2",
555         "wires": [
556                 ["fed700d7.65be7"]
557         ]
558 }, {
559         "id": "fed700d7.65be7",
560         "type": "switchNode",
561         "name": "switch restapiUser-found == 'true'",
562         "xml": "<switch test=\"`$tmp.restapiUser-found == 'true'`\">\n",
563         "comments": "",
564         "outputs": 1,
565         "x": 822.4614105224609,
566         "y": 1710.2393379211426,
567         "z": "e09ddcb4.62be2",
568         "wires": [
569                 ["9051a6d0.545648", "52bc5ad7.e75954"]
570         ]
571 }, {
572         "id": "9051a6d0.545648",
573         "type": "outcomeTrue",
574         "name": "true",
575         "xml": "<outcome value='true'>\n",
576         "comments": "",
577         "outputs": 1,
578         "x": 1089.4613037109375,
579         "y": 1711.2390508651733,
580         "z": "e09ddcb4.62be2",
581         "wires": [
582                 ["558122b6.d2e6dc"]
583         ]
584 }, {
585         "id": "558122b6.d2e6dc",
586         "type": "switchNode",
587         "name": "switch restapiPassword-found == 'true'",
588         "xml": "<switch test=\"`$tmp.restapiPassword-found == 'true'`\">\n",
589         "comments": "",
590         "outputs": 1,
591         "x": 837.4613037109375,
592         "y": 1780.239260673523,
593         "z": "e09ddcb4.62be2",
594         "wires": [
595                 ["107aae8d.403771", "3e643f4d.27a45"]
596         ]
597 }, {
598         "id": "107aae8d.403771",
599         "type": "outcomeTrue",
600         "name": "true",
601         "xml": "<outcome value='true'>\n",
602         "comments": "",
603         "outputs": 1,
604         "x": 1097.4613037109375,
605         "y": 1780.2390508651733,
606         "z": "e09ddcb4.62be2",
607         "wires": [
608                 ["3e959559.67274a"]
609         ]
610 }, {
611         "id": "2c7884dd.9d5eac",
612         "type": "switchNode",
613         "name": "switch network-parameter-name == 'thirdPartyAdaptorRpc'",
614         "xml": "<switch test=\"`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-name == 'thirdPartyAdaptorRpc'`\">\n",
615         "comments": "",
616         "outputs": 1,
617         "x": 1125.0168762207031,
618         "y": 1405.0168838500977,
619         "z": "e09ddcb4.62be2",
620         "wires": [
621                 ["14544bfa.4af374"]
622         ]
623 }, {
624         "id": "14544bfa.4af374",
625         "type": "outcomeTrue",
626         "name": "true",
627         "xml": "<outcome value='true'>\n",
628         "comments": "",
629         "outputs": 1,
630         "x": 1413.0170097351074,
631         "y": 1408.0169792175293,
632         "z": "e09ddcb4.62be2",
633         "wires": [
634                 ["2d59e0f.1af282"]
635         ]
636 }, {
637         "id": "2d59e0f.1af282",
638         "type": "set",
639         "name": "set tmp.thirdPartyAdaptorRpc",
640         "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' />",
641         "comments": "",
642         "x": 1614.0170402526855,
643         "y": 1406.0169801712036,
644         "z": "e09ddcb4.62be2",
645         "wires": []
646 }, {
647         "id": "3e959559.67274a",
648         "type": "switchNode",
649         "name": "switch templateFileName-found == 'true'",
650         "xml": "<switch test=\"`$tmp.templateFileName-found == 'true'`\">\n",
651         "comments": "",
652         "outputs": 1,
653         "x": 835.0168762207031,
654         "y": 1840.3502979278564,
655         "z": "e09ddcb4.62be2",
656         "wires": [
657                 ["5a8246c3.86d3d8", "e9a7f173.e33ea"]
658         ]
659 }, {
660         "id": "5a8246c3.86d3d8",
661         "type": "outcomeTrue",
662         "name": "true",
663         "xml": "<outcome value='true'>\n",
664         "comments": "",
665         "outputs": 1,
666         "x": 1095.0168762207031,
667         "y": 1840.3500881195068,
668         "z": "e09ddcb4.62be2",
669         "wires": [
670                 ["5e9a3d4b.faee04"]
671         ]
672 }, {
673         "id": "40b8aaf.3584554",
674         "type": "not-found",
675         "name": "not-found",
676         "xml": "<outcome value='not-found'>\n",
677         "comments": "",
678         "outputs": 1,
679         "x": 1568.0168762207031,
680         "y": 1533.3502578735352,
681         "z": "e09ddcb4.62be2",
682         "wires": [
683                 ["10f2c69f.8e3de9"]
684         ]
685 }, {
686         "id": "54cba094.60db8",
687         "type": "failure",
688         "name": "failure",
689         "xml": "<outcome value='failure'>\n",
690         "comments": "",
691         "outputs": 1,
692         "x": 1559.0169258117676,
693         "y": 1501.8502836227417,
694         "z": "e09ddcb4.62be2",
695         "wires": [
696                 ["10f2c69f.8e3de9"]
697         ]
698 }, {
699         "id": "97bbf68a.23df28",
700         "type": "success",
701         "name": "success",
702         "xml": "<outcome value='success'>\n",
703         "comments": "",
704         "outputs": 1,
705         "x": 1562.7669639587402,
706         "y": 1472.207388497889,
707         "z": "e09ddcb4.62be2",
708         "wires": [
709                 ["9b5e3e39.e0053"]
710         ]
711 }, {
712         "id": "10f2c69f.8e3de9",
713         "type": "returnFailure",
714         "name": "return failure",
715         "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",
716         "comments": "",
717         "x": 1725.766990661621,
718         "y": 1518.6003561019897,
719         "z": "e09ddcb4.62be2",
720         "wires": []
721 }, {
722         "id": "9b5e3e39.e0053",
723         "type": "block",
724         "name": "block",
725         "xml": "<block>\n",
726         "atomic": "false",
727         "comments": "",
728         "outputs": 1,
729         "x": 1704.4229316711426,
730         "y": 1468.3995576873422,
731         "z": "e09ddcb4.62be2",
732         "wires": [
733                 []
734         ]
735 }, {
736         "id": "456722ac.35f45c",
737         "type": "not-found",
738         "name": "not-found",
739         "xml": "<outcome value='not-found'>\n",
740         "comments": "",
741         "outputs": 1,
742         "x": 1209.0168762207031,
743         "y": 1958.3502578735352,
744         "z": "e09ddcb4.62be2",
745         "wires": [
746                 ["504edb98.e54e24"]
747         ]
748 }, {
749         "id": "35b532e4.67c04e",
750         "type": "failure",
751         "name": "failure",
752         "xml": "<outcome value='failure'>\n",
753         "comments": "",
754         "outputs": 1,
755         "x": 1200.0169258117676,
756         "y": 1926.8502836227417,
757         "z": "e09ddcb4.62be2",
758         "wires": [
759                 ["504edb98.e54e24"]
760         ]
761 }, {
762         "id": "6cfa08fc.d58438",
763         "type": "success",
764         "name": "success",
765         "xml": "<outcome value='success'>\n",
766         "comments": "",
767         "outputs": 1,
768         "x": 1203.7669639587402,
769         "y": 1897.207388497889,
770         "z": "e09ddcb4.62be2",
771         "wires": [
772                 ["e5f43bf1.ad3d38"]
773         ]
774 }, {
775         "id": "504edb98.e54e24",
776         "type": "returnFailure",
777         "name": "return failure",
778         "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",
779         "comments": "",
780         "x": 1366.766990661621,
781         "y": 1943.6003561019897,
782         "z": "e09ddcb4.62be2",
783         "wires": []
784 }, {
785         "id": "e5f43bf1.ad3d38",
786         "type": "block",
787         "name": "block",
788         "xml": "<block>\n",
789         "atomic": "false",
790         "comments": "",
791         "outputs": 1,
792         "x": 1345.4229316711426,
793         "y": 1893.3995576873422,
794         "z": "e09ddcb4.62be2",
795         "wires": [
796                 []
797         ]
798 }, {
799         "id": "94431bfa.4e9a48",
800         "type": "outcomeTrue",
801         "name": "false",
802         "xml": "<outcome value='false'>\n",
803         "comments": "",
804         "outputs": 1,
805         "x": 1246.6835021972656,
806         "y": 1608.4613418579102,
807         "z": "e09ddcb4.62be2",
808         "wires": [
809                 ["79546287.78b3ac"]
810         ]
811 }, {
812         "id": "79546287.78b3ac",
813         "type": "returnFailure",
814         "name": "return failure",
815         "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",
816         "comments": "",
817         "x": 1417.6835021972656,
818         "y": 1616.461311340332,
819         "z": "e09ddcb4.62be2",
820         "wires": []
821 }, {
822         "id": "52bc5ad7.e75954",
823         "type": "outcomeTrue",
824         "name": "false",
825         "xml": "<outcome value='false'>\n",
826         "comments": "",
827         "outputs": 1,
828         "x": 1251.6835021972656,
829         "y": 1687.4613418579102,
830         "z": "e09ddcb4.62be2",
831         "wires": [
832                 ["e7175614.0bbb18"]
833         ]
834 }, {
835         "id": "e7175614.0bbb18",
836         "type": "returnFailure",
837         "name": "return failure",
838         "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",
839         "comments": "",
840         "x": 1422.6835021972656,
841         "y": 1695.461311340332,
842         "z": "e09ddcb4.62be2",
843         "wires": []
844 }, {
845         "id": "3e643f4d.27a45",
846         "type": "outcomeTrue",
847         "name": "false",
848         "xml": "<outcome value='false'>\n",
849         "comments": "",
850         "outputs": 1,
851         "x": 1242.6835021972656,
852         "y": 1758.4613418579102,
853         "z": "e09ddcb4.62be2",
854         "wires": [
855                 ["eab97fcc.763a6"]
856         ]
857 }, {
858         "id": "eab97fcc.763a6",
859         "type": "returnFailure",
860         "name": "return failure",
861         "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",
862         "comments": "",
863         "x": 1413.6835021972656,
864         "y": 1766.461311340332,
865         "z": "e09ddcb4.62be2",
866         "wires": []
867 }, {
868         "id": "e9a7f173.e33ea",
869         "type": "outcomeTrue",
870         "name": "false",
871         "xml": "<outcome value='false'>\n",
872         "comments": "",
873         "outputs": 1,
874         "x": 1241.6835021972656,
875         "y": 1819.4613418579102,
876         "z": "e09ddcb4.62be2",
877         "wires": [
878                 ["4679556f.41babc"]
879         ]
880 }, {
881         "id": "4679556f.41babc",
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: 3rd party controller templateFileName not found\" />\n    \n",
885         "comments": "",
886         "x": 1412.6835021972656,
887         "y": 1827.461311340332,
888         "z": "e09ddcb4.62be2",
889         "wires": []
890 }]