Fix ss-generate-name DG
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_sotn-get-saved-ar-param.json
1 [
2   {
3     "id": "78c3c512.2a5cfc",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 113.03125,
8     "y": 43.03125,
9     "z": "be273250.67063",
10     "wires": [
11       [
12         "c8295f65.8fc4c"
13       ]
14     ]
15   },
16   {
17     "id": "c8295f65.8fc4c",
18     "type": "service-logic",
19     "name": "GENERIC-RESOURCE-API ${project.version}",
20     "module": "GENERIC-RESOURCE-API",
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='GENERIC-RESOURCE-API' version='${project.version}'>",
24     "outputs": 1,
25     "x": 325.03125381469727,
26     "y": 115.0312671661377,
27     "z": "be273250.67063",
28     "wires": [
29       [
30         "cb959304.88093"
31       ]
32     ]
33   },
34   {
35     "id": "cb959304.88093",
36     "type": "method",
37     "name": "sotnt-get-saved-ar-param",
38     "xml": "<method rpc='sotn-get-saved-ar-param' mode='sync'>\n",
39     "comments": "",
40     "outputs": 1,
41     "x": 313.0313720703125,
42     "y": 203.03125,
43     "z": "be273250.67063",
44     "wires": [
45       [
46         "f53a4fe7.e10d8"
47       ]
48     ]
49   },
50   {
51     "id": "f53a4fe7.e10d8",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">\n",
55     "atomic": "false",
56     "comments": "",
57     "outputs": 1,
58     "x": 320.03126525878906,
59     "y": 289.0313081741333,
60     "z": "be273250.67063",
61     "wires": [
62       [
63         "cb3c00be.eadaf"
64       ]
65     ]
66   },
67   {
68     "id": "cb3c00be.eadaf",
69     "type": "for",
70     "name": "for each sotn-get-request-input-param",
71     "xml": "<for index='idx' start='0' end='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param_length`' >\n",
72     "comments": "",
73     "outputs": 1,
74     "x": 356.6980285644531,
75     "y": 371.697904586792,
76     "z": "be273250.67063",
77     "wires": [
78       [
79         "9fceee94.c7352"
80       ]
81     ]
82   },
83   {
84     "id": "9fceee94.c7352",
85     "type": "block",
86     "name": "block",
87     "xml": "<block>\n",
88     "atomic": "false",
89     "comments": "",
90     "outputs": 1,
91     "x": 621.5315322875977,
92     "y": 281.03129625320435,
93     "z": "be273250.67063",
94     "wires": [
95       [
96         "ac9e17c4.666db8",
97         "68c68212.dc993c",
98         "66615c8e.b750a4",
99         "4a64e3ec.0803bc",
100         "d49b138b.9b447",
101         "1f7b915.12bc26f",
102         "fcc00482.9d4728",
103         "be269c99.3195",
104         "d97ebcd8.acf64"
105       ]
106     ]
107   },
108   {
109     "id": "ac9e17c4.666db8",
110     "type": "switchNode",
111     "name": "switch sotnVpnName",
112     "xml": "<switch test=\"`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$idx].name == 'sotnVpnName'`\">",
113     "comments": "",
114     "outputs": 1,
115     "x": 848.53125,
116     "y": 79.03128051757812,
117     "z": "be273250.67063",
118     "wires": [
119       [
120         "4f0e4c80.dde4f4"
121       ]
122     ]
123   },
124   {
125     "id": "4f0e4c80.dde4f4",
126     "type": "outcomeTrue",
127     "name": "true",
128     "xml": "<outcome value='true'>\n",
129     "comments": "",
130     "outputs": 1,
131     "x": 1035.53125,
132     "y": 75.03128051757812,
133     "z": "be273250.67063",
134     "wires": [
135       [
136         "ca00e2af.bb58d"
137       ]
138     ]
139   },
140   {
141     "id": "ca00e2af.bb58d",
142     "type": "set",
143     "name": "set sotnVpnName",
144     "xml": "<set>\n<parameter name='prop.connection-attachment.sotnVpnName' value='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$idx].value`' />\n",
145     "comments": "",
146     "x": 1203.53125,
147     "y": 75.63128662109375,
148     "z": "be273250.67063",
149     "wires": [
150
151     ]
152   },
153   {
154     "id": "68c68212.dc993c",
155     "type": "switchNode",
156     "name": "switch access-provider-id",
157     "xml": "<switch test=\"`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$idx].name == 'access-provider-id'`\">",
158     "comments": "",
159     "outputs": 1,
160     "x": 849.0416793823242,
161     "y": 138.03128051757812,
162     "z": "be273250.67063",
163     "wires": [
164       [
165         "a284600c.21032"
166       ]
167     ]
168   },
169   {
170     "id": "a284600c.21032",
171     "type": "outcomeTrue",
172     "name": "true",
173     "xml": "<outcome value='true'>\n",
174     "comments": "",
175     "outputs": 1,
176     "x": 1036.0416793823242,
177     "y": 134.03128051757812,
178     "z": "be273250.67063",
179     "wires": [
180       [
181         "226a73cd.788cbc"
182       ]
183     ]
184   },
185   {
186     "id": "226a73cd.788cbc",
187     "type": "set",
188     "name": "set access-provider-id",
189     "xml": "<set>\n<parameter name='prop.connection-attachment.access-provider-id' value='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$idx].value`' />\n",
190     "comments": "",
191     "x": 1204.0416793823242,
192     "y": 134.63128662109375,
193     "z": "be273250.67063",
194     "wires": [
195
196     ]
197   },
198   {
199     "id": "66615c8e.b750a4",
200     "type": "switchNode",
201     "name": "switch access-client-id",
202     "xml": "<switch test=\"`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$idx].name == 'access-client-id'`\">",
203     "comments": "",
204     "outputs": 1,
205     "x": 851.0417404174805,
206     "y": 191.04170036315918,
207     "z": "be273250.67063",
208     "wires": [
209       [
210         "2b01edeb.bc12c2"
211       ]
212     ]
213   },
214   {
215     "id": "2b01edeb.bc12c2",
216     "type": "outcomeTrue",
217     "name": "true",
218     "xml": "<outcome value='true'>\n",
219     "comments": "",
220     "outputs": 1,
221     "x": 1038.0417404174805,
222     "y": 187.04170036315918,
223     "z": "be273250.67063",
224     "wires": [
225       [
226         "ce9ed833.dd9e08"
227       ]
228     ]
229   },
230   {
231     "id": "ce9ed833.dd9e08",
232     "type": "set",
233     "name": "set access-client-id",
234     "xml": "<set>\n<parameter name='prop.connection-attachment.access-client-id' value='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$idx].value`' />\n",
235     "comments": "",
236     "x": 1206.0417404174805,
237     "y": 187.6417064666748,
238     "z": "be273250.67063",
239     "wires": [
240
241     ]
242   },
243   {
244     "id": "4a64e3ec.0803bc",
245     "type": "switchNode",
246     "name": "switch access-topology-id",
247     "xml": "<switch test=\"`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$idx].name == 'access-topology-id'`\">",
248     "comments": "",
249     "outputs": 1,
250     "x": 847.0417404174805,
251     "y": 257.0417003631592,
252     "z": "be273250.67063",
253     "wires": [
254       [
255         "cd0931d.fc24dd"
256       ]
257     ]
258   },
259   {
260     "id": "cd0931d.fc24dd",
261     "type": "outcomeTrue",
262     "name": "true",
263     "xml": "<outcome value='true'>\n",
264     "comments": "",
265     "outputs": 1,
266     "x": 1034.0417404174805,
267     "y": 253.04170036315918,
268     "z": "be273250.67063",
269     "wires": [
270       [
271         "ae46664c.2ac008"
272       ]
273     ]
274   },
275   {
276     "id": "ae46664c.2ac008",
277     "type": "set",
278     "name": "set access-topology-id",
279     "xml": "<set>\n<parameter name='prop.connection-attachment.access-topology-id' value='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$idx].value`' />\n",
280     "comments": "",
281     "x": 1202.0417404174805,
282     "y": 253.6417064666748,
283     "z": "be273250.67063",
284     "wires": [
285
286     ]
287   },
288   {
289     "id": "d49b138b.9b447",
290     "type": "switchNode",
291     "name": "switch access-node-id",
292     "xml": "<switch test=\"`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$idx].name == 'access-node-id'`\">",
293     "comments": "",
294     "outputs": 1,
295     "x": 852.0417404174805,
296     "y": 311.04169845581055,
297     "z": "be273250.67063",
298     "wires": [
299       [
300         "c9b215fc.9adfd8"
301       ]
302     ]
303   },
304   {
305     "id": "c9b215fc.9adfd8",
306     "type": "outcomeTrue",
307     "name": "true",
308     "xml": "<outcome value='true'>\n",
309     "comments": "",
310     "outputs": 1,
311     "x": 1039.0417404174805,
312     "y": 307.04169845581055,
313     "z": "be273250.67063",
314     "wires": [
315       [
316         "faf7a4cf.251418"
317       ]
318     ]
319   },
320   {
321     "id": "faf7a4cf.251418",
322     "type": "set",
323     "name": "set access-node-id",
324     "xml": "<set>\n<parameter name='prop.connection-attachment.access-node-id' value='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$idx].value`' />\n",
325     "comments": "",
326     "x": 1207.0417404174805,
327     "y": 307.6417045593262,
328     "z": "be273250.67063",
329     "wires": [
330
331     ]
332   },
333   {
334     "id": "1f7b915.12bc26f",
335     "type": "switchNode",
336     "name": "switch access-ltp-id",
337     "xml": "<switch test=\"`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$idx].name == 'access-ltp-id'`\">",
338     "comments": "",
339     "outputs": 1,
340     "x": 854.0417404174805,
341     "y": 373.04165840148926,
342     "z": "be273250.67063",
343     "wires": [
344       [
345         "672f4f35.c2cfa"
346       ]
347     ]
348   },
349   {
350     "id": "672f4f35.c2cfa",
351     "type": "outcomeTrue",
352     "name": "true",
353     "xml": "<outcome value='true'>\n",
354     "comments": "",
355     "outputs": 1,
356     "x": 1041.0417404174805,
357     "y": 369.04165840148926,
358     "z": "be273250.67063",
359     "wires": [
360       [
361         "f006294d.d5f238"
362       ]
363     ]
364   },
365   {
366     "id": "f006294d.d5f238",
367     "type": "set",
368     "name": "set access-ltp-id",
369     "xml": "<set>\n<parameter name='prop.connection-attachment.access-ltp-id' value='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$idx].value`' />\n",
370     "comments": "",
371     "x": 1209.0417404174805,
372     "y": 369.6416645050049,
373     "z": "be273250.67063",
374     "wires": [
375
376     ]
377   },
378   {
379     "id": "fcc00482.9d4728",
380     "type": "switchNode",
381     "name": "switch clientSignal",
382     "xml": "<switch test=\"`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$idx].name == 'clientSignal'`\">",
383     "comments": "",
384     "outputs": 1,
385     "x": 858.0417404174805,
386     "y": 439.0416650772095,
387     "z": "be273250.67063",
388     "wires": [
389       [
390         "c5ace371.7d146"
391       ]
392     ]
393   },
394   {
395     "id": "c5ace371.7d146",
396     "type": "outcomeTrue",
397     "name": "true",
398     "xml": "<outcome value='true'>\n",
399     "comments": "",
400     "outputs": 1,
401     "x": 1045.0417404174805,
402     "y": 435.0416650772095,
403     "z": "be273250.67063",
404     "wires": [
405       [
406         "6652e4bd.26a58c"
407       ]
408     ]
409   },
410   {
411     "id": "6652e4bd.26a58c",
412     "type": "set",
413     "name": "set clientSignal",
414     "xml": "<set>\n<parameter name='prop.connection-attachment.clientSignal' value='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$idx].value`' />\n",
415     "comments": "",
416     "x": 1213.0417404174805,
417     "y": 435.6416711807251,
418     "z": "be273250.67063",
419     "wires": [
420
421     ]
422   },
423   {
424     "id": "be269c99.3195",
425     "type": "returnSuccess",
426     "name": "return success",
427     "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",
428     "comments": "",
429     "x": 851.0313720703125,
430     "y": 553.031268119812,
431     "z": "be273250.67063",
432     "wires": [
433
434     ]
435   },
436   {
437     "id": "d97ebcd8.acf64",
438     "type": "switchNode",
439     "name": "switch cVLAN",
440     "xml": "<switch test=\"`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$idx].name == 'cVLAN'`\">",
441     "comments": "",
442     "outputs": 1,
443     "x": 857.03125,
444     "y": 491.0312194824219,
445     "z": "be273250.67063",
446     "wires": [
447       [
448         "b35b1b6b.cc2e38"
449       ]
450     ]
451   },
452   {
453     "id": "b35b1b6b.cc2e38",
454     "type": "outcomeTrue",
455     "name": "true",
456     "xml": "<outcome value='true'>\n",
457     "comments": "",
458     "outputs": 1,
459     "x": 1044.03125,
460     "y": 487.0312194824219,
461     "z": "be273250.67063",
462     "wires": [
463       [
464         "d9b42ffa.b44df"
465       ]
466     ]
467   },
468   {
469     "id": "d9b42ffa.b44df",
470     "type": "set",
471     "name": "set cVLAN",
472     "xml": "<set>\n<parameter name='prop.connection-attachment.cVLAN' value='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$idx].value`' />\n",
473     "comments": "",
474     "x": 1212.03125,
475     "y": 487.6312255859375,
476     "z": "be273250.67063",
477     "wires": [
478
479     ]
480   }
481 ]