Changed to unmaintained
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / main / resources / json / APPC / APPC_DownloadXmlConfig.json
1 [\r
2     {\r
3         "id": "74f96b34.8d6e54",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 164,\r
8         "y": 171,\r
9         "z": "9852b4f8.482598",\r
10         "wires": [\r
11             [\r
12                 "a662a4c7.3e74d8"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "a662a4c7.3e74d8",\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": 341,\r
26         "y": 170,\r
27         "z": "9852b4f8.482598",\r
28         "wires": [\r
29             [\r
30                 "cf63224b.3ac57"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "cf63224b.3ac57",\r
36         "type": "method",\r
37         "name": "method DownloadXmlConfig",\r
38         "xml": "<method rpc='DownloadXmlConfig' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 570,\r
42         "y": 170,\r
43         "z": "9852b4f8.482598",\r
44         "wires": [\r
45             [\r
46                 "8652063a.79abf8"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "63da4c86.afeb64",\r
52         "type": "execute",\r
53         "name": "execute : Download Configuration",\r
54         "xml": "<configure adaptor='org.onap.appc.ccadaptor.ConfigComponentAdaptor' key='xml-download'>\n<parameter name=\"Contents\" value=\"`$device-config`\"/>\n<parameter name=\"Host_ip_address\" value=\"`$host-ip-address`\" />\n<parameter name=\"User_name\" value=\"`$device-login`\" />\n<parameter name=\"Password\" value=\"`$device-password`\" />\n<parameter name=\"Port_number\" value=\"`$port-number`\" />\n\n\n",\r
55         "comments": "",\r
56         "outputs": 1,\r
57         "x": 430,\r
58         "y": 296,\r
59         "z": "9852b4f8.482598",\r
60         "wires": [\r
61             [\r
62                 "76ab52c2.59aafc",\r
63                 "ca9c3a74.973c48",\r
64                 "4365f1e1.cf9c8"\r
65             ]\r
66         ]\r
67     },\r
68     {\r
69         "id": "76ab52c2.59aafc",\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": 712,\r
76         "y": 361,\r
77         "z": "9852b4f8.482598",\r
78         "wires": [\r
79             [\r
80                 "3f9a92ce.040c6e"\r
81             ]\r
82         ]\r
83     },\r
84     {\r
85         "id": "ca9c3a74.973c48",\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": 813,\r
92         "y": 275,\r
93         "z": "9852b4f8.482598",\r
94         "wires": [\r
95             [\r
96                 "965ec1c1.3949a"\r
97             ]\r
98         ]\r
99     },\r
100     {\r
101         "id": "4365f1e1.cf9c8",\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": 823,\r
108         "y": 326,\r
109         "z": "9852b4f8.482598",\r
110         "wires": [\r
111             [\r
112                 "403128f0.908298"\r
113             ]\r
114         ]\r
115     },\r
116     {\r
117         "id": "965ec1c1.3949a",\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": 976,\r
125         "y": 297,\r
126         "z": "9852b4f8.482598",\r
127         "wires": [\r
128             [\r
129                 "e627e0a8.31843"\r
130             ]\r
131         ]\r
132     },\r
133     {\r
134         "id": "e627e0a8.31843",\r
135         "type": "returnFailure",\r
136         "name": "return failure",\r
137         "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\" />\n",\r
138         "comments": "",\r
139         "x": 1135,\r
140         "y": 297,\r
141         "z": "9852b4f8.482598",\r
142         "wires": []\r
143     },\r
144     {\r
145         "id": "8652063a.79abf8",\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": 180,\r
153         "y": 295,\r
154         "z": "9852b4f8.482598",\r
155         "wires": [\r
156             [\r
157                 "63da4c86.afeb64"\r
158             ]\r
159         ]\r
160     },\r
161     {\r
162         "id": "3f9a92ce.040c6e",\r
163         "type": "returnSuccess",\r
164         "name": "return success",\r
165         "xml": "<return status='success'>\n<!-- Dont over write error code and message -->\n",\r
166         "comments": "",\r
167         "x": 938,\r
168         "y": 464,\r
169         "z": "9852b4f8.482598",\r
170         "wires": []\r
171     },\r
172     {\r
173         "id": "403128f0.908298",\r
174         "type": "block",\r
175         "name": "block",\r
176         "xml": "<block>\n",\r
177         "atomic": "false",\r
178         "comments": "",\r
179         "outputs": 1,\r
180         "x": 984,\r
181         "y": 366,\r
182         "z": "9852b4f8.482598",\r
183         "wires": [\r
184             [\r
185                 "6c05d71d.c6f7c8"\r
186             ]\r
187         ]\r
188     },\r
189     {\r
190         "id": "6c05d71d.c6f7c8",\r
191         "type": "returnFailure",\r
192         "name": "return failure",\r
193         "xml": "<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Unable to Download XML Config to Device\" />\n<parameter name=\"error-code\" value=\"401\" />\n",\r
194         "comments": "",\r
195         "x": 1143,\r
196         "y": 366,\r
197         "z": "9852b4f8.482598",\r
198         "wires": []\r
199     }\r
200 ]\r