Remove license from json dgs
[appc/deployment.git] / platform-logic / appc / src / main / json / dg-loader-dgs / APPC / APPC_VM_Stop.json
1 [
2   {
3     "id": "a36507bd.9411a8",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 129,
8     "y": 66,
9     "z": "602aa70d.a192e8",
10     "wires": [
11       [
12         "c156b4fa.66d0a8"
13       ]
14     ]
15   },
16   {
17     "id": "c156b4fa.66d0a8",
18     "type": "service-logic",
19     "name": "APPC 2.0.0",
20     "module": "APPC",
21     "version": "2.0.0",
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='APPC' version='2.0.0'>",
24     "outputs": 1,
25     "x": 306.0000915527344,
26     "y": 65.5666732788086,
27     "z": "602aa70d.a192e8",
28     "wires": [
29       [
30         "6c3d7cf.b631784"
31       ]
32     ]
33   },
34   {
35     "id": "6c3d7cf.b631784",
36     "type": "method",
37     "name": "VM_Stop",
38     "xml": "<method rpc='VM_Stop' mode='sync'>\n",
39     "comments": "",
40     "outputs": 1,
41     "x": 248.46435165405273,
42     "y": 157.3880786895752,
43     "z": "602aa70d.a192e8",
44     "wires": [
45       [
46         "8896d091.49bc2"
47       ]
48     ]
49   },
50   {
51     "id": "8896d091.49bc2",
52     "type": "execute",
53     "name": "Stop",
54     "xml": "<execute plugin='org.openecomp.appc.adapter.iaas.ProviderAdapter' method='stopServer'>\n<parameter name=\"org.openecomp.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"org.openecomp.appc.instance.url\" value=\"`$vm-id`\" />\n<parameter name=\"org.openecomp.appc.identity.url\" value=\"`$identity-url`\" />\n",
55     "comments": "",
56     "outputs": 1,
57     "x": 409,
58     "y": 158.50000762939453,
59     "z": "602aa70d.a192e8",
60     "wires": [
61       [
62         "985b942b.ec64e8",
63         "34939973.cf1fd6"
64       ]
65     ]
66   },
67   {
68     "id": "34939973.cf1fd6",
69     "type": "success",
70     "name": "success",
71     "xml": "<outcome value='success'>\n",
72     "comments": "",
73     "outputs": 1,
74     "x": 582.1170654296875,
75     "y": 159.4286117553711,
76     "z": "602aa70d.a192e8",
77     "wires": [
78       [
79         "f35d3b53.86e768"
80       ]
81     ]
82   },
83   {
84     "id": "f35d3b53.86e768",
85     "type": "switchNode",
86     "name": "switch STATUS",
87     "xml": "<switch test='`$STOP_STATUS`'>\n",
88     "comments": "",
89     "outputs": 1,
90     "x": 764.9102783203125,
91     "y": 158.98406219482422,
92     "z": "602aa70d.a192e8",
93     "wires": [
94       [
95         "885dbd51.87507",
96         "10f2aa34.ea80d6"
97       ]
98     ]
99   },
100   {
101     "id": "985b942b.ec64e8",
102     "type": "failure",
103     "name": "failure",
104     "xml": "<outcome value='failure'>\n",
105     "comments": "",
106     "outputs": 1,
107     "x": 589.9047241210938,
108     "y": 342.07161712646484,
109     "z": "602aa70d.a192e8",
110     "wires": [
111       [
112         "28dfcdd7.ba3e32"
113       ]
114     ]
115   },
116   {
117     "id": "9d1c57f6.77ce08",
118     "type": "returnFailure",
119     "name": "return failure",
120     "xml": "<return status='failure'>\n",
121     "comments": "",
122     "x": 1315,
123     "y": 408.7500228881836,
124     "z": "602aa70d.a192e8",
125     "wires": []
126   },
127   {
128     "id": "885dbd51.87507",
129     "type": "success",
130     "name": "SUCCESS",
131     "xml": "<outcome value='SUCCESS'>\n",
132     "comments": "",
133     "outputs": 1,
134     "x": 958.5,
135     "y": 133.5,
136     "z": "602aa70d.a192e8",
137     "wires": [
138       [
139         "8b1c6f1d.bf4c"
140       ]
141     ]
142   },
143   {
144     "id": "10f2aa34.ea80d6",
145     "type": "other",
146     "name": "ERROR",
147     "xml": "<outcome value='ERROR'>\n",
148     "comments": "",
149     "outputs": 1,
150     "x": 947.5713500976562,
151     "y": 205.0000457763672,
152     "z": "602aa70d.a192e8",
153     "wires": [
154       [
155         "149167fb.227158"
156       ]
157     ]
158   },
159   {
160     "id": "ec5b4ab9.b62488",
161     "type": "set",
162     "name": "set success code and message",
163     "xml": "<set>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='Success' />\n",
164     "comments": "",
165     "x": 1361,
166     "y": 109.5666732788086,
167     "z": "602aa70d.a192e8",
168     "wires": []
169   },
170   {
171     "id": "fdfee58d.d86908",
172     "type": "returnSuccess",
173     "name": "return success",
174     "xml": "<return status='success'>\n",
175     "comments": "",
176     "x": 1316,
177     "y": 173.56666564941406,
178     "z": "602aa70d.a192e8",
179     "wires": []
180   },
181   {
182     "id": "149167fb.227158",
183     "type": "block",
184     "name": "block : atomic",
185     "xml": "<block atomic='true'>",
186     "atomic": "true",
187     "comments": "",
188     "outputs": 1,
189     "x": 1119,
190     "y": 214.56666564941406,
191     "z": "602aa70d.a192e8",
192     "wires": [
193       [
194         "32f7f639.b0517a",
195         "9d1c57f6.77ce08"
196       ]
197     ]
198   },
199   {
200     "id": "28dfcdd7.ba3e32",
201     "type": "block",
202     "name": "block : atomic",
203     "xml": "<block atomic='true'>",
204     "atomic": "true",
205     "comments": "",
206     "outputs": 1,
207     "x": 765,
208     "y": 341.5666732788086,
209     "z": "602aa70d.a192e8",
210     "wires": [
211       [
212         "dcf150a2.8fa62",
213         "9d1c57f6.77ce08"
214       ]
215     ]
216   },
217   {
218     "id": "32f7f639.b0517a",
219     "type": "set",
220     "name": "set error code and message",
221     "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Stop VM status is error' />\n",
222     "comments": "",
223     "x": 1345,
224     "y": 241.5666732788086,
225     "z": "602aa70d.a192e8",
226     "wires": []
227   },
228   {
229     "id": "dcf150a2.8fa62",
230     "type": "set",
231     "name": "set error code and message",
232     "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Stop VM failed' />\n",
233     "comments": "",
234     "x": 1056,
235     "y": 309.5666732788086,
236     "z": "602aa70d.a192e8",
237     "wires": []
238   },
239   {
240     "id": "8b1c6f1d.bf4c",
241     "type": "block",
242     "name": "block : atomic",
243     "xml": "<block atomic='true'>\n",
244     "atomic": "false",
245     "comments": "",
246     "outputs": 1,
247     "x": 1120,
248     "y": 142,
249     "z": "602aa70d.a192e8",
250     "wires": [
251       [
252         "ec5b4ab9.b62488",
253         "fdfee58d.d86908"
254       ]
255     ]
256   }
257 ]