Update version of node base image
[appc/deployment.git] / platform-logic / appc / src / main / json / dg-loader-dgs / Dispatcher-DG / Appc-API_2.0.0.0_method_VSCP_UpgradePreconditionCheck.json
1 [
2     {
3         "id": "ce2213a9.8b1db",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 113,
8         "y": 70,
9         "z": "3adbb6b3.ff597a",
10         "wires": [
11             [
12                 "c59f5d5e.ea6f8"
13             ]
14         ]
15     },
16     {
17         "id": "c59f5d5e.ea6f8",
18         "type": "service-logic",
19         "name": "Appc-API 2.0.0.0",
20         "module": "Appc-API",
21         "version": "2.0.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-API' version='2.0.0.0'>",
24         "outputs": 1,
25         "x": 186,
26         "y": 123.99999237060547,
27         "z": "3adbb6b3.ff597a",
28         "wires": [
29             [
30                 "933cde30.9a082"
31             ]
32         ]
33     },
34     {
35         "id": "933cde30.9a082",
36         "type": "method",
37         "name": "VSCP_UpgradePreconditionCheck",
38         "xml": "<method rpc='VSCP_UpgradePreconditionCheck' mode='sync'>\n",
39         "comments": "",
40         "outputs": 1,
41         "x": 301,
42         "y": 174.99999237060547,
43         "z": "3adbb6b3.ff597a",
44         "wires": [
45             [
46                 "d55c4630.1bcfc8"
47             ]
48         ]
49     },
50     {
51         "id": "d55c4630.1bcfc8",
52         "type": "call",
53         "name": "call_VSCP_HealthCheck",
54         "xml": "<call rpc='VSCP_HealthCheck' mode='sync' version='2.0.0.0' >\n",
55         "comments": "",
56         "outputs": 1,
57         "x": 347,
58         "y": 239.99999237060547,
59         "z": "3adbb6b3.ff597a",
60         "wires": [
61             [
62                 "77b0172.d053ce8",
63                 "136d1da3.0df512"
64             ]
65         ]
66     },
67     {
68         "id": "136d1da3.0df512",
69         "type": "success",
70         "name": "success",
71         "xml": "<outcome value='success'>\n",
72         "comments": "",
73         "outputs": 1,
74         "x": 549.9999694824219,
75         "y": 286.99999237060547,
76         "z": "3adbb6b3.ff597a",
77         "wires": [
78             [
79                 "85331eac.44b8c"
80             ]
81         ]
82     },
83     {
84         "id": "77b0172.d053ce8",
85         "type": "other",
86         "name": "other",
87         "xml": "<outcome value='Other'>\n",
88         "comments": "",
89         "outputs": 1,
90         "x": 541.9999694824219,
91         "y": 239.99999237060547,
92         "z": "3adbb6b3.ff597a",
93         "wires": [
94             [
95                 "631a551d.c6b7bc"
96             ]
97         ]
98     },
99     {
100         "id": "631a551d.c6b7bc",
101         "type": "execute",
102         "name": "execute: handleErrorToDCAE",
103         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n<parameter name='output.status.message' value=\"`$error-message`\"/>\n",
104         "comments": "",
105         "outputs": 1,
106         "x": 986,
107         "y": 345.9999694824219,
108         "z": "3adbb6b3.ff597a",
109         "wires": [
110             [
111                 "8d35aa54.0046a8"
112             ]
113         ]
114     },
115     {
116         "id": "1290b9ad.560676",
117         "type": "returnFailure",
118         "name": "return failure",
119         "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$error-message`' />\n<parameter name='output.status.code' value='401'/>\n",
120         "comments": "",
121         "x": 1343,
122         "y": 346.0000305175781,
123         "z": "3adbb6b3.ff597a",
124         "wires": []
125     },
126     {
127         "id": "85331eac.44b8c",
128         "type": "execute",
129         "name": "Execute: PreUpgradeHealthCheck",
130         "xml": "<execute plugin='com.att.appc.dg.vSCP.v3_5_5.VSCPDGUtils' method='executePreUpgradeHealthCheck'>\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />",
131         "comments": "",
132         "outputs": 1,
133         "x": 311.9999694824219,
134         "y": 384.0000305175781,
135         "z": "3adbb6b3.ff597a",
136         "wires": [
137             [
138                 "668bbccc.14b154",
139                 "4e1ac240.56a37c"
140             ]
141         ]
142     },
143     {
144         "id": "4e1ac240.56a37c",
145         "type": "success",
146         "name": "success",
147         "xml": "<outcome value='success'>\n",
148         "comments": "",
149         "outputs": 1,
150         "x": 551,
151         "y": 398.0000305175781,
152         "z": "3adbb6b3.ff597a",
153         "wires": [
154             [
155                 "5d443bdd.126684"
156             ]
157         ]
158     },
159     {
160         "id": "668bbccc.14b154",
161         "type": "other",
162         "name": "other",
163         "xml": "<outcome value='Other'>\n",
164         "comments": "",
165         "outputs": 1,
166         "x": 548,
167         "y": 344,
168         "z": "3adbb6b3.ff597a",
169         "wires": [
170             [
171                 "6efa56e5.3d01c8"
172             ]
173         ]
174     },
175     {
176         "id": "5d443bdd.126684",
177         "type": "returnSuccess",
178         "name": "return success",
179         "xml": "<return status='success'>\n<parameter name='error-code' value='400' />\n",
180         "comments": "",
181         "x": 731,
182         "y": 401.0000305175781,
183         "z": "3adbb6b3.ff597a",
184         "wires": []
185     },
186     {
187         "id": "6efa56e5.3d01c8",
188         "type": "block",
189         "name": "block",
190         "xml": "<block>\n",
191         "atomic": "false",
192         "comments": "",
193         "outputs": 1,
194         "x": 716,
195         "y": 345,
196         "z": "3adbb6b3.ff597a",
197         "wires": [
198             [
199                 "631a551d.c6b7bc",
200                 "d51f8ea3.b2afc"
201             ]
202         ]
203     },
204     {
205         "id": "8d35aa54.0046a8",
206         "type": "success",
207         "name": "success",
208         "xml": "<outcome value='success'>\n",
209         "comments": "",
210         "outputs": 1,
211         "x": 1192,
212         "y": 346,
213         "z": "3adbb6b3.ff597a",
214         "wires": [
215             [
216                 "1290b9ad.560676"
217             ]
218         ]
219     },
220     {
221         "id": "d51f8ea3.b2afc",
222         "type": "set",
223         "name": "set",
224         "xml": "<set>\n<parameter name='error-message' value='Failed to retrieve SSH credentials' />\n",
225         "comments": "",
226         "x": 911,
227         "y": 297,
228         "z": "3adbb6b3.ff597a",
229         "wires": []
230     }
231 ]