blob: 01de8b756e94bf2af9a1c5b635a2be7e0d3038ec [file] [log] [blame]
Rene Robert53ef77f2019-01-24 18:24:55 +01001{
Bartek Grzybowski2ab42812020-02-26 15:07:39 +01002 "info": {
3 "_postman_id": "458aefd8-1c13-4d22-859b-38757f935cca",
4 "name": "04_Onboard_VSP_part3",
5 "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
6 },
7 "item": [
8 {
9 "name": "Process VSP zip file",
10 "event": [
11 {
12 "listen": "test",
13 "script": {
14 "id": "1dceb509-a7e0-426f-b6fc-c50e9e9376e3",
15 "exec": [
16 "pm.test(\"Status code is 200\", function () {",
17 " pm.response.to.have.status(200);",
18 "});",
19 ""
20 ],
21 "type": "text/javascript"
22 }
23 }
24 ],
25 "request": {
26 "method": "PUT",
27 "header": [
28 {
29 "key": "Content-Type",
30 "value": "application/json"
31 },
32 {
33 "key": "Accept",
34 "value": "application/json"
35 },
36 {
37 "key": "X-TransactionId",
38 "value": "robot-ete-ba84612d-c1c6-4c53-9967-7b1dff276c7a"
39 },
40 {
41 "key": "USER_ID",
42 "value": "cs0008"
43 },
44 {
45 "key": "X-FromAppId",
46 "value": "robot-ete"
47 }
48 ],
49 "body": {
50 "mode": "raw",
51 "raw": "{}"
52 },
53 "url": {
54 "raw": "{{url-sdc2}}/sdc1/feProxy/onboarding-api/v1.0/vendor-software-products/{{auto_vsp_id}}/versions/{{auto_vsp_version_id}}/orchestration-template-candidate/process",
55 "host": [
56 "{{url-sdc2}}"
57 ],
58 "path": [
59 "sdc1",
60 "feProxy",
61 "onboarding-api",
62 "v1.0",
63 "vendor-software-products",
64 "{{auto_vsp_id}}",
65 "versions",
66 "{{auto_vsp_version_id}}",
67 "orchestration-template-candidate",
68 "process"
69 ]
70 }
71 },
72 "response": [
73 {
74 "name": "Checkin VSP",
75 "originalRequest": {
76 "method": "GET",
77 "header": [],
78 "body": {
79 "mode": "raw",
80 "raw": ""
81 },
82 "url": {
83 "raw": ""
84 }
85 },
86 "status": "OK",
87 "code": 200,
88 "_postman_previewlanguage": "json",
89 "header": [
90 {
91 "key": "access-control-allow-credentials",
92 "value": "true",
93 "name": "access-control-allow-credentials",
94 "description": "Indicates whether or not the response to the request can be exposed when the credentials flag is true. When used as part of a response to a preflight request, this indicates whether or not the actual request can be made using credentials."
95 },
96 {
97 "key": "access-control-allow-origin",
98 "value": "chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop",
99 "name": "access-control-allow-origin",
100 "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."
101 },
102 {
103 "key": "access-control-expose-headers",
104 "value": "",
105 "name": "access-control-expose-headers",
106 "description": "Lets a server whitelist headers that browsers are allowed to access."
107 },
108 {
109 "key": "content-type",
110 "value": "application/json",
111 "name": "content-type",
112 "description": "The mime type of this content"
113 },
114 {
115 "key": "date",
116 "value": "Wed, 06 Jun 2018 16:14:24 GMT",
117 "name": "date",
118 "description": "The date and time that the message was sent"
119 },
120 {
121 "key": "server",
122 "value": "Jetty(9.3.21.v20170918)",
123 "name": "server",
124 "description": "A name for the server"
125 },
126 {
127 "key": "transfer-encoding",
128 "value": "chunked",
129 "name": "transfer-encoding",
130 "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."
131 }
132 ],
133 "cookie": [],
134 "body": "{}"
135 }
136 ]
137 },
138 {
139 "name": "Commit VSP",
140 "event": [
141 {
142 "listen": "test",
143 "script": {
144 "id": "0f0417e6-2b03-44a4-9416-9f709077a525",
145 "exec": [
146 "pm.test(\"Status code is 200\", function () {",
147 " pm.response.to.have.status(200);",
148 "});",
149 ""
150 ],
151 "type": "text/javascript"
152 }
153 }
154 ],
155 "request": {
156 "method": "PUT",
157 "header": [
158 {
159 "key": "Content-Type",
160 "value": "application/json"
161 },
162 {
163 "key": "Accept",
164 "value": "application/json"
165 },
166 {
167 "key": "X-TransactionId",
168 "value": "robot-ete-ba84612d-c1c6-4c53-9967-7b1dff276c7a"
169 },
170 {
171 "key": "USER_ID",
172 "value": "cs0008"
173 },
174 {
175 "key": "X-FromAppId",
176 "value": "robot-ete"
177 }
178 ],
179 "body": {
180 "mode": "raw",
181 "raw": "{\"action\":\"Commit\",\"commitRequest\":{\"message\":\"ok\"}}"
182 },
183 "url": {
184 "raw": "{{url-sdc2}}/sdc1/feProxy/onboarding-api/v1.0/items/{{auto_vsp_id}}/versions/{{auto_vsp_version_id}}/actions",
185 "host": [
186 "{{url-sdc2}}"
187 ],
188 "path": [
189 "sdc1",
190 "feProxy",
191 "onboarding-api",
192 "v1.0",
193 "items",
194 "{{auto_vsp_id}}",
195 "versions",
196 "{{auto_vsp_version_id}}",
197 "actions"
198 ]
199 }
200 },
201 "response": [
202 {
203 "name": "Checkin VSP",
204 "originalRequest": {
205 "method": "GET",
206 "header": [],
207 "body": {
208 "mode": "raw",
209 "raw": ""
210 },
211 "url": {
212 "raw": ""
213 }
214 },
215 "status": "OK",
216 "code": 200,
217 "_postman_previewlanguage": "json",
218 "header": [
219 {
220 "key": "access-control-allow-credentials",
221 "value": "true",
222 "name": "access-control-allow-credentials",
223 "description": "Indicates whether or not the response to the request can be exposed when the credentials flag is true. When used as part of a response to a preflight request, this indicates whether or not the actual request can be made using credentials."
224 },
225 {
226 "key": "access-control-allow-origin",
227 "value": "chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop",
228 "name": "access-control-allow-origin",
229 "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."
230 },
231 {
232 "key": "access-control-expose-headers",
233 "value": "",
234 "name": "access-control-expose-headers",
235 "description": "Lets a server whitelist headers that browsers are allowed to access."
236 },
237 {
238 "key": "content-type",
239 "value": "application/json",
240 "name": "content-type",
241 "description": "The mime type of this content"
242 },
243 {
244 "key": "date",
245 "value": "Wed, 06 Jun 2018 16:14:24 GMT",
246 "name": "date",
247 "description": "The date and time that the message was sent"
248 },
249 {
250 "key": "server",
251 "value": "Jetty(9.3.21.v20170918)",
252 "name": "server",
253 "description": "A name for the server"
254 },
255 {
256 "key": "transfer-encoding",
257 "value": "chunked",
258 "name": "transfer-encoding",
259 "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."
260 }
261 ],
262 "cookie": [],
263 "body": "{}"
264 }
265 ]
266 },
267 {
268 "name": "Submit VSP",
269 "event": [
270 {
271 "listen": "test",
272 "script": {
273 "id": "78d1f69f-e8aa-47aa-a456-45496847ace4",
274 "exec": [
275 "pm.test(\"Status code is 200\", function () {",
276 " pm.response.to.have.status(200);",
277 "});",
278 ""
279 ],
280 "type": "text/javascript"
281 }
282 }
283 ],
284 "request": {
285 "method": "PUT",
286 "header": [
287 {
288 "key": "Content-Type",
289 "value": "application/json"
290 },
291 {
292 "key": "Accept",
293 "value": "application/json"
294 },
295 {
296 "key": "X-TransactionId",
297 "value": "robot-ete-ba84612d-c1c6-4c53-9967-7b1dff276c7a"
298 },
299 {
300 "key": "USER_ID",
301 "value": "cs0008"
302 },
303 {
304 "key": "X-FromAppId",
305 "value": "robot-ete"
306 }
307 ],
308 "body": {
309 "mode": "raw",
310 "raw": "{\"action\": \"Submit\"}"
311 },
312 "url": {
313 "raw": "{{url-sdc2}}/sdc1/feProxy/onboarding-api/v1.0/vendor-software-products/{{auto_vsp_id}}/versions/{{auto_vsp_version_id}}/actions",
314 "host": [
315 "{{url-sdc2}}"
316 ],
317 "path": [
318 "sdc1",
319 "feProxy",
320 "onboarding-api",
321 "v1.0",
322 "vendor-software-products",
323 "{{auto_vsp_id}}",
324 "versions",
325 "{{auto_vsp_version_id}}",
326 "actions"
327 ]
328 }
329 },
330 "response": []
331 },
332 {
333 "name": "CSAR VSP",
334 "event": [
335 {
336 "listen": "test",
337 "script": {
338 "id": "5900576b-42d4-4b68-ae67-770e76e6ba97",
339 "exec": [
340 "pm.test(\"Status code is 200\", function () {",
341 " pm.response.to.have.status(200);",
342 "});",
343 ""
344 ],
345 "type": "text/javascript"
346 }
347 }
348 ],
349 "request": {
350 "method": "PUT",
351 "header": [
352 {
353 "key": "Content-Type",
354 "value": "application/json"
355 },
356 {
357 "key": "Accept",
358 "value": "application/json"
359 },
360 {
361 "key": "X-TransactionId",
362 "value": "robot-ete-ba84612d-c1c6-4c53-9967-7b1dff276c7a"
363 },
364 {
365 "key": "USER_ID",
366 "value": "cs0008"
367 },
368 {
369 "key": "X-FromAppId",
370 "value": "robot-ete"
371 }
372 ],
373 "body": {
374 "mode": "raw",
375 "raw": "{\"action\": \"Create_Package\"}"
376 },
377 "url": {
378 "raw": "{{url-sdc2}}/sdc1/feProxy/onboarding-api/v1.0/vendor-software-products/{{auto_vsp_id}}/versions/{{auto_vsp_version_id}}/actions",
379 "host": [
380 "{{url-sdc2}}"
381 ],
382 "path": [
383 "sdc1",
384 "feProxy",
385 "onboarding-api",
386 "v1.0",
387 "vendor-software-products",
388 "{{auto_vsp_id}}",
389 "versions",
390 "{{auto_vsp_version_id}}",
391 "actions"
392 ]
393 }
394 },
395 "response": []
396 }
397 ]
398}