ca5ed7aea54f156c93ee8f01e0abf24473e969fa
[sdnc/oam.git] / platform-logic / datachange / src / main / json / DataChange_esr-thirdparty-sdnc-discovery.json
1 [\r
2     {\r
3         "id": "346770b6.e0b2e",\r
4         "type": "other",\r
5         "name": "update",\r
6         "xml": "<outcome value='Update'>\n",\r
7         "comments": "",\r
8         "outputs": 1,\r
9         "x": 666,\r
10         "y": 282,\r
11         "z": "7bb5d2cb.8cfacc",\r
12         "wires": [\r
13             [\r
14                 "ac79093c.29ec78"\r
15             ]\r
16         ]\r
17     },\r
18     {\r
19         "id": "2f504934.7894c6",\r
20         "type": "other",\r
21         "name": "delete",\r
22         "xml": "<outcome value='Delete'>\n",\r
23         "comments": "",\r
24         "outputs": 1,\r
25         "x": 666,\r
26         "y": 362,\r
27         "z": "7bb5d2cb.8cfacc",\r
28         "wires": [\r
29             [\r
30                 "5f23df82.9ac6e"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "5f23df82.9ac6e",\r
36         "type": "block",\r
37         "name": "block : atomic",\r
38         "xml": "<block atomic=\"true\">",\r
39         "atomic": "true",\r
40         "outputs": 1,\r
41         "x": 807.5,\r
42         "y": 362,\r
43         "z": "7bb5d2cb.8cfacc",\r
44         "wires": [\r
45             [\r
46                 "dc10cae0.74e44"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "5a242175.0e7ef",\r
52         "type": "switchNode",\r
53         "name": "switch aai-event-trigger",\r
54         "xml": "<switch test=\"`$data-change-notification-input.aai-event-trigger`\">\n",\r
55         "comments": "",\r
56         "outputs": 1,\r
57         "x": 496.5,\r
58         "y": 322,\r
59         "z": "7bb5d2cb.8cfacc",\r
60         "wires": [\r
61             [\r
62                 "346770b6.e0b2e",\r
63                 "2f504934.7894c6"\r
64             ]\r
65         ]\r
66     },\r
67     {\r
68         "id": "39f2e6f9.408272",\r
69         "type": "block",\r
70         "name": "block : atomic",\r
71         "xml": "<block atomic=\"true\">",\r
72         "atomic": "true",\r
73         "outputs": 1,\r
74         "x": 1193.5,\r
75         "y": 193,\r
76         "z": "7bb5d2cb.8cfacc",\r
77         "wires": [\r
78             [\r
79                 "97074a04.9156f",\r
80                 "a612156e.6c82f",\r
81                 "af67ee77.5ddb88",\r
82                 "8f8e9805.87c3c8",\r
83                 "9d5ac624.def28"\r
84             ]\r
85         ]\r
86     },\r
87     {\r
88         "id": "a612156e.6c82f",\r
89         "type": "execute",\r
90         "name": "execute RestApiCallNode Get token",\r
91         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.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\"/>",\r
92         "comments": "",\r
93         "outputs": 1,\r
94         "x": 1466.5001983642578,\r
95         "y": 114.00000953674316,\r
96         "z": "7bb5d2cb.8cfacc",\r
97         "wires": [\r
98             [\r
99                 "e7c29f07.2a4d28",\r
100                 "fe96d7c9.6dc11"\r
101             ]\r
102         ]\r
103     },\r
104     {\r
105         "id": "e7c29f07.2a4d28",\r
106         "type": "success",\r
107         "name": "success",\r
108         "xml": "<outcome value='success'>\n",\r
109         "comments": "",\r
110         "outputs": 1,\r
111         "x": 1756.000244140625,\r
112         "y": 106,\r
113         "z": "7bb5d2cb.8cfacc",\r
114         "wires": [\r
115             [\r
116                 "9a41c115.acccd8"\r
117             ]\r
118         ]\r
119     },\r
120     {\r
121         "id": "fe96d7c9.6dc11",\r
122         "type": "failure",\r
123         "name": "failure",\r
124         "xml": "<outcome value='failure'>\n",\r
125         "comments": "",\r
126         "outputs": 1,\r
127         "x": 1752.000244140625,\r
128         "y": 146,\r
129         "z": "7bb5d2cb.8cfacc",\r
130         "wires": [\r
131             [\r
132                 "142d0bb2.73cbec"\r
133             ]\r
134         ]\r
135     },\r
136     {\r
137         "id": "9a41c115.acccd8",\r
138         "type": "set",\r
139         "name": "set token-id",\r
140         "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",\r
141         "comments": "",\r
142         "x": 1906.500244140625,\r
143         "y": 106,\r
144         "z": "7bb5d2cb.8cfacc",\r
145         "wires": []\r
146     },\r
147     {\r
148         "id": "74c607f5.33c7f",\r
149         "type": "execute",\r
150         "name": "execute RestApiCallNode Get Topology",\r
151         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />\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=\"get\"/>\n<parameter name=\"responsePrefix\" value=\"topology\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.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`\" />",\r
152         "comments": "",\r
153         "outputs": 1,\r
154         "x": 1973.500244140625,\r
155         "y": 226,\r
156         "z": "7bb5d2cb.8cfacc",\r
157         "wires": [\r
158             [\r
159                 "46585599.99541c",\r
160                 "e4dc69e3.746e88"\r
161             ]\r
162         ]\r
163     },\r
164     {\r
165         "id": "46585599.99541c",\r
166         "type": "success",\r
167         "name": "success",\r
168         "xml": "<outcome value='success'>\n",\r
169         "comments": "",\r
170         "outputs": 1,\r
171         "x": 2216.000244140625,\r
172         "y": 246,\r
173         "z": "7bb5d2cb.8cfacc",\r
174         "wires": [\r
175             [\r
176                 "c7c89355.9ce378"\r
177             ]\r
178         ]\r
179     },\r
180     {\r
181         "id": "c7c89355.9ce378",\r
182         "type": "block",\r
183         "name": "block : atomic",\r
184         "xml": "<block atomic=\"true\">",\r
185         "atomic": "true",\r
186         "comments": "",\r
187         "outputs": 1,\r
188         "x": 2373.500244140625,\r
189         "y": 246,\r
190         "z": "7bb5d2cb.8cfacc",\r
191         "wires": [\r
192             [\r
193                 "b3a801bb.6b3e08"\r
194             ]\r
195         ]\r
196     },\r
197     {\r
198         "id": "4462058b.03bf7c",\r
199         "type": "returnFailure",\r
200         "name": "return failure",\r
201         "xml": "<return status='failure'>\n <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",\r
202         "comments": "",\r
203         "x": 2350.000244140625,\r
204         "y": 146,\r
205         "z": "7bb5d2cb.8cfacc",\r
206         "wires": []\r
207     },\r
208     {\r
209         "id": "e4dc69e3.746e88",\r
210         "type": "failure",\r
211         "name": "failure",\r
212         "xml": "<outcome value='failure'>\n",\r
213         "comments": "",\r
214         "outputs": 1,\r
215         "x": 2212.000244140625,\r
216         "y": 146,\r
217         "z": "7bb5d2cb.8cfacc",\r
218         "wires": [\r
219             [\r
220                 "4462058b.03bf7c"\r
221             ]\r
222         ]\r
223     },\r
224     {\r
225         "id": "e48e789f.6305e8",\r
226         "type": "dgstart",\r
227         "name": "DGSTART",\r
228         "outputs": 1,\r
229         "x": 119,\r
230         "y": 57,\r
231         "z": "7bb5d2cb.8cfacc",\r
232         "wires": [\r
233             [\r
234                 "f17ff4c0.c3b85"\r
235             ]\r
236         ]\r
237     },\r
238     {\r
239         "id": "f17ff4c0.c3b85",\r
240         "type": "service-logic",\r
241         "name": "DataChange ${project.version}",\r
242         "module": "DataChange",\r
243         "version": "${project.version}",\r
244         "comments": "",\r
245         "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='DataChange' version='${project.version}'>",\r
246         "outputs": 1,\r
247         "x": 132,\r
248         "y": 117,\r
249         "z": "7bb5d2cb.8cfacc",\r
250         "wires": [\r
251             [\r
252                 "dcee4efc.fbc398"\r
253             ]\r
254         ]\r
255     },\r
256     {\r
257         "id": "dcee4efc.fbc398",\r
258         "type": "method",\r
259         "name": "method esr-thirdparty-sdnc-discovery",\r
260         "xml": "<method rpc='esr-thirdparty-sdnc-discovery' mode='sync'>\n",\r
261         "comments": "",\r
262         "outputs": 1,\r
263         "x": 152,\r
264         "y": 197,\r
265         "z": "7bb5d2cb.8cfacc",\r
266         "wires": [\r
267             [\r
268                 "ee1d05c.842daf8"\r
269             ]\r
270         ]\r
271     },\r
272     {\r
273         "id": "ee1d05c.842daf8",\r
274         "type": "block",\r
275         "name": "block : atomic",\r
276         "xml": "<block atomic=\"true\">\n",\r
277         "atomic": "false",\r
278         "comments": "",\r
279         "outputs": 1,\r
280         "x": 399.5,\r
281         "y": 197,\r
282         "z": "7bb5d2cb.8cfacc",\r
283         "wires": [\r
284             [\r
285                 "289966fd.257632"\r
286             ]\r
287         ]\r
288     },\r
289     {\r
290         "id": "b3a801bb.6b3e08",\r
291         "type": "for",\r
292         "name": "for each Network",\r
293         "xml": "<for index='nidx' start='0' end='`$topology.networks.network_length`' >\n",\r
294         "comments": "",\r
295         "outputs": 1,\r
296         "x": 1799.500259399414,\r
297         "y": 345.00001525878906,\r
298         "z": "7bb5d2cb.8cfacc",\r
299         "wires": [\r
300             [\r
301                 "f46be5c.444e598"\r
302             ]\r
303         ]\r
304     },\r
305     {\r
306         "id": "f46be5c.444e598",\r
307         "type": "block",\r
308         "name": "block",\r
309         "xml": "<block>\n",\r
310         "atomic": "false",\r
311         "comments": "",\r
312         "outputs": 1,\r
313         "x": 1948.000259399414,\r
314         "y": 345.00001525878906,\r
315         "z": "7bb5d2cb.8cfacc",\r
316         "wires": [\r
317             [\r
318                 "9f7c6e21.8e3448",\r
319                 "a45b31cf.5b428"\r
320             ]\r
321         ]\r
322     },\r
323     {\r
324         "id": "9f7c6e21.8e3448",\r
325         "type": "call",\r
326         "name": "call update-network-to-aai",\r
327         "xml": "<call module='DataChange' rpc='update-network-to-aai' mode='sync' >\n",\r
328         "comments": "",\r
329         "outputs": 1,\r
330         "x": 2127.000259399414,\r
331         "y": 365.00001525878906,\r
332         "z": "7bb5d2cb.8cfacc",\r
333         "wires": [\r
334             []\r
335         ]\r
336     },\r
337     {\r
338         "id": "a45b31cf.5b428",\r
339         "type": "set",\r
340         "name": "set network",\r
341         "xml": "<set>\n<parameter name='network.' value='`$topology.networks.network[$nidx].`' />\n",\r
342         "comments": "",\r
343         "x": 2082.000259399414,\r
344         "y": 325.00001525878906,\r
345         "z": "7bb5d2cb.8cfacc",\r
346         "wires": []\r
347     },\r
348     {\r
349         "id": "142d0bb2.73cbec",\r
350         "type": "block",\r
351         "name": "block",\r
352         "xml": "<block>\n",\r
353         "atomic": "false",\r
354         "comments": "",\r
355         "outputs": 1,\r
356         "x": 1872.000244140625,\r
357         "y": 146,\r
358         "z": "7bb5d2cb.8cfacc",\r
359         "wires": [\r
360             []\r
361         ]\r
362     },\r
363     {\r
364         "id": "77d98c9a.bbdddc",\r
365         "type": "comment",\r
366         "name": "Do Nothing",\r
367         "info": "",\r
368         "comments": "",\r
369         "x": 2042.000244140625,\r
370         "y": 186,\r
371         "z": "7bb5d2cb.8cfacc",\r
372         "wires": []\r
373     },\r
374     {\r
375         "id": "7a5efd17.5c18a4",\r
376         "type": "switchNode",\r
377         "name": "switch type",\r
378         "xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n",\r
379         "comments": "",\r
380         "outputs": 1,\r
381         "x": 919,\r
382         "y": 282,\r
383         "z": "7bb5d2cb.8cfacc",\r
384         "wires": [\r
385             [\r
386                 "c610bb27.6f7938",\r
387                 "f6f15d6a.b855f8",\r
388                 "2ed61a13.0813c6",\r
389                 "ca97ad3.a311cd"\r
390             ]\r
391         ]\r
392     },\r
393     {\r
394         "id": "ac79093c.29ec78",\r
395         "type": "block",\r
396         "name": "block",\r
397         "xml": "<block>\n",\r
398         "atomic": "false",\r
399         "comments": "",\r
400         "outputs": 1,\r
401         "x": 786,\r
402         "y": 282,\r
403         "z": "7bb5d2cb.8cfacc",\r
404         "wires": [\r
405             [\r
406                 "7a5efd17.5c18a4"\r
407             ]\r
408         ]\r
409     },\r
410     {\r
411         "id": "c610bb27.6f7938",\r
412         "type": "other",\r
413         "name": "SOTN",\r
414         "xml": "<outcome value='SOTN'>\n",\r
415         "comments": "",\r
416         "outputs": 1,\r
417         "x": 1032,\r
418         "y": 193,\r
419         "z": "7bb5d2cb.8cfacc",\r
420         "wires": [\r
421             [\r
422                 "39f2e6f9.408272"\r
423             ]\r
424         ]\r
425     },\r
426     {\r
427         "id": "f6f15d6a.b855f8",\r
428         "type": "other",\r
429         "name": "other",\r
430         "xml": "<outcome value='Other'>\n",\r
431         "comments": "",\r
432         "outputs": 1,\r
433         "x": 1061.5,\r
434         "y": 654.5001220703125,\r
435         "z": "7bb5d2cb.8cfacc",\r
436         "wires": [\r
437             [\r
438                 "bacba57d.e755a8"\r
439             ]\r
440         ]\r
441     },\r
442     {\r
443         "id": "bacba57d.e755a8",\r
444         "type": "returnFailure",\r
445         "name": "return failure",\r
446         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unsupported type = ' + $prop.sdncRestApi.type`\" />\n\n",\r
447         "comments": "",\r
448         "x": 1247.75,\r
449         "y": 680.5001220703125,\r
450         "z": "7bb5d2cb.8cfacc",\r
451         "wires": []\r
452     },\r
453     {\r
454         "id": "97074a04.9156f",\r
455         "type": "execute",\r
456         "name": "execute Properties",\r
457         "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",\r
458         "comments": "",\r
459         "outputs": 1,\r
460         "x": 1413.0001983642578,\r
461         "y": 74.00000953674316,\r
462         "z": "7bb5d2cb.8cfacc",\r
463         "wires": [\r
464             []\r
465         ]\r
466     },\r
467     {\r
468         "id": "af67ee77.5ddb88",\r
469         "type": "switchNode",\r
470         "name": "switch prop.sdncRestApi.token_id",\r
471         "xml": "<switch test=\"`$prop.sdncRestApi.token_id`\">\n",\r
472         "comments": "",\r
473         "outputs": 1,\r
474         "x": 1459.5001983642578,\r
475         "y": 194.00000953674316,\r
476         "z": "7bb5d2cb.8cfacc",\r
477         "wires": [\r
478             [\r
479                 "196dbf86.289fe8",\r
480                 "2e000adc.427cfe"\r
481             ]\r
482         ]\r
483     },\r
484     {\r
485         "id": "196dbf86.289fe8",\r
486         "type": "other",\r
487         "name": "Null",\r
488         "xml": "<outcome value=''>\n",\r
489         "comments": "",\r
490         "outputs": 1,\r
491         "x": 1752.000244140625,\r
492         "y": 186,\r
493         "z": "7bb5d2cb.8cfacc",\r
494         "wires": [\r
495             [\r
496                 "58dbe772.71f75"\r
497             ]\r
498         ]\r
499     },\r
500     {\r
501         "id": "2e000adc.427cfe",\r
502         "type": "other",\r
503         "name": "other",\r
504         "xml": "<outcome value='Other'>\n",\r
505         "comments": "",\r
506         "outputs": 1,\r
507         "x": 1752.000244140625,\r
508         "y": 226,\r
509         "z": "7bb5d2cb.8cfacc",\r
510         "wires": [\r
511             [\r
512                 "74c607f5.33c7f"\r
513             ]\r
514         ]\r
515     },\r
516     {\r
517         "id": "58dbe772.71f75",\r
518         "type": "execute",\r
519         "name": "execute RestApiCallNode Get Topology",\r
520         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />\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=\"get\"/>\n<parameter name=\"responsePrefix\" value=\"topology\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.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",\r
521         "comments": "",\r
522         "outputs": 1,\r
523         "x": 1973.500244140625,\r
524         "y": 186,\r
525         "z": "7bb5d2cb.8cfacc",\r
526         "wires": [\r
527             [\r
528                 "e4dc69e3.746e88",\r
529                 "46585599.99541c"\r
530             ]\r
531         ]\r
532     },\r
533     {\r
534         "id": "9d5ac624.def28",\r
535         "type": "execute",\r
536         "name": "execute RestconfDiscoveryNode",\r
537         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='establishSubscription' >\n<parameter name=\"subscriberId\" value=\"sotn-controller\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ietf-subscribed-notifications:establish-subscription'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"sseConnectURL\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/streams/yang-push-json'`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"post\" />\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.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`\" />\n<parameter name=\"module\" value=\"DataChange\" />\n<parameter name=\"rpc\" value=\"sotn-notification-handler\" />\n<parameter name=\"mode\" value=\"sync\" />",\r
538         "comments": "",\r
539         "outputs": 1,\r
540         "x": 1456.0001983642578,\r
541         "y": 334.00000953674316,\r
542         "z": "7bb5d2cb.8cfacc",\r
543         "wires": [\r
544             []\r
545         ]\r
546     },\r
547     {\r
548         "id": "8f8e9805.87c3c8",\r
549         "type": "set",\r
550         "name": "set encoding-format",\r
551         "xml": "<set>\n<parameter name='input' value='ietf-subscribed-notifications:establish-subscription.input.' />\n<parameter name=\"`$input + 'encoding'`\" value=\"encode-json\" />",\r
552         "comments": "",\r
553         "x": 1416.0001983642578,\r
554         "y": 294.00000953674316,\r
555         "z": "7bb5d2cb.8cfacc",\r
556         "wires": []\r
557     },\r
558     {\r
559         "id": "bcab4612.fb18e",\r
560         "type": "comment",\r
561         "name": "Notification subscription",\r
562         "info": "",\r
563         "comments": "",\r
564         "x": 1421.000343322754,\r
565         "y": 251.00000858306885,\r
566         "z": "7bb5d2cb.8cfacc",\r
567         "wires": []\r
568     },\r
569     {\r
570         "id": "289966fd.257632",\r
571         "type": "switchNode",\r
572         "name": "switch",\r
573         "xml": "<switch test=\"`$prop.sdncRestApi.vendor == 'ZTE'`\">\n",\r
574         "comments": "",\r
575         "outputs": 1,\r
576         "x": 106,\r
577         "y": 322,\r
578         "z": "7bb5d2cb.8cfacc",\r
579         "wires": [\r
580             [\r
581                 "8432bc7f.958c98",\r
582                 "dbdc5153.c45968"\r
583             ]\r
584         ]\r
585     },\r
586     {\r
587         "id": "8432bc7f.958c98",\r
588         "type": "outcomeFalse",\r
589         "name": "false",\r
590         "xml": "<outcome value='false'>\n",\r
591         "comments": "",\r
592         "outputs": 1,\r
593         "x": 293,\r
594         "y": 322,\r
595         "z": "7bb5d2cb.8cfacc",\r
596         "wires": [\r
597             [\r
598                 "5a242175.0e7ef"\r
599             ]\r
600         ]\r
601     },\r
602     {\r
603         "id": "dbdc5153.c45968",\r
604         "type": "outcomeTrue",\r
605         "name": "true",\r
606         "xml": "<outcome value='true'>\n",\r
607         "comments": "",\r
608         "outputs": 1,\r
609         "x": 67.00003051757812,\r
610         "y": 1078.75,\r
611         "z": "7bb5d2cb.8cfacc",\r
612         "wires": [\r
613             [\r
614                 "94027433.59821"\r
615             ]\r
616         ]\r
617     },\r
618     {\r
619         "id": "94027433.59821",\r
620         "type": "call",\r
621         "name": "call esr-thirdparty-sdnc-of-zte",\r
622         "xml": "<call module='DataChange' rpc='esr-thirdparty-sdnc-of-zte' mode='sync' >\n",\r
623         "comments": "",\r
624         "outputs": 1,\r
625         "x": 298.75,\r
626         "y": 1095.5000610351562,\r
627         "z": "7bb5d2cb.8cfacc",\r
628         "wires": [\r
629             []\r
630         ]\r
631     },\r
632     {\r
633         "id": "2ed61a13.0813c6",\r
634         "type": "other",\r
635         "name": "TAPI",\r
636         "xml": "<outcome value='TAPI'>\n",\r
637         "comments": "",\r
638         "outputs": 1,\r
639         "x": 1110,\r
640         "y": 427,\r
641         "z": "7bb5d2cb.8cfacc",\r
642         "wires": [\r
643             [\r
644                 "4691c66b.5d4a4"\r
645             ]\r
646         ]\r
647     },\r
648     {\r
649         "id": "4691c66b.5d4a4",\r
650         "type": "block",\r
651         "name": "block : atomic",\r
652         "xml": "<block atomic=\"true\">",\r
653         "atomic": "true",\r
654         "outputs": 1,\r
655         "x": 1273,\r
656         "y": 426,\r
657         "z": "7bb5d2cb.8cfacc",\r
658         "wires": [\r
659             [\r
660                 "7dd7f464.c6c9e4"\r
661             ]\r
662         ]\r
663     },\r
664     {\r
665         "id": "7dd7f464.c6c9e4",\r
666         "type": "execute",\r
667         "name": "execute",\r
668         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/cxf/tapi/v2/topologies?topology-id-or-name=otn'`\"/>  \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=\"get\"/>  \n    <parameter name=\"responsePrefix\" value=\"topologies\"/>\n    <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.tapi.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\"/>",\r
669         "comments": "",\r
670         "outputs": 1,\r
671         "x": 1434,\r
672         "y": 425,\r
673         "z": "7bb5d2cb.8cfacc",\r
674         "wires": [\r
675             [\r
676                 "4311848d.591ed4",\r
677                 "fc46f47a.aebbb"\r
678             ]\r
679         ]\r
680     },\r
681     {\r
682         "id": "fc46f47a.aebbb",\r
683         "type": "success",\r
684         "name": "success",\r
685         "xml": "<outcome value='success'>\n",\r
686         "comments": "",\r
687         "outputs": 1,\r
688         "x": 1576,\r
689         "y": 501,\r
690         "z": "7bb5d2cb.8cfacc",\r
691         "wires": [\r
692             [\r
693                 "cc96eb4.79b6718"\r
694             ]\r
695         ]\r
696     },\r
697     {\r
698         "id": "4311848d.591ed4",\r
699         "type": "failure",\r
700         "name": "failure",\r
701         "xml": "<outcome value='failure'>\n",\r
702         "comments": "",\r
703         "outputs": 1,\r
704         "x": 1610,\r
705         "y": 422,\r
706         "z": "7bb5d2cb.8cfacc",\r
707         "wires": [\r
708             [\r
709                 "85a205fd.e6fe2"\r
710             ]\r
711         ]\r
712     },\r
713     {\r
714         "id": "85a205fd.e6fe2",\r
715         "type": "returnFailure",\r
716         "name": "return failure",\r
717         "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing get topology TAPI rest api\" />\n\n",\r
718         "comments": "",\r
719         "x": 1780,\r
720         "y": 421,\r
721         "z": "7bb5d2cb.8cfacc",\r
722         "wires": []\r
723     },\r
724     {\r
725         "id": "cc96eb4.79b6718",\r
726         "type": "block",\r
727         "name": "block : atomic",\r
728         "xml": "<block atomic=\"true\">",\r
729         "atomic": "true",\r
730         "outputs": 1,\r
731         "x": 1737,\r
732         "y": 500,\r
733         "z": "7bb5d2cb.8cfacc",\r
734         "wires": [\r
735             [\r
736                 "84ea29d7.966748"\r
737             ]\r
738         ]\r
739     },\r
740     {\r
741         "id": "84ea29d7.966748",\r
742         "type": "for",\r
743         "name": "for each topology",\r
744         "xml": "<for index='tidx' start='0' end=\"`$topologies.topology_length`\" >\n",\r
745         "comments": "",\r
746         "outputs": 1,\r
747         "x": 1916,\r
748         "y": 500,\r
749         "z": "7bb5d2cb.8cfacc",\r
750         "wires": [\r
751             [\r
752                 "23afbd29.52671a"\r
753             ]\r
754         ]\r
755     },\r
756     {\r
757         "id": "23afbd29.52671a",\r
758         "type": "block",\r
759         "name": "block",\r
760         "xml": "<block>\n",\r
761         "atomic": "false",\r
762         "comments": "",\r
763         "outputs": 1,\r
764         "x": 2083,\r
765         "y": 501,\r
766         "z": "7bb5d2cb.8cfacc",\r
767         "wires": [\r
768             [\r
769                 "be671cf9.1f4a38",\r
770                 "2c9a9e44.4d4e72"\r
771             ]\r
772         ]\r
773     },\r
774     {\r
775         "id": "be671cf9.1f4a38",\r
776         "type": "set",\r
777         "name": "set topology",\r
778         "xml": "<set>\n<parameter name='topology.' value='`$topologies.topology[$tidx].`' />\n",\r
779         "comments": "",\r
780         "x": 2242,\r
781         "y": 502,\r
782         "z": "7bb5d2cb.8cfacc",\r
783         "wires": []\r
784     },\r
785     {\r
786         "id": "2c9a9e44.4d4e72",\r
787         "type": "call",\r
788         "name": "call tapi-update-network-to-aai",\r
789         "xml": "<call module='DataChange' rpc='tapi-update-network-to-aai' mode='sync' >\n\n",\r
790         "comments": "",\r
791         "outputs": 1,\r
792         "x": 2233,\r
793         "y": 568,\r
794         "z": "7bb5d2cb.8cfacc",\r
795         "wires": [\r
796             []\r
797         ]\r
798     },\r
799     {\r
800         "id": "ca97ad3.a311cd",\r
801         "type": "outcome",\r
802         "name": "MSA",\r
803         "xml": "<outcome value='MSA'>\n",\r
804         "comments": "",\r
805         "outputs": 1,\r
806         "x": 1080.677324295044,\r
807         "y": 583.8993349075317,\r
808         "z": "7bb5d2cb.8cfacc",\r
809         "wires": [\r
810             [\r
811                 "c2e22ff3.03e78"\r
812             ]\r
813         ]\r
814     },\r
815     {\r
816         "id": "c2e22ff3.03e78",\r
817         "type": "block",\r
818         "name": "block : atomic",\r
819         "xml": "<block atomic=\"true\">",\r
820         "atomic": "true",\r
821         "outputs": 1,\r
822         "x": 1242.6773872375488,\r
823         "y": 581.899335861206,\r
824         "z": "7bb5d2cb.8cfacc",\r
825         "wires": [\r
826             [\r
827                 "cdc360bb.4f8c6"\r
828             ]\r
829         ]\r
830     },\r
831     {\r
832         "id": "cdc360bb.4f8c6",\r
833         "type": "execute",\r
834         "name": "execute",\r
835         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/cxf/openroadm/v2/networks/otn-topology'`\"/>  \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=\"get\"/>  \n    <parameter name=\"responsePrefix\" value=\"networks\"/>\n    <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.msa.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",\r
836         "comments": "",\r
837         "outputs": 1,\r
838         "x": 1419.6771354675293,\r
839         "y": 573.8992919921875,\r
840         "z": "7bb5d2cb.8cfacc",\r
841         "wires": [\r
842             [\r
843                 "150d6764.a614e9",\r
844                 "1e259e4f.0e9d9a"\r
845             ]\r
846         ]\r
847     },\r
848     {\r
849         "id": "150d6764.a614e9",\r
850         "type": "failure",\r
851         "name": "failure",\r
852         "xml": "<outcome value='failure'>\n",\r
853         "comments": "",\r
854         "outputs": 1,\r
855         "x": 1572.6771354675293,\r
856         "y": 570.8992919921875,\r
857         "z": "7bb5d2cb.8cfacc",\r
858         "wires": [\r
859             [\r
860                 "a457e272.01c1b8"\r
861             ]\r
862         ]\r
863     },\r
864     {\r
865         "id": "a457e272.01c1b8",\r
866         "type": "returnFailure",\r
867         "name": "return failure",\r
868         "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing get topology MSA rest api\" />\n\n",\r
869         "comments": "",\r
870         "x": 1747.6771354675293,\r
871         "y": 569.8992919921875,\r
872         "z": "7bb5d2cb.8cfacc",\r
873         "wires": []\r
874     },\r
875     {\r
876         "id": "1e259e4f.0e9d9a",\r
877         "type": "success",\r
878         "name": "success",\r
879         "xml": "<outcome value='success'>\n",\r
880         "comments": "",\r
881         "outputs": 1,\r
882         "x": 1578.6771354675293,\r
883         "y": 643.8992919921875,\r
884         "z": "7bb5d2cb.8cfacc",\r
885         "wires": [\r
886             [\r
887                 "c148d343.01eac8"\r
888             ]\r
889         ]\r
890     },\r
891     {\r
892         "id": "c148d343.01eac8",\r
893         "type": "block",\r
894         "name": "block : atomic",\r
895         "xml": "<block atomic=\"true\">",\r
896         "atomic": "true",\r
897         "outputs": 1,\r
898         "x": 1762.6771354675293,\r
899         "y": 645.8992919921875,\r
900         "z": "7bb5d2cb.8cfacc",\r
901         "wires": [\r
902             [\r
903                 "f964e642.cb1ae"\r
904             ]\r
905         ]\r
906     },\r
907     {\r
908         "id": "f964e642.cb1ae",\r
909         "type": "call",\r
910         "name": "call msa-update-network-to-aai",\r
911         "xml": "<call module='DataChange' rpc='msa-update-network-to-aai' mode='sync' >\n\n",\r
912         "comments": "",\r
913         "outputs": 1,\r
914         "x": 2041.677001953125,\r
915         "y": 643.8992919921875,\r
916         "z": "7bb5d2cb.8cfacc",\r
917         "wires": [\r
918             []\r
919         ]\r
920     },\r
921     {\r
922         "id": "dc10cae0.74e44",\r
923         "type": "switchNode",\r
924         "name": "switch type",\r
925         "xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n",\r
926         "comments": "",\r
927         "outputs": 1,\r
928         "x": 212.566650390625,\r
929         "y": 812.5666809082031,\r
930         "z": "7bb5d2cb.8cfacc",\r
931         "wires": [\r
932             [\r
933                 "447a364c.b91ea8",\r
934                 "f7872c45.99a4e",\r
935                 "c8e48bf6.778e98"\r
936             ]\r
937         ]\r
938     },\r
939     {\r
940         "id": "447a364c.b91ea8",\r
941         "type": "outcome",\r
942         "name": "MSA",\r
943         "xml": "<outcome value='MSA'>\n",\r
944         "comments": "",\r
945         "outputs": 1,\r
946         "x": 391.857177734375,\r
947         "y": 729.9285888671875,\r
948         "z": "7bb5d2cb.8cfacc",\r
949         "wires": [\r
950             [\r
951                 "a07fdc63.5a34d8"\r
952             ]\r
953         ]\r
954     },\r
955     {\r
956         "id": "f7872c45.99a4e",\r
957         "type": "other",\r
958         "name": "TAPI",\r
959         "xml": "<outcome value='TAPI'>\n",\r
960         "comments": "",\r
961         "outputs": 1,\r
962         "x": 400.6070556640625,\r
963         "y": 980.6428527832031,\r
964         "z": "7bb5d2cb.8cfacc",\r
965         "wires": [\r
966             [\r
967                 "6d4308e1.31c5f"\r
968             ]\r
969         ]\r
970     },\r
971     {\r
972         "id": "a07fdc63.5a34d8",\r
973         "type": "block",\r
974         "name": "block : atomic",\r
975         "xml": "<block atomic='true'>",\r
976         "atomic": "true",\r
977         "comments": "",\r
978         "outputs": 1,\r
979         "x": 545.607177734375,\r
980         "y": 726.7143249511719,\r
981         "z": "7bb5d2cb.8cfacc",\r
982         "wires": [\r
983             [\r
984                 "cfc4d202.c64d78",\r
985                 "366bec81.83eddc"\r
986             ]\r
987         ]\r
988     },\r
989     {\r
990         "id": "6d4308e1.31c5f",\r
991         "type": "block",\r
992         "name": "block",\r
993         "xml": "<block>\n",\r
994         "atomic": "false",\r
995         "comments": "",\r
996         "outputs": 1,\r
997         "x": 550,\r
998         "y": 980.5,\r
999         "z": "7bb5d2cb.8cfacc",\r
1000         "wires": [\r
1001             [\r
1002                 "6a48df29.ca491",\r
1003                 "62ccb800.ba59c8"\r
1004             ]\r
1005         ]\r
1006     },\r
1007     {\r
1008         "id": "c8e48bf6.778e98",\r
1009         "type": "other",\r
1010         "name": "other",\r
1011         "xml": "<outcome value='Other'>\n",\r
1012         "comments": "",\r
1013         "outputs": 1,\r
1014         "x": 503,\r
1015         "y": 1144.5,\r
1016         "z": "7bb5d2cb.8cfacc",\r
1017         "wires": [\r
1018             [\r
1019                 "ab761f62.a873d"\r
1020             ]\r
1021         ]\r
1022     },\r
1023     {\r
1024         "id": "ab761f62.a873d",\r
1025         "type": "returnFailure",\r
1026         "name": "return failure",\r
1027         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unsupported type = ' + $prop.sdncRestApi.type`\" />\n\n",\r
1028         "comments": "",\r
1029         "x": 665,\r
1030         "y": 1183.5,\r
1031         "z": "7bb5d2cb.8cfacc",\r
1032         "wires": []\r
1033     },\r
1034     {\r
1035         "id": "cfc4d202.c64d78",\r
1036         "type": "get-resource",\r
1037         "name": "get resources from DB -controller_id",\r
1038         "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\nkey='SELECT controller_id\nfrom TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE\nWHERE controller_id = $controllerid'\npfx='dbcontrollerid'>\n    \n    \n    \n    \n    \n    \n    \n    \n    \n\n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n\n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n",\r
1039         "comments": "",\r
1040         "outputs": 1,\r
1041         "x": 777.5,\r
1042         "y": 774.5,\r
1043         "z": "7bb5d2cb.8cfacc",\r
1044         "wires": [\r
1045             [\r
1046                 "69e5b135.13096",\r
1047                 "70bf128f.7ac3cc",\r
1048                 "136d8709.29f489"\r
1049             ]\r
1050         ]\r
1051     },\r
1052     {\r
1053         "id": "366bec81.83eddc",\r
1054         "type": "set",\r
1055         "name": "set controller_id",\r
1056         "xml": "<set>\n<parameter name='controllerid' value=\"`$prop.sdncRestApi.type + '_' + $prop.sdncRestApi.thirdpartySdnc.url + '_' + $prop.sdncRestApi.thirdpartySdnc.id`\" />\n\n\n\n",\r
1057         "comments": "",\r
1058         "x": 737.5,\r
1059         "y": 708.5,\r
1060         "z": "7bb5d2cb.8cfacc",\r
1061         "wires": []\r
1062     },\r
1063     {\r
1064         "id": "69e5b135.13096",\r
1065         "type": "success",\r
1066         "name": "success",\r
1067         "xml": "<outcome value='success'>\n",\r
1068         "comments": "",\r
1069         "outputs": 1,\r
1070         "x": 1016.5,\r
1071         "y": 794.5,\r
1072         "z": "7bb5d2cb.8cfacc",\r
1073         "wires": [\r
1074             [\r
1075                 "f7324afe.a3cb98"\r
1076             ]\r
1077         ]\r
1078     },\r
1079     {\r
1080         "id": "f7324afe.a3cb98",\r
1081         "type": "delete",\r
1082         "name": "delete from db",\r
1083         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource'\n    resource=\"SQL\"\n    key=\"DELETE FROM TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE WHERE controller_id = $controllerid\">",\r
1084         "comments": "",\r
1085         "outputs": 1,\r
1086         "x": 1185.5,\r
1087         "y": 801.5,\r
1088         "z": "7bb5d2cb.8cfacc",\r
1089         "wires": [\r
1090             []\r
1091         ]\r
1092     },\r
1093     {\r
1094         "id": "6a48df29.ca491",\r
1095         "type": "set",\r
1096         "name": "set controller_id",\r
1097         "xml": "<set>\n<parameter name='controllerid' value=\"`$prop.sdncRestApi.type + '_' + $prop.sdncRestApi.thirdpartySdnc.url + '_' + $prop.sdncRestApi.thirdpartySdnc.id`\" />\n\n\n\n",\r
1098         "comments": "",\r
1099         "x": 714.5,\r
1100         "y": 936.5,\r
1101         "z": "7bb5d2cb.8cfacc",\r
1102         "wires": []\r
1103     },\r
1104     {\r
1105         "id": "62ccb800.ba59c8",\r
1106         "type": "get-resource",\r
1107         "name": "get resources from DB -controller_id",\r
1108         "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\nkey='SELECT controller_id\nfrom TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE\nWHERE controller_id = $controllerid'\npfx='dbcontrollerid'>\n    \n    \n    \n    \n    \n    \n    \n    \n    \n\n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n\n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n",\r
1109         "comments": "",\r
1110         "outputs": 1,\r
1111         "x": 727.5,\r
1112         "y": 1025.5,\r
1113         "z": "7bb5d2cb.8cfacc",\r
1114         "wires": [\r
1115             [\r
1116                 "4cc181ad.c4d1f8",\r
1117                 "85870c46.3089f",\r
1118                 "d2032fdb.614ce8"\r
1119             ]\r
1120         ]\r
1121     },\r
1122     {\r
1123         "id": "4cc181ad.c4d1f8",\r
1124         "type": "success",\r
1125         "name": "success",\r
1126         "xml": "<outcome value='success'>\n",\r
1127         "comments": "",\r
1128         "outputs": 1,\r
1129         "x": 952.5,\r
1130         "y": 1040.5,\r
1131         "z": "7bb5d2cb.8cfacc",\r
1132         "wires": [\r
1133             [\r
1134                 "ebe8f601.eebec8"\r
1135             ]\r
1136         ]\r
1137     },\r
1138     {\r
1139         "id": "ebe8f601.eebec8",\r
1140         "type": "delete",\r
1141         "name": "delete from db",\r
1142         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource'\n    resource=\"SQL\"\n    key=\"DELETE FROM TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE WHERE controller_id = $controllerid\">",\r
1143         "comments": "",\r
1144         "outputs": 1,\r
1145         "x": 1123.5,\r
1146         "y": 1041.5,\r
1147         "z": "7bb5d2cb.8cfacc",\r
1148         "wires": [\r
1149             []\r
1150         ]\r
1151     },\r
1152     {\r
1153         "id": "70bf128f.7ac3cc",\r
1154         "type": "failure",\r
1155         "name": "failure",\r
1156         "xml": "<outcome value='failure'>\n",\r
1157         "comments": "",\r
1158         "outputs": 1,\r
1159         "x": 1002.5,\r
1160         "y": 873.5,\r
1161         "z": "7bb5d2cb.8cfacc",\r
1162         "wires": [\r
1163             [\r
1164                 "dd76e326.6dd408"\r
1165             ]\r
1166         ]\r
1167     },\r
1168     {\r
1169         "id": "85870c46.3089f",\r
1170         "type": "failure",\r
1171         "name": "failure",\r
1172         "xml": "<outcome value='failure'>\n",\r
1173         "comments": "",\r
1174         "outputs": 1,\r
1175         "x": 933.5,\r
1176         "y": 1113.5,\r
1177         "z": "7bb5d2cb.8cfacc",\r
1178         "wires": [\r
1179             [\r
1180                 "b35680d0.668ed"\r
1181             ]\r
1182         ]\r
1183     },\r
1184     {\r
1185         "id": "dd76e326.6dd408",\r
1186         "type": "returnFailure",\r
1187         "name": "return failure",\r
1188         "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Failure in getting controller-id from DB\" />\n\n",\r
1189         "comments": "",\r
1190         "x": 1163.5,\r
1191         "y": 878.5,\r
1192         "z": "7bb5d2cb.8cfacc",\r
1193         "wires": []\r
1194     },\r
1195     {\r
1196         "id": "136d8709.29f489",\r
1197         "type": "not-found",\r
1198         "name": "not-found",\r
1199         "xml": "<outcome value='not-found'>\n",\r
1200         "comments": "",\r
1201         "outputs": 1,\r
1202         "x": 993.5,\r
1203         "y": 933.5,\r
1204         "z": "7bb5d2cb.8cfacc",\r
1205         "wires": [\r
1206             [\r
1207                 "84fa6086.1cdbd"\r
1208             ]\r
1209         ]\r
1210     },\r
1211     {\r
1212         "id": "84fa6086.1cdbd",\r
1213         "type": "returnFailure",\r
1214         "name": "return failure",\r
1215         "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"controller-id could not be found in DB\" />\n\n",\r
1216         "comments": "",\r
1217         "x": 1142.5,\r
1218         "y": 935.5,\r
1219         "z": "7bb5d2cb.8cfacc",\r
1220         "wires": []\r
1221     },\r
1222     {\r
1223         "id": "b35680d0.668ed",\r
1224         "type": "returnFailure",\r
1225         "name": "return failure",\r
1226         "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Failure in getting controller-id from DB\" />\n\n",\r
1227         "comments": "",\r
1228         "x": 1081.5,\r
1229         "y": 1114.5,\r
1230         "z": "7bb5d2cb.8cfacc",\r
1231         "wires": []\r
1232     },\r
1233     {\r
1234         "id": "d2032fdb.614ce8",\r
1235         "type": "not-found",\r
1236         "name": "not-found",\r
1237         "xml": "<outcome value='not-found'>\n",\r
1238         "comments": "",\r
1239         "outputs": 1,\r
1240         "x": 933.5,\r
1241         "y": 1157.5,\r
1242         "z": "7bb5d2cb.8cfacc",\r
1243         "wires": [\r
1244             [\r
1245                 "a6db07ae.aaca38"\r
1246             ]\r
1247         ]\r
1248     },\r
1249     {\r
1250         "id": "a6db07ae.aaca38",\r
1251         "type": "returnFailure",\r
1252         "name": "return failure",\r
1253         "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"controller-id could not be found in DB\" />\n\n",\r
1254         "comments": "",\r
1255         "x": 1098.5,\r
1256         "y": 1154.5,\r
1257         "z": "7bb5d2cb.8cfacc",\r
1258         "wires": []\r
1259     }\r
1260 ]