APPC Generic Saltstack DG addition
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / main / resources / json / APPC / APPC_GetAaiInfoTest.json
1 [\r
2     {\r
3         "id": "824ef7fe.3f3a28",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 103.33332443237305,\r
8         "y": 37.222219467163086,\r
9         "z": "2e3a20a4.cdd4b",\r
10         "wires": [\r
11             [\r
12                 "63f1353e.3afaec"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "63f1353e.3afaec",\r
18         "type": "service-logic",\r
19         "name": "APPC 4.0.0",\r
20         "module": "APPC",\r
21         "version": "4.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' version='4.0.0'>",\r
24         "outputs": 1,\r
25         "x": 270.66666412353516,\r
26         "y": 71.66667461395264,\r
27         "z": "2e3a20a4.cdd4b",\r
28         "wires": [\r
29             [\r
30                 "39441c46.1ce144"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "39441c46.1ce144",\r
36         "type": "method",\r
37         "name": "method GetAaiInfo",\r
38         "xml": "<method rpc='GetAaiInfoTest' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 465.66666412353516,\r
42         "y": 66.66667461395264,\r
43         "z": "2e3a20a4.cdd4b",\r
44         "wires": [\r
45             [\r
46                 "69fc431f.857fdc"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "69fc431f.857fdc",\r
52         "type": "block",\r
53         "name": "block : atomic",\r
54         "xml": "<block atomic=\"true\">",\r
55         "atomic": "true",\r
56         "outputs": 1,\r
57         "x": 113.41666412353516,\r
58         "y": 208.66667366027832,\r
59         "z": "2e3a20a4.cdd4b",\r
60         "wires": [\r
61             [\r
62                 "d21e1229.c7233",\r
63                 "75cc0c83.6ea414"\r
64             ]\r
65         ]\r
66     },\r
67     {\r
68         "id": "75cc0c83.6ea414",\r
69         "type": "execute",\r
70         "name": "execute getAllVServersVnfcsInfo",\r
71         "xml": "<execute plugin=\"org.onap.appc.aai.client.node.AAIResourceNode\" method=\"getAllVServersVnfcsInfo\">\n<parameter name=\"responsePrefix\" value=\"tmp.vnfInfo\" />\n",\r
72         "comments": "",\r
73         "outputs": 1,\r
74         "x": 360.16666412353516,\r
75         "y": 309.66667461395264,\r
76         "z": "2e3a20a4.cdd4b",\r
77         "wires": [\r
78             [\r
79                 "b861bae7.ed7f38",\r
80                 "e920d0c2.265e9"\r
81             ]\r
82         ]\r
83     },\r
84     {\r
85         "id": "b861bae7.ed7f38",\r
86         "type": "failure",\r
87         "name": "not-found",\r
88         "xml": "<outcome value='not-found'>\n",\r
89         "comments": "",\r
90         "outputs": 1,\r
91         "x": 597.9166641235352,\r
92         "y": 308.16669273376465,\r
93         "z": "2e3a20a4.cdd4b",\r
94         "wires": [\r
95             [\r
96                 "6536b658.4a6e98"\r
97             ]\r
98         ]\r
99     },\r
100     {\r
101         "id": "e920d0c2.265e9",\r
102         "type": "failure",\r
103         "name": "failure",\r
104         "xml": "<outcome value='failure'>\n",\r
105         "comments": "",\r
106         "outputs": 1,\r
107         "x": 590.9166641235352,\r
108         "y": 373.9166946411133,\r
109         "z": "2e3a20a4.cdd4b",\r
110         "wires": [\r
111             [\r
112                 "2e927b94.777bc4"\r
113             ]\r
114         ]\r
115     },\r
116     {\r
117         "id": "6536b658.4a6e98",\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": 732.1666946411133,\r
125         "y": 307.41669368743896,\r
126         "z": "2e3a20a4.cdd4b",\r
127         "wires": [\r
128             [\r
129                 "f5c71351.7eb9c"\r
130             ]\r
131         ]\r
132     },\r
133     {\r
134         "id": "2e927b94.777bc4",\r
135         "type": "block",\r
136         "name": "block",\r
137         "xml": "<block>\n",\r
138         "atomic": "false",\r
139         "comments": "",\r
140         "outputs": 1,\r
141         "x": 731.4166946411133,\r
142         "y": 373.9166946411133,\r
143         "z": "2e3a20a4.cdd4b",\r
144         "wires": [\r
145             [\r
146                 "a3877152.03659"\r
147             ]\r
148         ]\r
149     },\r
150     {\r
151         "id": "a3877152.03659",\r
152         "type": "returnFailure",\r
153         "name": "return failure",\r
154         "xml": "<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$tmp.vnfInfo.error-message`\" />\n\n\n\t",\r
155         "comments": "",\r
156         "x": 921.1667022705078,\r
157         "y": 374.91669273376465,\r
158         "z": "2e3a20a4.cdd4b",\r
159         "wires": []\r
160     },\r
161     {\r
162         "id": "d21e1229.c7233",\r
163         "type": "execute",\r
164         "name": "execute getVnfInfo",\r
165         "xml": "<execute plugin=\"org.onap.appc.aai.client.node.AAIResourceNode\" method=\"getVnfInfo\">\n<parameter name=\"vnfId\" value=\"`$vnf-id`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.vnfInfo\" />\n",\r
166         "comments": "",\r
167         "outputs": 1,\r
168         "x": 357.66666412353516,\r
169         "y": 188.91667366027832,\r
170         "z": "2e3a20a4.cdd4b",\r
171         "wires": [\r
172             [\r
173                 "a263590d.bf4bc8",\r
174                 "883728c.1caaed8"\r
175             ]\r
176         ]\r
177     },\r
178     {\r
179         "id": "a263590d.bf4bc8",\r
180         "type": "failure",\r
181         "name": "not-found",\r
182         "xml": "<outcome value='not-found'>\n",\r
183         "comments": "",\r
184         "outputs": 1,\r
185         "x": 541.4166641235352,\r
186         "y": 165.41667366027832,\r
187         "z": "2e3a20a4.cdd4b",\r
188         "wires": [\r
189             [\r
190                 "6a5be154.0d7fd"\r
191             ]\r
192         ]\r
193     },\r
194     {\r
195         "id": "6a5be154.0d7fd",\r
196         "type": "block",\r
197         "name": "block",\r
198         "xml": "<block>\n",\r
199         "atomic": "false",\r
200         "comments": "",\r
201         "outputs": 1,\r
202         "x": 692.4166984558105,\r
203         "y": 164.66667461395264,\r
204         "z": "2e3a20a4.cdd4b",\r
205         "wires": [\r
206             [\r
207                 "b11705da.bdd1c8"\r
208             ]\r
209         ]\r
210     },\r
211     {\r
212         "id": "b11705da.bdd1c8",\r
213         "type": "returnFailure",\r
214         "name": "return failure",\r
215         "xml": "<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"Unable to get Vnf Info from ANAI\" />\n\n\n\t",\r
216         "comments": "",\r
217         "x": 867.1666984558105,\r
218         "y": 149.16667366027832,\r
219         "z": "2e3a20a4.cdd4b",\r
220         "wires": []\r
221     },\r
222     {\r
223         "id": "883728c.1caaed8",\r
224         "type": "failure",\r
225         "name": "failure",\r
226         "xml": "<outcome value='failure'>\n",\r
227         "comments": "",\r
228         "outputs": 1,\r
229         "x": 542.9166641235352,\r
230         "y": 236.66667556762695,\r
231         "z": "2e3a20a4.cdd4b",\r
232         "wires": [\r
233             [\r
234                 "37a2c648.d6328a"\r
235             ]\r
236         ]\r
237     },\r
238     {\r
239         "id": "37a2c648.d6328a",\r
240         "type": "block",\r
241         "name": "block",\r
242         "xml": "<block>\n",\r
243         "atomic": "false",\r
244         "comments": "",\r
245         "outputs": 1,\r
246         "x": 690.1666984558105,\r
247         "y": 236.16667556762695,\r
248         "z": "2e3a20a4.cdd4b",\r
249         "wires": [\r
250             [\r
251                 "b02272fd.969a9"\r
252             ]\r
253         ]\r
254     },\r
255     {\r
256         "id": "b02272fd.969a9",\r
257         "type": "returnFailure",\r
258         "name": "return failure",\r
259         "xml": "<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$tmp.vnfInfo.error-message`\" />\n\n\n\t",\r
260         "comments": "",\r
261         "x": 866.4166984558105,\r
262         "y": 228.91667556762695,\r
263         "z": "2e3a20a4.cdd4b",\r
264         "wires": []\r
265     },\r
266     {\r
267         "id": "bec2087a.fef188",\r
268         "type": "set",\r
269         "name": "set vnf-type, name",\r
270         "xml": "<set>\n<!--<parameter name='vnf-type' value='`$tmp.vnfInfo.vnf.vnf-type`' /> \n<parameter name='vnf-name' value='`$tmp.vnfInfo.vnf.vnf-name`' /> -->\n<parameter name='vnf-type' value='vUSP - vDBE-IPX HUB' /> \n<parameter name='vnf-name' value='vUSP - vDBE-IPX HUB' />\n\n",\r
271         "comments": "",\r
272         "x": 150.16666412353516,\r
273         "y": 439.16669368743896,\r
274         "z": "2e3a20a4.cdd4b",\r
275         "wires": []\r
276     },\r
277     {\r
278         "id": "f5c71351.7eb9c",\r
279         "type": "returnFailure",\r
280         "name": "return failure",\r
281         "xml": "<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"Unable to get VServer Info from A&amp;AI\" />\n\n\n\t",\r
282         "comments": "",\r
283         "x": 909.1666984558105,\r
284         "y": 307.66669273376465,\r
285         "z": "2e3a20a4.cdd4b",\r
286         "wires": []\r
287     }\r
288 ]\r