Project

General

Profile

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

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

1
---
2
http_interactions:
3
- request:
4
    method: get
5
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/tasks/4695c2c5-9c22-4eef-b330-cefef9ca256d/
6
    body:
7
      encoding: US-ASCII
8
      string: ''
9
    headers:
10
      Accept:
11
      - application/json
12
      Accept-Encoding:
13
      - gzip, deflate
14
      Content-Type:
15
      - application/json
16
      User-Agent:
17
      - Ruby
18
  response:
19
    status:
20
      code: 200
21
      message: OK
22
    headers:
23
      Date:
24
      - Fri, 29 Apr 2016 16:21:36 GMT
25
      Server:
26
      - Apache/2.4.6 (CentOS)
27
      Vary:
28
      - Accept-Encoding
29
      Content-Length:
30
      - '684'
31
      Content-Type:
32
      - application/json; charset=utf-8
33
    body:
34
      encoding: ASCII-8BIT
35
      string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
36
        "_href": "/pulp/api/v2/tasks/4695c2c5-9c22-4eef-b330-cefef9ca256d/", "task_id":
37
        "4695c2c5-9c22-4eef-b330-cefef9ca256d", "tags": ["pulp:repository:integration_test_id",
38
        "pulp:action:delete"], "finish_time": "2016-04-29T16:21:35Z", "_ns": "task_status",
39
        "start_time": "2016-04-29T16:21:35Z", "traceback": null, "spawned_tasks":
40
        [], "progress_report": {}, "queue": "reserved_resource_worker-0@runcible.example.com.dq",
41
        "state": "finished", "worker_name": "reserved_resource_worker-0@runcible.example.com",
42
        "result": null, "error": null, "_id": {"$oid": "57238a0f898f5c862fa3ea7c"},
43
        "id": "57238a0f898f5c862fa3ea7c"}'
44
    http_version: 
45
  recorded_at: Fri, 29 Apr 2016 16:21:36 GMT
46
- request:
47
    method: get
48
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/372a5287-b436-4f92-8c91-1292551af4fc/
49
    body:
50
      encoding: US-ASCII
51
      string: ''
52
    headers:
53
      Accept:
54
      - application/json
55
      Accept-Encoding:
56
      - gzip, deflate
57
      Content-Type:
58
      - application/json
59
      User-Agent:
60
      - Ruby
61
  response:
62
    status:
63
      code: 200
64
      message: OK
65
    headers:
66
      Date:
67
      - Wed, 01 Feb 2017 12:26:44 GMT
68
      Server:
69
      - Apache/2.4.6 (CentOS)
70
      Vary:
71
      - Accept-Encoding
72
      Content-Length:
73
      - '680'
74
      Connection:
75
      - close
76
      Content-Type:
77
      - application/json; charset=utf-8
78
    body:
79
      encoding: ASCII-8BIT
80
      string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
81
        "_href": "/pulp/api/v2/tasks/372a5287-b436-4f92-8c91-1292551af4fc/", "task_id":
82
        "372a5287-b436-4f92-8c91-1292551af4fc", "tags": ["pulp:repository:integration_test_id",
83
        "pulp:action:delete"], "finish_time": "2017-02-01T12:26:43Z", "_ns": "task_status",
84
        "start_time": "2017-02-01T12:26:43Z", "traceback": null, "spawned_tasks":
85
        [], "progress_report": {}, "queue": "reserved_resource_worker-1@obelix.example.com.dq",
86
        "state": "finished", "worker_name": "reserved_resource_worker-1@obelix.example.com",
87
        "result": null, "error": null, "_id": {"$oid": "5891d4034b92d9e3004e81be"},
88
        "id": "5891d4034b92d9e3004e81be"}'
89
    http_version: 
90
  recorded_at: Wed, 01 Feb 2017 12:26:44 GMT
91
- request:
92
    method: get
93
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/ab666f05-7093-4009-b075-fbf50875d5de/
94
    body:
95
      encoding: US-ASCII
96
      string: ''
97
    headers:
98
      Accept:
99
      - application/json
100
      Accept-Encoding:
101
      - gzip, deflate
102
      Content-Type:
103
      - application/json
104
      User-Agent:
105
      - Ruby
106
  response:
107
    status:
108
      code: 200
109
      message: OK
110
    headers:
111
      Date:
112
      - Wed, 01 Feb 2017 12:28:34 GMT
113
      Server:
114
      - Apache/2.4.6 (CentOS)
115
      Vary:
116
      - Accept-Encoding
117
      Content-Length:
118
      - '680'
119
      Connection:
120
      - close
121
      Content-Type:
122
      - application/json; charset=utf-8
123
    body:
124
      encoding: ASCII-8BIT
125
      string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
126
        "_href": "/pulp/api/v2/tasks/ab666f05-7093-4009-b075-fbf50875d5de/", "task_id":
127
        "ab666f05-7093-4009-b075-fbf50875d5de", "tags": ["pulp:repository:integration_test_id",
128
        "pulp:action:delete"], "finish_time": "2017-02-01T12:28:33Z", "_ns": "task_status",
129
        "start_time": "2017-02-01T12:28:33Z", "traceback": null, "spawned_tasks":
130
        [], "progress_report": {}, "queue": "reserved_resource_worker-1@obelix.example.com.dq",
131
        "state": "finished", "worker_name": "reserved_resource_worker-1@obelix.example.com",
132
        "result": null, "error": null, "_id": {"$oid": "5891d4714b92d9e3004e81cd"},
133
        "id": "5891d4714b92d9e3004e81cd"}'
134
    http_version: 
135
  recorded_at: Wed, 01 Feb 2017 12:28:34 GMT
136
- request:
137
    method: get
138
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/6504d67b-1bcd-447d-8e63-2c422323af0b/
139
    body:
140
      encoding: US-ASCII
141
      string: ''
142
    headers:
143
      Accept:
144
      - application/json
145
      Accept-Encoding:
146
      - gzip, deflate
147
      Content-Type:
148
      - application/json
149
      User-Agent:
150
      - Ruby
151
  response:
152
    status:
153
      code: 200
154
      message: OK
155
    headers:
156
      Date:
157
      - Wed, 01 Feb 2017 12:30:37 GMT
158
      Server:
159
      - Apache/2.4.6 (CentOS)
160
      Vary:
161
      - Accept-Encoding
162
      Content-Length:
163
      - '680'
164
      Connection:
165
      - close
166
      Content-Type:
167
      - application/json; charset=utf-8
168
    body:
169
      encoding: ASCII-8BIT
170
      string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
171
        "_href": "/pulp/api/v2/tasks/6504d67b-1bcd-447d-8e63-2c422323af0b/", "task_id":
172
        "6504d67b-1bcd-447d-8e63-2c422323af0b", "tags": ["pulp:repository:integration_test_id",
173
        "pulp:action:delete"], "finish_time": "2017-02-01T12:30:36Z", "_ns": "task_status",
174
        "start_time": "2017-02-01T12:30:36Z", "traceback": null, "spawned_tasks":
175
        [], "progress_report": {}, "queue": "reserved_resource_worker-1@obelix.example.com.dq",
176
        "state": "finished", "worker_name": "reserved_resource_worker-1@obelix.example.com",
177
        "result": null, "error": null, "_id": {"$oid": "5891d4ec4b92d9e3004e81d7"},
178
        "id": "5891d4ec4b92d9e3004e81d7"}'
179
    http_version: 
180
  recorded_at: Wed, 01 Feb 2017 12:30:37 GMT
181
- request:
182
    method: post
183
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/repositories/
184
    body:
185
      encoding: UTF-8
186
      string: '{"id":"integration_test_id","importer_type_id":"ostree_web_importer","importer_config":{}}'
187
    headers:
188
      Accept:
189
      - application/json
190
      Accept-Encoding:
191
      - gzip, deflate
192
      Content-Type:
193
      - application/json
194
      Content-Length:
195
      - '90'
196
      User-Agent:
197
      - Ruby
198
  response:
199
    status:
200
      code: 201
201
      message: CREATED
202
    headers:
203
      Date:
204
      - Wed, 01 Feb 2017 12:30:53 GMT
205
      Server:
206
      - Apache/2.4.6 (CentOS)
207
      Content-Length:
208
      - '319'
209
      Location:
210
      - https://obelix.example.com/pulp/api/v2/repositories/integration_test_id/
211
      Connection:
212
      - close
213
      Content-Type:
214
      - application/json; charset=utf-8
215
    body:
216
      encoding: UTF-8
217
      string: '{"scratchpad": {}, "display_name": "integration_test_id", "description":
218
        null, "last_unit_added": null, "notes": {}, "last_unit_removed": null, "content_unit_counts":
219
        {}, "_ns": "repos", "_id": {"$oid": "5891d4fd70be6f18c88f24c2"}, "id": "integration_test_id",
220
        "_href": "/pulp/api/v2/repositories/integration_test_id/"}'
221
    http_version: 
222
  recorded_at: Wed, 01 Feb 2017 12:30:53 GMT
223
- request:
224
    method: get
225
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/repositories/integration_test_id/?details=true
226
    body:
227
      encoding: US-ASCII
228
      string: ''
229
    headers:
230
      Accept:
231
      - application/json
232
      Accept-Encoding:
233
      - gzip, deflate
234
      Content-Type:
235
      - application/json
236
      User-Agent:
237
      - Ruby
238
  response:
239
    status:
240
      code: 200
241
      message: OK
242
    headers:
243
      Date:
244
      - Wed, 01 Feb 2017 12:30:53 GMT
245
      Server:
246
      - Apache/2.4.6 (CentOS)
247
      Vary:
248
      - Accept-Encoding
249
      Content-Length:
250
      - '798'
251
      Connection:
252
      - close
253
      Content-Type:
254
      - application/json; charset=utf-8
255
    body:
256
      encoding: ASCII-8BIT
257
      string: '{"scratchpad": {}, "display_name": "integration_test_id", "description":
258
        null, "distributors": [], "last_unit_added": null, "notes": {}, "last_unit_removed":
259
        null, "content_unit_counts": {}, "_ns": "repos", "importers": [{"repo_id":
260
        "integration_test_id", "last_updated": "2017-02-01T12:30:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/ostree_web_importer/",
261
        "_ns": "repo_importers", "importer_type_id": "ostree_web_importer", "last_override_config":
262
        {}, "last_sync": null, "scratchpad": null, "_id": {"$oid": "5891d4fd70be6f18c88f24c3"},
263
        "config": {}, "id": "ostree_web_importer"}], "locally_stored_units": 0, "_id":
264
        {"$oid": "5891d4fd70be6f18c88f24c2"}, "total_repository_units": 0, "id": "integration_test_id",
265
        "_href": "/pulp/api/v2/repositories/integration_test_id/"}'
266
    http_version: 
267
  recorded_at: Wed, 01 Feb 2017 12:30:53 GMT
268
- request:
269
    method: delete
270
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/repositories/integration_test_id/
271
    body:
272
      encoding: US-ASCII
273
      string: ''
274
    headers:
275
      Accept:
276
      - application/json
277
      Accept-Encoding:
278
      - gzip, deflate
279
      Content-Type:
280
      - application/json
281
      User-Agent:
282
      - Ruby
283
  response:
284
    status:
285
      code: 202
286
      message: ACCEPTED
287
    headers:
288
      Date:
289
      - Wed, 01 Feb 2017 12:30:53 GMT
290
      Server:
291
      - Apache/2.4.6 (CentOS)
292
      Content-Length:
293
      - '172'
294
      Connection:
295
      - close
296
      Content-Type:
297
      - application/json; charset=utf-8
298
    body:
299
      encoding: UTF-8
300
      string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/a055e68c-9c8b-4826-9583-7ce1f3834b71/",
301
        "task_id": "a055e68c-9c8b-4826-9583-7ce1f3834b71"}], "result": null, "error":
302
        null}'
303
    http_version: 
304
  recorded_at: Wed, 01 Feb 2017 12:30:53 GMT
305
- request:
306
    method: get
307
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/a055e68c-9c8b-4826-9583-7ce1f3834b71/
308
    body:
309
      encoding: US-ASCII
310
      string: ''
311
    headers:
312
      Accept:
313
      - application/json
314
      Accept-Encoding:
315
      - gzip, deflate
316
      Content-Type:
317
      - application/json
318
      User-Agent:
319
      - Ruby
320
  response:
321
    status:
322
      code: 200
323
      message: OK
324
    headers:
325
      Date:
326
      - Wed, 01 Feb 2017 12:30:54 GMT
327
      Server:
328
      - Apache/2.4.6 (CentOS)
329
      Vary:
330
      - Accept-Encoding
331
      Content-Length:
332
      - '680'
333
      Connection:
334
      - close
335
      Content-Type:
336
      - application/json; charset=utf-8
337
    body:
338
      encoding: ASCII-8BIT
339
      string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
340
        "_href": "/pulp/api/v2/tasks/a055e68c-9c8b-4826-9583-7ce1f3834b71/", "task_id":
341
        "a055e68c-9c8b-4826-9583-7ce1f3834b71", "tags": ["pulp:repository:integration_test_id",
342
        "pulp:action:delete"], "finish_time": "2017-02-01T12:30:53Z", "_ns": "task_status",
343
        "start_time": "2017-02-01T12:30:53Z", "traceback": null, "spawned_tasks":
344
        [], "progress_report": {}, "queue": "reserved_resource_worker-1@obelix.example.com.dq",
345
        "state": "finished", "worker_name": "reserved_resource_worker-1@obelix.example.com",
346
        "result": null, "error": null, "_id": {"$oid": "5891d4fd4b92d9e3004e81e0"},
347
        "id": "5891d4fd4b92d9e3004e81e0"}'
348
    http_version: 
349
  recorded_at: Wed, 01 Feb 2017 12:30:54 GMT
350
recorded_with: VCR 3.0.3