Project

General

Profile

Download (13.5 KB) Statistics
| Branch: | Tag: | Revision:

runcible / test / fixtures / vcr_cassettes / extensions / ostree_repository_create / create_with_importer_and_distributors_objects.yml @ 524638e4

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":"integration_test_id","importer_type_id":"ostree_web_importer","importer_config":{},"notes":{"_repo-type":"OSTREE"},"distributors":[{"distributor_type_id":"ostree_web_distributor","distributor_config":{},"auto_publish":false,"distributor_id":"123"}]}'
9
    headers:
10
      Accept:
11
      - application/json
12
      Accept-Encoding:
13
      - gzip, deflate
14
      Content-Type:
15
      - application/json
16
      Content-Length:
17
      - '256'
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:39 GMT
27
      Server:
28
      - Apache/2.4.6 (CentOS)
29
      Content-Length:
30
      - '341'
31
      Location:
32
      - https://runcible.example.com/pulp/api/v2/repositories/integration_test_id/
33
      Content-Type:
34
      - application/json; charset=utf-8
35
    body:
36
      encoding: UTF-8
37
      string: '{"scratchpad": {}, "display_name": "integration_test_id", "description":
38
        null, "last_unit_added": null, "notes": {"_repo-type": "OSTREE"}, "last_unit_removed":
39
        null, "content_unit_counts": {}, "_ns": "repos", "_id": {"$oid": "57238a14aca4886d952eea98"},
40
        "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}'
41
    http_version: 
42
  recorded_at: Fri, 29 Apr 2016 16:21:40 GMT
43
- request:
44
    method: get
45
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/tasks/3230f8d2-677d-482b-a2e0-39069b578a3f/
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:40 GMT
65
      Server:
66
      - Apache/2.4.6 (CentOS)
67
      Vary:
68
      - Accept-Encoding
69
      Content-Length:
70
      - '684'
71
      Content-Type:
72
      - application/json; charset=utf-8
73
    body:
74
      encoding: ASCII-8BIT
75
      string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
76
        "_href": "/pulp/api/v2/tasks/3230f8d2-677d-482b-a2e0-39069b578a3f/", "task_id":
77
        "3230f8d2-677d-482b-a2e0-39069b578a3f", "tags": ["pulp:repository:integration_test_id",
78
        "pulp:action:delete"], "finish_time": "2016-04-29T16:21:40Z", "_ns": "task_status",
79
        "start_time": "2016-04-29T16:21:40Z", "traceback": null, "spawned_tasks":
80
        [], "progress_report": {}, "queue": "reserved_resource_worker-0@runcible.example.com.dq",
81
        "state": "finished", "worker_name": "reserved_resource_worker-0@runcible.example.com",
82
        "result": null, "error": null, "_id": {"$oid": "57238a14898f5c862fa3ea80"},
83
        "id": "57238a14898f5c862fa3ea80"}'
84
    http_version: 
85
  recorded_at: Fri, 29 Apr 2016 16:21:41 GMT
86
- request:
87
    method: get
88
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/936bf004-4abe-451e-b6ca-8c80dd86ae1c/
89
    body:
90
      encoding: US-ASCII
91
      string: ''
92
    headers:
93
      Accept:
94
      - application/json
95
      Accept-Encoding:
96
      - gzip, deflate
97
      Content-Type:
98
      - application/json
99
      User-Agent:
100
      - Ruby
101
  response:
102
    status:
103
      code: 200
104
      message: OK
105
    headers:
106
      Date:
107
      - Wed, 01 Feb 2017 12:26:45 GMT
108
      Server:
109
      - Apache/2.4.6 (CentOS)
110
      Vary:
111
      - Accept-Encoding
112
      Content-Length:
113
      - '680'
114
      Connection:
115
      - close
116
      Content-Type:
117
      - application/json; charset=utf-8
118
    body:
119
      encoding: ASCII-8BIT
120
      string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
121
        "_href": "/pulp/api/v2/tasks/936bf004-4abe-451e-b6ca-8c80dd86ae1c/", "task_id":
122
        "936bf004-4abe-451e-b6ca-8c80dd86ae1c", "tags": ["pulp:repository:integration_test_id",
123
        "pulp:action:delete"], "finish_time": "2017-02-01T12:26:45Z", "_ns": "task_status",
124
        "start_time": "2017-02-01T12:26:45Z", "traceback": null, "spawned_tasks":
125
        [], "progress_report": {}, "queue": "reserved_resource_worker-1@obelix.example.com.dq",
126
        "state": "finished", "worker_name": "reserved_resource_worker-1@obelix.example.com",
127
        "result": null, "error": null, "_id": {"$oid": "5891d4054b92d9e3004e81c0"},
128
        "id": "5891d4054b92d9e3004e81c0"}'
129
    http_version: 
130
  recorded_at: Wed, 01 Feb 2017 12:26:45 GMT
131
- request:
132
    method: get
133
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/f61b3286-b834-4370-9cd7-a18392a46123/
134
    body:
135
      encoding: US-ASCII
136
      string: ''
137
    headers:
138
      Accept:
139
      - application/json
140
      Accept-Encoding:
141
      - gzip, deflate
142
      Content-Type:
143
      - application/json
144
      User-Agent:
145
      - Ruby
146
  response:
147
    status:
148
      code: 200
149
      message: OK
150
    headers:
151
      Date:
152
      - Wed, 01 Feb 2017 12:28:30 GMT
153
      Server:
154
      - Apache/2.4.6 (CentOS)
155
      Vary:
156
      - Accept-Encoding
157
      Content-Length:
158
      - '680'
159
      Connection:
160
      - close
161
      Content-Type:
162
      - application/json; charset=utf-8
163
    body:
164
      encoding: ASCII-8BIT
165
      string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
166
        "_href": "/pulp/api/v2/tasks/f61b3286-b834-4370-9cd7-a18392a46123/", "task_id":
167
        "f61b3286-b834-4370-9cd7-a18392a46123", "tags": ["pulp:repository:integration_test_id",
168
        "pulp:action:delete"], "finish_time": "2017-02-01T12:28:30Z", "_ns": "task_status",
169
        "start_time": "2017-02-01T12:28:30Z", "traceback": null, "spawned_tasks":
170
        [], "progress_report": {}, "queue": "reserved_resource_worker-1@obelix.example.com.dq",
171
        "state": "finished", "worker_name": "reserved_resource_worker-1@obelix.example.com",
172
        "result": null, "error": null, "_id": {"$oid": "5891d46e4b92d9e3004e81c8"},
173
        "id": "5891d46e4b92d9e3004e81c8"}'
174
    http_version: 
175
  recorded_at: Wed, 01 Feb 2017 12:28:30 GMT
176
- request:
177
    method: get
178
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/3483f8a3-51b3-4710-907c-0649d2f31d21/
179
    body:
180
      encoding: US-ASCII
181
      string: ''
182
    headers:
183
      Accept:
184
      - application/json
185
      Accept-Encoding:
186
      - gzip, deflate
187
      Content-Type:
188
      - application/json
189
      User-Agent:
190
      - Ruby
191
  response:
192
    status:
193
      code: 200
194
      message: OK
195
    headers:
196
      Date:
197
      - Wed, 01 Feb 2017 12:30:36 GMT
198
      Server:
199
      - Apache/2.4.6 (CentOS)
200
      Vary:
201
      - Accept-Encoding
202
      Content-Length:
203
      - '680'
204
      Connection:
205
      - close
206
      Content-Type:
207
      - application/json; charset=utf-8
208
    body:
209
      encoding: ASCII-8BIT
210
      string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
211
        "_href": "/pulp/api/v2/tasks/3483f8a3-51b3-4710-907c-0649d2f31d21/", "task_id":
212
        "3483f8a3-51b3-4710-907c-0649d2f31d21", "tags": ["pulp:repository:integration_test_id",
213
        "pulp:action:delete"], "finish_time": "2017-02-01T12:30:35Z", "_ns": "task_status",
214
        "start_time": "2017-02-01T12:30:35Z", "traceback": null, "spawned_tasks":
215
        [], "progress_report": {}, "queue": "reserved_resource_worker-1@obelix.example.com.dq",
216
        "state": "finished", "worker_name": "reserved_resource_worker-1@obelix.example.com",
217
        "result": null, "error": null, "_id": {"$oid": "5891d4eb4b92d9e3004e81d6"},
218
        "id": "5891d4eb4b92d9e3004e81d6"}'
219
    http_version: 
220
  recorded_at: Wed, 01 Feb 2017 12:30:36 GMT
221
- request:
222
    method: post
223
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/repositories/
224
    body:
225
      encoding: UTF-8
226
      string: '{"id":"integration_test_id","importer_type_id":"ostree_web_importer","importer_config":{"depth":-1},"notes":{"_repo-type":"OSTREE"},"distributors":[{"distributor_type_id":"ostree_web_distributor","distributor_config":{},"auto_publish":false,"distributor_id":"123"}]}'
227
    headers:
228
      Accept:
229
      - application/json
230
      Accept-Encoding:
231
      - gzip, deflate
232
      Content-Type:
233
      - application/json
234
      Content-Length:
235
      - '266'
236
      User-Agent:
237
      - Ruby
238
  response:
239
    status:
240
      code: 201
241
      message: CREATED
242
    headers:
243
      Date:
244
      - Wed, 01 Feb 2017 12:30:54 GMT
245
      Server:
246
      - Apache/2.4.6 (CentOS)
247
      Content-Length:
248
      - '341'
249
      Location:
250
      - https://obelix.example.com/pulp/api/v2/repositories/integration_test_id/
251
      Connection:
252
      - close
253
      Content-Type:
254
      - application/json; charset=utf-8
255
    body:
256
      encoding: UTF-8
257
      string: '{"scratchpad": {}, "display_name": "integration_test_id", "description":
258
        null, "last_unit_added": null, "notes": {"_repo-type": "OSTREE"}, "last_unit_removed":
259
        null, "content_unit_counts": {}, "_ns": "repos", "_id": {"$oid": "5891d4fe70be6f18c91f61d7"},
260
        "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}'
261
    http_version: 
262
  recorded_at: Wed, 01 Feb 2017 12:30:54 GMT
263
- request:
264
    method: get
265
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/repositories/integration_test_id/?details=true
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
      - Wed, 01 Feb 2017 12:30:54 GMT
285
      Server:
286
      - Apache/2.4.6 (CentOS)
287
      Vary:
288
      - Accept-Encoding
289
      Content-Length:
290
      - '1221'
291
      Connection:
292
      - close
293
      Content-Type:
294
      - application/json; charset=utf-8
295
    body:
296
      encoding: ASCII-8BIT
297
      string: '{"scratchpad": {}, "display_name": "integration_test_id", "description":
298
        null, "distributors": [{"repo_id": "integration_test_id", "last_updated":
299
        "2017-02-01T12:30:54Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/123/",
300
        "last_override_config": {}, "last_publish": null, "distributor_type_id": "ostree_web_distributor",
301
        "auto_publish": false, "scratchpad": {}, "_ns": "repo_distributors", "_id":
302
        {"$oid": "5891d4fe70be6f18c91f61d9"}, "config": {}, "id": "123"}], "last_unit_added":
303
        null, "notes": {"_repo-type": "OSTREE"}, "last_unit_removed": null, "content_unit_counts":
304
        {}, "_ns": "repos", "importers": [{"repo_id": "integration_test_id", "last_updated":
305
        "2017-02-01T12:30:54Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/ostree_web_importer/",
306
        "_ns": "repo_importers", "importer_type_id": "ostree_web_importer", "last_override_config":
307
        {}, "last_sync": null, "scratchpad": null, "_id": {"$oid": "5891d4fe70be6f18c91f61d8"},
308
        "config": {"depth": -1}, "id": "ostree_web_importer"}], "locally_stored_units":
309
        0, "_id": {"$oid": "5891d4fe70be6f18c91f61d7"}, "total_repository_units":
310
        0, "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}'
311
    http_version: 
312
  recorded_at: Wed, 01 Feb 2017 12:30:54 GMT
313
- request:
314
    method: delete
315
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/repositories/integration_test_id/
316
    body:
317
      encoding: US-ASCII
318
      string: ''
319
    headers:
320
      Accept:
321
      - application/json
322
      Accept-Encoding:
323
      - gzip, deflate
324
      Content-Type:
325
      - application/json
326
      User-Agent:
327
      - Ruby
328
  response:
329
    status:
330
      code: 202
331
      message: ACCEPTED
332
    headers:
333
      Date:
334
      - Wed, 01 Feb 2017 12:30:54 GMT
335
      Server:
336
      - Apache/2.4.6 (CentOS)
337
      Content-Length:
338
      - '172'
339
      Connection:
340
      - close
341
      Content-Type:
342
      - application/json; charset=utf-8
343
    body:
344
      encoding: UTF-8
345
      string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/34b2728e-41c7-4c47-9ca4-b494b3b5916e/",
346
        "task_id": "34b2728e-41c7-4c47-9ca4-b494b3b5916e"}], "result": null, "error":
347
        null}'
348
    http_version: 
349
  recorded_at: Wed, 01 Feb 2017 12:30:54 GMT
350
- request:
351
    method: get
352
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/34b2728e-41c7-4c47-9ca4-b494b3b5916e/
353
    body:
354
      encoding: US-ASCII
355
      string: ''
356
    headers:
357
      Accept:
358
      - application/json
359
      Accept-Encoding:
360
      - gzip, deflate
361
      Content-Type:
362
      - application/json
363
      User-Agent:
364
      - Ruby
365
  response:
366
    status:
367
      code: 200
368
      message: OK
369
    headers:
370
      Date:
371
      - Wed, 01 Feb 2017 12:30:55 GMT
372
      Server:
373
      - Apache/2.4.6 (CentOS)
374
      Vary:
375
      - Accept-Encoding
376
      Content-Length:
377
      - '680'
378
      Connection:
379
      - close
380
      Content-Type:
381
      - application/json; charset=utf-8
382
    body:
383
      encoding: ASCII-8BIT
384
      string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
385
        "_href": "/pulp/api/v2/tasks/34b2728e-41c7-4c47-9ca4-b494b3b5916e/", "task_id":
386
        "34b2728e-41c7-4c47-9ca4-b494b3b5916e", "tags": ["pulp:repository:integration_test_id",
387
        "pulp:action:delete"], "finish_time": "2017-02-01T12:30:54Z", "_ns": "task_status",
388
        "start_time": "2017-02-01T12:30:54Z", "traceback": null, "spawned_tasks":
389
        [], "progress_report": {}, "queue": "reserved_resource_worker-1@obelix.example.com.dq",
390
        "state": "finished", "worker_name": "reserved_resource_worker-1@obelix.example.com",
391
        "result": null, "error": null, "_id": {"$oid": "5891d4fe4b92d9e3004e81e1"},
392
        "id": "5891d4fe4b92d9e3004e81e1"}'
393
    http_version: 
394
  recorded_at: Wed, 01 Feb 2017 12:30:55 GMT
395
recorded_with: VCR 3.0.3