Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_validate-vf-module-input.json
1 [\r
2     {\r
3         "id": "64530960.7a4c48",\r
4         "type": "block",\r
5         "name": "block : atomic",\r
6         "xml": "<block atomic=\"true\">",\r
7         "atomic": "true",\r
8         "outputs": 1,\r
9         "x": 266.03125,\r
10         "y": 487.50000762939453,\r
11         "z": "c914996f.38af08",\r
12         "wires": [\r
13             [\r
14                 "42eab53.cead04c",\r
15                 "9030d08e.473eb",\r
16                 "e2eeb7ea.c3b598",\r
17                 "6a464fe8.f5db",\r
18                 "1cf09f88.9f996",\r
19                 "50ebeee1.1f03d"\r
20             ]\r
21         ]\r
22     },\r
23     {\r
24         "id": "42eab53.cead04c",\r
25         "type": "switchNode",\r
26         "name": "switch svc-request-id",\r
27         "xml": "<switch test='`$vf-module-topology-operation-input.sdnc-request-header.svc-request-id`'>\n",\r
28         "comments": "",\r
29         "outputs": 1,\r
30         "x": 522.5431518554688,\r
31         "y": 420.58034229278564,\r
32         "z": "c914996f.38af08",\r
33         "wires": [\r
34             [\r
35                 "acac6999.f74ae8"\r
36             ]\r
37         ]\r
38     },\r
39     {\r
40         "id": "acac6999.f74ae8",\r
41         "type": "outcome",\r
42         "name": "NULL",\r
43         "xml": "<outcome value=''>",\r
44         "comments": "",\r
45         "outputs": 1,\r
46         "x": 748.2574462890625,\r
47         "y": 420.5803461074829,\r
48         "z": "c914996f.38af08",\r
49         "wires": [\r
50             [\r
51                 "7a7765a6.716e9c"\r
52             ]\r
53         ]\r
54     },\r
55     {\r
56         "id": "7a7765a6.716e9c",\r
57         "type": "returnFailure",\r
58         "name": "return failure",\r
59         "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=\"sdnc-request-header.svc-request-id is a required input\" />\n",\r
60         "comments": "",\r
61         "x": 899.6860122680664,\r
62         "y": 420.5803442001343,\r
63         "z": "c914996f.38af08",\r
64         "wires": []\r
65     },\r
66     {\r
67         "id": "9030d08e.473eb",\r
68         "type": "switchNode",\r
69         "name": "switch svc-action",\r
70         "xml": "<switch test='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`'>\n",\r
71         "comments": "",\r
72         "outputs": 1,\r
73         "x": 511.1145150320872,\r
74         "y": 379.1517738614764,\r
75         "z": "c914996f.38af08",\r
76         "wires": [\r
77             [\r
78                 "6c42550c.9ee7ec"\r
79             ]\r
80         ]\r
81     },\r
82     {\r
83         "id": "6c42550c.9ee7ec",\r
84         "type": "outcome",\r
85         "name": "NULL",\r
86         "xml": "<outcome value=''>",\r
87         "comments": "",\r
88         "outputs": 1,\r
89         "x": 746.8288666861399,\r
90         "y": 377.72317164284846,\r
91         "z": "c914996f.38af08",\r
92         "wires": [\r
93             [\r
94                 "7bffbb0f.9e8194"\r
95             ]\r
96         ]\r
97     },\r
98     {\r
99         "id": "7bffbb0f.9e8194",\r
100         "type": "returnFailure",\r
101         "name": "return failure",\r
102         "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=\"sdnc-request-header.svc-action is a required input\" />\n",\r
103         "comments": "",\r
104         "x": 896.8288399832591,\r
105         "y": 377.7231811795916,\r
106         "z": "c914996f.38af08",\r
107         "wires": []\r
108     },\r
109     {\r
110         "id": "e2eeb7ea.c3b598",\r
111         "type": "switchNode",\r
112         "name": "switch request-action",\r
113         "xml": "<switch test='`$vf-module-topology-operation-input.request-information.request-action`'>\n",\r
114         "comments": "",\r
115         "outputs": 1,\r
116         "x": 521.1145684378489,\r
117         "y": 463.4374889646258,\r
118         "z": "c914996f.38af08",\r
119         "wires": [\r
120             [\r
121                 "3b145144.cf0dce"\r
122             ]\r
123         ]\r
124     },\r
125     {\r
126         "id": "3b145144.cf0dce",\r
127         "type": "outcome",\r
128         "name": "NULL",\r
129         "xml": "<outcome value=''>",\r
130         "comments": "",\r
131         "outputs": 1,\r
132         "x": 748.2574419294087,\r
133         "y": 463.4374998637609,\r
134         "z": "c914996f.38af08",\r
135         "wires": [\r
136             [\r
137                 "dab01406.ba8c98"\r
138             ]\r
139         ]\r
140     },\r
141     {\r
142         "id": "dab01406.ba8c98",\r
143         "type": "returnFailure",\r
144         "name": "return failure",\r
145         "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=\"request-information.request-action is a required input\" />\n",\r
146         "comments": "",\r
147         "x": 899.6860079084126,\r
148         "y": 463.43749795641224,\r
149         "z": "c914996f.38af08",\r
150         "wires": []\r
151     },\r
152     {\r
153         "id": "12ea91e7.8a5dee",\r
154         "type": "switchNode",\r
155         "name": "switch model-customization-id",\r
156         "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`'>\n",\r
157         "comments": "",\r
158         "outputs": 1,\r
159         "x": 1118.5790824890137,\r
160         "y": 635.1996374130249,\r
161         "z": "c914996f.38af08",\r
162         "wires": [\r
163             [\r
164                 "7123b9f.8aa2648"\r
165             ]\r
166         ]\r
167     },\r
168     {\r
169         "id": "7123b9f.8aa2648",\r
170         "type": "outcome",\r
171         "name": "NULL",\r
172         "xml": "<outcome value=''>",\r
173         "comments": "",\r
174         "outputs": 1,\r
175         "x": 1323.5790824890137,\r
176         "y": 635.1996202468872,\r
177         "z": "c914996f.38af08",\r
178         "wires": [\r
179             [\r
180                 "56283888.4b07c8"\r
181             ]\r
182         ]\r
183     },\r
184     {\r
185         "id": "56283888.4b07c8",\r
186         "type": "returnFailure",\r
187         "name": "return failure",\r
188         "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=\"vf-module-information.onap-model-information.model-customization-uuid is a required input\" />\n",\r
189         "comments": "",\r
190         "x": 1475.0076484680176,\r
191         "y": 635.1996183395386,\r
192         "z": "c914996f.38af08",\r
193         "wires": []\r
194     },\r
195     {\r
196         "id": "eca8ac0.d277c58",\r
197         "type": "switchNode",\r
198         "name": "switch tenant",\r
199         "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-request-input.tenant`'>\n",\r
200         "comments": "",\r
201         "outputs": 1,\r
202         "x": 1064.4361610412598,\r
203         "y": 676.6281480789185,\r
204         "z": "c914996f.38af08",\r
205         "wires": [\r
206             [\r
207                 "17c7649f.342e3b"\r
208             ]\r
209         ]\r
210     },\r
211     {\r
212         "id": "17c7649f.342e3b",\r
213         "type": "outcome",\r
214         "name": "NULL",\r
215         "xml": "<outcome value=''>",\r
216         "comments": "",\r
217         "outputs": 1,\r
218         "x": 1322.150478363037,\r
219         "y": 676.6281824111938,\r
220         "z": "c914996f.38af08",\r
221         "wires": [\r
222             [\r
223                 "a9a7bd61.ab17c"\r
224             ]\r
225         ]\r
226     },\r
227     {\r
228         "id": "a9a7bd61.ab17c",\r
229         "type": "returnFailure",\r
230         "name": "return failure",\r
231         "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=\"vf-module-information.vf-module-request-input.tenant is a required input\" />\n",\r
232         "comments": "",\r
233         "x": 1473.579044342041,\r
234         "y": 676.6281805038452,\r
235         "z": "c914996f.38af08",\r
236         "wires": []\r
237     },\r
238     {\r
239         "id": "37d1ad14.2a8632",\r
240         "type": "comment",\r
241         "name": "Validation of required fields",\r
242         "info": "",\r
243         "comments": "",\r
244         "x": 671.1145248413086,\r
245         "y": 334.86605644226074,\r
246         "z": "c914996f.38af08",\r
247         "wires": []\r
248     },\r
249     {\r
250         "id": "6a464fe8.f5db",\r
251         "type": "switchNode",\r
252         "name": "switch svc-action",\r
253         "xml": "<switch test='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`'>\n",\r
254         "comments": "",\r
255         "outputs": 1,\r
256         "x": 504.2693176269531,\r
257         "y": 677.5448093414307,\r
258         "z": "c914996f.38af08",\r
259         "wires": [\r
260             [\r
261                 "55f87411.8977fc"\r
262             ]\r
263         ]\r
264     },\r
265     {\r
266         "id": "55f87411.8977fc",\r
267         "type": "outcome",\r
268         "name": "assign",\r
269         "xml": "<outcome value='assign'>\n",\r
270         "comments": "",\r
271         "outputs": 1,\r
272         "x": 663.8526191711426,\r
273         "y": 677.1280736923218,\r
274         "z": "c914996f.38af08",\r
275         "wires": [\r
276             [\r
277                 "76a30e92.c3b23"\r
278             ]\r
279         ]\r
280     },\r
281     {\r
282         "id": "76a30e92.c3b23",\r
283         "type": "block",\r
284         "name": "block : atomic",\r
285         "xml": "<block atomic=\"true\">",\r
286         "atomic": "true",\r
287         "outputs": 1,\r
288         "x": 855.8526191711426,\r
289         "y": 677.1280736923218,\r
290         "z": "c914996f.38af08",\r
291         "wires": [\r
292             [\r
293                 "12ea91e7.8a5dee",\r
294                 "eca8ac0.d277c58",\r
295                 "75303db4.f39ac4"\r
296             ]\r
297         ]\r
298     },\r
299     {\r
300         "id": "412ad4c5.a2550c",\r
301         "type": "dgstart",\r
302         "name": "DGSTART",\r
303         "outputs": 1,\r
304         "x": 183.53125217982688,\r
305         "y": 207.4136562347412,\r
306         "z": "c914996f.38af08",\r
307         "wires": [\r
308             [\r
309                 "5fecaed1.6af1f"\r
310             ]\r
311         ]\r
312     },\r
313     {\r
314         "id": "5fecaed1.6af1f",\r
315         "type": "service-logic",\r
316         "name": "GENERIC-RESOURCE-API ${project.version}",\r
317         "module": "GENERIC-RESOURCE-API",\r
318         "version": "${project.version}",\r
319         "comments": "",\r
320         "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}'>",\r
321         "outputs": 1,\r
322         "x": 296.81695774623313,\r
323         "y": 247.6517677307129,\r
324         "z": "c914996f.38af08",\r
325         "wires": [\r
326             [\r
327                 "ce8e825.505198"\r
328             ]\r
329         ]\r
330     },\r
331     {\r
332         "id": "ce8e825.505198",\r
333         "type": "method",\r
334         "name": "method validate-vf-module-input",\r
335         "xml": "<method rpc='validate-vf-module-input' mode='sync'>\n",\r
336         "comments": "",\r
337         "outputs": 1,\r
338         "x": 253.87654713221946,\r
339         "y": 288.33031368255615,\r
340         "z": "c914996f.38af08",\r
341         "wires": [\r
342             [\r
343                 "64530960.7a4c48"\r
344             ]\r
345         ]\r
346     },\r
347     {\r
348         "id": "d3c65d01.b09e8",\r
349         "type": "comment",\r
350         "name": "validate-vf-module-input",\r
351         "info": "",\r
352         "comments": "",\r
353         "x": 577.8761084420339,\r
354         "y": 155,\r
355         "z": "c914996f.38af08",\r
356         "wires": []\r
357     },\r
358     {\r
359         "id": "1cf09f88.9f996",\r
360         "type": "switchNode",\r
361         "name": "switch service-instance-id",\r
362         "xml": "<switch test='`$vf-module-topology-operation-input.service-information.service-instance-id`'>\n",\r
363         "comments": "",\r
364         "outputs": 1,\r
365         "x": 534.1383993966238,\r
366         "y": 507.50001525878906,\r
367         "z": "c914996f.38af08",\r
368         "wires": [\r
369             [\r
370                 "4a5d470b.8d66d8"\r
371             ]\r
372         ]\r
373     },\r
374     {\r
375         "id": "4a5d470b.8d66d8",\r
376         "type": "outcome",\r
377         "name": "NULL",\r
378         "xml": "<outcome value=''>",\r
379         "comments": "",\r
380         "outputs": 1,\r
381         "x": 746.5669806344167,\r
382         "y": 507.5000114440918,\r
383         "z": "c914996f.38af08",\r
384         "wires": [\r
385             [\r
386                 "6a814e78.eefa1"\r
387             ]\r
388         ]\r
389     },\r
390     {\r
391         "id": "6a814e78.eefa1",\r
392         "type": "returnFailure",\r
393         "name": "return failure",\r
394         "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=\"service-information.service-instance-id is a required input\" />\n",\r
395         "comments": "",\r
396         "x": 897.9955466134206,\r
397         "y": 507.50000953674316,\r
398         "z": "c914996f.38af08",\r
399         "wires": []\r
400     },\r
401     {\r
402         "id": "50ebeee1.1f03d",\r
403         "type": "switchNode",\r
404         "name": "switch vnf-id",\r
405         "xml": "<switch test='`$vf-module-topology-operation-input.vnf-information.vnf-id`'>\n",\r
406         "comments": "",\r
407         "outputs": 1,\r
408         "x": 491.6384086608887,\r
409         "y": 554.0000057220459,\r
410         "z": "c914996f.38af08",\r
411         "wires": [\r
412             [\r
413                 "91be467.d997cb8"\r
414             ]\r
415         ]\r
416     },\r
417     {\r
418         "id": "91be467.d997cb8",\r
419         "type": "outcome",\r
420         "name": "NULL",\r
421         "xml": "<outcome value=''>",\r
422         "comments": "",\r
423         "outputs": 1,\r
424         "x": 746.9241180419922,\r
425         "y": 552.5714378356934,\r
426         "z": "c914996f.38af08",\r
427         "wires": [\r
428             [\r
429                 "a61fec00.397b18"\r
430             ]\r
431         ]\r
432     },\r
433     {\r
434         "id": "a61fec00.397b18",\r
435         "type": "returnFailure",\r
436         "name": "return failure",\r
437         "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=\"vnf-information.vnf-id is a required input\" />\n",\r
438         "comments": "",\r
439         "x": 898.3526840209961,\r
440         "y": 552.5714359283447,\r
441         "z": "c914996f.38af08",\r
442         "wires": []\r
443     },\r
444     {\r
445         "id": "75303db4.f39ac4",\r
446         "type": "switchNode",\r
447         "name": "switch aic-cloud-region",\r
448         "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region`'>\n",\r
449         "comments": "",\r
450         "outputs": 1,\r
451         "x": 1093.7812423706055,\r
452         "y": 718.9048051834106,\r
453         "z": "c914996f.38af08",\r
454         "wires": [\r
455             [\r
456                 "ce90203b.b0afd"\r
457             ]\r
458         ]\r
459     },\r
460     {\r
461         "id": "ce90203b.b0afd",\r
462         "type": "outcome",\r
463         "name": "NULL",\r
464         "xml": "<outcome value=''>",\r
465         "comments": "",\r
466         "outputs": 1,\r
467         "x": 1320.4955596923828,\r
468         "y": 718.904839515686,\r
469         "z": "c914996f.38af08",\r
470         "wires": [\r
471             [\r
472                 "2275e534.88d4ca"\r
473             ]\r
474         ]\r
475     },\r
476     {\r
477         "id": "2275e534.88d4ca",\r
478         "type": "returnFailure",\r
479         "name": "return failure",\r
480         "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=\"vf-module-request-input.aic-cloud-region is a required input\" />\n",\r
481         "comments": "",\r
482         "x": 1471.9241256713867,\r
483         "y": 718.9048376083374,\r
484         "z": "c914996f.38af08",\r
485         "wires": []\r
486     },\r
487     {\r
488         "id": "3d870d1c.309352",\r
489         "type": "outcome",\r
490         "name": "changeassign",\r
491         "xml": "<outcome value='changeassign'>\n",\r
492         "comments": "",\r
493         "outputs": 1,\r
494         "x": 687.6979370117188,\r
495         "y": 832.2500114440918,\r
496         "z": "c914996f.38af08",\r
497         "wires": [\r
498             [\r
499                 "fa0141f0.f9902"\r
500             ]\r
501         ]\r
502     },\r
503     {\r
504         "id": "fa0141f0.f9902",\r
505         "type": "switchNode",\r
506         "name": "switch model-customization-id",\r
507         "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`'>\n",\r
508         "comments": "",\r
509         "outputs": 1,\r
510         "x": 914.3645782470703,\r
511         "y": 832.5833168029785,\r
512         "z": "c914996f.38af08",\r
513         "wires": [\r
514             [\r
515                 "5358c72a.6a77a8"\r
516             ]\r
517         ]\r
518     },\r
519     {\r
520         "id": "5358c72a.6a77a8",\r
521         "type": "outcome",\r
522         "name": "NULL",\r
523         "xml": "<outcome value=''>",\r
524         "comments": "",\r
525         "outputs": 1,\r
526         "x": 1119.3645782470703,\r
527         "y": 832.5832996368408,\r
528         "z": "c914996f.38af08",\r
529         "wires": [\r
530             [\r
531                 "80d57253.986af"\r
532             ]\r
533         ]\r
534     },\r
535     {\r
536         "id": "80d57253.986af",\r
537         "type": "returnFailure",\r
538         "name": "return failure",\r
539         "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=\"vf-module-information.onap-model-information.model-customization-uuid is a required input\" />\n",\r
540         "comments": "",\r
541         "x": 1270.7931442260742,\r
542         "y": 832.5832977294922,\r
543         "z": "c914996f.38af08",\r
544         "wires": []\r
545     },\r
546     {\r
547         "id": "319c1dc4.f1e692",\r
548         "type": "comment",\r
549         "name": "model-customization-uuid validation moved to changeassign DG",\r
550         "info": "",\r
551         "comments": "",\r
552         "x": 744.7812423706055,\r
553         "y": 790,\r
554         "z": "c914996f.38af08",\r
555         "wires": []\r
556     }\r
557 ]