Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_validate-contrail-route-input.json
1 [
2     {
3         "id": "35266b9e.c1cf04",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 202.7777862548828,
8         "y": 205.27777099609375,
9         "z": "b42bbd9e.9cab",
10         "wires": [
11             [
12                 "d8231d59.d0416"
13             ]
14         ]
15     },
16     {
17         "id": "d8231d59.d0416",
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": 359.06349182128906,
26         "y": 279.51588439941406,
27         "z": "b42bbd9e.9cab",
28         "wires": [
29             [
30                 "3b37cf29.2770b"
31             ]
32         ]
33     },
34     {
35         "id": "3b37cf29.2770b",
36         "type": "method",
37         "name": "validate-contrail-route-input",
38         "xml": "<method rpc='validate-contrail-route-input' mode='sync'>\n",
39         "comments": "",
40         "outputs": 1,
41         "x": 359.20641326904297,
42         "y": 341.27777099609375,
43         "z": "b42bbd9e.9cab",
44         "wires": [
45             [
46                 "bb11dc2e.ba771"
47             ]
48         ]
49     },
50     {
51         "id": "bb11dc2e.ba771",
52         "type": "block",
53         "name": "block : atomic",
54         "xml": "<block atomic=\"true\">",
55         "atomic": "true",
56         "outputs": 1,
57         "x": 372.52783203125,
58         "y": 623.7212657928467,
59         "z": "b42bbd9e.9cab",
60         "wires": [
61             [
62                 "aa4b4f9b.d66d5",
63                 "a357d6d0.d1e828",
64                 "d43473e3.39bf6",
65                 "43b27b77.234ba4",
66                 "dbabb342.08cce",
67                 "c28b8276.ad796"
68             ]
69         ]
70     },
71     {
72         "id": "aa4b4f9b.d66d5",
73         "type": "switchNode",
74         "name": "switch svc-request-id",
75         "xml": "<switch test='`$contrail-route-topology-operation-input.sdnc-request-header.svc-request-id`'>\n",
76         "comments": "",
77         "outputs": 1,
78         "x": 707.5873565673828,
79         "y": 108.37305164337158,
80         "z": "b42bbd9e.9cab",
81         "wires": [
82             [
83                 "3094a18d.2341ce"
84             ]
85         ]
86     },
87     {
88         "id": "3094a18d.2341ce",
89         "type": "other",
90         "name": "NULL",
91         "xml": "<outcome value=''>",
92         "comments": "",
93         "outputs": 1,
94         "x": 937.3016417367116,
95         "y": 106.37304837363081,
96         "z": "b42bbd9e.9cab",
97         "wires": [
98             [
99                 "3d7d8e8e.e7a2e2"
100             ]
101         ]
102     },
103     {
104         "id": "3d7d8e8e.e7a2e2",
105         "type": "returnFailure",
106         "name": "return failure",
107         "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",
108         "comments": "",
109         "x": 1088.7302077157156,
110         "y": 106.37304646628218,
111         "z": "b42bbd9e.9cab",
112         "wires": []
113     },
114     {
115         "id": "a357d6d0.d1e828",
116         "type": "switchNode",
117         "name": "switch svc-action",
118         "xml": "<switch test='`$contrail-route-topology-operation-input.sdnc-request-header.svc-action`'>\n",
119         "comments": "",
120         "outputs": 1,
121         "x": 700.1586990356445,
122         "y": 64.94446277618408,
123         "z": "b42bbd9e.9cab",
124         "wires": [
125             [
126                 "aa49fe92.cd19a"
127             ]
128         ]
129     },
130     {
131         "id": "aa49fe92.cd19a",
132         "type": "other",
133         "name": "NULL",
134         "xml": "<outcome value=''>",
135         "comments": "",
136         "outputs": 1,
137         "x": 935.8730621337891,
138         "y": 63.51587390899658,
139         "z": "b42bbd9e.9cab",
140         "wires": [
141             [
142                 "8fc24fab.a40e7"
143             ]
144         ]
145     },
146     {
147         "id": "8fc24fab.a40e7",
148         "type": "returnFailure",
149         "name": "return failure",
150         "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",
151         "comments": "",
152         "x": 1085.8730354309082,
153         "y": 63.515883445739746,
154         "z": "b42bbd9e.9cab",
155         "wires": []
156     },
157     {
158         "id": "d43473e3.39bf6",
159         "type": "switchNode",
160         "name": "switch request-action",
161         "xml": "<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n",
162         "comments": "",
163         "outputs": 1,
164         "x": 710.1587524414062,
165         "y": 157.23019981384277,
166         "z": "b42bbd9e.9cab",
167         "wires": [
168             [
169                 "57e78919.ef0688",
170                 "f69fee2.01a8c1",
171                 "63c630c0.7b3d4",
172                 "b809f5ff.bb3ad8"
173             ]
174         ]
175     },
176     {
177         "id": "57e78919.ef0688",
178         "type": "other",
179         "name": "NULL",
180         "xml": "<outcome value=''>",
181         "comments": "",
182         "outputs": 1,
183         "x": 941.8730659484863,
184         "y": 256.08739280700684,
185         "z": "b42bbd9e.9cab",
186         "wires": [
187             [
188                 "ca244a95.514758"
189             ]
190         ]
191     },
192     {
193         "id": "ca244a95.514758",
194         "type": "returnFailure",
195         "name": "return failure",
196         "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",
197         "comments": "",
198         "x": 1113.3015060424805,
199         "y": 256.0873918533325,
200         "z": "b42bbd9e.9cab",
201         "wires": []
202     },
203     {
204         "id": "89209f0f.b42ea",
205         "type": "comment",
206         "name": "validate-alloted-resource-input - CHANGELOG",
207         "info": "3/22: Initial release 2.0.0",
208         "comments": "",
209         "x": 215.7777862548828,
210         "y": 109.27777099609375,
211         "z": "b42bbd9e.9cab",
212         "wires": []
213     },
214     {
215         "id": "43b27b77.234ba4",
216         "type": "switchNode",
217         "name": "switch svc-action",
218         "xml": "<switch test='`$contrail-route-topology-operation-input.sdnc-request-header.svc-action`'>\n",
219         "comments": "",
220         "outputs": 1,
221         "x": 604.1111145019531,
222         "y": 625.944411277771,
223         "z": "b42bbd9e.9cab",
224         "wires": [
225             [
226                 "b241564a.80dee8",
227                 "13332075.a90e5",
228                 "5c11ee06.80d44",
229                 "e1547517.5bdd98",
230                 "4c19740c.db392c",
231                 "897a0281.ce1ee"
232             ]
233         ]
234     },
235     {
236         "id": "b241564a.80dee8",
237         "type": "other",
238         "name": "assign",
239         "xml": "<outcome value='assign'>",
240         "comments": "",
241         "outputs": 1,
242         "x": 873.4921493530273,
243         "y": 464.8492374420166,
244         "z": "b42bbd9e.9cab",
245         "wires": [
246             [
247                 "167db0e.a9d9b4f"
248             ]
249         ]
250     },
251     {
252         "id": "13332075.a90e5",
253         "type": "other",
254         "name": "activate",
255         "xml": "<outcome value='activate'>",
256         "comments": "",
257         "outputs": 1,
258         "x": 893.7777557373047,
259         "y": 652.2778015136719,
260         "z": "b42bbd9e.9cab",
261         "wires": [
262             [
263                 "fa98c4a3.48c008"
264             ]
265         ]
266     },
267     {
268         "id": "5c11ee06.80d44",
269         "type": "other",
270         "name": "deactivate",
271         "xml": "<outcome value='deactivate'>",
272         "comments": "",
273         "outputs": 1,
274         "x": 900.7777557373047,
275         "y": 742.2778015136719,
276         "z": "b42bbd9e.9cab",
277         "wires": [
278             [
279                 "e8ed620e.34218"
280             ]
281         ]
282     },
283     {
284         "id": "167db0e.a9d9b4f",
285         "type": "block",
286         "name": "block : atomic",
287         "xml": "<block atomic=\"true\">",
288         "atomic": "true",
289         "comments": "",
290         "outputs": 1,
291         "x": 1030.7777862548828,
292         "y": 467.6111469268799,
293         "z": "b42bbd9e.9cab",
294         "wires": [
295             [
296                 "9230ea14.806408"
297             ]
298         ]
299     },
300     {
301         "id": "9230ea14.806408",
302         "type": "switchNode",
303         "name": "switch request-action",
304         "xml": "<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n",
305         "comments": "",
306         "outputs": 1,
307         "x": 1237.4444198608398,
308         "y": 467.6111354827881,
309         "z": "b42bbd9e.9cab",
310         "wires": [
311             [
312                 "61434823.60b248",
313                 "2f5e13cc.428ddc"
314             ]
315         ]
316     },
317     {
318         "id": "61434823.60b248",
319         "type": "other",
320         "name": "CreateContrailRouteInstance",
321         "xml": "<outcome value='CreateContrailRouteInstance'>",
322         "comments": "",
323         "outputs": 1,
324         "x": 1585.3015899658203,
325         "y": 394.7540102005005,
326         "z": "b42bbd9e.9cab",
327         "wires": [
328             [
329                 "10dadd6a.d1a0d3"
330             ]
331         ]
332     },
333     {
334         "id": "2f5e13cc.428ddc",
335         "type": "other",
336         "name": "Other",
337         "xml": "<outcome value='Other'>",
338         "comments": "",
339         "outputs": 1,
340         "x": 1524.7777671813965,
341         "y": 461.6111640930176,
342         "z": "b42bbd9e.9cab",
343         "wires": [
344             [
345                 "d7368e17.11a7b"
346             ]
347         ]
348     },
349     {
350         "id": "d7368e17.11a7b",
351         "type": "returnFailure",
352         "name": "return failure",
353         "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 to be CreateContrailRouteInstance for svc-action=assign\" />\n",
354         "comments": "",
355         "x": 1672.1111106872559,
356         "y": 461.6111831665039,
357         "z": "b42bbd9e.9cab",
358         "wires": []
359     },
360     {
361         "id": "fa98c4a3.48c008",
362         "type": "block",
363         "name": "block : atomic",
364         "xml": "<block atomic=\"true\">",
365         "atomic": "true",
366         "outputs": 1,
367         "x": 1067.7777557373047,
368         "y": 652.2778015136719,
369         "z": "b42bbd9e.9cab",
370         "wires": [
371             [
372                 "39112fa6.850cd"
373             ]
374         ]
375     },
376     {
377         "id": "39112fa6.850cd",
378         "type": "switchNode",
379         "name": "switch request-action",
380         "xml": "<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n",
381         "comments": "",
382         "outputs": 1,
383         "x": 1284.7777557373047,
384         "y": 652.2778015136719,
385         "z": "b42bbd9e.9cab",
386         "wires": [
387             [
388                 "a46c6029.9eecb",
389                 "80369920.1e1528"
390             ]
391         ]
392     },
393     {
394         "id": "a46c6029.9eecb",
395         "type": "other",
396         "name": "Other",
397         "xml": "<outcome value='Other'>",
398         "comments": "",
399         "outputs": 1,
400         "x": 1508.7777557373047,
401         "y": 693.2778015136719,
402         "z": "b42bbd9e.9cab",
403         "wires": [
404             [
405                 "87417d62.3c22"
406             ]
407         ]
408     },
409     {
410         "id": "87417d62.3c22",
411         "type": "returnFailure",
412         "name": "return failure",
413         "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 to be CreateContrailRouteInstance for svc-action=activate\" />\n",
414         "comments": "",
415         "x": 1677.7777557373047,
416         "y": 693.2778015136719,
417         "z": "b42bbd9e.9cab",
418         "wires": []
419     },
420     {
421         "id": "e8ed620e.34218",
422         "type": "block",
423         "name": "block : atomic",
424         "xml": "<block atomic=\"true\">",
425         "atomic": "true",
426         "outputs": 1,
427         "x": 1082.7777557373047,
428         "y": 741.2778015136719,
429         "z": "b42bbd9e.9cab",
430         "wires": [
431             [
432                 "7f72c3c8.8a71dc"
433             ]
434         ]
435     },
436     {
437         "id": "7f72c3c8.8a71dc",
438         "type": "switchNode",
439         "name": "switch request-action",
440         "xml": "<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n",
441         "comments": "",
442         "outputs": 1,
443         "x": 1299.7777557373047,
444         "y": 741.2778015136719,
445         "z": "b42bbd9e.9cab",
446         "wires": [
447             [
448                 "96b39e05.6b30d",
449                 "baf7a6c3.22b2b8"
450             ]
451         ]
452     },
453     {
454         "id": "96b39e05.6b30d",
455         "type": "other",
456         "name": "DeleteContrailRouteInstance",
457         "xml": "<outcome value='DeleteContrailRouteInstance'>",
458         "comments": "",
459         "outputs": 1,
460         "x": 1582.4442901611328,
461         "y": 740.6111879348755,
462         "z": "b42bbd9e.9cab",
463         "wires": [
464             [
465                 "89e918a.16dc8e8"
466             ]
467         ]
468     },
469     {
470         "id": "baf7a6c3.22b2b8",
471         "type": "other",
472         "name": "Other",
473         "xml": "<outcome value='Other'>",
474         "comments": "",
475         "outputs": 1,
476         "x": 1523.7777557373047,
477         "y": 782.2778015136719,
478         "z": "b42bbd9e.9cab",
479         "wires": [
480             [
481                 "e25c9a86.2130e8"
482             ]
483         ]
484     },
485     {
486         "id": "e25c9a86.2130e8",
487         "type": "returnFailure",
488         "name": "return failure",
489         "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 to be DeleteContrailRouteInstance for svc-action=deactivate\" />\n",
490         "comments": "",
491         "x": 1692.7777557373047,
492         "y": 782.2778015136719,
493         "z": "b42bbd9e.9cab",
494         "wires": []
495     },
496     {
497         "id": "e1547517.5bdd98",
498         "type": "other",
499         "name": "unassign",
500         "xml": "<outcome value='unassign'>",
501         "comments": "",
502         "outputs": 1,
503         "x": 881.7776184082031,
504         "y": 909.6111288070679,
505         "z": "b42bbd9e.9cab",
506         "wires": [
507             [
508                 "25d3342e.bf055c"
509             ]
510         ]
511     },
512     {
513         "id": "25d3342e.bf055c",
514         "type": "block",
515         "name": "block : atomic",
516         "xml": "<block atomic=\"true\">",
517         "atomic": "true",
518         "outputs": 1,
519         "x": 1063.7776489257812,
520         "y": 905.6111516952515,
521         "z": "b42bbd9e.9cab",
522         "wires": [
523             [
524                 "4096d7e5.754058"
525             ]
526         ]
527     },
528     {
529         "id": "4096d7e5.754058",
530         "type": "switchNode",
531         "name": "switch request-action",
532         "xml": "<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n",
533         "comments": "",
534         "outputs": 1,
535         "x": 1280.7776489257812,
536         "y": 905.6111516952515,
537         "z": "b42bbd9e.9cab",
538         "wires": [
539             [
540                 "7977bc3b.695434",
541                 "4cf8061.e28dff8"
542             ]
543         ]
544     },
545     {
546         "id": "7977bc3b.695434",
547         "type": "other",
548         "name": "DeleteContrailRouteInstance",
549         "xml": "<outcome value='DeleteContrailRouteInstance'>",
550         "comments": "",
551         "outputs": 1,
552         "x": 1561.7775192260742,
553         "y": 906.6111688613892,
554         "z": "b42bbd9e.9cab",
555         "wires": [
556             [
557                 "a46d071e.eae668"
558             ]
559         ]
560     },
561     {
562         "id": "4cf8061.e28dff8",
563         "type": "other",
564         "name": "Other",
565         "xml": "<outcome value='Other'>",
566         "comments": "",
567         "outputs": 1,
568         "x": 1504.7776489257812,
569         "y": 946.6111516952515,
570         "z": "b42bbd9e.9cab",
571         "wires": [
572             [
573                 "ebab16c5.c33a78"
574             ]
575         ]
576     },
577     {
578         "id": "ebab16c5.c33a78",
579         "type": "returnFailure",
580         "name": "return failure",
581         "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 to be DeleteContrailRouteInstance for svc-action=unassign\" />\n",
582         "comments": "",
583         "x": 1673.7776489257812,
584         "y": 946.6111516952515,
585         "z": "b42bbd9e.9cab",
586         "wires": []
587     },
588     {
589         "id": "10dadd6a.d1a0d3",
590         "type": "block",
591         "name": "block : atomic",
592         "xml": "<block atomic=\"true\">",
593         "atomic": "true",
594         "comments": "",
595         "outputs": 1,
596         "x": 1831.3015403747559,
597         "y": 393.7539978027344,
598         "z": "b42bbd9e.9cab",
599         "wires": [
600             [
601                 "8353a7c2.7d6ba8",
602                 "3697eb9e.353964",
603                 "4b1f2e92.74dfd",
604                 "d06491a2.0b602",
605                 "344f0df1.0efab2",
606                 "6b07cbd7.0e7d04",
607                 "e5f84df2.f1e94",
608                 "2032eb88.550194",
609                 "aa2cdb28.13b088"
610             ]
611         ]
612     },
613     {
614         "id": "d15b9d66.afba",
615         "type": "block",
616         "name": "block : atomic",
617         "xml": "<block atomic=\"true\">",
618         "atomic": "true",
619         "comments": "",
620         "outputs": 1,
621         "x": 1790.7777557373047,
622         "y": 653.2778015136719,
623         "z": "b42bbd9e.9cab",
624         "wires": [
625             [
626                 "d06491a2.0b602",
627                 "6b07cbd7.0e7d04"
628             ]
629         ]
630     },
631     {
632         "id": "89e918a.16dc8e8",
633         "type": "block",
634         "name": "block : atomic",
635         "xml": "<block atomic=\"true\">",
636         "atomic": "true",
637         "comments": "",
638         "outputs": 1,
639         "x": 1836.7777557373047,
640         "y": 743.2778015136719,
641         "z": "b42bbd9e.9cab",
642         "wires": [
643             [
644                 "d06491a2.0b602",
645                 "6b07cbd7.0e7d04"
646             ]
647         ]
648     },
649     {
650         "id": "a46d071e.eae668",
651         "type": "block",
652         "name": "block : atomic",
653         "xml": "<block atomic=\"true\">",
654         "atomic": "true",
655         "comments": "",
656         "outputs": 1,
657         "x": 1820.7776489257812,
658         "y": 907.6111516952515,
659         "z": "b42bbd9e.9cab",
660         "wires": [
661             [
662                 "d06491a2.0b602"
663             ]
664         ]
665     },
666     {
667         "id": "8353a7c2.7d6ba8",
668         "type": "switchNode",
669         "name": "switch source-network.network-id",
670         "xml": "<switch test='`$contrail-route-topology-operation-input.contrail-route-request-input.source-network.network-id`'>\n",
671         "comments": "",
672         "outputs": 1,
673         "x": 2229.063278198242,
674         "y": 263.9920644760132,
675         "z": "b42bbd9e.9cab",
676         "wires": [
677             [
678                 "aa3ce30.606892"
679             ]
680         ]
681     },
682     {
683         "id": "aa3ce30.606892",
684         "type": "other",
685         "name": "NULL",
686         "xml": "<outcome value=''>",
687         "comments": "",
688         "outputs": 1,
689         "x": 2455.063335418701,
690         "y": 262.1349468231201,
691         "z": "b42bbd9e.9cab",
692         "wires": [
693             [
694                 "d5826697.16cc88"
695             ]
696         ]
697     },
698     {
699         "id": "d5826697.16cc88",
700         "type": "returnFailure",
701         "name": "return failure",
702         "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=\"contrail-route-topology-operation-input.contrail-route-request-input.source-network.network-id is a required input\" />\n",
703         "comments": "",
704         "x": 2622.9203872680664,
705         "y": 262.1349210739136,
706         "z": "b42bbd9e.9cab",
707         "wires": []
708     },
709     {
710         "id": "4b1f2e92.74dfd",
711         "type": "switchNode",
712         "name": "switch onap-model-information.model-customization-uuid",
713         "xml": "<switch test='`$contrail-route-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`'>\n",
714         "comments": "",
715         "outputs": 1,
716         "x": 2301.6351318359375,
717         "y": 190.27785205841064,
718         "z": "b42bbd9e.9cab",
719         "wires": [
720             [
721                 "d1cbbe07.cc9e3"
722             ]
723         ]
724     },
725     {
726         "id": "d1cbbe07.cc9e3",
727         "type": "other",
728         "name": "NULL",
729         "xml": "<outcome value=''>",
730         "comments": "",
731         "outputs": 1,
732         "x": 2595.635040283203,
733         "y": 191.27779293060303,
734         "z": "b42bbd9e.9cab",
735         "wires": [
736             [
737                 "5ffa0f1.a317af"
738             ]
739         ]
740     },
741     {
742         "id": "5ffa0f1.a317af",
743         "type": "returnFailure",
744         "name": "return failure",
745         "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=\"contrail-route-information.onap-model-information.model-customization-uuid is a required input\" />\n",
746         "comments": "",
747         "x": 2743.063507080078,
748         "y": 191.27779293060303,
749         "z": "b42bbd9e.9cab",
750         "wires": []
751     },
752     {
753         "id": "dbabb342.08cce",
754         "type": "returnSuccess",
755         "name": "return success",
756         "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",
757         "comments": "",
758         "x": 666.2777404785156,
759         "y": 1056.7777633666992,
760         "z": "b42bbd9e.9cab",
761         "wires": []
762     },
763     {
764         "id": "93757aef.15f468",
765         "type": "comment",
766         "name": "validate service-information.onap-model-information.model0uuid is in service table",
767         "info": "",
768         "comments": "",
769         "x": 2369.496368408203,
770         "y": 484.91669940948486,
771         "z": "b42bbd9e.9cab",
772         "wires": []
773     },
774     {
775         "id": "3697eb9e.353964",
776         "type": "get-resource",
777         "name": "get-resource AR_MODEL",
778         "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from ALLOTTED_RESOURCE_MODEL WHERE customization_uuid = $contrail-route-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid'\n  pfx='ar-model'>\n\n",
779         "comments": "",
780         "outputs": 1,
781         "x": 2202.413101196289,
782         "y": 527.6428871154785,
783         "z": "b42bbd9e.9cab",
784         "wires": [
785             [
786                 "81c17c72.98f07",
787                 "5ee9c459.84ea3c"
788             ]
789         ]
790     },
791     {
792         "id": "fe930095.bdfb1",
793         "type": "returnFailure",
794         "name": "return failure",
795         "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=\"`'No alloted resource model found for model customization UUID ' + $contrail-route-topology-operation-input.allotted-resource-information.onap-model-information.model-customization-uuid`\" />\n",
796         "comments": "",
797         "x": 2659.4962844848633,
798         "y": 508.3094844818115,
799         "z": "b42bbd9e.9cab",
800         "wires": []
801     },
802     {
803         "id": "81c17c72.98f07",
804         "type": "not-found",
805         "name": "not-found",
806         "xml": "<outcome value='not-found'>\n",
807         "comments": "",
808         "outputs": 1,
809         "x": 2460.746364593506,
810         "y": 503.6667003631592,
811         "z": "b42bbd9e.9cab",
812         "wires": [
813             [
814                 "fe930095.bdfb1"
815             ]
816         ]
817     },
818     {
819         "id": "5ee9c459.84ea3c",
820         "type": "failure",
821         "name": "failure",
822         "xml": "<outcome value='failure'>\n",
823         "comments": "",
824         "outputs": 1,
825         "x": 2454.496364593506,
826         "y": 536.1667003631592,
827         "z": "b42bbd9e.9cab",
828         "wires": [
829             [
830                 "fe930095.bdfb1"
831             ]
832         ]
833     },
834     {
835         "id": "f69fee2.01a8c1",
836         "type": "other",
837         "name": "CreateContrailRouteInstance",
838         "xml": "<outcome value='CreateContrailRouteInstance'>",
839         "comments": "",
840         "outputs": 1,
841         "x": 1005.8254241943359,
842         "y": 142.8968276977539,
843         "z": "b42bbd9e.9cab",
844         "wires": [
845             [
846                 "f0bb52f0.17e47"
847             ]
848         ]
849     },
850     {
851         "id": "63c630c0.7b3d4",
852         "type": "other",
853         "name": "DeleteContrailRouteInstance",
854         "xml": "<outcome value='DeleteContrailRouteInstance'>",
855         "comments": "",
856         "outputs": 1,
857         "x": 1006.1110687255859,
858         "y": 180.32544708251953,
859         "z": "b42bbd9e.9cab",
860         "wires": [
861             [
862                 "f0bb52f0.17e47"
863             ]
864         ]
865     },
866     {
867         "id": "b809f5ff.bb3ad8",
868         "type": "other",
869         "name": "Other",
870         "xml": "<outcome value='Other'>",
871         "comments": "",
872         "outputs": 1,
873         "x": 945.6825752258301,
874         "y": 296.468297958374,
875         "z": "b42bbd9e.9cab",
876         "wires": [
877             [
878                 "30198bb7.e55ef4"
879             ]
880         ]
881     },
882     {
883         "id": "30198bb7.e55ef4",
884         "type": "returnFailure",
885         "name": "return failure",
886         "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=\"Invalid request-information.request-action \" />\n",
887         "comments": "",
888         "x": 1117.1109809875488,
889         "y": 297.4683132171631,
890         "z": "b42bbd9e.9cab",
891         "wires": []
892     },
893     {
894         "id": "c28b8276.ad796",
895         "type": "switchNode",
896         "name": "switch service-instance-id",
897         "xml": "<switch test='`$contrail-route-topology-operation-input.service-information.service-instance-id`'>\n",
898         "comments": "",
899         "outputs": 1,
900         "x": 707.2063446044922,
901         "y": 337.1349639892578,
902         "z": "b42bbd9e.9cab",
903         "wires": [
904             [
905                 "9b3d73ec.0eef6"
906             ]
907         ]
908     },
909     {
910         "id": "9b3d73ec.0eef6",
911         "type": "other",
912         "name": "NULL",
913         "xml": "<outcome value=''>",
914         "comments": "",
915         "outputs": 1,
916         "x": 923.6349334716797,
917         "y": 338.1349639892578,
918         "z": "b42bbd9e.9cab",
919         "wires": [
920             [
921                 "64812692.977708"
922             ]
923         ]
924     },
925     {
926         "id": "64812692.977708",
927         "type": "returnFailure",
928         "name": "return failure",
929         "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",
930         "comments": "",
931         "x": 1082.063461303711,
932         "y": 337.1349639892578,
933         "z": "b42bbd9e.9cab",
934         "wires": []
935     },
936     {
937         "id": "4c19740c.db392c",
938         "type": "other",
939         "name": "create",
940         "xml": "<outcome value='create'>",
941         "comments": "",
942         "outputs": 1,
943         "x": 880.5555000305176,
944         "y": 550.1851797103882,
945         "z": "b42bbd9e.9cab",
946         "wires": [
947             [
948                 "81ff7e79.12005"
949             ]
950         ]
951     },
952     {
953         "id": "81ff7e79.12005",
954         "type": "block",
955         "name": "block : atomic",
956         "xml": "<block atomic=\"true\">",
957         "atomic": "true",
958         "comments": "",
959         "outputs": 1,
960         "x": 1041.1744995117188,
961         "y": 549.6137495040894,
962         "z": "b42bbd9e.9cab",
963         "wires": [
964             [
965                 "87874560.8aa258"
966             ]
967         ]
968     },
969     {
970         "id": "87874560.8aa258",
971         "type": "switchNode",
972         "name": "switch request-action",
973         "xml": "<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n",
974         "comments": "",
975         "outputs": 1,
976         "x": 1261.1744995117188,
977         "y": 549.6137495040894,
978         "z": "b42bbd9e.9cab",
979         "wires": [
980             [
981                 "90eb84df.b09858",
982                 "c5d024ea.750c08"
983             ]
984         ]
985     },
986     {
987         "id": "90eb84df.b09858",
988         "type": "other",
989         "name": "Other",
990         "xml": "<outcome value='Other'>",
991         "comments": "",
992         "outputs": 1,
993         "x": 1518.5079936981201,
994         "y": 553.6138019561768,
995         "z": "b42bbd9e.9cab",
996         "wires": [
997             [
998                 "cddf826d.b9fc1"
999             ]
1000         ]
1001     },
1002     {
1003         "id": "cddf826d.b9fc1",
1004         "type": "returnFailure",
1005         "name": "return failure",
1006         "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 to be CreateNetworkInstance for svc-action=create\" />\n",
1007         "comments": "",
1008         "x": 1684.1744995117188,
1009         "y": 553.61376953125,
1010         "z": "b42bbd9e.9cab",
1011         "wires": []
1012     },
1013     {
1014         "id": "c5d024ea.750c08",
1015         "type": "other",
1016         "name": "CreateContrailRouteInstance",
1017         "xml": "<outcome value='CreateContrailRouteInstance'>",
1018         "comments": "",
1019         "outputs": 1,
1020         "x": 1590.555419921875,
1021         "y": 518.5184936523438,
1022         "z": "b42bbd9e.9cab",
1023         "wires": [
1024             [
1025                 "b77bfd7b.7219"
1026             ]
1027         ]
1028     },
1029     {
1030         "id": "b77bfd7b.7219",
1031         "type": "block",
1032         "name": "block : atomic",
1033         "xml": "<block atomic=\"true\">",
1034         "atomic": "true",
1035         "comments": "",
1036         "outputs": 1,
1037         "x": 1826.555419921875,
1038         "y": 517.5184936523438,
1039         "z": "b42bbd9e.9cab",
1040         "wires": [
1041             [
1042                 "d06491a2.0b602",
1043                 "6b07cbd7.0e7d04"
1044             ]
1045         ]
1046     },
1047     {
1048         "id": "80369920.1e1528",
1049         "type": "other",
1050         "name": "CreateContrailRouteInstance",
1051         "xml": "<outcome value='CreateContrailRouteInstance'>",
1052         "comments": "",
1053         "outputs": 1,
1054         "x": 1575.555419921875,
1055         "y": 653.5184936523438,
1056         "z": "b42bbd9e.9cab",
1057         "wires": [
1058             [
1059                 "d15b9d66.afba"
1060             ]
1061         ]
1062     },
1063     {
1064         "id": "897a0281.ce1ee",
1065         "type": "other",
1066         "name": "delete",
1067         "xml": "<outcome value='delete'>",
1068         "comments": "",
1069         "outputs": 1,
1070         "x": 893.8888702392578,
1071         "y": 826.8517656326294,
1072         "z": "b42bbd9e.9cab",
1073         "wires": [
1074             [
1075                 "f3f463d2.77152"
1076             ]
1077         ]
1078     },
1079     {
1080         "id": "f3f463d2.77152",
1081         "type": "block",
1082         "name": "block : atomic",
1083         "xml": "<block atomic=\"true\">",
1084         "atomic": "true",
1085         "outputs": 1,
1086         "x": 1075.888900756836,
1087         "y": 822.851788520813,
1088         "z": "b42bbd9e.9cab",
1089         "wires": [
1090             [
1091                 "62f5a00e.aa5da"
1092             ]
1093         ]
1094     },
1095     {
1096         "id": "62f5a00e.aa5da",
1097         "type": "switchNode",
1098         "name": "switch request-action",
1099         "xml": "<switch test='`$contrail-route-topology-operation-input.request-information.request-action`'>\n",
1100         "comments": "",
1101         "outputs": 1,
1102         "x": 1292.888900756836,
1103         "y": 822.851788520813,
1104         "z": "b42bbd9e.9cab",
1105         "wires": [
1106             [
1107                 "63c7e61e.93d818",
1108                 "1d99e0e.0795e1f"
1109             ]
1110         ]
1111     },
1112     {
1113         "id": "63c7e61e.93d818",
1114         "type": "other",
1115         "name": "DeleteContrailRouteInstance",
1116         "xml": "<outcome value='DeleteContrailRouteInstance'>",
1117         "comments": "",
1118         "outputs": 1,
1119         "x": 1573.888771057129,
1120         "y": 823.8518056869507,
1121         "z": "b42bbd9e.9cab",
1122         "wires": [
1123             [
1124                 "59164fba.8b1df"
1125             ]
1126         ]
1127     },
1128     {
1129         "id": "1d99e0e.0795e1f",
1130         "type": "other",
1131         "name": "Other",
1132         "xml": "<outcome value='Other'>",
1133         "comments": "",
1134         "outputs": 1,
1135         "x": 1516.888900756836,
1136         "y": 863.851788520813,
1137         "z": "b42bbd9e.9cab",
1138         "wires": [
1139             [
1140                 "bad4ddd2.41bde"
1141             ]
1142         ]
1143     },
1144     {
1145         "id": "bad4ddd2.41bde",
1146         "type": "returnFailure",
1147         "name": "return failure",
1148         "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 to be DeleteContrailRouteInstance for svc-action=delete\" />\n",
1149         "comments": "",
1150         "x": 1685.888900756836,
1151         "y": 863.851788520813,
1152         "z": "b42bbd9e.9cab",
1153         "wires": []
1154     },
1155     {
1156         "id": "59164fba.8b1df",
1157         "type": "block",
1158         "name": "block : atomic",
1159         "xml": "<block atomic=\"true\">",
1160         "atomic": "true",
1161         "comments": "",
1162         "outputs": 1,
1163         "x": 1832.888900756836,
1164         "y": 824.851788520813,
1165         "z": "b42bbd9e.9cab",
1166         "wires": [
1167             [
1168                 "d06491a2.0b602",
1169                 "6b07cbd7.0e7d04"
1170             ]
1171         ]
1172     },
1173     {
1174         "id": "f0bb52f0.17e47",
1175         "type": "block",
1176         "name": "block",
1177         "xml": "<block>\n",
1178         "atomic": "false",
1179         "comments": "",
1180         "outputs": 1,
1181         "x": 1222.2221794128418,
1182         "y": 174.22221088409424,
1183         "z": "b42bbd9e.9cab",
1184         "wires": [
1185             []
1186         ]
1187     },
1188     {
1189         "id": "d06491a2.0b602",
1190         "type": "switchNode",
1191         "name": "switch allotted-resource-id",
1192         "xml": "<switch test='`$contrail-route-topology-operation-input.allotted-resource-information.allotted-resource-id`'>\n",
1193         "comments": "",
1194         "outputs": 1,
1195         "x": 2203.5715942382812,
1196         "y": 37.81745147705078,
1197         "z": "b42bbd9e.9cab",
1198         "wires": [
1199             [
1200                 "6091bbb5.92fcb4"
1201             ]
1202         ]
1203     },
1204     {
1205         "id": "6091bbb5.92fcb4",
1206         "type": "other",
1207         "name": "NULL",
1208         "xml": "<outcome value=''>",
1209         "comments": "",
1210         "outputs": 1,
1211         "x": 2404.107276916504,
1212         "y": 36.38887977600098,
1213         "z": "b42bbd9e.9cab",
1214         "wires": [
1215             [
1216                 "ab33d03a.508ae"
1217             ]
1218         ]
1219     },
1220     {
1221         "id": "ab33d03a.508ae",
1222         "type": "returnFailure",
1223         "name": "return failure",
1224         "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=\"allotted-resource-information.allotted-resource-id is a required input\" />\n",
1225         "comments": "",
1226         "x": 2555.535743713379,
1227         "y": 35.38887977600098,
1228         "z": "b42bbd9e.9cab",
1229         "wires": []
1230     },
1231     {
1232         "id": "344f0df1.0efab2",
1233         "type": "switchNode",
1234         "name": "switch allotted-resource-type",
1235         "xml": "<switch test='`$contrail-route-topology-operation-input.allotted-resource-information.allotted-resource-type`'>\n",
1236         "comments": "",
1237         "outputs": 1,
1238         "x": 2210.0001373291016,
1239         "y": 73.01586723327637,
1240         "z": "b42bbd9e.9cab",
1241         "wires": [
1242             [
1243                 "a58be7c1.0caec8"
1244             ]
1245         ]
1246     },
1247     {
1248         "id": "a58be7c1.0caec8",
1249         "type": "other",
1250         "name": "NULL",
1251         "xml": "<outcome value=''>",
1252         "comments": "",
1253         "outputs": 1,
1254         "x": 2410.5356826782227,
1255         "y": 71.5872974395752,
1256         "z": "b42bbd9e.9cab",
1257         "wires": [
1258             [
1259                 "fcfba520.ba2978"
1260             ]
1261         ]
1262     },
1263     {
1264         "id": "fcfba520.ba2978",
1265         "type": "returnFailure",
1266         "name": "return failure",
1267         "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=\"allotted-resource-information.allotted-resource-type is a required input\" />\n",
1268         "comments": "",
1269         "x": 2561.9641494750977,
1270         "y": 70.5872974395752,
1271         "z": "b42bbd9e.9cab",
1272         "wires": []
1273     },
1274     {
1275         "id": "6b07cbd7.0e7d04",
1276         "type": "switchNode",
1277         "name": "switch parent-service-instance-id",
1278         "xml": "<switch test='`$contrail-route-topology-operation-input.allotted-resource-information.parent-service-instance-id`'>\n",
1279         "comments": "",
1280         "outputs": 1,
1281         "x": 2222.8573837280273,
1282         "y": 108.73015213012695,
1283         "z": "b42bbd9e.9cab",
1284         "wires": [
1285             [
1286                 "b1db037c.92b1"
1287             ]
1288         ]
1289     },
1290     {
1291         "id": "b1db037c.92b1",
1292         "type": "other",
1293         "name": "NULL",
1294         "xml": "<outcome value=''>",
1295         "comments": "",
1296         "outputs": 1,
1297         "x": 2438.571533203125,
1298         "y": 105.87300872802734,
1299         "z": "b42bbd9e.9cab",
1300         "wires": [
1301             [
1302                 "9de46686.383798"
1303             ]
1304         ]
1305     },
1306     {
1307         "id": "9de46686.383798",
1308         "type": "returnFailure",
1309         "name": "return failure",
1310         "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=\"allotted-resource-information.parent-service-instance-id is a required input\" />\n",
1311         "comments": "",
1312         "x": 2590,
1313         "y": 104.87300872802734,
1314         "z": "b42bbd9e.9cab",
1315         "wires": []
1316     },
1317     {
1318         "id": "e5f84df2.f1e94",
1319         "type": "switchNode",
1320         "name": "switch source-network.network-role",
1321         "xml": "<switch test='`$contrail-route-topology-operation-input.contrail-route-request-input.source-network.network-role`'>\n",
1322         "comments": "",
1323         "outputs": 1,
1324         "x": 2232.5394897460938,
1325         "y": 303.5872793197632,
1326         "z": "b42bbd9e.9cab",
1327         "wires": [
1328             [
1329                 "b6f894c7.bdf1d8"
1330             ]
1331         ]
1332     },
1333     {
1334         "id": "b6f894c7.bdf1d8",
1335         "type": "other",
1336         "name": "NULL",
1337         "xml": "<outcome value=''>",
1338         "comments": "",
1339         "outputs": 1,
1340         "x": 2461.396903991699,
1341         "y": 298.3015818595886,
1342         "z": "b42bbd9e.9cab",
1343         "wires": [
1344             [
1345                 "d18a5c04.9d4c5"
1346             ]
1347         ]
1348     },
1349     {
1350         "id": "d18a5c04.9d4c5",
1351         "type": "returnFailure",
1352         "name": "return failure",
1353         "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=\"contrail-route-topology-operation-input.contrail-route-request-input.source-network.network-role is a required input\" />\n",
1354         "comments": "",
1355         "x": 2626.3970489501953,
1356         "y": 298.3015422821045,
1357         "z": "b42bbd9e.9cab",
1358         "wires": []
1359     },
1360     {
1361         "id": "2032eb88.550194",
1362         "type": "switchNode",
1363         "name": "switch dest-network.network-role",
1364         "xml": "<switch test='`$contrail-route-topology-operation-input.contrail-route-request-input.dest-network.network-role`'>\n",
1365         "comments": "",
1366         "outputs": 1,
1367         "x": 2226.4446754455566,
1368         "y": 336.46821308135986,
1369         "z": "b42bbd9e.9cab",
1370         "wires": [
1371             [
1372                 "96119098.5cd1d"
1373             ]
1374         ]
1375     },
1376     {
1377         "id": "96119098.5cd1d",
1378         "type": "other",
1379         "name": "NULL",
1380         "xml": "<outcome value=''>",
1381         "comments": "",
1382         "outputs": 1,
1383         "x": 2461.4448280334473,
1384         "y": 336.46821689605713,
1385         "z": "b42bbd9e.9cab",
1386         "wires": [
1387             [
1388                 "c91e6a99.23dd98"
1389             ]
1390         ]
1391     },
1392     {
1393         "id": "c91e6a99.23dd98",
1394         "type": "returnFailure",
1395         "name": "return failure",
1396         "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=\"contrail-topology-operation-input.contrail-route-request-input.dest-network.network-role is a required input\" />\n",
1397         "comments": "",
1398         "x": 2627.8732948303223,
1399         "y": 336.468186378479,
1400         "z": "b42bbd9e.9cab",
1401         "wires": []
1402     },
1403     {
1404         "id": "aa2cdb28.13b088",
1405         "type": "switchNode",
1406         "name": "switch contrail-applied-service-information.service-instance-id",
1407         "xml": "<switch test='`$contrail-route-topology-operation-input.contrail-route-request-input.contrail-applied-service-info.service-instance-id`'>\n",
1408         "comments": "",
1409         "outputs": 1,
1410         "x": 2311.111152648926,
1411         "y": 401.58727073669434,
1412         "z": "b42bbd9e.9cab",
1413         "wires": [
1414             [
1415                 "3cf17aee.5329a6"
1416             ]
1417         ]
1418     },
1419     {
1420         "id": "3cf17aee.5329a6",
1421         "type": "other",
1422         "name": "NULL",
1423         "xml": "<outcome value=''>",
1424         "comments": "",
1425         "outputs": 1,
1426         "x": 2623.2542304992676,
1427         "y": 401.3015937805176,
1428         "z": "b42bbd9e.9cab",
1429         "wires": [
1430             [
1431                 "ed461440.88de78"
1432             ]
1433         ]
1434     },
1435     {
1436         "id": "ed461440.88de78",
1437         "type": "returnFailure",
1438         "name": "return failure",
1439         "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=\"contrail-route-topology-operation-input.contrail-route-request-input.contrail-applied-service-info.service-instance-id is a required input\" />\n",
1440         "comments": "",
1441         "x": 2778.254253387451,
1442         "y": 401.5872268676758,
1443         "z": "b42bbd9e.9cab",
1444         "wires": []
1445     }
1446 ]