blob: 3f65148697b74f767aabef53c4a49444f1fac172 [file] [log] [blame]
Rene Robert53ef77f2019-01-24 18:24:55 +01001{
Rene Robert53ef77f2019-01-24 18:24:55 +01002 "info": {
Rene_Robert11c57832019-10-22 17:27:21 +02003 "_postman_id": "458aefd8-1c13-4d22-859b-38757f935cca",
Rene Robert53ef77f2019-01-24 18:24:55 +01004 "name": "04_Onboard_VSP_part3",
Rene_Robert0ebd04f2019-07-30 17:11:26 +02005 "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
Rene Robert53ef77f2019-01-24 18:24:55 +01006 },
7 "item": [
8 {
9 "name": "Process VSP zip file",
10 "event": [
11 {
12 "listen": "test",
13 "script": {
Rene_Robert0ebd04f2019-07-30 17:11:26 +020014 "id": "1dceb509-a7e0-426f-b6fc-c50e9e9376e3",
Rene Robert53ef77f2019-01-24 18:24:55 +010015 "exec": [
Rene_Robert0ebd04f2019-07-30 17:11:26 +020016 "pm.test(\"Status code is 200\", function () {",
17 " pm.response.to.have.status(200);",
18 "});",
19 ""
20 ],
21 "type": "text/javascript"
Rene Robert53ef77f2019-01-24 18:24:55 +010022 }
23 }
24 ],
25 "request": {
Rene Robert53ef77f2019-01-24 18:24:55 +010026 "method": "PUT",
27 "header": [
28 {
29 "key": "Content-Type",
Rene_Robert0ebd04f2019-07-30 17:11:26 +020030 "value": "application/json"
Rene Robert53ef77f2019-01-24 18:24:55 +010031 },
32 {
33 "key": "Accept",
Rene_Robert0ebd04f2019-07-30 17:11:26 +020034 "value": "application/json"
Rene Robert53ef77f2019-01-24 18:24:55 +010035 },
36 {
37 "key": "X-TransactionId",
Rene_Robert0ebd04f2019-07-30 17:11:26 +020038 "value": "robot-ete-ba84612d-c1c6-4c53-9967-7b1dff276c7a"
Rene Robert53ef77f2019-01-24 18:24:55 +010039 },
40 {
41 "key": "USER_ID",
Rene_Robert0ebd04f2019-07-30 17:11:26 +020042 "value": "cs0008"
Rene Robert53ef77f2019-01-24 18:24:55 +010043 },
44 {
45 "key": "X-FromAppId",
Rene_Robert0ebd04f2019-07-30 17:11:26 +020046 "value": "robot-ete"
Rene Robert53ef77f2019-01-24 18:24:55 +010047 }
48 ],
49 "body": {
50 "mode": "raw",
51 "raw": "{}"
52 },
Rene_Robert0ebd04f2019-07-30 17:11:26 +020053 "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 }
Rene Robert53ef77f2019-01-24 18:24:55 +010071 },
72 "response": [
73 {
Rene Robert53ef77f2019-01-24 18:24:55 +010074 "name": "Checkin VSP",
75 "originalRequest": {
Rene_Robert0ebd04f2019-07-30 17:11:26 +020076 "method": "GET",
Rene Robert53ef77f2019-01-24 18:24:55 +010077 "header": [],
78 "body": {
79 "mode": "raw",
80 "raw": ""
81 },
Rene_Robert0ebd04f2019-07-30 17:11:26 +020082 "url": {
83 "raw": ""
84 }
Rene Robert53ef77f2019-01-24 18:24:55 +010085 },
86 "status": "OK",
87 "code": 200,
88 "_postman_previewlanguage": "json",
Rene Robert53ef77f2019-01-24 18:24:55 +010089 "header": [
90 {
Rene Robert53ef77f2019-01-24 18:24:55 +010091 "key": "access-control-allow-credentials",
92 "value": "true",
Rene_Robert0ebd04f2019-07-30 17:11:26 +020093 "name": "access-control-allow-credentials",
Rene Robert53ef77f2019-01-24 18:24:55 +010094 "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 {
Rene Robert53ef77f2019-01-24 18:24:55 +010097 "key": "access-control-allow-origin",
98 "value": "chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop",
Rene_Robert0ebd04f2019-07-30 17:11:26 +020099 "name": "access-control-allow-origin",
Rene Robert53ef77f2019-01-24 18:24:55 +0100100 "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 {
Rene Robert53ef77f2019-01-24 18:24:55 +0100103 "key": "access-control-expose-headers",
104 "value": "",
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200105 "name": "access-control-expose-headers",
Rene Robert53ef77f2019-01-24 18:24:55 +0100106 "description": "Lets a server whitelist headers that browsers are allowed to access."
107 },
108 {
Rene Robert53ef77f2019-01-24 18:24:55 +0100109 "key": "content-type",
110 "value": "application/json",
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200111 "name": "content-type",
Rene Robert53ef77f2019-01-24 18:24:55 +0100112 "description": "The mime type of this content"
113 },
114 {
Rene Robert53ef77f2019-01-24 18:24:55 +0100115 "key": "date",
116 "value": "Wed, 06 Jun 2018 16:14:24 GMT",
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200117 "name": "date",
Rene Robert53ef77f2019-01-24 18:24:55 +0100118 "description": "The date and time that the message was sent"
119 },
120 {
Rene Robert53ef77f2019-01-24 18:24:55 +0100121 "key": "server",
122 "value": "Jetty(9.3.21.v20170918)",
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200123 "name": "server",
Rene Robert53ef77f2019-01-24 18:24:55 +0100124 "description": "A name for the server"
125 },
126 {
Rene Robert53ef77f2019-01-24 18:24:55 +0100127 "key": "transfer-encoding",
128 "value": "chunked",
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200129 "name": "transfer-encoding",
Rene Robert53ef77f2019-01-24 18:24:55 +0100130 "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": [],
Rene Robert53ef77f2019-01-24 18:24:55 +0100134 "body": "{}"
135 }
136 ]
137 },
138 {
139 "name": "Commit VSP",
140 "event": [
141 {
142 "listen": "test",
143 "script": {
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200144 "id": "0f0417e6-2b03-44a4-9416-9f709077a525",
Rene Robert53ef77f2019-01-24 18:24:55 +0100145 "exec": [
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200146 "pm.test(\"Status code is 200\", function () {",
147 " pm.response.to.have.status(200);",
148 "});",
149 ""
150 ],
151 "type": "text/javascript"
Rene Robert53ef77f2019-01-24 18:24:55 +0100152 }
153 }
154 ],
155 "request": {
Rene Robert53ef77f2019-01-24 18:24:55 +0100156 "method": "PUT",
157 "header": [
158 {
159 "key": "Content-Type",
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200160 "value": "application/json"
Rene Robert53ef77f2019-01-24 18:24:55 +0100161 },
162 {
163 "key": "Accept",
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200164 "value": "application/json"
Rene Robert53ef77f2019-01-24 18:24:55 +0100165 },
166 {
167 "key": "X-TransactionId",
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200168 "value": "robot-ete-ba84612d-c1c6-4c53-9967-7b1dff276c7a"
Rene Robert53ef77f2019-01-24 18:24:55 +0100169 },
170 {
171 "key": "USER_ID",
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200172 "value": "cs0008"
Rene Robert53ef77f2019-01-24 18:24:55 +0100173 },
174 {
175 "key": "X-FromAppId",
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200176 "value": "robot-ete"
Rene Robert53ef77f2019-01-24 18:24:55 +0100177 }
178 ],
179 "body": {
180 "mode": "raw",
181 "raw": "{\"action\":\"Commit\",\"commitRequest\":{\"message\":\"ok\"}}"
182 },
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200183 "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 }
Rene Robert53ef77f2019-01-24 18:24:55 +0100200 },
201 "response": [
202 {
Rene Robert53ef77f2019-01-24 18:24:55 +0100203 "name": "Checkin VSP",
204 "originalRequest": {
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200205 "method": "GET",
Rene Robert53ef77f2019-01-24 18:24:55 +0100206 "header": [],
207 "body": {
208 "mode": "raw",
209 "raw": ""
210 },
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200211 "url": {
212 "raw": ""
213 }
Rene Robert53ef77f2019-01-24 18:24:55 +0100214 },
215 "status": "OK",
216 "code": 200,
217 "_postman_previewlanguage": "json",
Rene Robert53ef77f2019-01-24 18:24:55 +0100218 "header": [
219 {
Rene Robert53ef77f2019-01-24 18:24:55 +0100220 "key": "access-control-allow-credentials",
221 "value": "true",
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200222 "name": "access-control-allow-credentials",
Rene Robert53ef77f2019-01-24 18:24:55 +0100223 "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 {
Rene Robert53ef77f2019-01-24 18:24:55 +0100226 "key": "access-control-allow-origin",
227 "value": "chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop",
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200228 "name": "access-control-allow-origin",
Rene Robert53ef77f2019-01-24 18:24:55 +0100229 "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 {
Rene Robert53ef77f2019-01-24 18:24:55 +0100232 "key": "access-control-expose-headers",
233 "value": "",
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200234 "name": "access-control-expose-headers",
Rene Robert53ef77f2019-01-24 18:24:55 +0100235 "description": "Lets a server whitelist headers that browsers are allowed to access."
236 },
237 {
Rene Robert53ef77f2019-01-24 18:24:55 +0100238 "key": "content-type",
239 "value": "application/json",
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200240 "name": "content-type",
Rene Robert53ef77f2019-01-24 18:24:55 +0100241 "description": "The mime type of this content"
242 },
243 {
Rene Robert53ef77f2019-01-24 18:24:55 +0100244 "key": "date",
245 "value": "Wed, 06 Jun 2018 16:14:24 GMT",
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200246 "name": "date",
Rene Robert53ef77f2019-01-24 18:24:55 +0100247 "description": "The date and time that the message was sent"
248 },
249 {
Rene Robert53ef77f2019-01-24 18:24:55 +0100250 "key": "server",
251 "value": "Jetty(9.3.21.v20170918)",
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200252 "name": "server",
Rene Robert53ef77f2019-01-24 18:24:55 +0100253 "description": "A name for the server"
254 },
255 {
Rene Robert53ef77f2019-01-24 18:24:55 +0100256 "key": "transfer-encoding",
257 "value": "chunked",
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200258 "name": "transfer-encoding",
Rene Robert53ef77f2019-01-24 18:24:55 +0100259 "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": [],
Rene Robert53ef77f2019-01-24 18:24:55 +0100263 "body": "{}"
264 }
265 ]
266 },
267 {
268 "name": "Submit VSP",
269 "event": [
270 {
271 "listen": "test",
272 "script": {
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200273 "id": "78d1f69f-e8aa-47aa-a456-45496847ace4",
Rene Robert53ef77f2019-01-24 18:24:55 +0100274 "exec": [
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200275 "pm.test(\"Status code is 200\", function () {",
276 " pm.response.to.have.status(200);",
277 "});",
278 ""
279 ],
280 "type": "text/javascript"
Rene Robert53ef77f2019-01-24 18:24:55 +0100281 }
282 }
283 ],
284 "request": {
Rene Robert53ef77f2019-01-24 18:24:55 +0100285 "method": "PUT",
286 "header": [
287 {
288 "key": "Content-Type",
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200289 "value": "application/json"
Rene Robert53ef77f2019-01-24 18:24:55 +0100290 },
291 {
292 "key": "Accept",
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200293 "value": "application/json"
Rene Robert53ef77f2019-01-24 18:24:55 +0100294 },
295 {
296 "key": "X-TransactionId",
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200297 "value": "robot-ete-ba84612d-c1c6-4c53-9967-7b1dff276c7a"
Rene Robert53ef77f2019-01-24 18:24:55 +0100298 },
299 {
300 "key": "USER_ID",
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200301 "value": "cs0008"
Rene Robert53ef77f2019-01-24 18:24:55 +0100302 },
303 {
304 "key": "X-FromAppId",
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200305 "value": "robot-ete"
Rene Robert53ef77f2019-01-24 18:24:55 +0100306 }
307 ],
308 "body": {
309 "mode": "raw",
310 "raw": "{\"action\": \"Submit\"}"
311 },
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200312 "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 }
Rene Robert53ef77f2019-01-24 18:24:55 +0100329 },
330 "response": []
331 },
332 {
333 "name": "CSAR VSP",
334 "event": [
335 {
336 "listen": "test",
337 "script": {
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200338 "id": "5900576b-42d4-4b68-ae67-770e76e6ba97",
Rene Robert53ef77f2019-01-24 18:24:55 +0100339 "exec": [
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200340 "pm.test(\"Status code is 200\", function () {",
341 " pm.response.to.have.status(200);",
342 "});",
343 ""
344 ],
345 "type": "text/javascript"
Rene Robert53ef77f2019-01-24 18:24:55 +0100346 }
347 }
348 ],
349 "request": {
Rene Robert53ef77f2019-01-24 18:24:55 +0100350 "method": "PUT",
351 "header": [
352 {
353 "key": "Content-Type",
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200354 "value": "application/json"
Rene Robert53ef77f2019-01-24 18:24:55 +0100355 },
356 {
357 "key": "Accept",
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200358 "value": "application/json"
Rene Robert53ef77f2019-01-24 18:24:55 +0100359 },
360 {
361 "key": "X-TransactionId",
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200362 "value": "robot-ete-ba84612d-c1c6-4c53-9967-7b1dff276c7a"
Rene Robert53ef77f2019-01-24 18:24:55 +0100363 },
364 {
365 "key": "USER_ID",
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200366 "value": "cs0008"
Rene Robert53ef77f2019-01-24 18:24:55 +0100367 },
368 {
369 "key": "X-FromAppId",
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200370 "value": "robot-ete"
Rene Robert53ef77f2019-01-24 18:24:55 +0100371 }
372 ],
373 "body": {
374 "mode": "raw",
375 "raw": "{\"action\": \"Create_Package\"}"
376 },
Rene_Robert0ebd04f2019-07-30 17:11:26 +0200377 "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 }
Rene Robert53ef77f2019-01-24 18:24:55 +0100394 },
395 "response": []
396 }
397 ]
398}