Merge "Enable surefire unit tests"
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_vnf-topology-operation.json
1 [
2     {
3         "id": "7fb1a187.9549f",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 96.66666412353516,
8         "y": 86.66666412353516,
9         "z": "dcb795e3.12ddb8",
10         "wires": [
11             [
12                 "c2b8a7b8.a5e428"
13             ]
14         ]
15     },
16     {
17         "id": "c2b8a7b8.a5e428",
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": 171.9523696899414,
26         "y": 126.90477561950684,
27         "z": "dcb795e3.12ddb8",
28         "wires": [
29             [
30                 "89a5ce6c.8a947"
31             ]
32         ]
33     },
34     {
35         "id": "89a5ce6c.8a947",
36         "type": "method",
37         "name": "method vnf-topology-operation",
38         "xml": "<method rpc='vnf-topology-operation' mode='sync'>\n",
39         "comments": "",
40         "outputs": 1,
41         "x": 165.0952911376953,
42         "y": 166.66665840148926,
43         "z": "dcb795e3.12ddb8",
44         "wires": [
45             [
46                 "baea3ff6.bd225"
47             ]
48         ]
49     },
50     {
51         "id": "435f3efd.64ab3",
52         "type": "comment",
53         "name": "vnf-topology-operation",
54         "info": "",
55         "comments": "",
56         "x": 491.0115203857422,
57         "y": 34.253007888793945,
58         "z": "dcb795e3.12ddb8",
59         "wires": []
60     },
61     {
62         "id": "baea3ff6.bd225",
63         "type": "block",
64         "name": "block : atomic",
65         "xml": "<block atomic=\"true\">",
66         "atomic": "true",
67         "outputs": 1,
68         "x": 177.8333740234375,
69         "y": 334.36017417907715,
70         "z": "dcb795e3.12ddb8",
71         "wires": [
72             [
73                 "f2687cfc.01d4c",
74                 "b4265d07.b24f2",
75                 "b14b13c7.baa14"
76             ]
77         ]
78     },
79     {
80         "id": "f2687cfc.01d4c",
81         "type": "returnSuccess",
82         "name": "return success",
83         "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",
84         "comments": "",
85         "x": 470.3333282470703,
86         "y": 484.52420711517334,
87         "z": "dcb795e3.12ddb8",
88         "wires": []
89     },
90     {
91         "id": "b4265d07.b24f2",
92         "type": "switchNode",
93         "name": "switch svc-action",
94         "xml": "<switch test='`$vnf-topology-operation-input.sdnc-request-header.svc-action`'>\n",
95         "comments": "",
96         "outputs": 1,
97         "x": 473.23804473876953,
98         "y": 332.5714178085327,
99         "z": "dcb795e3.12ddb8",
100         "wires": [
101             [
102                 "76164f7d.903b1",
103                 "117347a9.8b7218",
104                 "e07500fb.cff53",
105                 "9b91fc07.60be4",
106                 "bc77aaba.4aabe8"
107             ]
108         ]
109     },
110     {
111         "id": "76164f7d.903b1",
112         "type": "outcome",
113         "name": "assign",
114         "xml": "<outcome value='assign'>\n",
115         "comments": "",
116         "outputs": 1,
117         "x": 672.0475540161133,
118         "y": 265.1905632019043,
119         "z": "dcb795e3.12ddb8",
120         "wires": [
121             [
122                 "5ec13553.7c0efc"
123             ]
124         ]
125     },
126     {
127         "id": "117347a9.8b7218",
128         "type": "outcome",
129         "name": "unassign",
130         "xml": "<outcome value='unassign'>\n",
131         "comments": "",
132         "outputs": 1,
133         "x": 676.0951766967773,
134         "y": 395.38128662109375,
135         "z": "dcb795e3.12ddb8",
136         "wires": [
137             [
138                 "9d96816e.64ca5"
139             ]
140         ]
141     },
142     {
143         "id": "9b91fc07.60be4",
144         "type": "other",
145         "name": "other",
146         "xml": "<outcome value='Other'>\n",
147         "comments": "",
148         "outputs": 1,
149         "x": 670.8094024658203,
150         "y": 439.57136249542236,
151         "z": "dcb795e3.12ddb8",
152         "wires": [
153             [
154                 "2717cc4c.7bccc4"
155             ]
156         ]
157     },
158     {
159         "id": "2717cc4c.7bccc4",
160         "type": "returnFailure",
161         "name": "return failure",
162         "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-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n",
163         "comments": "",
164         "x": 856.9998474121094,
165         "y": 439.5714273452759,
166         "z": "dcb795e3.12ddb8",
167         "wires": []
168     },
169     {
170         "id": "b14b13c7.baa14",
171         "type": "call",
172         "name": "call GENERIC-RESOURCE-API:validate-vnf-input",
173         "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-vnf-input' mode='sync' >\n",
174         "comments": "",
175         "outputs": 1,
176         "x": 579.0832977294922,
177         "y": 224.04770278930664,
178         "z": "dcb795e3.12ddb8",
179         "wires": [
180             []
181         ]
182     },
183     {
184         "id": "5ec13553.7c0efc",
185         "type": "call",
186         "name": "call GENERIC-RESOURCE-API:vnf-topology-operation-assign",
187         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-assign' mode='sync' >\n",
188         "comments": "",
189         "outputs": 1,
190         "x": 1014.1904067993164,
191         "y": 264.76202392578125,
192         "z": "dcb795e3.12ddb8",
193         "wires": [
194             []
195         ]
196     },
197     {
198         "id": "3e660d10.204032",
199         "type": "call",
200         "name": "call GENERIC-RESOURCE-API:vnf-topology-operation-deactivate",
201         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-deactivate' mode='sync' >\n",
202         "comments": "",
203         "outputs": 1,
204         "x": 1025.5236740112305,
205         "y": 349.0953722000122,
206         "z": "dcb795e3.12ddb8",
207         "wires": [
208             []
209         ]
210     },
211     {
212         "id": "9d96816e.64ca5",
213         "type": "call",
214         "name": "call GENERIC-RESOURCE-API:vnf-topology-operation-unassign",
215         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-unassign' mode='sync' >\n",
216         "comments": "",
217         "outputs": 1,
218         "x": 1021.1902732849121,
219         "y": 395.0954179763794,
220         "z": "dcb795e3.12ddb8",
221         "wires": [
222             []
223         ]
224     },
225     {
226         "id": "e07500fb.cff53",
227         "type": "outcome",
228         "name": "deactivate",
229         "xml": "<outcome value='deactivate'>\n",
230         "comments": "",
231         "outputs": 1,
232         "x": 681.190315246582,
233         "y": 349.76204776763916,
234         "z": "dcb795e3.12ddb8",
235         "wires": [
236             [
237                 "3e660d10.204032"
238             ]
239         ]
240     },
241     {
242         "id": "1d805763.8f6c79",
243         "type": "call",
244         "name": "call GENERIC-RESOURCE-API:vnf-topology-operation-activate",
245         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-activate' mode='sync' >\n",
246         "comments": "",
247         "outputs": 1,
248         "x": 1018.333251953125,
249         "y": 306.6666555404663,
250         "z": "dcb795e3.12ddb8",
251         "wires": [
252             []
253         ]
254     },
255     {
256         "id": "bc77aaba.4aabe8",
257         "type": "outcome",
258         "name": "activate",
259         "xml": "<outcome value='activate'>\n",
260         "comments": "",
261         "outputs": 1,
262         "x": 674.9998931884766,
263         "y": 307.33333110809326,
264         "z": "dcb795e3.12ddb8",
265         "wires": [
266             [
267                 "1d805763.8f6c79"
268             ]
269         ]
270     }
271 ]