Removing old name references
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / main / resources / json / APPC / APPC_DownloadRestconfConfig.json
1 [\r
2     {\r
3         "id": "3126cb82.bde234",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 213,\r
8         "y": 173,\r
9         "z": "56a1115e.b25a6",\r
10         "wires": [\r
11             [\r
12                 "69732ca.15072d4"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "69732ca.15072d4",\r
18         "type": "service-logic",\r
19         "name": "APPC 4.0.0",\r
20         "module": "APPC",\r
21         "version": "3.1.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' version='4.0.0'>",\r
24         "outputs": 1,\r
25         "x": 390,\r
26         "y": 172,\r
27         "z": "56a1115e.b25a6",\r
28         "wires": [\r
29             [\r
30                 "c3bb9820.c5f438"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "c3bb9820.c5f438",\r
36         "type": "method",\r
37         "name": "method DownloadRestconfConfig",\r
38         "xml": "<method rpc='DownloadRestconfConfig' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 617,\r
42         "y": 174,\r
43         "z": "56a1115e.b25a6",\r
44         "wires": [\r
45             [\r
46                 "63b0d96d.c7ed58"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "b7e24e35.0af5c",\r
52         "type": "execute",\r
53         "name": "execute : Download Configuration",\r
54         "xml": "<execute plugin='org.onap.sdnc.restconf.RestConfCallNode' method='downloadDeviceConfiguration' >\n<parameter name=\"hostIpAddress\" value=\"`$host-ip-address`\"/>\n<parameter name=\"configData\" value=\"`$device-config`\"/>\n<parameter name=\"protocol\" value=\"`$protocol`\"/>\n<parameter name=\"unescapeXML\" value=\"N\"/>\n<parameter name=\"validateXML\" value=\"Y\"/>\n\n\n\n\n",\r
55         "comments": "",\r
56         "outputs": 1,\r
57         "x": 523,\r
58         "y": 499,\r
59         "z": "56a1115e.b25a6",\r
60         "wires": [\r
61             [\r
62                 "999fa5d2.747998",\r
63                 "f56e2430.ba53a8",\r
64                 "4aff51e4.d3676"\r
65             ]\r
66         ]\r
67     },\r
68     {\r
69         "id": "999fa5d2.747998",\r
70         "type": "success",\r
71         "name": "success",\r
72         "xml": "<outcome value='success'>\n",\r
73         "comments": "",\r
74         "outputs": 1,\r
75         "x": 872,\r
76         "y": 522,\r
77         "z": "56a1115e.b25a6",\r
78         "wires": [\r
79             [\r
80                 "20e1274a.24dd08"\r
81             ]\r
82         ]\r
83     },\r
84     {\r
85         "id": "f56e2430.ba53a8",\r
86         "type": "failure",\r
87         "name": "failure",\r
88         "xml": "<outcome value='failure'>\n",\r
89         "comments": "",\r
90         "outputs": 1,\r
91         "x": 874,\r
92         "y": 423,\r
93         "z": "56a1115e.b25a6",\r
94         "wires": [\r
95             [\r
96                 "c28a56e6.0033e8"\r
97             ]\r
98         ]\r
99     },\r
100     {\r
101         "id": "4aff51e4.d3676",\r
102         "type": "other",\r
103         "name": "other",\r
104         "xml": "<outcome value='Other'>\n",\r
105         "comments": "",\r
106         "outputs": 1,\r
107         "x": 869,\r
108         "y": 469,\r
109         "z": "56a1115e.b25a6",\r
110         "wires": [\r
111             [\r
112                 "c28a56e6.0033e8"\r
113             ]\r
114         ]\r
115     },\r
116     {\r
117         "id": "c28a56e6.0033e8",\r
118         "type": "block",\r
119         "name": "block",\r
120         "xml": "<block>\n",\r
121         "atomic": "false",\r
122         "comments": "",\r
123         "outputs": 1,\r
124         "x": 1041,\r
125         "y": 450,\r
126         "z": "56a1115e.b25a6",\r
127         "wires": [\r
128             [\r
129                 "96239c4e.3a9b3"\r
130             ]\r
131         ]\r
132     },\r
133     {\r
134         "id": "96239c4e.3a9b3",\r
135         "type": "returnFailure",\r
136         "name": "return failure",\r
137         "xml": "<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Unable to Download Config to Device\" />\n<parameter name=\"error-code\" value=\"401\" />\n <parameter name=\"ack-final\" value=\"Y\"/>",\r
138         "comments": "",\r
139         "x": 1247,\r
140         "y": 451,\r
141         "z": "56a1115e.b25a6",\r
142         "wires": []\r
143     },\r
144     {\r
145         "id": "63b0d96d.c7ed58",\r
146         "type": "block",\r
147         "name": "block",\r
148         "xml": "<block>\n",\r
149         "atomic": "false",\r
150         "comments": "",\r
151         "outputs": 1,\r
152         "x": 249,\r
153         "y": 323,\r
154         "z": "56a1115e.b25a6",\r
155         "wires": [\r
156             [\r
157                 "3fd1791d.d55476"\r
158             ]\r
159         ]\r
160     },\r
161     {\r
162         "id": "3fd1791d.d55476",\r
163         "type": "execute",\r
164         "name": "execute : Mount Device",\r
165         "xml": "<execute plugin='org.onap.sdnc.restconf.RestConfCallNode' method='mountDevice' >\n<parameter name=\"templateFileName\" value=\"device_mount.xml\" />\n<parameter name=\"hostIpAddress\" value=\"`$host-ip-address`\"/>\n<parameter name=\"loginId\" value=\"`$device-login`\"/>\n<parameter name=\"password\" value=\"`$device-password`\"/>\n<parameter name=\"portNumber\" value=\"`$port-number`\"/>\n<parameter name=\"waitSec\" value=\"60\"/>\n<parameter name=\"noOfRetriggers\" value=\"10\"/>\n\n\n",\r
166         "comments": "",\r
167         "outputs": 1,\r
168         "x": 459,\r
169         "y": 322,\r
170         "z": "56a1115e.b25a6",\r
171         "wires": [\r
172             [\r
173                 "e7d6cff5.bc024",\r
174                 "3965425a.10e70e",\r
175                 "72d1c486.d6aa8c"\r
176             ]\r
177         ]\r
178     },\r
179     {\r
180         "id": "e7d6cff5.bc024",\r
181         "type": "failure",\r
182         "name": "failure",\r
183         "xml": "<outcome value='failure'>\n",\r
184         "comments": "",\r
185         "outputs": 1,\r
186         "x": 763.0681762695312,\r
187         "y": 263.89471435546875,\r
188         "z": "56a1115e.b25a6",\r
189         "wires": [\r
190             [\r
191                 "55634b28.643004"\r
192             ]\r
193         ]\r
194     },\r
195     {\r
196         "id": "72d1c486.d6aa8c",\r
197         "type": "other",\r
198         "name": "other",\r
199         "xml": "<outcome value='Other'>\n",\r
200         "comments": "",\r
201         "outputs": 1,\r
202         "x": 758,\r
203         "y": 313.99993896484375,\r
204         "z": "56a1115e.b25a6",\r
205         "wires": [\r
206             [\r
207                 "55634b28.643004"\r
208             ]\r
209         ]\r
210     },\r
211     {\r
212         "id": "3965425a.10e70e",\r
213         "type": "success",\r
214         "name": "success",\r
215         "xml": "<outcome value='success'>\n",\r
216         "comments": "",\r
217         "outputs": 1,\r
218         "x": 760.0000610351562,\r
219         "y": 358.99993896484375,\r
220         "z": "56a1115e.b25a6",\r
221         "wires": [\r
222             [\r
223                 "59b6573c.b65208"\r
224             ]\r
225         ]\r
226     },\r
227     {\r
228         "id": "55634b28.643004",\r
229         "type": "block",\r
230         "name": "block",\r
231         "xml": "<block>\n",\r
232         "atomic": "false",\r
233         "comments": "",\r
234         "outputs": 1,\r
235         "x": 900.0681762695312,\r
236         "y": 314.89471435546875,\r
237         "z": "56a1115e.b25a6",\r
238         "wires": [\r
239             [\r
240                 "d0fcc7fb.1491c8",\r
241                 "94fd463b.b5d6c8"\r
242             ]\r
243         ]\r
244     },\r
245     {\r
246         "id": "d0fcc7fb.1491c8",\r
247         "type": "returnFailure",\r
248         "name": "return failure",\r
249         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<!-- error should be set by Adaptor -->",\r
250         "comments": "",\r
251         "x": 1169.25,\r
252         "y": 310.55548095703125,\r
253         "z": "56a1115e.b25a6",\r
254         "wires": []\r
255     },\r
256     {\r
257         "id": "94fd463b.b5d6c8",\r
258         "type": "record",\r
259         "name": "record",\r
260         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"host\" value=\"`$service-configuration-operation-input.vnf-config-information.vnf-host-ip-address`\"/>\n<parameter name=\"SFTPERRORCODE\" value=\"`$error-code`\"/>\n<parameter name=\"SFTPERRORMESSAGE\" value=\"`$error-message`\"/>\n\n\n\n\n\n",\r
261         "comments": "",\r
262         "outputs": 1,\r
263         "x": 1168,\r
264         "y": 252.66656494140625,\r
265         "z": "56a1115e.b25a6",\r
266         "wires": [\r
267             []\r
268         ]\r
269     },\r
270     {\r
271         "id": "59b6573c.b65208",\r
272         "type": "block",\r
273         "name": "block",\r
274         "xml": "<block>\n",\r
275         "atomic": "false",\r
276         "comments": "",\r
277         "outputs": 1,\r
278         "x": 241,\r
279         "y": 501,\r
280         "z": "56a1115e.b25a6",\r
281         "wires": [\r
282             [\r
283                 "b7e24e35.0af5c"\r
284             ]\r
285         ]\r
286     },\r
287     {\r
288         "id": "20e1274a.24dd08",\r
289         "type": "returnSuccess",\r
290         "name": "return success",\r
291         "xml": "<return status='success'>\n<!-- Dont over write error code and message -->\n",\r
292         "comments": "",\r
293         "x": 1114,\r
294         "y": 548,\r
295         "z": "56a1115e.b25a6",\r
296         "wires": []\r
297     }\r
298 ]\r