17f0c2f165d64e7eeac12a3577c6f4b81618c56f
[integration.git] / test / postman / 04_Onboard_VSP_part3.postman_collection.json
1 {
2         "variables": [],
3         "info": {
4                 "name": "04_Onboard_VSP_part3",
5                 "_postman_id": "7530fcb9-b083-dd18-980c-a42984b5db46",
6                 "description": "",
7                 "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
8         },
9         "item": [
10                 {
11                         "name": "Process VSP zip file",
12                         "event": [
13                                 {
14                                         "listen": "test",
15                                         "script": {
16                                                 "type": "text/javascript",
17                                                 "exec": [
18                                                         "tests[\"Status code is 200\"] = responseCode.code === 200;"
19                                                 ]
20                                         }
21                                 }
22                         ],
23                         "request": {
24                                 "url": "{{url-sdc2}}/sdc1/feProxy/onboarding-api/v1.0/vendor-software-products/{{auto_vsp_id}}/versions/{{auto_vsp_version_id}}/orchestration-template-candidate/process",
25                                 "method": "PUT",
26                                 "header": [
27                                         {
28                                                 "key": "Content-Type",
29                                                 "value": "application/json",
30                                                 "description": ""
31                                         },
32                                         {
33                                                 "key": "Accept",
34                                                 "value": "application/json",
35                                                 "description": ""
36                                         },
37                                         {
38                                                 "key": "X-TransactionId",
39                                                 "value": "robot-ete-ba84612d-c1c6-4c53-9967-7b1dff276c7a",
40                                                 "description": ""
41                                         },
42                                         {
43                                                 "key": "USER_ID",
44                                                 "value": "cs0008",
45                                                 "description": ""
46                                         },
47                                         {
48                                                 "key": "X-FromAppId",
49                                                 "value": "robot-ete",
50                                                 "description": ""
51                                         }
52                                 ],
53                                 "body": {
54                                         "mode": "raw",
55                                         "raw": "{}"
56                                 },
57                                 "description": ""
58                         },
59                         "response": [
60                                 {
61                                         "id": "32ef77d5-fdb3-45d3-ae12-1e9a75be08bc",
62                                         "name": "Checkin VSP",
63                                         "originalRequest": {
64                                                 "url": "",
65                                                 "header": [],
66                                                 "body": {
67                                                         "mode": "raw",
68                                                         "raw": ""
69                                                 },
70                                                 "description": ""
71                                         },
72                                         "status": "OK",
73                                         "code": 200,
74                                         "_postman_previewlanguage": "json",
75                                         "_postman_previewtype": "text",
76                                         "header": [
77                                                 {
78                                                         "name": "access-control-allow-credentials",
79                                                         "key": "access-control-allow-credentials",
80                                                         "value": "true",
81                                                         "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."
82                                                 },
83                                                 {
84                                                         "name": "access-control-allow-origin",
85                                                         "key": "access-control-allow-origin",
86                                                         "value": "chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop",
87                                                         "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."
88                                                 },
89                                                 {
90                                                         "name": "access-control-expose-headers",
91                                                         "key": "access-control-expose-headers",
92                                                         "value": "",
93                                                         "description": "Lets a server whitelist headers that browsers are allowed to access."
94                                                 },
95                                                 {
96                                                         "name": "content-type",
97                                                         "key": "content-type",
98                                                         "value": "application/json",
99                                                         "description": "The mime type of this content"
100                                                 },
101                                                 {
102                                                         "name": "date",
103                                                         "key": "date",
104                                                         "value": "Wed, 06 Jun 2018 16:14:24 GMT",
105                                                         "description": "The date and time that the message was sent"
106                                                 },
107                                                 {
108                                                         "name": "server",
109                                                         "key": "server",
110                                                         "value": "Jetty(9.3.21.v20170918)",
111                                                         "description": "A name for the server"
112                                                 },
113                                                 {
114                                                         "name": "transfer-encoding",
115                                                         "key": "transfer-encoding",
116                                                         "value": "chunked",
117                                                         "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."
118                                                 }
119                                         ],
120                                         "cookie": [],
121                                         "responseTime": 68,
122                                         "body": "{}"
123                                 }
124                         ]
125                 },
126                 {
127                         "name": "Commit VSP",
128                         "event": [
129                                 {
130                                         "listen": "test",
131                                         "script": {
132                                                 "type": "text/javascript",
133                                                 "exec": [
134                                                         "tests[\"Status code is 200\"] = responseCode.code === 200;"
135                                                 ]
136                                         }
137                                 }
138                         ],
139                         "request": {
140                                 "url": "{{url-sdc2}}/sdc1/feProxy/onboarding-api/v1.0/items/{{auto_vsp_id}}/versions/{{auto_vsp_version_id}}/actions",
141                                 "method": "PUT",
142                                 "header": [
143                                         {
144                                                 "key": "Content-Type",
145                                                 "value": "application/json",
146                                                 "description": ""
147                                         },
148                                         {
149                                                 "key": "Accept",
150                                                 "value": "application/json",
151                                                 "description": ""
152                                         },
153                                         {
154                                                 "key": "X-TransactionId",
155                                                 "value": "robot-ete-ba84612d-c1c6-4c53-9967-7b1dff276c7a",
156                                                 "description": ""
157                                         },
158                                         {
159                                                 "key": "USER_ID",
160                                                 "value": "cs0008",
161                                                 "description": ""
162                                         },
163                                         {
164                                                 "key": "X-FromAppId",
165                                                 "value": "robot-ete",
166                                                 "description": ""
167                                         }
168                                 ],
169                                 "body": {
170                                         "mode": "raw",
171                                         "raw": "{\"action\":\"Commit\",\"commitRequest\":{\"message\":\"ok\"}}"
172                                 },
173                                 "description": ""
174                         },
175                         "response": [
176                                 {
177                                         "id": "ed777560-450d-4f6c-8226-b3a7b9f8d297",
178                                         "name": "Checkin VSP",
179                                         "originalRequest": {
180                                                 "url": "",
181                                                 "header": [],
182                                                 "body": {
183                                                         "mode": "raw",
184                                                         "raw": ""
185                                                 },
186                                                 "description": ""
187                                         },
188                                         "status": "OK",
189                                         "code": 200,
190                                         "_postman_previewlanguage": "json",
191                                         "_postman_previewtype": "text",
192                                         "header": [
193                                                 {
194                                                         "name": "access-control-allow-credentials",
195                                                         "key": "access-control-allow-credentials",
196                                                         "value": "true",
197                                                         "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."
198                                                 },
199                                                 {
200                                                         "name": "access-control-allow-origin",
201                                                         "key": "access-control-allow-origin",
202                                                         "value": "chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop",
203                                                         "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."
204                                                 },
205                                                 {
206                                                         "name": "access-control-expose-headers",
207                                                         "key": "access-control-expose-headers",
208                                                         "value": "",
209                                                         "description": "Lets a server whitelist headers that browsers are allowed to access."
210                                                 },
211                                                 {
212                                                         "name": "content-type",
213                                                         "key": "content-type",
214                                                         "value": "application/json",
215                                                         "description": "The mime type of this content"
216                                                 },
217                                                 {
218                                                         "name": "date",
219                                                         "key": "date",
220                                                         "value": "Wed, 06 Jun 2018 16:14:24 GMT",
221                                                         "description": "The date and time that the message was sent"
222                                                 },
223                                                 {
224                                                         "name": "server",
225                                                         "key": "server",
226                                                         "value": "Jetty(9.3.21.v20170918)",
227                                                         "description": "A name for the server"
228                                                 },
229                                                 {
230                                                         "name": "transfer-encoding",
231                                                         "key": "transfer-encoding",
232                                                         "value": "chunked",
233                                                         "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."
234                                                 }
235                                         ],
236                                         "cookie": [],
237                                         "responseTime": 68,
238                                         "body": "{}"
239                                 }
240                         ]
241                 },
242                 {
243                         "name": "Submit VSP",
244                         "event": [
245                                 {
246                                         "listen": "test",
247                                         "script": {
248                                                 "type": "text/javascript",
249                                                 "exec": [
250                                                         "tests[\"Status code is 200\"] = responseCode.code === 200;"
251                                                 ]
252                                         }
253                                 }
254                         ],
255                         "request": {
256                                 "url": "{{url-sdc2}}/sdc1/feProxy/onboarding-api/v1.0/vendor-software-products/{{auto_vsp_id}}/versions/{{auto_vsp_version_id}}/actions",
257                                 "method": "PUT",
258                                 "header": [
259                                         {
260                                                 "key": "Content-Type",
261                                                 "value": "application/json",
262                                                 "description": ""
263                                         },
264                                         {
265                                                 "key": "Accept",
266                                                 "value": "application/json",
267                                                 "description": ""
268                                         },
269                                         {
270                                                 "key": "X-TransactionId",
271                                                 "value": "robot-ete-ba84612d-c1c6-4c53-9967-7b1dff276c7a",
272                                                 "description": ""
273                                         },
274                                         {
275                                                 "key": "USER_ID",
276                                                 "value": "cs0008",
277                                                 "description": ""
278                                         },
279                                         {
280                                                 "key": "X-FromAppId",
281                                                 "value": "robot-ete",
282                                                 "description": ""
283                                         }
284                                 ],
285                                 "body": {
286                                         "mode": "raw",
287                                         "raw": "{\"action\": \"Submit\"}"
288                                 },
289                                 "description": ""
290                         },
291                         "response": []
292                 },
293                 {
294                         "name": "CSAR VSP",
295                         "event": [
296                                 {
297                                         "listen": "test",
298                                         "script": {
299                                                 "type": "text/javascript",
300                                                 "exec": [
301                                                         "tests[\"Status code is 200\"] = responseCode.code === 200;"
302                                                 ]
303                                         }
304                                 }
305                         ],
306                         "request": {
307                                 "url": "{{url-sdc2}}/sdc1/feProxy/onboarding-api/v1.0/vendor-software-products/{{auto_vsp_id}}/versions/{{auto_vsp_version_id}}/actions",
308                                 "method": "PUT",
309                                 "header": [
310                                         {
311                                                 "key": "Content-Type",
312                                                 "value": "application/json",
313                                                 "description": ""
314                                         },
315                                         {
316                                                 "key": "Accept",
317                                                 "value": "application/json",
318                                                 "description": ""
319                                         },
320                                         {
321                                                 "key": "X-TransactionId",
322                                                 "value": "robot-ete-ba84612d-c1c6-4c53-9967-7b1dff276c7a",
323                                                 "description": ""
324                                         },
325                                         {
326                                                 "key": "USER_ID",
327                                                 "value": "cs0008",
328                                                 "description": ""
329                                         },
330                                         {
331                                                 "key": "X-FromAppId",
332                                                 "value": "robot-ete",
333                                                 "description": ""
334                                         }
335                                 ],
336                                 "body": {
337                                         "mode": "raw",
338                                         "raw": "{\"action\": \"Create_Package\"}"
339                                 },
340                                 "description": ""
341                         },
342                         "response": []
343                 }
344         ]
345 }