Plaform Hardening for DG Json files - Part 4
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / main / resources / json / Appc-API / Appc-API_method_Generic_Evacuate_2.0.0.json
1 [\r
2     {\r
3         "id": "a83fc34.6924bc",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 177,\r
8         "y": 100,\r
9         "z": "f4cf2376.c92f4",\r
10         "wires": [\r
11             [\r
12                 "531a3928.a7bb9"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "531a3928.a7bb9",\r
18         "type": "service-logic",\r
19         "name": "Appc-API 2.0.0",\r
20         "module": "Appc-API",\r
21         "version": "2.0.0",\r
22         "comments": "",\r
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='Appc-API' version='2.0.0'>",\r
24         "outputs": 1,\r
25         "x": 365,\r
26         "y": 101,\r
27         "z": "f4cf2376.c92f4",\r
28         "wires": [\r
29             [\r
30                 "352baa79.80aee6"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "352baa79.80aee6",\r
36         "type": "method",\r
37         "name": "Generic_Evacuate",\r
38         "xml": "<method rpc='Generic_Evacuate' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 269,\r
42         "y": 231,\r
43         "z": "f4cf2376.c92f4",\r
44         "wires": [\r
45             [\r
46                 "c748601f.21dab8"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "75bc6e9a.dd5c9",\r
52         "type": "execute",\r
53         "name": "execute: evacuate",\r
54         "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='evacuateServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$vm-id`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$identity-url`\" />\n<parameter name=\"org.onap.appc.tenant.id\" value=\"`$tenant-id`\" />\n<parameter name=\"org.onap.appc.rebuildvm\" value=\"`$rebuild-vm`\" />\n<parameter name=\"org.onap.appc.targethost.id\" value=\"`$targethost-id`\" />\n\n",\r
55         "comments": "",\r
56         "outputs": 1,\r
57         "x": 411,\r
58         "y": 523,\r
59         "z": "f4cf2376.c92f4",\r
60         "wires": [\r
61             [\r
62                 "eb6db261.bc7b28",\r
63                 "47819cc2.30deac"\r
64             ]\r
65         ]\r
66     },\r
67     {\r
68         "id": "eb6db261.bc7b28",\r
69         "type": "success",\r
70         "name": "success",\r
71         "xml": "<outcome value='success'>\n",\r
72         "comments": "",\r
73         "outputs": 1,\r
74         "x": 601,\r
75         "y": 571,\r
76         "z": "f4cf2376.c92f4",\r
77         "wires": [\r
78             [\r
79                 "97cc1ef3.9ec4f"\r
80             ]\r
81         ]\r
82     },\r
83     {\r
84         "id": "47819cc2.30deac",\r
85         "type": "other",\r
86         "name": "other",\r
87         "xml": "<outcome value='Other'>\n",\r
88         "comments": "",\r
89         "outputs": 1,\r
90         "x": 591,\r
91         "y": 462,\r
92         "z": "f4cf2376.c92f4",\r
93         "wires": [\r
94             [\r
95                 "b00d6f4f.ffcb88"\r
96             ]\r
97         ]\r
98     },\r
99     {\r
100         "id": "9b05722c.840468",\r
101         "type": "returnSuccess",\r
102         "name": "return success",\r
103         "xml": "<return status='success'>",\r
104         "comments": "",\r
105         "x": 1095,\r
106         "y": 501,\r
107         "z": "f4cf2376.c92f4",\r
108         "wires": []\r
109     },\r
110     {\r
111         "id": "b00d6f4f.ffcb88",\r
112         "type": "returnFailure",\r
113         "name": "return failure",\r
114         "xml": "<return status='failure'>",\r
115         "comments": "",\r
116         "x": 753,\r
117         "y": 462,\r
118         "z": "f4cf2376.c92f4",\r
119         "wires": []\r
120     },\r
121     {\r
122         "id": "c748601f.21dab8",\r
123         "type": "execute",\r
124         "name": "execute: flatAndAddToContext",\r
125         "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />\n",\r
126         "comments": "",\r
127         "outputs": 1,\r
128         "x": 293,\r
129         "y": 350,\r
130         "z": "f4cf2376.c92f4",\r
131         "wires": [\r
132             [\r
133                 "75fbe835.95b8a8",\r
134                 "b3f66172.ffd75"\r
135             ]\r
136         ]\r
137     },\r
138     {\r
139         "id": "75fbe835.95b8a8",\r
140         "type": "success",\r
141         "name": "success",\r
142         "xml": "<outcome value='success'>\n",\r
143         "comments": "",\r
144         "outputs": 1,\r
145         "x": 229,\r
146         "y": 523,\r
147         "z": "f4cf2376.c92f4",\r
148         "wires": [\r
149             [\r
150                 "75bc6e9a.dd5c9"\r
151             ]\r
152         ]\r
153     },\r
154     {\r
155         "id": "b3f66172.ffd75",\r
156         "type": "other",\r
157         "name": "other",\r
158         "xml": "<outcome value='Other'>\n",\r
159         "comments": "",\r
160         "outputs": 1,\r
161         "x": 526,\r
162         "y": 287,\r
163         "z": "f4cf2376.c92f4",\r
164         "wires": [\r
165             [\r
166                 "53bd08e0.7b10f"\r
167             ]\r
168         ]\r
169     },\r
170     {\r
171         "id": "53bd08e0.7b10f",\r
172         "type": "returnFailure",\r
173         "name": "return failure",\r
174         "xml": "<return status='failure'>\n",\r
175         "comments": "",\r
176         "x": 711,\r
177         "y": 287,\r
178         "z": "f4cf2376.c92f4",\r
179         "wires": []\r
180     },\r
181     {\r
182         "id": "97cc1ef3.9ec4f",\r
183         "type": "switchNode",\r
184         "name": "switch",\r
185         "xml": "<switch test='`$EVACUATE_STATUS`'>\n",\r
186         "comments": "",\r
187         "outputs": 1,\r
188         "x": 755,\r
189         "y": 571,\r
190         "z": "f4cf2376.c92f4",\r
191         "wires": [\r
192             [\r
193                 "6c8bad6c.9d4904",\r
194                 "629304e4.1ee93c"\r
195             ]\r
196         ]\r
197     },\r
198     {\r
199         "id": "6c8bad6c.9d4904",\r
200         "type": "success",\r
201         "name": "SUCCESS",\r
202         "xml": "<outcome value='SUCCESS'>\n",\r
203         "comments": "",\r
204         "outputs": 1,\r
205         "x": 922,\r
206         "y": 502,\r
207         "z": "f4cf2376.c92f4",\r
208         "wires": [\r
209             [\r
210                 "9b05722c.840468"\r
211             ]\r
212         ]\r
213     },\r
214     {\r
215         "id": "629304e4.1ee93c",\r
216         "type": "outcome",\r
217         "name": "ERROR",\r
218         "xml": "<outcome value='ERROR'>\n",\r
219         "comments": "",\r
220         "outputs": 1,\r
221         "x": 922,\r
222         "y": 637,\r
223         "z": "f4cf2376.c92f4",\r
224         "wires": [\r
225             [\r
226                 "8fdc00fc.50b118"\r
227             ]\r
228         ]\r
229     },\r
230     {\r
231         "id": "be82d5f2.b11a9",\r
232         "type": "set",\r
233         "name": "set output message",\r
234         "xml": "<set>\n<parameter name='output.status.message' value=\"`$error-message`\" />\n",\r
235         "comments": "",\r
236         "x": 1253,\r
237         "y": 636,\r
238         "z": "f4cf2376.c92f4",\r
239         "wires": []\r
240     },\r
241     {\r
242         "id": "8fdc00fc.50b118",\r
243         "type": "block",\r
244         "name": "block",\r
245         "xml": "<block>\n",\r
246         "atomic": "false",\r
247         "comments": "",\r
248         "outputs": 1,\r
249         "x": 1067,\r
250         "y": 636,\r
251         "z": "f4cf2376.c92f4",\r
252         "wires": [\r
253             [\r
254                 "be82d5f2.b11a9",\r
255                 "eca3cbfd.19b238"\r
256             ]\r
257         ]\r
258     },\r
259     {\r
260         "id": "eca3cbfd.19b238",\r
261         "type": "returnFailure",\r
262         "name": "return failure",\r
263         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
264         "comments": "",\r
265         "x": 1241,\r
266         "y": 697,\r
267         "z": "f4cf2376.c92f4",\r
268         "wires": []\r
269     }\r
270 ]\r