integration test issues fix for sdwan and sotn
[sdnc/oam.git] / platform-logic / datachange / src / main / json / DataChange_esr-thirdparty-sdnc.json
1 [
2   {
3     "id": "3645100d.93b1e",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 131,
8     "y": 57,
9     "z": "f5f8cf31.a0ec1",
10     "wires": [
11       [
12         "a67dda3b.aa6388"
13       ]
14     ]
15   },
16   {
17     "id": "a67dda3b.aa6388",
18     "type": "service-logic",
19     "name": "DataChange ${project.version}",
20     "module": "DataChange",
21     "version": "${project.version}",
22     "comments": "",
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}'>",
24     "outputs": 1,
25     "x": 317.1111488342285,
26     "y": 161.44447135925293,
27     "z": "f5f8cf31.a0ec1",
28     "wires": [
29       [
30         "fc54766d.ffb9e8"
31       ]
32     ]
33   },
34   {
35     "id": "fc54766d.ffb9e8",
36     "type": "method",
37     "name": "method esr-thirdparty-sdnc",
38     "xml": "<method rpc='esr-thirdparty-sdnc' mode='sync'>\n",
39     "comments": "",
40     "outputs": 1,
41     "x": 314.5556983947754,
42     "y": 325.2222566604614,
43     "z": "f5f8cf31.a0ec1",
44     "wires": [
45       [
46         "e6c2b0ea.17014"
47       ]
48     ]
49   },
50   {
51     "id": "e6c2b0ea.17014",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">\n",
55     "atomic": "false",
56     "comments": "",
57     "outputs": 1,
58     "x": 269.7779655456543,
59     "y": 460.1113119125366,
60     "z": "f5f8cf31.a0ec1",
61     "wires": [
62       [
63         "9897db0a.e34dc8",
64         "9787862d.18f5b8",
65         "195661d4.a9c59e",
66         "8e1fe65e.d69f18"
67       ]
68     ]
69   },
70   {
71     "id": "195661d4.a9c59e",
72     "type": "record",
73     "name": "record",
74     "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/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=\"`$prop.sdncRestApi.thirdpartySdnc.url`\"/>",
75     "comments": "",
76     "outputs": 1,
77     "x": 559,
78     "y": 531,
79     "z": "f5f8cf31.a0ec1",
80     "wires": [
81       []
82     ]
83   },
84   {
85     "id": "9897db0a.e34dc8",
86     "type": "call",
87     "name": "call validate-esr-thirdparty-sdnc-input",
88     "xml": "<call module='DataChange' rpc='validate-esr-thirdparty-sdnc-input' mode='sync' >\n",
89     "comments": "",
90     "outputs": 1,
91     "x": 672.7776336669922,
92     "y": 393.9998035430908,
93     "z": "f5f8cf31.a0ec1",
94     "wires": [
95       []
96     ]
97   },
98   {
99     "id": "9787862d.18f5b8",
100     "type": "for",
101     "name": "for 0..key-data_length",
102     "xml": "<for index='idx' start='0' end='`$data-change-notification-input.key-data_length`' >\n",
103     "comments": "",
104     "outputs": 1,
105     "x": 607.4441070556641,
106     "y": 476.19078826904297,
107     "z": "f5f8cf31.a0ec1",
108     "wires": [
109       [
110         "64de51c2.171a2"
111       ]
112     ]
113   },
114   {
115     "id": "64de51c2.171a2",
116     "type": "block",
117     "name": "block",
118     "xml": "<block>\n",
119     "atomic": "false",
120     "comments": "",
121     "outputs": 1,
122     "x": 779.3335723876953,
123     "y": 475.4130334854126,
124     "z": "f5f8cf31.a0ec1",
125     "wires": [
126       [
127         "6c37c93a.5a9338",
128         "f8e49db.93b206",
129         "b38e3659.a3e968",
130         "abe36d34.993f2",
131         "ab9e3d95.0ab8"
132       ]
133     ]
134   },
135   {
136     "id": "6c37c93a.5a9338",
137     "type": "switchNode",
138     "name": "switch service-url",
139     "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'service-url'`\">\n",
140     "comments": "",
141     "outputs": 1,
142     "x": 991.5552749633789,
143     "y": 385.5241861343384,
144     "z": "f5f8cf31.a0ec1",
145     "wires": [
146       [
147         "ef74e18a.347bb"
148       ]
149     ]
150   },
151   {
152     "id": "ef74e18a.347bb",
153     "type": "outcomeTrue",
154     "name": "true",
155     "xml": "<outcome value='true'>\n",
156     "comments": "",
157     "outputs": 1,
158     "x": 1155.5553970336914,
159     "y": 384.5554189682007,
160     "z": "f5f8cf31.a0ec1",
161     "wires": [
162       [
163         "ce02826f.96607"
164       ]
165     ]
166   },
167   {
168     "id": "ce02826f.96607",
169     "type": "set",
170     "name": "set service-url",
171     "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",
172     "comments": "",
173     "x": 1309.5554885864258,
174     "y": 384.1554126739502,
175     "z": "f5f8cf31.a0ec1",
176     "wires": []
177   },
178   {
179     "id": "f8e49db.93b206",
180     "type": "switchNode",
181     "name": "switch user-name",
182     "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'user-name'`\">\n",
183     "comments": "",
184     "outputs": 1,
185     "x": 988.8450202941895,
186     "y": 454.7712459564209,
187     "z": "f5f8cf31.a0ec1",
188     "wires": [
189       [
190         "b1f04d56.2de33"
191       ]
192     ]
193   },
194   {
195     "id": "b1f04d56.2de33",
196     "type": "outcomeTrue",
197     "name": "true",
198     "xml": "<outcome value='true'>\n",
199     "comments": "",
200     "outputs": 1,
201     "x": 1157.8450088500977,
202     "y": 452.8024892807007,
203     "z": "f5f8cf31.a0ec1",
204     "wires": [
205       [
206         "393fe106.5ce84e"
207       ]
208     ]
209   },
210   {
211     "id": "393fe106.5ce84e",
212     "type": "set",
213     "name": "set user",
214     "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",
215     "comments": "",
216     "x": 1293.8451614379883,
217     "y": 452.40248012542725,
218     "z": "f5f8cf31.a0ec1",
219     "wires": []
220   },
221   {
222     "id": "b38e3659.a3e968",
223     "type": "switchNode",
224     "name": "switch password",
225     "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'password'`\">\n",
226     "comments": "",
227     "outputs": 1,
228     "x": 986.6228523254395,
229     "y": 520.3267955780029,
230     "z": "f5f8cf31.a0ec1",
231     "wires": [
232       [
233         "31f8b0b.92d9a5"
234       ]
235     ]
236   },
237   {
238     "id": "31f8b0b.92d9a5",
239     "type": "outcomeTrue",
240     "name": "true",
241     "xml": "<outcome value='true'>\n",
242     "comments": "",
243     "outputs": 1,
244     "x": 1158.6228103637695,
245     "y": 520.3580408096313,
246     "z": "f5f8cf31.a0ec1",
247     "wires": [
248       [
249         "4275b621.ba48f8"
250       ]
251     ]
252   },
253   {
254     "id": "4275b621.ba48f8",
255     "type": "set",
256     "name": "set password",
257     "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",
258     "comments": "",
259     "x": 1313.6230545043945,
260     "y": 518.9580202102661,
261     "z": "f5f8cf31.a0ec1",
262     "wires": []
263   },
264   {
265     "id": "8e1fe65e.d69f18",
266     "type": "call",
267     "name": "call esr-thirdparty-sdnc-discovery",
268     "xml": "<call module='DataChange' rpc='esr-thirdparty-sdnc-discovery' mode='sync' >\n",
269     "comments": "",
270     "outputs": 1,
271     "x": 630.4377593994141,
272     "y": 602.5490007400513,
273     "z": "f5f8cf31.a0ec1",
274     "wires": [
275       []
276     ]
277   },
278   {
279     "id": "abe36d34.993f2",
280     "type": "switchNode",
281     "name": "switch esr-system-info-id",
282     "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'esr-system-info-id'`\">\n",
283     "comments": "",
284     "outputs": 1,
285     "x": 1008.4441528320312,
286     "y": 574.3331909179688,
287     "z": "f5f8cf31.a0ec1",
288     "wires": [
289       [
290         "c47d5b3c.ec2b98"
291       ]
292     ]
293   },
294   {
295     "id": "c47d5b3c.ec2b98",
296     "type": "outcomeTrue",
297     "name": "true",
298     "xml": "<outcome value='true'>\n",
299     "comments": "",
300     "outputs": 1,
301     "x": 1183.4441375732422,
302     "y": 572.3643522262573,
303     "z": "f5f8cf31.a0ec1",
304     "wires": [
305       [
306         "b46d33d6.3f8df"
307       ]
308     ]
309   },
310   {
311     "id": "b46d33d6.3f8df",
312     "type": "set",
313     "name": "set esr-system-info-id",
314     "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.system-info-id' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",
315     "comments": "",
316     "x": 1349.444107055664,
317     "y": 573.964376449585,
318     "z": "f5f8cf31.a0ec1",
319     "wires": []
320   },
321   {
322     "id": "ab9e3d95.0ab8",
323     "type": "switchNode",
324     "name": "switch thirdparty-sdnc-id",
325     "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'thirdparty-sdnc-id'`\">\n",
326     "comments": "",
327     "outputs": 1,
328     "x": 1003,
329     "y": 619,
330     "z": "f5f8cf31.a0ec1",
331     "wires": [
332       [
333         "6a0992e2.98429c"
334       ]
335     ]
336   },
337   {
338     "id": "6a0992e2.98429c",
339     "type": "outcomeTrue",
340     "name": "true",
341     "xml": "<outcome value='true'>\n",
342     "comments": "",
343     "outputs": 1,
344     "x": 1177.999984741211,
345     "y": 617.0311613082886,
346     "z": "f5f8cf31.a0ec1",
347     "wires": [
348       [
349         "75b4346a.e3888c"
350       ]
351     ]
352   },
353   {
354     "id": "75b4346a.e3888c",
355     "type": "set",
356     "name": "set thirdparty-sdnc-id",
357     "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.id' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",
358     "comments": "",
359     "x": 1343.9999542236328,
360     "y": 618.6311855316162,
361     "z": "f5f8cf31.a0ec1",
362     "wires": []
363   }
364 ]