Deployment onap rename
[appc/deployment.git] / platform-logic / appc / src / main / json / dg-loader-dgs / APPC / APPC_GetAaiInfo.json
1 [
2     {
3         "id": "2a18327b.190d5e",
4         "name": "DGSTART",
5         "outputs": 1,
6         "type": "dgstart",
7         "wires": [
8             [
9                 "b64ac861.3c4448"
10             ]
11         ],
12         "x": 138,
13         "y": 65,
14         "z": "a83714d9.fe1b58"
15     },
16     {
17         "comments": "",
18         "id": "b64ac861.3c4448",
19         "module": "APPC",
20         "name": "APPC 4.0.0",
21         "outputs": 1,
22         "type": "service-logic",
23         "version": "4.0.0",
24         "wires": [
25             [
26                 "3bbeff64.7fc8e"
27             ]
28         ],
29         "x": 307,
30         "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'>",
31         "y": 65,
32         "z": "a83714d9.fe1b58"
33     },
34     {
35         "comments": "",
36         "id": "3bbeff64.7fc8e",
37         "name": "method GetAaiInfo",
38         "outputs": 1,
39         "type": "method",
40         "wires": [
41             [
42                 "5c608a98.0bf024"
43             ]
44         ],
45         "x": 520,
46         "xml": "<method rpc='GetAaiInfo' mode='sync'>\n",
47         "y": 64,
48         "z": "a83714d9.fe1b58"
49     },
50     {
51         "atomic": "true",
52         "id": "5c608a98.0bf024",
53         "name": "block : atomic",
54         "outputs": 1,
55         "type": "block",
56         "wires": [
57             [
58                 "97f65464.3d36f8",
59                 "a6922b1b.264198",
60                 "1a8c611b.0adb8f"
61             ]
62         ],
63         "x": 146,
64         "xml": "<block atomic=\"true\">",
65         "y": 147,
66         "z": "a83714d9.fe1b58"
67     },
68     {
69         "comments": "",
70         "id": "1a8c611b.0adb8f",
71         "name": "execute getAllVServersVnfcsInfo",
72         "outputs": 1,
73         "type": "execute",
74         "wires": [
75             [
76                 "58a50d95.a39f74",
77                 "7cb8a280.e67fdc"
78             ]
79         ],
80         "x": 271.5,
81         "xml": "<execute plugin=\"org.onap.appc.aai.client.node.AAIResourceNode\" method=\"getAllVServersVnfcsInfo\">\n<parameter name=\"responsePrefix\" value=\"tmp.vnfInfo\" />\n",
82         "y": 560,
83         "z": "a83714d9.fe1b58"
84     },
85     {
86         "comments": "",
87         "id": "58a50d95.a39f74",
88         "name": "not-found",
89         "outputs": 1,
90         "type": "failure",
91         "wires": [
92             [
93                 "cca89eac.a4cc9"
94             ]
95         ],
96         "x": 536.5,
97         "xml": "<outcome value='not-found'>\n",
98         "y": 562,
99         "z": "a83714d9.fe1b58"
100     },
101     {
102         "comments": "",
103         "id": "7cb8a280.e67fdc",
104         "name": "failure",
105         "outputs": 1,
106         "type": "failure",
107         "wires": [
108             [
109                 "e7e14ccf.66209"
110             ]
111         ],
112         "x": 534.5,
113         "xml": "<outcome value='failure'>\n",
114         "y": 604,
115         "z": "a83714d9.fe1b58"
116     },
117     {
118         "atomic": "false",
119         "comments": "",
120         "id": "cca89eac.a4cc9",
121         "name": "block",
122         "outputs": 1,
123         "type": "block",
124         "wires": [
125             [
126                 "6fc8268c.676d48"
127             ]
128         ],
129         "x": 684.5,
130         "xml": "<block>\n",
131         "y": 560,
132         "z": "a83714d9.fe1b58"
133     },
134     {
135         "atomic": "false",
136         "comments": "",
137         "id": "e7e14ccf.66209",
138         "name": "block",
139         "outputs": 1,
140         "type": "block",
141         "wires": [
142             [
143                 "b227c95d.666fb8"
144             ]
145         ],
146         "x": 667.5,
147         "xml": "<block>\n",
148         "y": 604,
149         "z": "a83714d9.fe1b58"
150     },
151     {
152         "comments": "",
153         "id": "b227c95d.666fb8",
154         "name": "return failure",
155         "type": "returnFailure",
156         "wires": [],
157         "x": 833.5,
158         "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",
159         "y": 605,
160         "z": "a83714d9.fe1b58"
161     },
162     {
163         "comments": "",
164         "id": "97f65464.3d36f8",
165         "name": "execute getVnfInfo",
166         "outputs": 1,
167         "type": "execute",
168         "wires": [
169             [
170                 "75b9e9c.a60e318",
171                 "90e21982.e540b8"
172             ]
173         ],
174         "x": 385,
175         "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",
176         "y": 141,
177         "z": "a83714d9.fe1b58"
178     },
179     {
180         "comments": "",
181         "id": "75b9e9c.a60e318",
182         "name": "not-found",
183         "outputs": 1,
184         "type": "failure",
185         "wires": [
186             [
187                 "a8b107b4.c7e7d8"
188             ]
189         ],
190         "x": 574,
191         "xml": "<outcome value='not-found'>\n",
192         "y": 140,
193         "z": "a83714d9.fe1b58"
194     },
195     {
196         "atomic": "false",
197         "comments": "",
198         "id": "a8b107b4.c7e7d8",
199         "name": "block",
200         "outputs": 1,
201         "type": "block",
202         "wires": [
203             [
204                 "fd247ef0.16c0a"
205             ]
206         ],
207         "x": 730,
208         "xml": "<block>\n",
209         "y": 143,
210         "z": "a83714d9.fe1b58"
211     },
212     {
213         "comments": "",
214         "id": "fd247ef0.16c0a",
215         "name": "return failure",
216         "type": "returnFailure",
217         "wires": [],
218         "x": 901,
219         "xml": "<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"Unable to get Vnf Info from A&amp;AI\" />\n\n\n\t",
220         "y": 145,
221         "z": "a83714d9.fe1b58"
222     },
223     {
224         "comments": "",
225         "id": "90e21982.e540b8",
226         "name": "failure",
227         "outputs": 1,
228         "type": "failure",
229         "wires": [
230             [
231                 "a1033df9.8163a"
232             ]
233         ],
234         "x": 568,
235         "xml": "<outcome value='failure'>\n",
236         "y": 195,
237         "z": "a83714d9.fe1b58"
238     },
239     {
240         "atomic": "false",
241         "comments": "",
242         "id": "a1033df9.8163a",
243         "name": "block",
244         "outputs": 1,
245         "type": "block",
246         "wires": [
247             [
248                 "b4abe73d.5ece28"
249             ]
250         ],
251         "x": 719,
252         "xml": "<block>\n",
253         "y": 197,
254         "z": "a83714d9.fe1b58"
255     },
256     {
257         "comments": "",
258         "id": "b4abe73d.5ece28",
259         "name": "return failure",
260         "type": "returnFailure",
261         "wires": [],
262         "x": 879,
263         "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",
264         "y": 196,
265         "z": "a83714d9.fe1b58"
266     },
267     {
268         "comments": "",
269         "id": "a6922b1b.264198",
270         "name": "set vnf-type, name",
271         "type": "set",
272         "wires": [],
273         "x": 349,
274         "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\n",
275         "y": 248,
276         "z": "a83714d9.fe1b58"
277     },
278     {
279         "comments": "",
280         "id": "6fc8268c.676d48",
281         "name": "return failure",
282         "type": "returnFailure",
283         "wires": [],
284         "x": 849,
285         "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",
286         "y": 559,
287         "z": "a83714d9.fe1b58"
288     }
289 ]