Merge "Added downloaded/generated code to ignore"
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_wan-connection-topology-operation-create.json
1 [{
2         "id": "6ac67ae1.a0aa44",
3         "type": "dgstart",
4         "name": "DGSTART",
5         "outputs": 1,
6         "x": 175.00390625,
7         "y": 106.00390625,
8         "z": "7d848bad.6cea14",
9         "wires": [
10                 ["a7166f73.c3b7d"]
11         ]
12 }, {
13         "id": "a7166f73.c3b7d",
14         "type": "service-logic",
15         "name": "GENERIC-RESOURCE-API ${project.version}",
16         "module": "GENERIC-RESOURCE-API",
17         "version": "${project.version}",
18         "comments": "",
19         "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='GENERIC-RESOURCE-API' version='${project.version}'>",
20         "outputs": 1,
21         "x": 387.00391006469727,
22         "y": 178.0039234161377,
23         "z": "7d848bad.6cea14",
24         "wires": [
25                 ["28d122a6.3dff6e"]
26         ]
27 }, {
28         "id": "28d122a6.3dff6e",
29         "type": "method",
30         "name": "wan-connection-topology-operation-create",
31         "xml": "<method rpc='wan-connection-topology-operation-create' mode='sync'>\n",
32         "comments": "",
33         "outputs": 1,
34         "x": 375.0040283203125,
35         "y": 266.00390625,
36         "z": "7d848bad.6cea14",
37         "wires": [
38                 ["5e728e05.d58"]
39         ]
40 }, {
41         "id": "9cfd5628.0461f8",
42         "type": "execute",
43         "name": "contains specification",
44         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n    <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n    <parameter name=\"target\" value=\"specification\"/>\n",
45         "comments": "",
46         "outputs": 1,
47         "x": 571.0351867675781,
48         "y": 443.03515338897705,
49         "z": "7d848bad.6cea14",
50         "wires": [
51                 ["880d63dc.b5a38", "f32a417.139a7c"]
52         ]
53 }, {
54         "id": "fecacce0.e773",
55         "type": "execute",
56         "name": "contains FC",
57         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n    <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n    <parameter name=\"target\" value=\"FC\"/>\n",
58         "comments": "",
59         "outputs": 1,
60         "x": 542.0352630615234,
61         "y": 541.0352182388306,
62         "z": "7d848bad.6cea14",
63         "wires": [
64                 ["e31d6f4d.a6b8a", "3a9f16f2.1de22a"]
65         ]
66 }, {
67         "id": "328d5a5f.8b3686",
68         "type": "execute",
69         "name": "contains FD",
70         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n    <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n    <parameter name=\"target\" value=\"FD\"/>\n",
71         "comments": "",
72         "outputs": 1,
73         "x": 540.0351867675781,
74         "y": 619.0352191925049,
75         "z": "7d848bad.6cea14",
76         "wires": [
77                 ["95036d7b.e76b7", "a957c80c.629788"]
78         ]
79 }, {
80         "id": "8ced5ada.6dacc8",
81         "type": "execute",
82         "name": "contains Link",
83         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n    <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n    <parameter name=\"target\" value=\"Link\"/>\n",
84         "comments": "",
85         "outputs": 1,
86         "x": 545.0352325439453,
87         "y": 699.0353374481201,
88         "z": "7d848bad.6cea14",
89         "wires": [
90                 ["3306f585.d6ad4a", "f7a1c197.52e9b"]
91         ]
92 }, {
93         "id": "880d63dc.b5a38",
94         "type": "outcomeTrue",
95         "name": "true",
96         "xml": "<outcome value='true'>\n",
97         "comments": "",
98         "outputs": 1,
99         "x": 807.0352210998535,
100         "y": 441.03514528274536,
101         "z": "7d848bad.6cea14",
102         "wires": [
103                 ["4a720633.6d38d8"]
104         ]
105 }, {
106         "id": "f32a417.139a7c",
107         "type": "outcomeTrue",
108         "name": "false",
109         "xml": "<outcome value='false'>\n",
110         "comments": "",
111         "outputs": 1,
112         "x": 336.03525161743164,
113         "y": 541.0352182388306,
114         "z": "7d848bad.6cea14",
115         "wires": [
116                 ["fecacce0.e773"]
117         ]
118 }, {
119         "id": "e31d6f4d.a6b8a",
120         "type": "outcomeTrue",
121         "name": "true",
122         "xml": "<outcome value='true'>\n",
123         "comments": "",
124         "outputs": 1,
125         "x": 723.035270690918,
126         "y": 543.0352516174316,
127         "z": "7d848bad.6cea14",
128         "wires": [
129                 ["e96c15e0.5108b8"]
130         ]
131 }, {
132         "id": "95036d7b.e76b7",
133         "type": "outcomeTrue",
134         "name": "true",
135         "xml": "<outcome value='true'>\n",
136         "comments": "",
137         "outputs": 1,
138         "x": 735.035270690918,
139         "y": 621.0352516174316,
140         "z": "7d848bad.6cea14",
141         "wires": [
142                 ["e96c15e0.5108b8"]
143         ]
144 }, {
145         "id": "3a9f16f2.1de22a",
146         "type": "outcomeTrue",
147         "name": "false",
148         "xml": "<outcome value='false'>\n",
149         "comments": "",
150         "outputs": 1,
151         "x": 331.03519439697266,
152         "y": 622.0351905822754,
153         "z": "7d848bad.6cea14",
154         "wires": [
155                 ["328d5a5f.8b3686"]
156         ]
157 }, {
158         "id": "a957c80c.629788",
159         "type": "outcomeTrue",
160         "name": "false",
161         "xml": "<outcome value='false'>\n",
162         "comments": "",
163         "outputs": 1,
164         "x": 336.03526306152344,
165         "y": 705.0353965759277,
166         "z": "7d848bad.6cea14",
167         "wires": [
168                 ["8ced5ada.6dacc8"]
169         ]
170 }, {
171         "id": "3306f585.d6ad4a",
172         "type": "outcomeTrue",
173         "name": "true",
174         "xml": "<outcome value='true'>\n",
175         "comments": "",
176         "outputs": 1,
177         "x": 736.035343170166,
178         "y": 698.0353984832764,
179         "z": "7d848bad.6cea14",
180         "wires": [
181                 ["ff5b5810.5ac2a8"]
182         ]
183 }, {
184         "id": "914afff2.c348e",
185         "type": "execute",
186         "name": "execute Properties",
187         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",
188         "comments": "",
189         "outputs": 1,
190         "x": 566.0039978027344,
191         "y": 386.0039253234863,
192         "z": "7d848bad.6cea14",
193         "wires": [
194                 []
195         ]
196 }, {
197         "id": "5e728e05.d58",
198         "type": "block",
199         "name": "block : atomic",
200         "xml": "<block atomic=\"true\">",
201         "atomic": "true",
202         "outputs": 1,
203         "x": 281.00392150878906,
204         "y": 366.00390243530273,
205         "z": "7d848bad.6cea14",
206         "wires": [
207                 ["914afff2.c348e", "9cfd5628.0461f8", "d08cdbfc.d46288", "8af933b4.c5208"]
208         ]
209 }, {
210         "id": "d08cdbfc.d46288",
211         "type": "switchNode",
212         "name": "switch network-id",
213         "xml": "<switch test='`$network-topology-operation-input.network-information.network-id`'>\n",
214         "comments": "",
215         "outputs": 1,
216         "x": 566.0039291381836,
217         "y": 324.00391578674316,
218         "z": "7d848bad.6cea14",
219         "wires": [
220                 ["13cbf19b.fc4f5e", "163e4527.d3d54b"]
221         ]
222 }, {
223         "id": "13cbf19b.fc4f5e",
224         "type": "outcome",
225         "name": "NULL",
226         "xml": "<outcome value=''>",
227         "comments": "",
228         "outputs": 1,
229         "x": 815.0040054321289,
230         "y": 263.00391578674316,
231         "z": "7d848bad.6cea14",
232         "wires": [
233                 ["600a4007.612e"]
234         ]
235 }, {
236         "id": "600a4007.612e",
237         "type": "execute",
238         "name": "generate tmp.ar.allotted-resource-id",
239         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"network-topology-operation-input.network-information.network-id\"/>\n",
240         "comments": "",
241         "outputs": 1,
242         "x": 1030.0039825439453,
243         "y": 264.00392150878906,
244         "z": "7d848bad.6cea14",
245         "wires": [
246                 ["224d0a6c.fd47b6"]
247         ]
248 }, {
249         "id": "224d0a6c.fd47b6",
250         "type": "failure",
251         "name": "failure",
252         "xml": "<outcome value='failure'>\n",
253         "comments": "",
254         "outputs": 1,
255         "x": 1248.0040245056152,
256         "y": 264.00388526916504,
257         "z": "7d848bad.6cea14",
258         "wires": [
259                 ["c61d540b.7cf0a8"]
260         ]
261 }, {
262         "id": "c61d540b.7cf0a8",
263         "type": "returnFailure",
264         "name": "return failure",
265         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while generation allotted resource ID\" />\n",
266         "comments": "",
267         "x": 1414.003978729248,
268         "y": 264.0038995742798,
269         "z": "7d848bad.6cea14",
270         "wires": []
271 }, {
272         "id": "163e4527.d3d54b",
273         "type": "other",
274         "name": "other",
275         "xml": "<outcome value='Other'>\n",
276         "comments": "",
277         "outputs": 1,
278         "x": 812.5039024353027,
279         "y": 311.00391006469727,
280         "z": "7d848bad.6cea14",
281         "wires": [
282                 []
283         ]
284 }, {
285         "id": "4a720633.6d38d8",
286         "type": "call",
287         "name": "call GENERIC-RESOURCE-API:wan-connection-save-specification",
288         "xml": "<call module='GENERIC-RESOURCE-API' rpc='wan-connection-save-specification' mode='sync' >\n",
289         "comments": "",
290         "outputs": 1,
291         "x": 1129.0039367675781,
292         "y": 441.00395679473877,
293         "z": "7d848bad.6cea14",
294         "wires": [
295                 []
296         ]
297 }, {
298         "id": "e96c15e0.5108b8",
299         "type": "call",
300         "name": "call GENERIC-RESOURCE-API:wan-connection-find-specifications",
301         "xml": "<call module='GENERIC-RESOURCE-API' rpc='wan-connection-find-specifications' mode='sync' >\n",
302         "comments": "",
303         "outputs": 1,
304         "x": 1125.5040283203125,
305         "y": 586.0039100646973,
306         "z": "7d848bad.6cea14",
307         "wires": [
308                 []
309         ]
310 }, {
311         "id": "8af933b4.c5208",
312         "type": "returnSuccess",
313         "name": "return success",
314         "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",
315         "comments": "",
316         "x": 341.00391387939453,
317         "y": 827.0039396286011,
318         "z": "7d848bad.6cea14",
319         "wires": []
320 }, {
321         "id": "ff5b5810.5ac2a8",
322         "type": "call",
323         "name": "call GENERIC-RESOURCE-API:wan-connection-route-calculation",
324         "xml": "<call module='GENERIC-RESOURCE-API' rpc='wan-connection-route-calculation' mode='sync' >\n",
325         "comments": "",
326         "outputs": 1,
327         "x": 1105.003921508789,
328         "y": 701.0039482116699,
329         "z": "7d848bad.6cea14",
330         "wires": [
331                 []
332         ]
333 }, {
334         "id": "f7a1c197.52e9b",
335         "type": "outcomeTrue",
336         "name": "false",
337         "xml": "<outcome value='false'>\n",
338         "comments": "",
339         "outputs": 1,
340         "x": 741.00390625,
341         "y": 765.00390625,
342         "z": "7d848bad.6cea14",
343         "wires": [
344                 ["7ef91d7a.861074"]
345         ]
346 }, {
347         "id": "7ef91d7a.861074",
348         "type": "block",
349         "name": "block",
350         "xml": "<block>\n",
351         "atomic": "false",
352         "comments": "",
353         "outputs": 1,
354         "x": 909.00390625,
355         "y": 771.0039482116699,
356         "z": "7d848bad.6cea14",
357         "wires": [
358                 []
359         ]
360 }]