DG'S added for MDONS use case
[sdnc/oam.git] / platform-logic / optical-service / src / main / json / optical-service_handle-async-notif.json
1 [\r
2     {\r
3         "id": "6f3be679.102eb8",\r
4         "type": "service-logic",\r
5         "name": "optical-service ${project.version}",\r
6         "module": "optical-service",\r
7         "version": "${project.version}",\r
8         "comments": "",\r
9         "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='optical-service' version='${project.version}'>",\r
10         "outputs": 1,\r
11         "x": 326.6666564941406,\r
12         "y": 225.5555419921875,\r
13         "z": "115af5b6.4cef8a",\r
14         "wires": [\r
15             [\r
16                 "af4b79a2.a55f08"\r
17             ]\r
18         ]\r
19     },\r
20     {\r
21         "id": "af4b79a2.a55f08",\r
22         "type": "method",\r
23         "name": "method",\r
24         "xml": "<method rpc='handle-async-notif' mode='sync'>\n",\r
25         "comments": "",\r
26         "outputs": 1,\r
27         "x": 180.66665649414062,\r
28         "y": 399.5555419921875,\r
29         "z": "115af5b6.4cef8a",\r
30         "wires": [\r
31             [\r
32                 "86d5028d.c5258"\r
33             ]\r
34         ]\r
35     },\r
36     {\r
37         "id": "86d5028d.c5258",\r
38         "type": "block",\r
39         "name": "block : atomic",\r
40         "xml": "<block atomic='true'>",\r
41         "atomic": "true",\r
42         "comments": "",\r
43         "outputs": 1,\r
44         "x": 368.6666564941406,\r
45         "y": 399.5555419921875,\r
46         "z": "115af5b6.4cef8a",\r
47         "wires": [\r
48             [\r
49                 "d24a17f7.d6a648",\r
50                 "2faf78f7.30e068",\r
51                 "ffe6e86b.e5f058"\r
52             ]\r
53         ]\r
54     },\r
55     {\r
56         "id": "d24a17f7.d6a648",\r
57         "type": "record",\r
58         "name": "record",\r
59         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/async-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Reached async graph\"/>\n<parameter name=\"field2\" value=\"`$request-id`\"/>\n",\r
60         "comments": "",\r
61         "outputs": 1,\r
62         "x": 495.6666564941406,\r
63         "y": 281.5555419921875,\r
64         "z": "115af5b6.4cef8a",\r
65         "wires": [\r
66             []\r
67         ]\r
68     },\r
69     {\r
70         "id": "2faf78f7.30e068",\r
71         "type": "switchNode",\r
72         "name": "switch",\r
73         "xml": "<switch test='`$ack-final-indicator`'>\n",\r
74         "comments": "",\r
75         "outputs": 1,\r
76         "x": 504.6666564941406,\r
77         "y": 469.5555419921875,\r
78         "z": "115af5b6.4cef8a",\r
79         "wires": [\r
80             [\r
81                 "7b60ff0d.907ce",\r
82                 "1bcf360f.7e976a"\r
83             ]\r
84         ]\r
85     },\r
86     {\r
87         "id": "7b60ff0d.907ce",\r
88         "type": "outcome",\r
89         "name": "outcome",\r
90         "xml": "<outcome value='N'>\n",\r
91         "comments": "",\r
92         "outputs": 1,\r
93         "x": 674.6666564941406,\r
94         "y": 392.5555419921875,\r
95         "z": "115af5b6.4cef8a",\r
96         "wires": [\r
97             [\r
98                 "b40d70d0.112e5"\r
99             ]\r
100         ]\r
101     },\r
102     {\r
103         "id": "a88f7bf8.d91d78",\r
104         "type": "record",\r
105         "name": "record",\r
106         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/async-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Ack indicator in 'N'\"/>\n",\r
107         "comments": "",\r
108         "outputs": 1,\r
109         "x": 1025.6666564941406,\r
110         "y": 238.5555419921875,\r
111         "z": "115af5b6.4cef8a",\r
112         "wires": [\r
113             []\r
114         ]\r
115     },\r
116     {\r
117         "id": "b40d70d0.112e5",\r
118         "type": "block",\r
119         "name": "block : atomic",\r
120         "xml": "<block atomic='true'>",\r
121         "atomic": "true",\r
122         "comments": "",\r
123         "outputs": 1,\r
124         "x": 849.6666564941406,\r
125         "y": 239.5555419921875,\r
126         "z": "115af5b6.4cef8a",\r
127         "wires": [\r
128             [\r
129                 "a88f7bf8.d91d78"\r
130             ]\r
131         ]\r
132     },\r
133     {\r
134         "id": "1bcf360f.7e976a",\r
135         "type": "outcome",\r
136         "name": "outcome",\r
137         "xml": "<outcome value='Y'>\n",\r
138         "comments": "",\r
139         "outputs": 1,\r
140         "x": 658.6666564941406,\r
141         "y": 533.5555419921875,\r
142         "z": "115af5b6.4cef8a",\r
143         "wires": [\r
144             [\r
145                 "d1db50fc.60a86"\r
146             ]\r
147         ]\r
148     },\r
149     {\r
150         "id": "d1db50fc.60a86",\r
151         "type": "block",\r
152         "name": "block : atomic",\r
153         "xml": "<block atomic='true'>",\r
154         "atomic": "true",\r
155         "comments": "",\r
156         "outputs": 1,\r
157         "x": 812.6666564941406,\r
158         "y": 481.5555419921875,\r
159         "z": "115af5b6.4cef8a",\r
160         "wires": [\r
161             [\r
162                 "920fb578.d225d8",\r
163                 "199a9ce9.ce53b3"\r
164             ]\r
165         ]\r
166     },\r
167     {\r
168         "id": "ffe6e86b.e5f058",\r
169         "type": "execute",\r
170         "name": "execute: read properties",\r
171         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n<parameter name='fileName' value='/opt/onap/sdnc/data/properties/optical-service-dg.properties' />\n<parameter name='contextPrefix' value='prop' />\n",\r
172         "comments": "",\r
173         "outputs": 1,\r
174         "x": 614.6666564941406,\r
175         "y": 337.5555419921875,\r
176         "z": "115af5b6.4cef8a",\r
177         "wires": [\r
178             []\r
179         ]\r
180     },\r
181     {\r
182         "id": "920fb578.d225d8",\r
183         "type": "switchNode",\r
184         "name": "switch",\r
185         "xml": "<switch test='`$output.status`'>\n",\r
186         "comments": "",\r
187         "outputs": 1,\r
188         "x": 987.6666564941406,\r
189         "y": 527.5555419921875,\r
190         "z": "115af5b6.4cef8a",\r
191         "wires": [\r
192             [\r
193                 "13be4531.42948b",\r
194                 "db9a79a3.a1b058"\r
195             ]\r
196         ]\r
197     },\r
198     {\r
199         "id": "199a9ce9.ce53b3",\r
200         "type": "get-resource",\r
201         "name": "get-resource",\r
202         "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' \nkey='SELECT * from REQUEST_DETAILS WHERE request_id = $request-id '\npfx='output'>\n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n\n    \n    \n    \n    \n    \n    \n    \n     \n \n",\r
203         "comments": "",\r
204         "outputs": 1,\r
205         "x": 1003.6666564941406,\r
206         "y": 434.5555419921875,\r
207         "z": "115af5b6.4cef8a",\r
208         "wires": [\r
209             []\r
210         ]\r
211     },\r
212     {\r
213         "id": "13be4531.42948b",\r
214         "type": "outcome",\r
215         "name": "outcome",\r
216         "xml": "<outcome value='CREATING'>\n",\r
217         "comments": "",\r
218         "outputs": 1,\r
219         "x": 1141.6666564941406,\r
220         "y": 476.5555419921875,\r
221         "z": "115af5b6.4cef8a",\r
222         "wires": [\r
223             [\r
224                 "f57cf67a.bbe098"\r
225             ]\r
226         ]\r
227     },\r
228     {\r
229         "id": "db9a79a3.a1b058",\r
230         "type": "outcome",\r
231         "name": "outcome",\r
232         "xml": "<outcome value='DELETING'>\n",\r
233         "comments": "",\r
234         "outputs": 1,\r
235         "x": 1161.6666564941406,\r
236         "y": 561.5555419921875,\r
237         "z": "115af5b6.4cef8a",\r
238         "wires": [\r
239             [\r
240                 "2940e810.23a048"\r
241             ]\r
242         ]\r
243     },\r
244     {\r
245         "id": "f57cf67a.bbe098",\r
246         "type": "call",\r
247         "name": "call",\r
248         "xml": "<call module='optical-service' rpc='create-service-async' mode='sync' >\n",\r
249         "comments": "",\r
250         "outputs": 1,\r
251         "x": 1300.6666564941406,\r
252         "y": 475.5555419921875,\r
253         "z": "115af5b6.4cef8a",\r
254         "wires": [\r
255             []\r
256         ]\r
257     },\r
258     {\r
259         "id": "2940e810.23a048",\r
260         "type": "call",\r
261         "name": "call",\r
262         "xml": "<call module='optical-service' rpc='delete-service-async' mode='sync' >\n",\r
263         "comments": "",\r
264         "outputs": 1,\r
265         "x": 1307.6666564941406,\r
266         "y": 561.5555419921875,\r
267         "z": "115af5b6.4cef8a",\r
268         "wires": [\r
269             []\r
270         ]\r
271     },\r
272     {\r
273         "id": "74552b51.5e6134",\r
274         "type": "dgstart",\r
275         "name": "DGSTART",\r
276         "outputs": 1,\r
277         "x": 149.66665649414062,\r
278         "y": 275.5555419921875,\r
279         "z": "115af5b6.4cef8a",\r
280         "wires": [\r
281             [\r
282                 "6f3be679.102eb8"\r
283             ]\r
284         ]\r
285     }\r
286 ]