Merge "Enable surefire unit tests"
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_vf-module-topology-operation.json
1 [
2     {
3         "id": "95a3ee2.905f31",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 98.33332824707031,
8         "y": 85,
9         "z": "6872ec11.8012f4",
10         "wires": [
11             [
12                 "cb0de0b2.53b5e"
13             ]
14         ]
15     },
16     {
17         "id": "cb0de0b2.53b5e",
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": 173.61903381347656,
26         "y": 125.23811149597168,
27         "z": "6872ec11.8012f4",
28         "wires": [
29             [
30                 "88f9b16e.fd717"
31             ]
32         ]
33     },
34     {
35         "id": "88f9b16e.fd717",
36         "type": "method",
37         "name": "method vf-module-topology-operation",
38         "xml": "<method rpc='vf-module-topology-operation' mode='sync'>\n",
39         "comments": "",
40         "outputs": 1,
41         "x": 187.76195526123047,
42         "y": 164.9999942779541,
43         "z": "6872ec11.8012f4",
44         "wires": [
45             [
46                 "cc0d87ea.42e588"
47             ]
48         ]
49     },
50     {
51         "id": "504658a3.49bd28",
52         "type": "comment",
53         "name": "vf-module-topology-operation",
54         "info": "",
55         "comments": "",
56         "x": 492.67818450927734,
57         "y": 32.58634376525879,
58         "z": "6872ec11.8012f4",
59         "wires": []
60     },
61     {
62         "id": "cc0d87ea.42e588",
63         "type": "block",
64         "name": "block : atomic",
65         "xml": "<block atomic=\"true\">",
66         "atomic": "true",
67         "outputs": 1,
68         "x": 161.16670989990234,
69         "y": 349.36017322540283,
70         "z": "6872ec11.8012f4",
71         "wires": [
72             [
73                 "fa856f03.28331",
74                 "7676bb7a.aad3e4",
75                 "ed140240.696ee"
76             ]
77         ]
78     },
79     {
80         "id": "fa856f03.28331",
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": 453.3333320617676,
86         "y": 531.1909055709839,
87         "z": "6872ec11.8012f4",
88         "wires": []
89     },
90     {
91         "id": "7676bb7a.aad3e4",
92         "type": "switchNode",
93         "name": "switch svc-action",
94         "xml": "<switch test='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`'>\n",
95         "comments": "",
96         "outputs": 1,
97         "x": 460.9047088623047,
98         "y": 367.5714159011841,
99         "z": "6872ec11.8012f4",
100         "wires": [
101             [
102                 "865715e6.66c8a8",
103                 "60defca7.7eed64",
104                 "e80f4202.f64da",
105                 "933b1870.467508",
106                 "2ee18070.6515e"
107             ]
108         ]
109     },
110     {
111         "id": "865715e6.66c8a8",
112         "type": "outcome",
113         "name": "assign",
114         "xml": "<outcome value='assign'>\n",
115         "comments": "",
116         "outputs": 1,
117         "x": 673.7142486572266,
118         "y": 292.85723400115967,
119         "z": "6872ec11.8012f4",
120         "wires": [
121             [
122                 "176e8d1f.b28273"
123             ]
124         ]
125     },
126     {
127         "id": "60defca7.7eed64",
128         "type": "outcome",
129         "name": "unassign",
130         "xml": "<outcome value='unassign'>\n",
131         "comments": "",
132         "outputs": 1,
133         "x": 682.0952339172363,
134         "y": 439.0479259490967,
135         "z": "6872ec11.8012f4",
136         "wires": [
137             [
138                 "b794ebfe.90b468"
139             ]
140         ]
141     },
142     {
143         "id": "933b1870.467508",
144         "type": "other",
145         "name": "other",
146         "xml": "<outcome value='Other'>\n",
147         "comments": "",
148         "outputs": 1,
149         "x": 673.8094635009766,
150         "y": 488.57139110565186,
151         "z": "6872ec11.8012f4",
152         "wires": [
153             [
154                 "65cfc979.37f8c8"
155             ]
156         ]
157     },
158     {
159         "id": "65cfc979.37f8c8",
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": 857.9999084472656,
165         "y": 488.57145595550537,
166         "z": "6872ec11.8012f4",
167         "wires": []
168     },
169     {
170         "id": "ed140240.696ee",
171         "type": "call",
172         "name": "call GENERIC-RESOURCE-API:validate-vf-module-input",
173         "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-vf-module-input' mode='sync' >\n",
174         "comments": "",
175         "outputs": 1,
176         "x": 583.4166107177734,
177         "y": 242.3810567855835,
178         "z": "6872ec11.8012f4",
179         "wires": [
180             []
181         ]
182     },
183     {
184         "id": "176e8d1f.b28273",
185         "type": "call",
186         "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-assign",
187         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-assign' mode='sync' >\n",
188         "comments": "",
189         "outputs": 1,
190         "x": 1035.8571014404297,
191         "y": 292.4286947250366,
192         "z": "6872ec11.8012f4",
193         "wires": [
194             []
195         ]
196     },
197     {
198         "id": "d080b6cc.baf0a8",
199         "type": "call",
200         "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-deactivate",
201         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-deactivate' mode='sync' >\n",
202         "comments": "",
203         "outputs": 1,
204         "x": 1047.8570594787598,
205         "y": 389.0953378677368,
206         "z": "6872ec11.8012f4",
207         "wires": [
208             []
209         ]
210     },
211     {
212         "id": "b794ebfe.90b468",
213         "type": "call",
214         "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-unassign",
215         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-unassign' mode='sync' >\n",
216         "comments": "",
217         "outputs": 1,
218         "x": 1042.190330505371,
219         "y": 438.7620573043823,
220         "z": "6872ec11.8012f4",
221         "wires": [
222             []
223         ]
224     },
225     {
226         "id": "e80f4202.f64da",
227         "type": "outcome",
228         "name": "deactivate",
229         "xml": "<outcome value='deactivate'>\n",
230         "comments": "",
231         "outputs": 1,
232         "x": 686.1903266906738,
233         "y": 389.7620153427124,
234         "z": "6872ec11.8012f4",
235         "wires": [
236             [
237                 "d080b6cc.baf0a8"
238             ]
239         ]
240     },
241     {
242         "id": "6dfc037a.3d846c",
243         "type": "call",
244         "name": "call GENERIC-RESOURCE-API:vf-module-topology-operation-activate",
245         "xml": "<call module='GENERIC-RESOURCE-API' rpc='vf-module-topology-operation-activate' mode='sync' >\n",
246         "comments": "",
247         "outputs": 1,
248         "x": 1048.3333053588867,
249         "y": 339.9999837875366,
250         "z": "6872ec11.8012f4",
251         "wires": [
252             []
253         ]
254     },
255     {
256         "id": "2ee18070.6515e",
257         "type": "outcome",
258         "name": "activate",
259         "xml": "<outcome value='activate'>\n",
260         "comments": "",
261         "outputs": 1,
262         "x": 678.3332710266113,
263         "y": 340.6666650772095,
264         "z": "6872ec11.8012f4",
265         "wires": [
266             [
267                 "6dfc037a.3d846c"
268             ]
269         ]
270     }
271 ]