Merge "integration test issues fix for sdwan and sotn"
[sdnc/oam.git] / platform-logic / datachange / src / main / json / DataChange_esr-thirdparty-sdnc-of-zte.json
1 [\r
2     {\r
3         "id": "78797449.a69d64", \r
4         "type": "dgstart", \r
5         "name": "DGSTART", \r
6         "outputs": 1, \r
7         "x": 95, \r
8         "y": 72, \r
9         "z": "eab52334.be231", \r
10         "wires": [\r
11             [\r
12                 "77d260.33eeb5a"\r
13             ]\r
14         ]\r
15     }, \r
16     {\r
17         "id": "77d260.33eeb5a", \r
18         "type": "service-logic", \r
19         "name": "DataChange ${project.version}", \r
20         "module": "DataChange", \r
21         "version": "${project.version}", \r
22         "comments": "", \r
23         "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='DataChange' version='${project.version}'>", \r
24         "outputs": 1, \r
25         "x": 239, \r
26         "y": 185, \r
27         "z": "eab52334.be231", \r
28         "wires": [\r
29             [\r
30                 "63d24477.5e1d24"\r
31             ]\r
32         ]\r
33     }, \r
34     {\r
35         "id": "63d24477.5e1d24", \r
36         "type": "method", \r
37         "name": "method esr-thirdparty-sdnc-of-zte", \r
38         "xml": "<method rpc='esr-thirdparty-sdnc-of-zte' mode='sync'>\n", \r
39         "comments": "", \r
40         "outputs": 1, \r
41         "x": 164, \r
42         "y": 299, \r
43         "z": "eab52334.be231", \r
44         "wires": [\r
45             [\r
46                 "f10c2099.6d37a"\r
47             ]\r
48         ]\r
49     }, \r
50     {\r
51         "id": "f10c2099.6d37a", \r
52         "type": "block", \r
53         "name": "block : atomic", \r
54         "xml": "<block atomic='true'>", \r
55         "atomic": "true", \r
56         "comments": "", \r
57         "outputs": 1, \r
58         "x": 93, \r
59         "y": 433, \r
60         "z": "eab52334.be231", \r
61         "wires": [\r
62             [\r
63                 "c6e14b97.61ebb8", \r
64                 "336b2c1.b23ca54", \r
65                 "ebdf7595.352788", \r
66                 "bd214a4f.a0427"\r
67             ]\r
68         ]\r
69     }, \r
70     {\r
71         "id": "c6e14b97.61ebb8", \r
72         "type": "call", \r
73         "name": "call validate-esr-thirdparty-sdnc-input", \r
74         "xml": "<call module='DataChange' rpc='validate-esr-thirdparty-sdnc-input' mode='sync' >\n", \r
75         "comments": "", \r
76         "outputs": 1, \r
77         "x": 451, \r
78         "y": 368, \r
79         "z": "eab52334.be231", \r
80         "wires": [\r
81             [ ]\r
82         ]\r
83     }, \r
84     {\r
85         "id": "336b2c1.b23ca54", \r
86         "type": "for", \r
87         "name": "for 0..key-data_length", \r
88         "xml": "<for index='idx' start='0' end='`$data-change-notification-input.key-data_length`' >\n", \r
89         "comments": "", \r
90         "outputs": 1, \r
91         "x": 354, \r
92         "y": 438, \r
93         "z": "eab52334.be231", \r
94         "wires": [\r
95             [\r
96                 "75c90043.ea9e58"\r
97             ]\r
98         ]\r
99     }, \r
100     {\r
101         "id": "75c90043.ea9e58", \r
102         "type": "block", \r
103         "name": "block", \r
104         "xml": "<block>\n", \r
105         "atomic": "false", \r
106         "comments": "", \r
107         "outputs": 1, \r
108         "x": 545, \r
109         "y": 439, \r
110         "z": "eab52334.be231", \r
111         "wires": [\r
112             [\r
113                 "128f1b66.00dc0d", \r
114                 "c1d27f5c.c264f8", \r
115                 "1a08949.79fd66b", \r
116                 "8cc1f05e.92f468", \r
117                 "25639564.010e22", \r
118                 "7b8ba016.fbb3e8"\r
119             ]\r
120         ]\r
121     }, \r
122     {\r
123         "id": "128f1b66.00dc0d", \r
124         "type": "switchNode", \r
125         "name": "switch service-url", \r
126         "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'service-url'`\">\n", \r
127         "comments": "", \r
128         "outputs": 1, \r
129         "x": 754, \r
130         "y": 370, \r
131         "z": "eab52334.be231", \r
132         "wires": [\r
133             [\r
134                 "a2c28074.c9e3a8"\r
135             ]\r
136         ]\r
137     }, \r
138     {\r
139         "id": "c1d27f5c.c264f8", \r
140         "type": "switchNode", \r
141         "name": "switch user-name", \r
142         "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'user-name'`\">\n", \r
143         "comments": "", \r
144         "outputs": 1, \r
145         "x": 754, \r
146         "y": 433, \r
147         "z": "eab52334.be231", \r
148         "wires": [\r
149             [\r
150                 "1403e272.365546"\r
151             ]\r
152         ]\r
153     }, \r
154     {\r
155         "id": "1a08949.79fd66b", \r
156         "type": "switchNode", \r
157         "name": "switch password", \r
158         "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'password'`\">\n", \r
159         "comments": "", \r
160         "outputs": 1, \r
161         "x": 750, \r
162         "y": 492, \r
163         "z": "eab52334.be231", \r
164         "wires": [\r
165             [\r
166                 "ad2ddd93.50432"\r
167             ]\r
168         ]\r
169     }, \r
170     {\r
171         "id": "8cc1f05e.92f468", \r
172         "type": "switchNode", \r
173         "name": "switch esr-system-info-id", \r
174         "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'esr-system-info-id'`\">\n", \r
175         "comments": "", \r
176         "outputs": 1, \r
177         "x": 777, \r
178         "y": 555, \r
179         "z": "eab52334.be231", \r
180         "wires": [\r
181             [\r
182                 "e0b54647.aef0b8"\r
183             ]\r
184         ]\r
185     }, \r
186     {\r
187         "id": "25639564.010e22", \r
188         "type": "switchNode", \r
189         "name": "switch thirdparty-sdnc-id", \r
190         "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'thirdparty-sdnc-id'`\">\n", \r
191         "comments": "", \r
192         "outputs": 1, \r
193         "x": 776, \r
194         "y": 616, \r
195         "z": "eab52334.be231", \r
196         "wires": [\r
197             [\r
198                 "ec3c7d9e.1913d8"\r
199             ]\r
200         ]\r
201     }, \r
202     {\r
203         "id": "7b8ba016.fbb3e8", \r
204         "type": "switchNode", \r
205         "name": "switch type", \r
206         "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'type'`\">\n", \r
207         "comments": "", \r
208         "outputs": 1, \r
209         "x": 735, \r
210         "y": 683, \r
211         "z": "eab52334.be231", \r
212         "wires": [\r
213             [\r
214                 "10575d8e.fe0d6a"\r
215             ]\r
216         ]\r
217     }, \r
218     {\r
219         "id": "a2c28074.c9e3a8", \r
220         "type": "outcomeTrue", \r
221         "name": "true", \r
222         "xml": "<outcome value='true'>\n", \r
223         "comments": "", \r
224         "outputs": 1, \r
225         "x": 973, \r
226         "y": 370, \r
227         "z": "eab52334.be231", \r
228         "wires": [\r
229             [\r
230                 "767b34d1.0a080c"\r
231             ]\r
232         ]\r
233     }, \r
234     {\r
235         "id": "1403e272.365546", \r
236         "type": "outcomeTrue", \r
237         "name": "true", \r
238         "xml": "<outcome value='true'>\n", \r
239         "comments": "", \r
240         "outputs": 1, \r
241         "x": 972, \r
242         "y": 432, \r
243         "z": "eab52334.be231", \r
244         "wires": [\r
245             [\r
246                 "92e73df5.564cf"\r
247             ]\r
248         ]\r
249     }, \r
250     {\r
251         "id": "ad2ddd93.50432", \r
252         "type": "outcomeTrue", \r
253         "name": "true", \r
254         "xml": "<outcome value='true'>\n", \r
255         "comments": "", \r
256         "outputs": 1, \r
257         "x": 972, \r
258         "y": 491, \r
259         "z": "eab52334.be231", \r
260         "wires": [\r
261             [\r
262                 "9fc08956.e0f9c"\r
263             ]\r
264         ]\r
265     }, \r
266     {\r
267         "id": "e0b54647.aef0b8", \r
268         "type": "outcomeTrue", \r
269         "name": "true", \r
270         "xml": "<outcome value='true'>\n", \r
271         "comments": "", \r
272         "outputs": 1, \r
273         "x": 972, \r
274         "y": 555, \r
275         "z": "eab52334.be231", \r
276         "wires": [\r
277             [\r
278                 "1343e358.22771d"\r
279             ]\r
280         ]\r
281     }, \r
282     {\r
283         "id": "ec3c7d9e.1913d8", \r
284         "type": "outcomeTrue", \r
285         "name": "true", \r
286         "xml": "<outcome value='true'>\n", \r
287         "comments": "", \r
288         "outputs": 1, \r
289         "x": 969, \r
290         "y": 616, \r
291         "z": "eab52334.be231", \r
292         "wires": [\r
293             [\r
294                 "223f6129.11e8ee"\r
295             ]\r
296         ]\r
297     }, \r
298     {\r
299         "id": "10575d8e.fe0d6a", \r
300         "type": "outcomeTrue", \r
301         "name": "true", \r
302         "xml": "<outcome value='true'>\n", \r
303         "comments": "", \r
304         "outputs": 1, \r
305         "x": 968, \r
306         "y": 682, \r
307         "z": "eab52334.be231", \r
308         "wires": [\r
309             [\r
310                 "a24c3d6c.c679f8"\r
311             ]\r
312         ]\r
313     }, \r
314     {\r
315         "id": "767b34d1.0a080c", \r
316         "type": "set", \r
317         "name": "set service-url", \r
318         "xml": "<set>\n<parameter name='zte.prop.sdncRestApi.thirdpartySdnc.url' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n", \r
319         "comments": "", \r
320         "x": 1151, \r
321         "y": 370, \r
322         "z": "eab52334.be231", \r
323         "wires": [ ]\r
324     }, \r
325     {\r
326         "id": "92e73df5.564cf", \r
327         "type": "set", \r
328         "name": "set user", \r
329         "xml": "<set>\n<parameter name='zte.prop.sdncRestApi.thirdpartySdnc.user' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n", \r
330         "comments": "", \r
331         "x": 1151, \r
332         "y": 432, \r
333         "z": "eab52334.be231", \r
334         "wires": [ ]\r
335     }, \r
336     {\r
337         "id": "9fc08956.e0f9c", \r
338         "type": "set", \r
339         "name": "set password", \r
340         "xml": "<set>\n<parameter name='zte.prop.sdncRestApi.thirdpartySdnc.password' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n", \r
341         "comments": "", \r
342         "x": 1152, \r
343         "y": 491, \r
344         "z": "eab52334.be231", \r
345         "wires": [ ]\r
346     }, \r
347     {\r
348         "id": "1343e358.22771d", \r
349         "type": "set", \r
350         "name": "set system-info-id", \r
351         "xml": "<set>\n<parameter name='zte.prop.sdncRestApi.thirdpartySdnc.system-info-id' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n", \r
352         "comments": "", \r
353         "x": 1150, \r
354         "y": 555, \r
355         "z": "eab52334.be231", \r
356         "wires": [ ]\r
357     }, \r
358     {\r
359         "id": "223f6129.11e8ee", \r
360         "type": "set", \r
361         "name": "set thirdparty-sdnc-id", \r
362         "xml": "<set>\n<parameter name='zte.prop.sdncRestApi.thirdpartySdnc.id' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n", \r
363         "comments": "", \r
364         "x": 1148, \r
365         "y": 616, \r
366         "z": "eab52334.be231", \r
367         "wires": [ ]\r
368     }, \r
369     {\r
370         "id": "a24c3d6c.c679f8", \r
371         "type": "set", \r
372         "name": "set type", \r
373         "xml": "<set>\n<parameter name='zte.prop.sdncRestApi.type' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n", \r
374         "comments": "", \r
375         "x": 1148, \r
376         "y": 682, \r
377         "z": "eab52334.be231", \r
378         "wires": [ ]\r
379     }, \r
380     {\r
381         "id": "ebdf7595.352788", \r
382         "type": "record", \r
383         "name": "record", \r
384         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/zte.svclogic.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"data-change-notification\"/>\n<parameter name=\"field3\" value=\"Config\"/>\n<parameter name=\"field4\" value=\"`service-url`\"/>\n<parameter name=\"field5\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.url`\"/>\n", \r
385         "comments": "", \r
386         "outputs": 1, \r
387         "x": 304, \r
388         "y": 525, \r
389         "z": "eab52334.be231", \r
390         "wires": [\r
391             [ ]\r
392         ]\r
393     }, \r
394     {\r
395         "id": "bd214a4f.a0427", \r
396         "type": "call", \r
397         "name": "call esr-thirdparty-sdnc-discovery-of-zte", \r
398         "xml": "<call module='DataChange' rpc='esr-thirdparty-sdnc-discovery-of-zte' mode='sync' >\n", \r
399         "comments": "", \r
400         "outputs": 1, \r
401         "x": 395, \r
402         "y": 615, \r
403         "z": "eab52334.be231", \r
404         "wires": [\r
405             [ ]\r
406         ]\r
407     }\r
408 ]