Merge "call wan-connection rpc"
[sdnc/oam.git] / platform-logic / datachange / src / main / json / DataChange_esr-thirdparty-sdnc.json
1 [
2   {
3     "id": "49a378ca.1b3478",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 121,
8     "y": 56,
9     "z": "cbb28df7.1359",
10     "wires": [
11       [
12         "b3ec7247.15b52"
13       ]
14     ]
15   },
16   {
17     "id": "b3ec7247.15b52",
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": 307.1111488342285,
26     "y": 160.44447135925293,
27     "z": "cbb28df7.1359",
28     "wires": [
29       [
30         "7535c6a7.f3b5e8"
31       ]
32     ]
33   },
34   {
35     "id": "7535c6a7.f3b5e8",
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": 304.5556983947754,
42     "y": 324.2222566604614,
43     "z": "cbb28df7.1359",
44     "wires": [
45       [
46         "1400578.235a6a9"
47       ]
48     ]
49   },
50   {
51     "id": "1400578.235a6a9",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">\n",
55     "atomic": "false",
56     "comments": "",
57     "outputs": 1,
58     "x": 259.7779655456543,
59     "y": 459.1113119125366,
60     "z": "cbb28df7.1359",
61     "wires": [
62       [
63         "25a04fbf.4bd09",
64         "8d1e2cc2.dc3cf",
65         "2d8a913.fdd0d6e",
66         "77f3068a.362d28"
67       ]
68     ]
69   },
70   {
71     "id": "2d8a913.fdd0d6e",
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": 549,
78     "y": 530,
79     "z": "cbb28df7.1359",
80     "wires": [
81       []
82     ]
83   },
84   {
85     "id": "25a04fbf.4bd09",
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": 662.7776336669922,
92     "y": 392.9998035430908,
93     "z": "cbb28df7.1359",
94     "wires": [
95       []
96     ]
97   },
98   {
99     "id": "8d1e2cc2.dc3cf",
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": 597.4441070556641,
106     "y": 475.19078826904297,
107     "z": "cbb28df7.1359",
108     "wires": [
109       [
110         "8470a3b8.c68bb"
111       ]
112     ]
113   },
114   {
115     "id": "8470a3b8.c68bb",
116     "type": "block",
117     "name": "block",
118     "xml": "<block>\n",
119     "atomic": "false",
120     "comments": "",
121     "outputs": 1,
122     "x": 769.3335723876953,
123     "y": 474.4130334854126,
124     "z": "cbb28df7.1359",
125     "wires": [
126       [
127         "2e5df795.078a08",
128         "6a42fb20.98a2b4",
129         "554fdd88.9dce84",
130         "a2362617.a38ac8",
131         "bbbe7cd.1d5138",
132         "2a8b4597.cff4ba",
133         "884a9190.06299"
134       ]
135     ]
136   },
137   {
138     "id": "2e5df795.078a08",
139     "type": "switchNode",
140     "name": "switch service-url",
141     "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'service-url'`\">\n",
142     "comments": "",
143     "outputs": 1,
144     "x": 981.5552749633789,
145     "y": 384.5241861343384,
146     "z": "cbb28df7.1359",
147     "wires": [
148       [
149         "1b6eea6.229c916"
150       ]
151     ]
152   },
153   {
154     "id": "1b6eea6.229c916",
155     "type": "outcomeTrue",
156     "name": "true",
157     "xml": "<outcome value='true'>\n",
158     "comments": "",
159     "outputs": 1,
160     "x": 1145.5553970336914,
161     "y": 383.5554189682007,
162     "z": "cbb28df7.1359",
163     "wires": [
164       [
165         "fd22b9a9.c98888"
166       ]
167     ]
168   },
169   {
170     "id": "fd22b9a9.c98888",
171     "type": "set",
172     "name": "set service-url",
173     "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",
174     "comments": "",
175     "x": 1299.5554885864258,
176     "y": 383.1554126739502,
177     "z": "cbb28df7.1359",
178     "wires": []
179   },
180   {
181     "id": "6a42fb20.98a2b4",
182     "type": "switchNode",
183     "name": "switch user-name",
184     "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'user-name'`\">\n",
185     "comments": "",
186     "outputs": 1,
187     "x": 978.8450202941895,
188     "y": 453.7712459564209,
189     "z": "cbb28df7.1359",
190     "wires": [
191       [
192         "7cf30c0f.3d4904"
193       ]
194     ]
195   },
196   {
197     "id": "7cf30c0f.3d4904",
198     "type": "outcomeTrue",
199     "name": "true",
200     "xml": "<outcome value='true'>\n",
201     "comments": "",
202     "outputs": 1,
203     "x": 1147.8450088500977,
204     "y": 451.8024892807007,
205     "z": "cbb28df7.1359",
206     "wires": [
207       [
208         "9353bb00.5c78e8"
209       ]
210     ]
211   },
212   {
213     "id": "9353bb00.5c78e8",
214     "type": "set",
215     "name": "set user",
216     "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",
217     "comments": "",
218     "x": 1283.8451614379883,
219     "y": 451.40248012542725,
220     "z": "cbb28df7.1359",
221     "wires": []
222   },
223   {
224     "id": "554fdd88.9dce84",
225     "type": "switchNode",
226     "name": "switch password",
227     "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'password'`\">\n",
228     "comments": "",
229     "outputs": 1,
230     "x": 976.6228523254395,
231     "y": 519.3267955780029,
232     "z": "cbb28df7.1359",
233     "wires": [
234       [
235         "a74025be.af1718"
236       ]
237     ]
238   },
239   {
240     "id": "a74025be.af1718",
241     "type": "outcomeTrue",
242     "name": "true",
243     "xml": "<outcome value='true'>\n",
244     "comments": "",
245     "outputs": 1,
246     "x": 1148.6228103637695,
247     "y": 519.3580408096313,
248     "z": "cbb28df7.1359",
249     "wires": [
250       [
251         "dba0cf08.2438c"
252       ]
253     ]
254   },
255   {
256     "id": "dba0cf08.2438c",
257     "type": "set",
258     "name": "set password",
259     "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",
260     "comments": "",
261     "x": 1303.6230545043945,
262     "y": 517.9580202102661,
263     "z": "cbb28df7.1359",
264     "wires": []
265   },
266   {
267     "id": "77f3068a.362d28",
268     "type": "call",
269     "name": "call esr-thirdparty-sdnc-discovery",
270     "xml": "<call module='DataChange' rpc='esr-thirdparty-sdnc-discovery' mode='sync' >\n",
271     "comments": "",
272     "outputs": 1,
273     "x": 620.4377593994141,
274     "y": 601.5490007400513,
275     "z": "cbb28df7.1359",
276     "wires": [
277       []
278     ]
279   },
280   {
281     "id": "a2362617.a38ac8",
282     "type": "switchNode",
283     "name": "switch esr-system-info-id",
284     "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'esr-system-info-id'`\">\n",
285     "comments": "",
286     "outputs": 1,
287     "x": 998.4441528320312,
288     "y": 573.3331909179688,
289     "z": "cbb28df7.1359",
290     "wires": [
291       [
292         "5cab102b.8494d"
293       ]
294     ]
295   },
296   {
297     "id": "5cab102b.8494d",
298     "type": "outcomeTrue",
299     "name": "true",
300     "xml": "<outcome value='true'>\n",
301     "comments": "",
302     "outputs": 1,
303     "x": 1173.4441375732422,
304     "y": 571.3643522262573,
305     "z": "cbb28df7.1359",
306     "wires": [
307       [
308         "71f47e13.cb288"
309       ]
310     ]
311   },
312   {
313     "id": "71f47e13.cb288",
314     "type": "set",
315     "name": "set esr-system-info-id",
316     "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.system-info-id' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",
317     "comments": "",
318     "x": 1339.444107055664,
319     "y": 572.964376449585,
320     "z": "cbb28df7.1359",
321     "wires": []
322   },
323   {
324     "id": "bbbe7cd.1d5138",
325     "type": "switchNode",
326     "name": "switch thirdparty-sdnc-id",
327     "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'thirdparty-sdnc-id'`\">\n",
328     "comments": "",
329     "outputs": 1,
330     "x": 993,
331     "y": 618,
332     "z": "cbb28df7.1359",
333     "wires": [
334       [
335         "750fb82f.3c8b28"
336       ]
337     ]
338   },
339   {
340     "id": "750fb82f.3c8b28",
341     "type": "outcomeTrue",
342     "name": "true",
343     "xml": "<outcome value='true'>\n",
344     "comments": "",
345     "outputs": 1,
346     "x": 1167.999984741211,
347     "y": 616.0311613082886,
348     "z": "cbb28df7.1359",
349     "wires": [
350       [
351         "6331f258.3f8f8c"
352       ]
353     ]
354   },
355   {
356     "id": "6331f258.3f8f8c",
357     "type": "set",
358     "name": "set thirdparty-sdnc-id",
359     "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.id' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",
360     "comments": "",
361     "x": 1333.9999542236328,
362     "y": 617.6311855316162,
363     "z": "cbb28df7.1359",
364     "wires": []
365   },
366   {
367     "id": "2a8b4597.cff4ba",
368     "type": "switchNode",
369     "name": "switch type",
370     "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'type'`\">\n",
371     "comments": "",
372     "outputs": 1,
373     "x": 943.0000305175781,
374     "y": 667.0000200271606,
375     "z": "cbb28df7.1359",
376     "wires": [
377       [
378         "cc8e7403.36ff88"
379       ]
380     ]
381   },
382   {
383     "id": "cc8e7403.36ff88",
384     "type": "outcomeTrue",
385     "name": "true",
386     "xml": "<outcome value='true'>\n",
387     "comments": "",
388     "outputs": 1,
389     "x": 1088.0000343322754,
390     "y": 666.0311889648438,
391     "z": "cbb28df7.1359",
392     "wires": [
393       [
394         "d672d4f.959ba28"
395       ]
396     ]
397   },
398   {
399     "id": "d672d4f.959ba28",
400     "type": "set",
401     "name": "set type",
402     "xml": "<set>\n<parameter name='prop.sdncRestApi.type' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",
403     "comments": "",
404     "x": 1220.0000381469727,
405     "y": 665.6312046051025,
406     "z": "cbb28df7.1359",
407     "wires": []
408   },
409   {
410     "id": "884a9190.06299",
411     "type": "switchNode",
412     "name": "switch vendor",
413     "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'vendor'`\">\n",
414     "comments": "",
415     "outputs": 1,
416     "x": 944.0000267028809,
417     "y": 723.0000219345093,
418     "z": "cbb28df7.1359",
419     "wires": [
420       [
421         "874c4c0f.cf42b"
422       ]
423     ]
424   },
425   {
426     "id": "874c4c0f.cf42b",
427     "type": "outcomeTrue",
428     "name": "true",
429     "xml": "<outcome value='true'>\n",
430     "comments": "",
431     "outputs": 1,
432     "x": 1089.0000305175781,
433     "y": 722.0311908721924,
434     "z": "cbb28df7.1359",
435     "wires": [
436       [
437         "84239301.8f5d"
438       ]
439     ]
440   },
441   {
442     "id": "84239301.8f5d",
443     "type": "set",
444     "name": "set vendor",
445     "xml": "<set>\n<parameter name='prop.sdncRestApi.vendor' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",
446     "comments": "",
447     "x": 1221.0000343322754,
448     "y": 721.6312065124512,
449     "z": "cbb28df7.1359",
450     "wires": []
451   }
452 ]