1
|
---
|
2
|
http_interactions:
|
3
|
- request:
|
4
|
method: post
|
5
|
uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/repositories/
|
6
|
body:
|
7
|
encoding: UTF-8
|
8
|
string: '{"id":"test_repo_iso_fixture","importer_type_id":"iso_importer","importer_config":{"feed":"file:///var/www/repositories/iso"},"distributors":[{"distributor_type_id":"iso_distributor","distributor_config":{"serve_http":true,"serve_https":true},"auto_publish":false,"distributor_id":"iso_distributor"}]}'
|
9
|
headers:
|
10
|
Accept:
|
11
|
- application/json
|
12
|
Accept-Encoding:
|
13
|
- gzip, deflate
|
14
|
Content-Type:
|
15
|
- application/json
|
16
|
Content-Length:
|
17
|
- '301'
|
18
|
User-Agent:
|
19
|
- Ruby
|
20
|
response:
|
21
|
status:
|
22
|
code: 201
|
23
|
message: CREATED
|
24
|
headers:
|
25
|
Date:
|
26
|
- Fri, 29 Apr 2016 16:21:19 GMT
|
27
|
Server:
|
28
|
- Apache/2.4.6 (CentOS)
|
29
|
Content-Length:
|
30
|
- '325'
|
31
|
Location:
|
32
|
- https://runcible.example.com/pulp/api/v2/repositories/test_repo_iso_fixture/
|
33
|
Content-Type:
|
34
|
- application/json; charset=utf-8
|
35
|
body:
|
36
|
encoding: UTF-8
|
37
|
string: '{"scratchpad": {}, "display_name": "test_repo_iso_fixture", "description":
|
38
|
null, "last_unit_added": null, "notes": {}, "last_unit_removed": null, "content_unit_counts":
|
39
|
{}, "_ns": "repos", "_id": {"$oid": "57238a00aca4886d952eea84"}, "id": "test_repo_iso_fixture",
|
40
|
"_href": "/pulp/api/v2/repositories/test_repo_iso_fixture/"}'
|
41
|
http_version:
|
42
|
recorded_at: Fri, 29 Apr 2016 16:21:20 GMT
|
43
|
- request:
|
44
|
method: get
|
45
|
uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/repositories/test_repo_iso_fixture/?details=true
|
46
|
body:
|
47
|
encoding: US-ASCII
|
48
|
string: ''
|
49
|
headers:
|
50
|
Accept:
|
51
|
- application/json
|
52
|
Accept-Encoding:
|
53
|
- gzip, deflate
|
54
|
Content-Type:
|
55
|
- application/json
|
56
|
User-Agent:
|
57
|
- Ruby
|
58
|
response:
|
59
|
status:
|
60
|
code: 200
|
61
|
message: OK
|
62
|
headers:
|
63
|
Date:
|
64
|
- Fri, 29 Apr 2016 16:21:20 GMT
|
65
|
Server:
|
66
|
- Apache/2.4.6 (CentOS)
|
67
|
Vary:
|
68
|
- Accept-Encoding
|
69
|
Content-Length:
|
70
|
- '1143'
|
71
|
Content-Type:
|
72
|
- application/json; charset=utf-8
|
73
|
body:
|
74
|
encoding: ASCII-8BIT
|
75
|
string: '{"scratchpad": {}, "display_name": "test_repo_iso_fixture", "description":
|
76
|
null, "distributors": [{"repo_id": "test_repo_iso_fixture", "_href": "/pulp/api/v2/repositories/test_repo_iso_fixture/distributors/iso_distributor/",
|
77
|
"_ns": "repo_distributors", "last_publish": null, "distributor_type_id": "iso_distributor",
|
78
|
"auto_publish": false, "scratchpad": {}, "_id": {"$oid": "57238a00aca4886d952eea86"},
|
79
|
"config": {"serve_https": true, "serve_http": true}, "id": "iso_distributor"}],
|
80
|
"last_unit_added": null, "notes": {}, "last_unit_removed": null, "content_unit_counts":
|
81
|
{}, "_ns": "repos", "importers": [{"scratchpad": null, "_href": "/pulp/api/v2/repositories/test_repo_iso_fixture/importers/iso_importer/",
|
82
|
"_ns": "repo_importers", "importer_type_id": "iso_importer", "last_sync":
|
83
|
null, "repo_id": "test_repo_iso_fixture", "_id": {"$oid": "57238a00aca4886d952eea85"},
|
84
|
"config": {"feed": "file:///var/www/repositories/iso"}, "id": "iso_importer"}],
|
85
|
"locally_stored_units": 0, "_id": {"$oid": "57238a00aca4886d952eea84"}, "total_repository_units":
|
86
|
0, "id": "test_repo_iso_fixture", "_href": "/pulp/api/v2/repositories/test_repo_iso_fixture/"}'
|
87
|
http_version:
|
88
|
recorded_at: Fri, 29 Apr 2016 16:21:20 GMT
|
89
|
- request:
|
90
|
method: post
|
91
|
uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/repositories/test_repo_iso_fixture/actions/sync/
|
92
|
body:
|
93
|
encoding: UTF-8
|
94
|
string: "{}"
|
95
|
headers:
|
96
|
Accept:
|
97
|
- application/json
|
98
|
Accept-Encoding:
|
99
|
- gzip, deflate
|
100
|
Content-Type:
|
101
|
- application/json
|
102
|
Content-Length:
|
103
|
- '2'
|
104
|
User-Agent:
|
105
|
- Ruby
|
106
|
response:
|
107
|
status:
|
108
|
code: 202
|
109
|
message: ACCEPTED
|
110
|
headers:
|
111
|
Date:
|
112
|
- Fri, 29 Apr 2016 16:21:20 GMT
|
113
|
Server:
|
114
|
- Apache/2.4.6 (CentOS)
|
115
|
Content-Length:
|
116
|
- '172'
|
117
|
Content-Type:
|
118
|
- application/json; charset=utf-8
|
119
|
body:
|
120
|
encoding: UTF-8
|
121
|
string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/3e5e163f-62b0-4584-a7fd-f05fc5165a58/",
|
122
|
"task_id": "3e5e163f-62b0-4584-a7fd-f05fc5165a58"}], "result": null, "error":
|
123
|
null}'
|
124
|
http_version:
|
125
|
recorded_at: Fri, 29 Apr 2016 16:21:20 GMT
|
126
|
- request:
|
127
|
method: get
|
128
|
uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/tasks/3e5e163f-62b0-4584-a7fd-f05fc5165a58/
|
129
|
body:
|
130
|
encoding: US-ASCII
|
131
|
string: ''
|
132
|
headers:
|
133
|
Accept:
|
134
|
- application/json
|
135
|
Accept-Encoding:
|
136
|
- gzip, deflate
|
137
|
Content-Type:
|
138
|
- application/json
|
139
|
User-Agent:
|
140
|
- Ruby
|
141
|
response:
|
142
|
status:
|
143
|
code: 200
|
144
|
message: OK
|
145
|
headers:
|
146
|
Date:
|
147
|
- Fri, 29 Apr 2016 16:21:20 GMT
|
148
|
Server:
|
149
|
- Apache/2.4.6 (CentOS)
|
150
|
Vary:
|
151
|
- Accept-Encoding
|
152
|
Content-Length:
|
153
|
- '1801'
|
154
|
Content-Type:
|
155
|
- application/json; charset=utf-8
|
156
|
body:
|
157
|
encoding: ASCII-8BIT
|
158
|
string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
|
159
|
"_href": "/pulp/api/v2/tasks/3e5e163f-62b0-4584-a7fd-f05fc5165a58/", "task_id":
|
160
|
"3e5e163f-62b0-4584-a7fd-f05fc5165a58", "tags": ["pulp:repository:test_repo_iso_fixture",
|
161
|
"pulp:action:sync"], "finish_time": "2016-04-29T16:21:20Z", "_ns": "task_status",
|
162
|
"start_time": "2016-04-29T16:21:20Z", "traceback": null, "spawned_tasks":
|
163
|
[], "progress_report": {"iso_importer": {"error_message": null, "traceback":
|
164
|
null, "finished_bytes": 14, "num_isos": 1, "state": "complete", "total_bytes":
|
165
|
14, "state_times": {"not_started": "2016-04-29T16:21:20", "manifest_in_progress":
|
166
|
"2016-04-29T16:21:20", "complete": "2016-04-29T16:21:20", "isos_in_progress":
|
167
|
"2016-04-29T16:21:20"}, "num_isos_finished": 1, "iso_error_messages": []}},
|
168
|
"queue": "reserved_resource_worker-0@runcible.example.com.dq", "state": "finished",
|
169
|
"worker_name": "reserved_resource_worker-0@runcible.example.com", "result":
|
170
|
{"result": "success", "importer_id": "iso_importer", "exception": null, "repo_id":
|
171
|
"test_repo_iso_fixture", "traceback": null, "started": "2016-04-29T16:21:20Z",
|
172
|
"_ns": "repo_sync_results", "completed": "2016-04-29T16:21:20Z", "importer_type_id":
|
173
|
"iso_importer", "error_message": null, "summary": {"total_bytes": 14, "traceback":
|
174
|
null, "error_message": null, "finished_bytes": 14, "num_isos": 1, "state":
|
175
|
"complete", "iso_error_messages": [], "num_isos_finished": 1, "state_times":
|
176
|
{"not_started": "2016-04-29T16:21:20", "manifest_in_progress": "2016-04-29T16:21:20",
|
177
|
"complete": "2016-04-29T16:21:20", "isos_in_progress": "2016-04-29T16:21:20"}},
|
178
|
"added_count": 1, "removed_count": 0, "updated_count": 0, "id": "57238a00aca4886e0c05c3ab",
|
179
|
"details": null}, "error": null, "_id": {"$oid": "57238a00898f5c862fa3ea5f"},
|
180
|
"id": "57238a00898f5c862fa3ea5f"}'
|
181
|
http_version:
|
182
|
recorded_at: Fri, 29 Apr 2016 16:21:21 GMT
|
183
|
- request:
|
184
|
method: get
|
185
|
uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/repositories/test_repo_iso_fixture//history/sync/
|
186
|
body:
|
187
|
encoding: US-ASCII
|
188
|
string: ''
|
189
|
headers:
|
190
|
Accept:
|
191
|
- application/json
|
192
|
Accept-Encoding:
|
193
|
- gzip, deflate
|
194
|
Content-Type:
|
195
|
- application/json
|
196
|
User-Agent:
|
197
|
- Ruby
|
198
|
response:
|
199
|
status:
|
200
|
code: 200
|
201
|
message: OK
|
202
|
headers:
|
203
|
Date:
|
204
|
- Fri, 29 Apr 2016 16:21:21 GMT
|
205
|
Server:
|
206
|
- Apache/2.4.6 (CentOS)
|
207
|
Vary:
|
208
|
- Accept-Encoding
|
209
|
Content-Length:
|
210
|
- '803'
|
211
|
Content-Type:
|
212
|
- application/json; charset=utf-8
|
213
|
body:
|
214
|
encoding: ASCII-8BIT
|
215
|
string: '[{"importer_type_id": "iso_importer", "importer_id": "iso_importer",
|
216
|
"exception": null, "repo_id": "test_repo_iso_fixture", "removed_count": 0,
|
217
|
"started": "2016-04-29T16:21:20Z", "_ns": "repo_sync_results", "completed":
|
218
|
"2016-04-29T16:21:20Z", "traceback": null, "summary": {"error_message": null,
|
219
|
"traceback": null, "finished_bytes": 14, "num_isos": 1, "state": "complete",
|
220
|
"iso_error_messages": [], "state_times": {"not_started": "2016-04-29T16:21:20",
|
221
|
"manifest_in_progress": "2016-04-29T16:21:20", "complete": "2016-04-29T16:21:20",
|
222
|
"isos_in_progress": "2016-04-29T16:21:20"}, "num_isos_finished": 1, "total_bytes":
|
223
|
14}, "added_count": 1, "error_message": null, "updated_count": 0, "details":
|
224
|
null, "_id": {"$oid": "57238a00aca4886e0c05c3ab"}, "id": "57238a00aca4886e0c05c3ab",
|
225
|
"result": "success"}]'
|
226
|
http_version:
|
227
|
recorded_at: Fri, 29 Apr 2016 16:21:21 GMT
|
228
|
- request:
|
229
|
method: delete
|
230
|
uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/repositories/test_repo_iso_fixture/
|
231
|
body:
|
232
|
encoding: US-ASCII
|
233
|
string: ''
|
234
|
headers:
|
235
|
Accept:
|
236
|
- application/json
|
237
|
Accept-Encoding:
|
238
|
- gzip, deflate
|
239
|
Content-Type:
|
240
|
- application/json
|
241
|
User-Agent:
|
242
|
- Ruby
|
243
|
response:
|
244
|
status:
|
245
|
code: 202
|
246
|
message: ACCEPTED
|
247
|
headers:
|
248
|
Date:
|
249
|
- Fri, 29 Apr 2016 16:21:21 GMT
|
250
|
Server:
|
251
|
- Apache/2.4.6 (CentOS)
|
252
|
Content-Length:
|
253
|
- '172'
|
254
|
Content-Type:
|
255
|
- application/json; charset=utf-8
|
256
|
body:
|
257
|
encoding: UTF-8
|
258
|
string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/33e4e9b3-36a6-4fc7-bd62-d443e87166fd/",
|
259
|
"task_id": "33e4e9b3-36a6-4fc7-bd62-d443e87166fd"}], "result": null, "error":
|
260
|
null}'
|
261
|
http_version:
|
262
|
recorded_at: Fri, 29 Apr 2016 16:21:21 GMT
|
263
|
- request:
|
264
|
method: get
|
265
|
uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/tasks/33e4e9b3-36a6-4fc7-bd62-d443e87166fd/
|
266
|
body:
|
267
|
encoding: US-ASCII
|
268
|
string: ''
|
269
|
headers:
|
270
|
Accept:
|
271
|
- application/json
|
272
|
Accept-Encoding:
|
273
|
- gzip, deflate
|
274
|
Content-Type:
|
275
|
- application/json
|
276
|
User-Agent:
|
277
|
- Ruby
|
278
|
response:
|
279
|
status:
|
280
|
code: 200
|
281
|
message: OK
|
282
|
headers:
|
283
|
Date:
|
284
|
- Fri, 29 Apr 2016 16:21:22 GMT
|
285
|
Server:
|
286
|
- Apache/2.4.6 (CentOS)
|
287
|
Vary:
|
288
|
- Accept-Encoding
|
289
|
Content-Length:
|
290
|
- '686'
|
291
|
Content-Type:
|
292
|
- application/json; charset=utf-8
|
293
|
body:
|
294
|
encoding: ASCII-8BIT
|
295
|
string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
|
296
|
"_href": "/pulp/api/v2/tasks/33e4e9b3-36a6-4fc7-bd62-d443e87166fd/", "task_id":
|
297
|
"33e4e9b3-36a6-4fc7-bd62-d443e87166fd", "tags": ["pulp:repository:test_repo_iso_fixture",
|
298
|
"pulp:action:delete"], "finish_time": "2016-04-29T16:21:21Z", "_ns": "task_status",
|
299
|
"start_time": "2016-04-29T16:21:21Z", "traceback": null, "spawned_tasks":
|
300
|
[], "progress_report": {}, "queue": "reserved_resource_worker-0@runcible.example.com.dq",
|
301
|
"state": "finished", "worker_name": "reserved_resource_worker-0@runcible.example.com",
|
302
|
"result": null, "error": null, "_id": {"$oid": "57238a01898f5c862fa3ea61"},
|
303
|
"id": "57238a01898f5c862fa3ea61"}'
|
304
|
http_version:
|
305
|
recorded_at: Fri, 29 Apr 2016 16:21:22 GMT
|
306
|
- request:
|
307
|
method: post
|
308
|
uri: https://admin:admin@devel.example.com/pulp/api/v2/repositories/
|
309
|
body:
|
310
|
encoding: UTF-8
|
311
|
string: '{"id":"integration_test_id","importer_type_id":"iso_importer","importer_config":{"feed":"file:///var/www/repositories/iso"},"distributors":[{"distributor_type_id":"iso_distributor","distributor_config":{"serve_http":true,"serve_https":true},"auto_publish":false,"distributor_id":"iso_distributor"}]}'
|
312
|
headers:
|
313
|
Accept:
|
314
|
- application/json
|
315
|
Accept-Encoding:
|
316
|
- gzip, deflate
|
317
|
Content-Type:
|
318
|
- application/json
|
319
|
Content-Length:
|
320
|
- '299'
|
321
|
User-Agent:
|
322
|
- Ruby
|
323
|
response:
|
324
|
status:
|
325
|
code: 201
|
326
|
message: CREATED
|
327
|
headers:
|
328
|
Date:
|
329
|
- Fri, 01 Jul 2016 14:43:39 GMT
|
330
|
Server:
|
331
|
- Apache/2.4.6 (CentOS)
|
332
|
Content-Length:
|
333
|
- '319'
|
334
|
Location:
|
335
|
- https://devel.example.com/pulp/api/v2/repositories/integration_test_id/
|
336
|
Content-Type:
|
337
|
- application/json; charset=utf-8
|
338
|
body:
|
339
|
encoding: UTF-8
|
340
|
string: '{"scratchpad": {}, "display_name": "integration_test_id", "description":
|
341
|
null, "last_unit_added": null, "notes": {}, "last_unit_removed": null, "content_unit_counts":
|
342
|
{}, "_ns": "repos", "_id": {"$oid": "5776819b8af3c82a3af4a904"}, "id": "integration_test_id",
|
343
|
"_href": "/pulp/api/v2/repositories/integration_test_id/"}'
|
344
|
http_version:
|
345
|
recorded_at: Fri, 01 Jul 2016 14:43:39 GMT
|
346
|
- request:
|
347
|
method: get
|
348
|
uri: https://admin:admin@devel.example.com/pulp/api/v2/tasks/4a693baa-4ecc-47dd-971b-fa5d498967b8/
|
349
|
body:
|
350
|
encoding: US-ASCII
|
351
|
string: ''
|
352
|
headers:
|
353
|
Accept:
|
354
|
- application/json
|
355
|
Accept-Encoding:
|
356
|
- gzip, deflate
|
357
|
Content-Type:
|
358
|
- application/json
|
359
|
User-Agent:
|
360
|
- Ruby
|
361
|
response:
|
362
|
status:
|
363
|
code: 200
|
364
|
message: OK
|
365
|
headers:
|
366
|
Date:
|
367
|
- Fri, 01 Jul 2016 14:43:40 GMT
|
368
|
Server:
|
369
|
- Apache/2.4.6 (CentOS)
|
370
|
Vary:
|
371
|
- Accept-Encoding
|
372
|
Content-Length:
|
373
|
- '678'
|
374
|
Content-Type:
|
375
|
- application/json; charset=utf-8
|
376
|
body:
|
377
|
encoding: ASCII-8BIT
|
378
|
string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
|
379
|
"_href": "/pulp/api/v2/tasks/4a693baa-4ecc-47dd-971b-fa5d498967b8/", "task_id":
|
380
|
"4a693baa-4ecc-47dd-971b-fa5d498967b8", "tags": ["pulp:repository:integration_test_id",
|
381
|
"pulp:action:delete"], "finish_time": "2016-07-01T14:43:39Z", "_ns": "task_status",
|
382
|
"start_time": "2016-07-01T14:43:39Z", "traceback": null, "spawned_tasks":
|
383
|
[], "progress_report": {}, "queue": "reserved_resource_worker-1@devel.example.com.dq",
|
384
|
"state": "finished", "worker_name": "reserved_resource_worker-1@devel.example.com",
|
385
|
"result": null, "error": null, "_id": {"$oid": "5776819b9036949adab88912"},
|
386
|
"id": "5776819b9036949adab88912"}'
|
387
|
http_version:
|
388
|
recorded_at: Fri, 01 Jul 2016 14:43:40 GMT
|
389
|
- request:
|
390
|
method: post
|
391
|
uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/repositories/
|
392
|
body:
|
393
|
encoding: UTF-8
|
394
|
string: '{"id":"integration_test_id","importer_type_id":"iso_importer","importer_config":{"feed":"file:///var/www/repositories/iso"},"distributors":[{"distributor_type_id":"iso_distributor","distributor_config":{"relative_url":"/path","serve_http":true,"serve_https":true},"auto_publish":false,"distributor_id":"iso_distributor"}]}'
|
395
|
headers:
|
396
|
Accept:
|
397
|
- application/json
|
398
|
Accept-Encoding:
|
399
|
- gzip, deflate
|
400
|
User-Agent:
|
401
|
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
|
402
|
Content-Type:
|
403
|
- application/json
|
404
|
Content-Length:
|
405
|
- '322'
|
406
|
Host:
|
407
|
- centos7-devel.zpm.example.com
|
408
|
response:
|
409
|
status:
|
410
|
code: 400
|
411
|
message: BAD REQUEST
|
412
|
headers:
|
413
|
Date:
|
414
|
- Mon, 29 Jan 2018 17:52:07 GMT
|
415
|
Server:
|
416
|
- Apache/2.4.6 (CentOS)
|
417
|
Content-Length:
|
418
|
- '419'
|
419
|
Connection:
|
420
|
- close
|
421
|
Content-Type:
|
422
|
- application/json; charset=utf-8
|
423
|
body:
|
424
|
encoding: UTF-8
|
425
|
string: '{"http_request_method": "POST", "exception": null, "error_message":
|
426
|
"Value for [relative_url] must be be a relative path: /path", "_href": "/pulp/api/v2/repositories/",
|
427
|
"http_status": 400, "error": {"code": "PLP0000", "data": {}, "description":
|
428
|
"Value for [relative_url] must be be a relative path: /path", "sub_errors":
|
429
|
[]}, "args": ["Value for [relative_url] must be be a relative path: /path"],
|
430
|
"traceback": null}'
|
431
|
http_version:
|
432
|
recorded_at: Mon, 29 Jan 2018 17:52:07 GMT
|
433
|
- request:
|
434
|
method: post
|
435
|
uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/repositories/
|
436
|
body:
|
437
|
encoding: UTF-8
|
438
|
string: '{"id":"integration_test_id","importer_type_id":"iso_importer","importer_config":{"feed":"file:///var/www/repositories/iso"},"distributors":[{"distributor_type_id":"iso_distributor","distributor_config":{"relative_url":"path","serve_http":true,"serve_https":true},"auto_publish":false,"distributor_id":"iso_distributor"}]}'
|
439
|
headers:
|
440
|
Accept:
|
441
|
- application/json
|
442
|
Accept-Encoding:
|
443
|
- gzip, deflate
|
444
|
User-Agent:
|
445
|
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
|
446
|
Content-Type:
|
447
|
- application/json
|
448
|
Content-Length:
|
449
|
- '321'
|
450
|
Host:
|
451
|
- centos7-devel.zpm.example.com
|
452
|
response:
|
453
|
status:
|
454
|
code: 201
|
455
|
message: CREATED
|
456
|
headers:
|
457
|
Date:
|
458
|
- Mon, 29 Jan 2018 17:59:41 GMT
|
459
|
Server:
|
460
|
- Apache/2.4.6 (CentOS)
|
461
|
Content-Length:
|
462
|
- '319'
|
463
|
Location:
|
464
|
- https://centos7-devel.zpm.example.com/pulp/api/v2/repositories/integration_test_id/
|
465
|
Content-Type:
|
466
|
- application/json; charset=utf-8
|
467
|
body:
|
468
|
encoding: UTF-8
|
469
|
string: '{"scratchpad": {}, "display_name": "integration_test_id", "description":
|
470
|
null, "last_unit_added": null, "notes": {}, "last_unit_removed": null, "content_unit_counts":
|
471
|
{}, "_ns": "repos", "_id": {"$oid": "5a6f610d07049113890cb948"}, "id": "integration_test_id",
|
472
|
"_href": "/pulp/api/v2/repositories/integration_test_id/"}'
|
473
|
http_version:
|
474
|
recorded_at: Mon, 29 Jan 2018 17:59:41 GMT
|
475
|
- request:
|
476
|
method: get
|
477
|
uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/repositories/integration_test_id/?details=true
|
478
|
body:
|
479
|
encoding: US-ASCII
|
480
|
string: ''
|
481
|
headers:
|
482
|
Accept:
|
483
|
- application/json
|
484
|
Accept-Encoding:
|
485
|
- gzip, deflate
|
486
|
User-Agent:
|
487
|
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
|
488
|
Content-Type:
|
489
|
- application/json
|
490
|
Host:
|
491
|
- centos7-devel.zpm.example.com
|
492
|
response:
|
493
|
status:
|
494
|
code: 200
|
495
|
message: OK
|
496
|
headers:
|
497
|
Date:
|
498
|
- Mon, 29 Jan 2018 17:59:41 GMT
|
499
|
Server:
|
500
|
- Apache/2.4.6 (CentOS)
|
501
|
Vary:
|
502
|
- Accept-Encoding
|
503
|
Content-Length:
|
504
|
- '1289'
|
505
|
Content-Type:
|
506
|
- application/json; charset=utf-8
|
507
|
body:
|
508
|
encoding: ASCII-8BIT
|
509
|
string: '{"scratchpad": {}, "display_name": "integration_test_id", "description":
|
510
|
null, "distributors": [{"repo_id": "integration_test_id", "last_updated":
|
511
|
"2018-01-29T17:59:41Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/iso_distributor/",
|
512
|
"last_override_config": {}, "last_publish": null, "distributor_type_id": "iso_distributor",
|
513
|
"auto_publish": false, "scratchpad": {}, "_ns": "repo_distributors", "_id":
|
514
|
{"$oid": "5a6f610d07049113890cb94a"}, "config": {"serve_https": true, "serve_http":
|
515
|
true, "relative_url": "path"}, "id": "iso_distributor"}], "last_unit_added":
|
516
|
null, "notes": {}, "last_unit_removed": null, "content_unit_counts": {}, "_ns":
|
517
|
"repos", "importers": [{"repo_id": "integration_test_id", "last_updated":
|
518
|
"2018-01-29T17:59:41Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/iso_importer/",
|
519
|
"_ns": "repo_importers", "importer_type_id": "iso_importer", "last_override_config":
|
520
|
{}, "last_sync": null, "scratchpad": null, "_id": {"$oid": "5a6f610d07049113890cb949"},
|
521
|
"config": {"feed": "file:///var/www/repositories/iso"}, "id": "iso_importer"}],
|
522
|
"locally_stored_units": 0, "_id": {"$oid": "5a6f610d07049113890cb948"}, "total_repository_units":
|
523
|
0, "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}'
|
524
|
http_version:
|
525
|
recorded_at: Mon, 29 Jan 2018 17:59:41 GMT
|
526
|
- request:
|
527
|
method: delete
|
528
|
uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/repositories/integration_test_id/
|
529
|
body:
|
530
|
encoding: US-ASCII
|
531
|
string: ''
|
532
|
headers:
|
533
|
Accept:
|
534
|
- application/json
|
535
|
Accept-Encoding:
|
536
|
- gzip, deflate
|
537
|
User-Agent:
|
538
|
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
|
539
|
Content-Type:
|
540
|
- application/json
|
541
|
Host:
|
542
|
- centos7-devel.zpm.example.com
|
543
|
response:
|
544
|
status:
|
545
|
code: 202
|
546
|
message: ACCEPTED
|
547
|
headers:
|
548
|
Date:
|
549
|
- Mon, 29 Jan 2018 17:59:41 GMT
|
550
|
Server:
|
551
|
- Apache/2.4.6 (CentOS)
|
552
|
Content-Length:
|
553
|
- '172'
|
554
|
Content-Type:
|
555
|
- application/json; charset=utf-8
|
556
|
body:
|
557
|
encoding: UTF-8
|
558
|
string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/a6d1ef83-f04b-4f6a-bc35-833a7161beb9/",
|
559
|
"task_id": "a6d1ef83-f04b-4f6a-bc35-833a7161beb9"}], "result": null, "error":
|
560
|
null}'
|
561
|
http_version:
|
562
|
recorded_at: Mon, 29 Jan 2018 17:59:41 GMT
|
563
|
- request:
|
564
|
method: get
|
565
|
uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/tasks/a6d1ef83-f04b-4f6a-bc35-833a7161beb9/
|
566
|
body:
|
567
|
encoding: US-ASCII
|
568
|
string: ''
|
569
|
headers:
|
570
|
Accept:
|
571
|
- application/json
|
572
|
Accept-Encoding:
|
573
|
- gzip, deflate
|
574
|
User-Agent:
|
575
|
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
|
576
|
Content-Type:
|
577
|
- application/json
|
578
|
Host:
|
579
|
- centos7-devel.zpm.example.com
|
580
|
response:
|
581
|
status:
|
582
|
code: 200
|
583
|
message: OK
|
584
|
headers:
|
585
|
Date:
|
586
|
- Mon, 29 Jan 2018 17:59:41 GMT
|
587
|
Server:
|
588
|
- Apache/2.4.6 (CentOS)
|
589
|
Vary:
|
590
|
- Accept-Encoding
|
591
|
Content-Length:
|
592
|
- '702'
|
593
|
Content-Type:
|
594
|
- application/json; charset=utf-8
|
595
|
body:
|
596
|
encoding: ASCII-8BIT
|
597
|
string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
|
598
|
"_href": "/pulp/api/v2/tasks/a6d1ef83-f04b-4f6a-bc35-833a7161beb9/", "task_id":
|
599
|
"a6d1ef83-f04b-4f6a-bc35-833a7161beb9", "tags": ["pulp:repository:integration_test_id",
|
600
|
"pulp:action:delete"], "finish_time": "2018-01-29T17:59:41Z", "_ns": "task_status",
|
601
|
"start_time": "2018-01-29T17:59:41Z", "traceback": null, "spawned_tasks":
|
602
|
[], "progress_report": {}, "queue": "reserved_resource_worker-1@centos7-devel.zpm.example.com.dq",
|
603
|
"state": "finished", "worker_name": "reserved_resource_worker-1@centos7-devel.zpm.example.com",
|
604
|
"result": null, "error": null, "_id": {"$oid": "5a6f610dab249cfe47a6cbe9"},
|
605
|
"id": "5a6f610dab249cfe47a6cbe9"}'
|
606
|
http_version:
|
607
|
recorded_at: Mon, 29 Jan 2018 17:59:42 GMT
|
608
|
recorded_with: VCR 4.0.0
|