Merge "Add missing blueprint-processor schema"
[sdnc/oam.git] / platform-logic / datachange / src / main / json / DataChange_data-change-notification.json
1 [\r
2     {\r
3         "id": "c9438469.7f9978", \r
4         "type": "dgstart", \r
5         "name": "DGSTART", \r
6         "outputs": 1, \r
7         "x": 86.5, \r
8         "y": 81, \r
9         "z": "31e69f1c.704108", \r
10         "wires": [\r
11             [\r
12                 "80aeb8.8187b148"\r
13             ]\r
14         ]\r
15     }, \r
16     {\r
17         "id": "80aeb8.8187b148", \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": 249.61114883422852, \r
26         "y": 182.44447135925293, \r
27         "z": "31e69f1c.704108", \r
28         "wires": [\r
29             [\r
30                 "b8c8b6e.8e24748"\r
31             ]\r
32         ]\r
33     }, \r
34     {\r
35         "id": "b8c8b6e.8e24748", \r
36         "type": "method", \r
37         "name": "method data-change-notification", \r
38         "xml": "<method rpc='data-change-notification' mode='sync'>\n", \r
39         "comments": "", \r
40         "outputs": 1, \r
41         "x": 247.0556983947754, \r
42         "y": 346.2222566604614, \r
43         "z": "31e69f1c.704108", \r
44         "wires": [\r
45             [\r
46                 "e44b2680.5f0e1"\r
47             ]\r
48         ]\r
49     }, \r
50     {\r
51         "id": "e44b2680.5f0e1", \r
52         "type": "block", \r
53         "name": "block : atomic", \r
54         "xml": "<block atomic=\"true\">\n", \r
55         "atomic": "false", \r
56         "comments": "", \r
57         "outputs": 1, \r
58         "x": 292.2779846191406, \r
59         "y": 461.1113269329071, \r
60         "z": "31e69f1c.704108", \r
61         "wires": [\r
62             [\r
63                 "5f1a41d8.25b23", \r
64                 "7978a5db.d860ec"\r
65             ]\r
66         ]\r
67     }, \r
68     {\r
69         "id": "5f1a41d8.25b23", \r
70         "type": "returnSuccess", \r
71         "name": "return success", \r
72         "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", \r
73         "comments": "", \r
74         "x": 499.8338432312012, \r
75         "y": 548.556131362915, \r
76         "z": "31e69f1c.704108", \r
77         "wires": [ ]\r
78     }, \r
79     {\r
80         "id": "bca5a9bf.c1ce98", \r
81         "type": "call", \r
82         "name": "call esr-thirdparty-sdnc", \r
83         "xml": "<call module='DataChange' rpc='esr-thirdparty-sdnc' mode='sync' >\n", \r
84         "comments": "", \r
85         "outputs": 1, \r
86         "x": 1420.8341064453125, \r
87         "y": 325.6667785644531, \r
88         "z": "31e69f1c.704108", \r
89         "wires": [\r
90             [ ]\r
91         ]\r
92     }, \r
93     {\r
94         "id": "7978a5db.d860ec", \r
95         "type": "switchNode", \r
96         "name": "switch aai-node-type", \r
97         "xml": "<switch test='`$data-change-notification-input.aai-node-type`'>\n", \r
98         "comments": "", \r
99         "outputs": 1, \r
100         "x": 503.3827209472656, \r
101         "y": 424.88262820243835, \r
102         "z": "31e69f1c.704108", \r
103         "wires": [\r
104             [\r
105                 "1e0b8434.23a404", \r
106                 "d0750bdf.e570e"\r
107             ]\r
108         ]\r
109     }, \r
110     {\r
111         "id": "1e0b8434.23a404", \r
112         "type": "other", \r
113         "name": "esr-thirdparty-sdnc", \r
114         "xml": "<outcome value='esr-thirdparty-sdnc'>\n", \r
115         "comments": "", \r
116         "outputs": 1, \r
117         "x": 678.4146728515625, \r
118         "y": 183.0572509765625, \r
119         "z": "31e69f1c.704108", \r
120         "wires": [\r
121             [\r
122                 "e6b3f0d5.83e4a8"\r
123             ]\r
124         ]\r
125     }, \r
126     {\r
127         "id": "d0750bdf.e570e", \r
128         "type": "other", \r
129         "name": "other", \r
130         "xml": "<outcome value='Other'>\n", \r
131         "comments": "", \r
132         "outputs": 1, \r
133         "x": 743.3827857971191, \r
134         "y": 423.8826608657837, \r
135         "z": "31e69f1c.704108", \r
136         "wires": [\r
137             [\r
138                 "9c41362c.9d7948"\r
139             ]\r
140         ]\r
141     }, \r
142     {\r
143         "id": "9c41362c.9d7948", \r
144         "type": "returnFailure", \r
145         "name": "return failure", \r
146         "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=\"AAI node type not supported\" />", \r
147         "comments": "", \r
148         "x": 898.8273048400879, \r
149         "y": 423.99376010894775, \r
150         "z": "31e69f1c.704108", \r
151         "wires": [ ]\r
152     }, \r
153     {\r
154         "id": "dc8e805f.967db", \r
155         "type": "block", \r
156         "name": "block : atomic", \r
157         "xml": "<block atomic=\"true\">\n", \r
158         "atomic": "false", \r
159         "comments": "", \r
160         "outputs": 1, \r
161         "x": 1324.500244140625, \r
162         "y": 241.8262939453125, \r
163         "z": "31e69f1c.704108", \r
164         "wires": [\r
165             [\r
166                 "bca5a9bf.c1ce98"\r
167             ]\r
168         ]\r
169     }, \r
170     {\r
171         "id": "e6b3f0d5.83e4a8", \r
172         "type": "for", \r
173         "name": "for", \r
174         "xml": "<for index='idx' start='0' end='`$data-change-notification-input.key-data_length`' >\n", \r
175         "comments": "", \r
176         "outputs": 1, \r
177         "x": 865.5, \r
178         "y": 183, \r
179         "z": "31e69f1c.704108", \r
180         "wires": [\r
181             [\r
182                 "ba8b2793.6bb91"\r
183             ]\r
184         ]\r
185     }, \r
186     {\r
187         "id": "ba8b2793.6bb91", \r
188         "type": "switchNode", \r
189         "name": "switch", \r
190         "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-value == 'ZTE'`\">\n", \r
191         "comments": "", \r
192         "outputs": 1, \r
193         "x": 1005.5, \r
194         "y": 183, \r
195         "z": "31e69f1c.704108", \r
196         "wires": [\r
197             [\r
198                 "891233f8.add168", \r
199                 "810b885f.a9b34"\r
200             ]\r
201         ]\r
202     }, \r
203     {\r
204         "id": "5b501f1b.fad328", \r
205         "type": "call", \r
206         "name": "call esr-thirdparty-sdnc-of-zte", \r
207         "xml": "<call module='DataChange' rpc='esr-thirdparty-sdnc-of-zte' mode='sync' >\n", \r
208         "comments": "", \r
209         "outputs": 1, \r
210         "x": 1619.5, \r
211         "y": 236, \r
212         "z": "31e69f1c.704108", \r
213         "wires": [\r
214             [ ]\r
215         ]\r
216     }, \r
217     {\r
218         "id": "891233f8.add168", \r
219         "type": "outcomeTrue", \r
220         "name": "true", \r
221         "xml": "<outcome value='true'>\n", \r
222         "comments": "", \r
223         "outputs": 1, \r
224         "x": 1159.5, \r
225         "y": 183, \r
226         "z": "31e69f1c.704108", \r
227         "wires": [\r
228             [\r
229                 "fb1086e7.fe9d98"\r
230             ]\r
231         ]\r
232     }, \r
233     {\r
234         "id": "810b885f.a9b34", \r
235         "type": "outcomeFalse", \r
236         "name": "false", \r
237         "xml": "<outcome value='false'>\n", \r
238         "comments": "", \r
239         "outputs": 1, \r
240         "x": 1159.5, \r
241         "y": 242, \r
242         "z": "31e69f1c.704108", \r
243         "wires": [\r
244             [\r
245                 "dc8e805f.967db"\r
246             ]\r
247         ]\r
248     }, \r
249     {\r
250         "id": "fb1086e7.fe9d98", \r
251         "type": "block", \r
252         "name": "block : atomic", \r
253         "xml": "<block atomic=\"true\">\n", \r
254         "atomic": "false", \r
255         "comments": "", \r
256         "outputs": 1, \r
257         "x": 1322, \r
258         "y": 183, \r
259         "z": "31e69f1c.704108", \r
260         "wires": [\r
261             [\r
262                 "6a42dcf4.2a86a4", \r
263                 "5b501f1b.fad328"\r
264             ]\r
265         ]\r
266     }, \r
267     {\r
268         "id": "6a42dcf4.2a86a4", \r
269         "type": "set", \r
270         "name": "set vendor", \r
271         "xml": "<set>\n<parameter name='zte.prop.sdncRestApi.vendor' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n", \r
272         "comments": "", \r
273         "x": 1547, \r
274         "y": 183, \r
275         "z": "31e69f1c.704108", \r
276         "wires": [ ]\r
277     }\r
278 ]