Project

General

Profile

Revision df1b6e2a

Added by Partha Aji about 5 years ago

Fixes #21661 - Retrieve All for consumers

This commit adds a couple of methods to retrieve all consumers in one
go.

View differences:

test/fixtures/vcr_cassettes/resources/consumer_requires_repo_tests/suite.yml
1 1
---
2 2
http_interactions:
3 3
- request:
4
    method: get
5
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/tasks/b85ddaac-d6fe-4660-b33b-af3a4650f651/
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:26:45 GMT
25
      Server:
26
      - Apache/2.4.6 (CentOS)
27
      Vary:
28
      - Accept-Encoding
29
      Content-Length:
30
      - '2188'
31
      Content-Type:
32
      - application/json; charset=utf-8
33
    body:
34
      encoding: ASCII-8BIT
35
      string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
36
        "_href": "/pulp/api/v2/tasks/b85ddaac-d6fe-4660-b33b-af3a4650f651/", "task_id":
37
        "b85ddaac-d6fe-4660-b33b-af3a4650f651", "tags": ["pulp:repository:integration_test_id",
38
        "pulp:action:sync"], "finish_time": "2016-04-29T16:26:45Z", "_ns": "task_status",
39
        "start_time": "2016-04-29T16:26:45Z", "traceback": null, "spawned_tasks":
40
        [], "progress_report": {"yum_importer": {"content": {"items_total": 0, "state":
41
        "FINISHED", "error_details": [], "details": {"rpm_total": 0, "rpm_done": 0,
42
        "drpm_total": 0, "drpm_done": 0}, "size_total": 0, "size_left": 0, "items_left":
43
        0}, "comps": {"state": "FINISHED"}, "purge_duplicates": {"state": "FINISHED"},
44
        "distribution": {"items_total": 3, "state": "FINISHED", "error_details": [],
45
        "items_left": 0}, "errata": {"state": "FINISHED"}, "metadata": {"state": "FINISHED"}}},
46
        "queue": "reserved_resource_worker-0@runcible.example.com.dq", "state": "finished",
47
        "worker_name": "reserved_resource_worker-0@runcible.example.com", "result":
48
        {"result": "success", "importer_id": "yum_importer", "exception": null, "repo_id":
49
        "integration_test_id", "traceback": null, "started": "2016-04-29T16:26:45Z",
50
        "_ns": "repo_sync_results", "completed": "2016-04-29T16:26:45Z", "importer_type_id":
51
        "yum_importer", "error_message": null, "summary": {"content": {"state": "FINISHED"},
52
        "comps": {"state": "FINISHED"}, "purge_duplicates": {"state": "FINISHED"},
53
        "distribution": {"state": "FINISHED"}, "errata": {"state": "FINISHED"}, "metadata":
54
        {"state": "FINISHED"}}, "added_count": 14, "removed_count": 0, "updated_count":
55
        0, "id": "57238b45aca4886e0c05c3ef", "details": {"content": {"size_total":
56
        0, "items_left": 0, "items_total": 0, "state": "FINISHED", "size_left": 0,
57
        "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done": 0},
58
        "error_details": []}, "comps": {"state": "FINISHED"}, "purge_duplicates":
59
        {"state": "FINISHED"}, "distribution": {"items_total": 3, "state": "FINISHED",
60
        "error_details": [], "items_left": 0}, "errata": {"state": "FINISHED"}, "metadata":
61
        {"state": "FINISHED"}}}, "error": null, "_id": {"$oid": "57238b45898f5c862fa3ebd4"},
62
        "id": "57238b45898f5c862fa3ebd4"}'
63
    http_version: 
64
  recorded_at: Fri, 29 Apr 2016 16:26:46 GMT
65
- request:
66
    method: get
67
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/tasks/efe9a4d7-4ead-459b-9014-3f370666bf5e/
68
    body:
69
      encoding: US-ASCII
70
      string: ''
71
    headers:
72
      Accept:
73
      - application/json
74
      Accept-Encoding:
75
      - gzip, deflate
76
      Content-Type:
77
      - application/json
78
      User-Agent:
79
      - Ruby
80
  response:
81
    status:
82
      code: 200
83
      message: OK
84
    headers:
85
      Date:
86
      - Fri, 29 Apr 2016 16:26:46 GMT
87
      Server:
88
      - Apache/2.4.6 (CentOS)
89
      Vary:
90
      - Accept-Encoding
91
      Content-Length:
92
      - '684'
93
      Content-Type:
94
      - application/json; charset=utf-8
95
    body:
96
      encoding: ASCII-8BIT
97
      string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
98
        "_href": "/pulp/api/v2/tasks/efe9a4d7-4ead-459b-9014-3f370666bf5e/", "task_id":
99
        "efe9a4d7-4ead-459b-9014-3f370666bf5e", "tags": ["pulp:repository:integration_test_id",
100
        "pulp:action:delete"], "finish_time": "2016-04-29T16:26:46Z", "_ns": "task_status",
101
        "start_time": "2016-04-29T16:26:46Z", "traceback": null, "spawned_tasks":
102
        [], "progress_report": {}, "queue": "reserved_resource_worker-0@runcible.example.com.dq",
103
        "state": "finished", "worker_name": "reserved_resource_worker-0@runcible.example.com",
104
        "result": null, "error": null, "_id": {"$oid": "57238b46898f5c862fa3ebe4"},
105
        "id": "57238b46898f5c862fa3ebe4"}'
106
    http_version: 
107
  recorded_at: Fri, 29 Apr 2016 16:26:47 GMT
108
- request:
4 109
    method: post
5
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/consumers/
110
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/
6 111
    body:
7 112
      encoding: UTF-8
8 113
      string: '{"id":"integration_test_consumer_support"}'
......
11 116
      - application/json
12 117
      Accept-Encoding:
13 118
      - gzip, deflate
119
      User-Agent:
120
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
14 121
      Content-Type:
15 122
      - application/json
16 123
      Content-Length:
17 124
      - '42'
18
      User-Agent:
19
      - Ruby
125
      Host:
126
      - obelix.example.com
20 127
  response:
21 128
    status:
22 129
      code: 201
23 130
      message: CREATED
24 131
    headers:
25 132
      Date:
26
      - Fri, 29 Apr 2016 16:26:44 GMT
133
      - Tue, 14 Nov 2017 20:18:34 GMT
27 134
      Server:
28 135
      - Apache/2.4.6 (CentOS)
29 136
      Content-Length:
30
      - '2513'
137
      - '2533'
31 138
      Location:
32
      - https://runcible.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
139
      - https://obelix.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
140
      Connection:
141
      - close
33 142
      Content-Type:
34 143
      - application/json; charset=utf-8
35 144
    body:
36 145
      encoding: UTF-8
37 146
      string: '{"consumer": {"display_name": "integration_test_consumer_support",
38 147
        "description": null, "_ns": "consumers", "notes": {}, "rsa_pub": null, "capabilities":
39
        {}, "_id": {"$oid": "57238b44aca4886d96d97ef2"}, "id": "integration_test_consumer_support",
148
        {}, "_id": {"$oid": "5a0b4f9a70be6f049ca06fb2"}, "id": "integration_test_consumer_support",
40 149
        "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/"}, "certificate":
41
        "-----BEGIN RSA PRIVATE KEY-----\nMIICXAIBAAKBgQC1h1TuX5ijN84x7bKnHsqpST8E6GfE8VQQl6VONCjX1qnoSSPI\nrFGaFhPEOogc81gellPfxclfdacWZN8ULxpCT+iX2rISLVnEmwZumM8vc56EsGBB\nQZkD/91vt2z2OvZXGb6YQos1FYHrujpfx7vhzOFA8AaOwiQBwhpCgQosMQIDAQAB\nAoGALzy+LyGVOLPm5jsyiCaNGixDR+WqSyd5dq/fhlAwaKoloJqXwzqEKZKhJikN\nDmuMfLklrk9rrXmSN1OccUYokLSzStKoB19F1YU2h5MjV8lnMopst+L5vYvpJFjG\n8Qbk+cAi2Wj2eS496mfYkh+b98Y7xAUd9O1MfujC6eE3mbkCQQDfRJdLDUWQ5Yj7\nrci6i7uIRZtMBCfVsifdMUB94pzupjbKB5PTFwAWlS7y9uim+PWmP8Fzc67lz//Y\nDXLAAb3vAkEA0CQ8CTig6MCoYKEFEuimy7/E1J/LfP11duef7fwqjk1LYG2mUX5S\nhujDxvLbISZ8UJvhSTS5Ur6kvHqX6R7X3wJAGSwllqunZT/L4vxj/kxU13dpm/d3\n+kr83Z548/iB0xJgaQTTsOAN/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1SokGDdBz3xritW/nYxsLRyAkmk4RAz\nTkZS/LWJECo+vnhzyfAcIAQ+jk39+TZvOJ7Era6ercwTsGtB6mqthNPPOvtmvcoZ\nYKn/r2m8+fuWSFkRfFjKeIQCwSXapcbmEksXBH2Dd8IwKaoAwApHcHQmoDKsBP38\nWy0cg2VQpsLja5iMJE0HwX3jElIz1hFQnT2yiruXNpmwfTexQnCFuwdd//S18rJJ\n+0zEdx5TL2KvGAChKgNOPkDMuQUs3s6lbyDccaLX2N0tV27iXg2rCfOwzJTgFAZH\nsPCNzJ2IKkCZ7jf/A+PtznrupMWFvHulAz0tOQc4vgIrHF5crPgP+2vMK0lf5nTN\n4wDoxuf5iHI+znbNnvaBpilY9NmKkZ8N1Bf0VyGtCO3/DEb0nA==\n-----END
43 152
        CERTIFICATE-----"}'
44 153
    http_version: 
45
  recorded_at: Fri, 29 Apr 2016 16:26:44 GMT
154
  recorded_at: Tue, 14 Nov 2017 20:18:35 GMT
46 155
- request:
47 156
    method: post
48
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles//
157
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles//
49 158
    body:
50 159
      encoding: UTF-8
51 160
      string: '{"content_type":"rpm","profile":[{"name":"elephant","version":"0.2","release":"0.7","epoch":0,"arch":"noarch","vendor":"Fedora"}]}'
......
54 163
      - application/json
55 164
      Accept-Encoding:
56 165
      - gzip, deflate
166
      User-Agent:
167
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
57 168
      Content-Type:
58 169
      - application/json
59 170
      Content-Length:
60 171
      - '130'
61
      User-Agent:
62
      - Ruby
172
      Host:
173
      - obelix.example.com
63 174
  response:
64 175
    status:
65 176
      code: 201
66 177
      message: CREATED
67 178
    headers:
68 179
      Date:
69
      - Fri, 29 Apr 2016 16:26:44 GMT
180
      - Tue, 14 Nov 2017 20:18:35 GMT
70 181
      Server:
71 182
      - Apache/2.4.6 (CentOS)
72 183
      Content-Length:
73 184
      - '475'
74 185
      Location:
75
      - https://runcible.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/
186
      - https://obelix.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/
187
      Connection:
188
      - close
76 189
      Content-Type:
77 190
      - application/json; charset=utf-8
78 191
    body:
......
81 194
        "0.2", "release": "0.7", "arch": "noarch"}], "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/",
82 195
        "_ns": "consumer_unit_profiles", "profile_hash": "db16b75e977ae3fbbf27beb919693137b26ba59eb7be73f2888197b89521e50d",
83 196
        "consumer_id": "integration_test_consumer_support", "content_type": "rpm",
84
        "_id": {"$oid": "57238b44aca4886d96d97ef4"}, "id": "57238b44aca4886d96d97ef4"}'
197
        "_id": {"$oid": "5a0b4f9b70be6f049ca06fb4"}, "id": "5a0b4f9b70be6f049ca06fb4"}'
85 198
    http_version: 
86
  recorded_at: Fri, 29 Apr 2016 16:26:44 GMT
199
  recorded_at: Tue, 14 Nov 2017 20:18:35 GMT
87 200
- request:
88 201
    method: get
89
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/repositories/integration_test_id/
202
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/repositories/integration_test_id/
90 203
    body:
91 204
      encoding: US-ASCII
92 205
      string: ''
......
95 208
      - application/json
96 209
      Accept-Encoding:
97 210
      - gzip, deflate
211
      User-Agent:
212
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
98 213
      Content-Type:
99 214
      - application/json
100
      User-Agent:
101
      - Ruby
215
      Host:
216
      - obelix.example.com
102 217
  response:
103 218
    status:
104 219
      code: 404
105 220
      message: NOT FOUND
106 221
    headers:
107 222
      Date:
108
      - Fri, 29 Apr 2016 16:26:44 GMT
223
      - Tue, 14 Nov 2017 20:18:35 GMT
109 224
      Server:
110 225
      - Apache/2.4.6 (CentOS)
111
      Content-Encoding:
112
      - utf-8
113 226
      Content-Length:
114 227
      - '452'
228
      Connection:
229
      - close
115 230
      Content-Type:
116 231
      - application/json; charset=utf-8
117 232
    body:
......
122 237
        "integration_test_id"}}, "description": "Missing resource(s): repository=integration_test_id",
123 238
        "sub_errors": []}, "traceback": null, "resources": {"repository": "integration_test_id"}}'
124 239
    http_version: 
125
  recorded_at: Fri, 29 Apr 2016 16:26:44 GMT
240
  recorded_at: Tue, 14 Nov 2017 20:18:35 GMT
126 241
- request:
127 242
    method: post
128
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/repositories/
243
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/repositories/
129 244
    body:
130 245
      encoding: UTF-8
131 246
      string: '{"id":"integration_test_id","importer_type_id":"yum_importer","importer_config":{"feed":"file:///var/www/repositories/zoo5"},"distributors":[{"distributor_type_id":"yum_distributor","distributor_config":{"relative_url":"path","http":true,"https":true},"auto_publish":false,"distributor_id":"yum_dist"}]}'
......
134 249
      - application/json
135 250
      Accept-Encoding:
136 251
      - gzip, deflate
252
      User-Agent:
253
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
137 254
      Content-Type:
138 255
      - application/json
139 256
      Content-Length:
140 257
      - '303'
141
      User-Agent:
142
      - Ruby
258
      Host:
259
      - obelix.example.com
143 260
  response:
144 261
    status:
145 262
      code: 201
146 263
      message: CREATED
147 264
    headers:
148 265
      Date:
149
      - Fri, 29 Apr 2016 16:26:45 GMT
266
      - Tue, 14 Nov 2017 20:18:35 GMT
150 267
      Server:
151 268
      - Apache/2.4.6 (CentOS)
152 269
      Content-Length:
153 270
      - '319'
154 271
      Location:
155
      - https://runcible.example.com/pulp/api/v2/repositories/integration_test_id/
272
      - https://obelix.example.com/pulp/api/v2/repositories/integration_test_id/
273
      Connection:
274
      - close
156 275
      Content-Type:
157 276
      - application/json; charset=utf-8
158 277
    body:
159 278
      encoding: UTF-8
160 279
      string: '{"scratchpad": {}, "display_name": "integration_test_id", "description":
161 280
        null, "last_unit_added": null, "notes": {}, "last_unit_removed": null, "content_unit_counts":
162
        {}, "_ns": "repos", "_id": {"$oid": "57238b45aca4886d96d97ef6"}, "id": "integration_test_id",
281
        {}, "_ns": "repos", "_id": {"$oid": "5a0b4f9b70be6f049d38d856"}, "id": "integration_test_id",
163 282
        "_href": "/pulp/api/v2/repositories/integration_test_id/"}'
164 283
    http_version: 
165
  recorded_at: Fri, 29 Apr 2016 16:26:45 GMT
284
  recorded_at: Tue, 14 Nov 2017 20:18:35 GMT
166 285
- request:
167 286
    method: post
168
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/repositories/integration_test_id/actions/sync/
287
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/repositories/integration_test_id/actions/sync/
169 288
    body:
170 289
      encoding: UTF-8
171 290
      string: "{}"
......
174 293
      - application/json
175 294
      Accept-Encoding:
176 295
      - gzip, deflate
296
      User-Agent:
297
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
177 298
      Content-Type:
178 299
      - application/json
179 300
      Content-Length:
180 301
      - '2'
181
      User-Agent:
182
      - Ruby
302
      Host:
303
      - obelix.example.com
183 304
  response:
184 305
    status:
185 306
      code: 202
186 307
      message: ACCEPTED
187 308
    headers:
188 309
      Date:
189
      - Fri, 29 Apr 2016 16:26:45 GMT
310
      - Tue, 14 Nov 2017 20:18:35 GMT
190 311
      Server:
191 312
      - Apache/2.4.6 (CentOS)
192 313
      Content-Length:
193 314
      - '172'
315
      Connection:
316
      - close
194 317
      Content-Type:
195 318
      - application/json; charset=utf-8
196 319
    body:
197 320
      encoding: UTF-8
198
      string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/b85ddaac-d6fe-4660-b33b-af3a4650f651/",
199
        "task_id": "b85ddaac-d6fe-4660-b33b-af3a4650f651"}], "result": null, "error":
321
      string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/9441409e-7a5a-43c8-aa6e-c17d532e880e/",
322
        "task_id": "9441409e-7a5a-43c8-aa6e-c17d532e880e"}], "result": null, "error":
200 323
        null}'
201 324
    http_version: 
202
  recorded_at: Fri, 29 Apr 2016 16:26:45 GMT
325
  recorded_at: Tue, 14 Nov 2017 20:18:35 GMT
203 326
- request:
204 327
    method: get
205
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/tasks/b85ddaac-d6fe-4660-b33b-af3a4650f651/
328
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/9441409e-7a5a-43c8-aa6e-c17d532e880e/
206 329
    body:
207 330
      encoding: US-ASCII
208 331
      string: ''
......
211 334
      - application/json
212 335
      Accept-Encoding:
213 336
      - gzip, deflate
337
      User-Agent:
338
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
214 339
      Content-Type:
215 340
      - application/json
341
      Host:
342
      - obelix.example.com
343
  response:
344
    status:
345
      code: 200
346
      message: OK
347
    headers:
348
      Date:
349
      - Tue, 14 Nov 2017 20:18:35 GMT
350
      Server:
351
      - Apache/2.4.6 (CentOS)
352
      Vary:
353
      - Accept-Encoding
354
      Content-Length:
355
      - '1116'
356
      Connection:
357
      - close
358
      Content-Type:
359
      - application/json; charset=utf-8
360
    body:
361
      encoding: ASCII-8BIT
362
      string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
363
        "_href": "/pulp/api/v2/tasks/9441409e-7a5a-43c8-aa6e-c17d532e880e/", "task_id":
364
        "9441409e-7a5a-43c8-aa6e-c17d532e880e", "tags": ["pulp:repository:integration_test_id",
365
        "pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time":
366
        "2017-11-14T20:18:35Z", "traceback": null, "spawned_tasks": [], "progress_report":
367
        {"yum_importer": {"content": {"items_total": 0, "state": "FINISHED", "error_details":
368
        [], "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done":
369
        0}, "size_total": 0, "size_left": 0, "items_left": 0}, "comps": {"state":
370
        "FINISHED"}, "purge_duplicates": {"state": "IN_PROGRESS"}, "distribution":
371
        {"items_total": 3, "state": "FINISHED", "error_details": [], "items_left":
372
        0}, "errata": {"state": "FINISHED"}, "metadata": {"state": "FINISHED"}}},
373
        "queue": "reserved_resource_worker-1@obelix.example.com.dq", "state": "running",
374
        "worker_name": "reserved_resource_worker-1@obelix.example.com", "result":
375
        null, "error": null, "_id": {"$oid": "5a0b4f9b1fbc3e9fdb584dea"}, "id": "5a0b4f9b1fbc3e9fdb584dea"}'
376
    http_version: 
377
  recorded_at: Tue, 14 Nov 2017 20:18:35 GMT
378
- request:
379
    method: get
380
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/9441409e-7a5a-43c8-aa6e-c17d532e880e/
381
    body:
382
      encoding: US-ASCII
383
      string: ''
384
    headers:
385
      Accept:
386
      - application/json
387
      Accept-Encoding:
388
      - gzip, deflate
216 389
      User-Agent:
217
      - Ruby
390
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
391
      Content-Type:
392
      - application/json
393
      Host:
394
      - obelix.example.com
218 395
  response:
219 396
    status:
220 397
      code: 200
221 398
      message: OK
222 399
    headers:
223 400
      Date:
224
      - Fri, 29 Apr 2016 16:26:45 GMT
401
      - Tue, 14 Nov 2017 20:18:36 GMT
225 402
      Server:
226 403
      - Apache/2.4.6 (CentOS)
227 404
      Vary:
228 405
      - Accept-Encoding
229 406
      Content-Length:
230
      - '2188'
407
      - '1116'
408
      Connection:
409
      - close
231 410
      Content-Type:
232 411
      - application/json; charset=utf-8
233 412
    body:
234 413
      encoding: ASCII-8BIT
235 414
      string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
236
        "_href": "/pulp/api/v2/tasks/b85ddaac-d6fe-4660-b33b-af3a4650f651/", "task_id":
237
        "b85ddaac-d6fe-4660-b33b-af3a4650f651", "tags": ["pulp:repository:integration_test_id",
238
        "pulp:action:sync"], "finish_time": "2016-04-29T16:26:45Z", "_ns": "task_status",
239
        "start_time": "2016-04-29T16:26:45Z", "traceback": null, "spawned_tasks":
415
        "_href": "/pulp/api/v2/tasks/9441409e-7a5a-43c8-aa6e-c17d532e880e/", "task_id":
416
        "9441409e-7a5a-43c8-aa6e-c17d532e880e", "tags": ["pulp:repository:integration_test_id",
417
        "pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time":
418
        "2017-11-14T20:18:35Z", "traceback": null, "spawned_tasks": [], "progress_report":
419
        {"yum_importer": {"content": {"items_total": 0, "state": "FINISHED", "error_details":
420
        [], "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done":
421
        0}, "size_total": 0, "size_left": 0, "items_left": 0}, "comps": {"state":
422
        "FINISHED"}, "purge_duplicates": {"state": "IN_PROGRESS"}, "distribution":
423
        {"items_total": 3, "state": "FINISHED", "error_details": [], "items_left":
424
        0}, "errata": {"state": "FINISHED"}, "metadata": {"state": "FINISHED"}}},
425
        "queue": "reserved_resource_worker-1@obelix.example.com.dq", "state": "running",
426
        "worker_name": "reserved_resource_worker-1@obelix.example.com", "result":
427
        null, "error": null, "_id": {"$oid": "5a0b4f9b1fbc3e9fdb584dea"}, "id": "5a0b4f9b1fbc3e9fdb584dea"}'
428
    http_version: 
429
  recorded_at: Tue, 14 Nov 2017 20:18:36 GMT
430
- request:
431
    method: get
432
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/9441409e-7a5a-43c8-aa6e-c17d532e880e/
433
    body:
434
      encoding: US-ASCII
435
      string: ''
436
    headers:
437
      Accept:
438
      - application/json
439
      Accept-Encoding:
440
      - gzip, deflate
441
      User-Agent:
442
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
443
      Content-Type:
444
      - application/json
445
      Host:
446
      - obelix.example.com
447
  response:
448
    status:
449
      code: 200
450
      message: OK
451
    headers:
452
      Date:
453
      - Tue, 14 Nov 2017 20:18:36 GMT
454
      Server:
455
      - Apache/2.4.6 (CentOS)
456
      Vary:
457
      - Accept-Encoding
458
      Content-Length:
459
      - '1116'
460
      Connection:
461
      - close
462
      Content-Type:
463
      - application/json; charset=utf-8
464
    body:
465
      encoding: ASCII-8BIT
466
      string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
467
        "_href": "/pulp/api/v2/tasks/9441409e-7a5a-43c8-aa6e-c17d532e880e/", "task_id":
468
        "9441409e-7a5a-43c8-aa6e-c17d532e880e", "tags": ["pulp:repository:integration_test_id",
469
        "pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time":
470
        "2017-11-14T20:18:35Z", "traceback": null, "spawned_tasks": [], "progress_report":
471
        {"yum_importer": {"content": {"items_total": 0, "state": "FINISHED", "error_details":
472
        [], "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done":
473
        0}, "size_total": 0, "size_left": 0, "items_left": 0}, "comps": {"state":
474
        "FINISHED"}, "purge_duplicates": {"state": "IN_PROGRESS"}, "distribution":
475
        {"items_total": 3, "state": "FINISHED", "error_details": [], "items_left":
476
        0}, "errata": {"state": "FINISHED"}, "metadata": {"state": "FINISHED"}}},
477
        "queue": "reserved_resource_worker-1@obelix.example.com.dq", "state": "running",
478
        "worker_name": "reserved_resource_worker-1@obelix.example.com", "result":
479
        null, "error": null, "_id": {"$oid": "5a0b4f9b1fbc3e9fdb584dea"}, "id": "5a0b4f9b1fbc3e9fdb584dea"}'
480
    http_version: 
481
  recorded_at: Tue, 14 Nov 2017 20:18:36 GMT
482
- request:
483
    method: get
484
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/9441409e-7a5a-43c8-aa6e-c17d532e880e/
485
    body:
486
      encoding: US-ASCII
487
      string: ''
488
    headers:
489
      Accept:
490
      - application/json
491
      Accept-Encoding:
492
      - gzip, deflate
493
      User-Agent:
494
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
495
      Content-Type:
496
      - application/json
497
      Host:
498
      - obelix.example.com
499
  response:
500
    status:
501
      code: 200
502
      message: OK
503
    headers:
504
      Date:
505
      - Tue, 14 Nov 2017 20:18:37 GMT
506
      Server:
507
      - Apache/2.4.6 (CentOS)
508
      Vary:
509
      - Accept-Encoding
510
      Content-Length:
511
      - '1116'
512
      Connection:
513
      - close
514
      Content-Type:
515
      - application/json; charset=utf-8
516
    body:
517
      encoding: ASCII-8BIT
518
      string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
519
        "_href": "/pulp/api/v2/tasks/9441409e-7a5a-43c8-aa6e-c17d532e880e/", "task_id":
520
        "9441409e-7a5a-43c8-aa6e-c17d532e880e", "tags": ["pulp:repository:integration_test_id",
521
        "pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time":
522
        "2017-11-14T20:18:35Z", "traceback": null, "spawned_tasks": [], "progress_report":
523
        {"yum_importer": {"content": {"items_total": 0, "state": "FINISHED", "error_details":
524
        [], "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done":
525
        0}, "size_total": 0, "size_left": 0, "items_left": 0}, "comps": {"state":
526
        "FINISHED"}, "purge_duplicates": {"state": "IN_PROGRESS"}, "distribution":
527
        {"items_total": 3, "state": "FINISHED", "error_details": [], "items_left":
528
        0}, "errata": {"state": "FINISHED"}, "metadata": {"state": "FINISHED"}}},
529
        "queue": "reserved_resource_worker-1@obelix.example.com.dq", "state": "running",
530
        "worker_name": "reserved_resource_worker-1@obelix.example.com", "result":
531
        null, "error": null, "_id": {"$oid": "5a0b4f9b1fbc3e9fdb584dea"}, "id": "5a0b4f9b1fbc3e9fdb584dea"}'
532
    http_version: 
533
  recorded_at: Tue, 14 Nov 2017 20:18:37 GMT
534
- request:
535
    method: get
536
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/9441409e-7a5a-43c8-aa6e-c17d532e880e/
537
    body:
538
      encoding: US-ASCII
539
      string: ''
540
    headers:
541
      Accept:
542
      - application/json
543
      Accept-Encoding:
544
      - gzip, deflate
545
      User-Agent:
546
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
547
      Content-Type:
548
      - application/json
549
      Host:
550
      - obelix.example.com
551
  response:
552
    status:
553
      code: 200
554
      message: OK
555
    headers:
556
      Date:
557
      - Tue, 14 Nov 2017 20:18:38 GMT
558
      Server:
559
      - Apache/2.4.6 (CentOS)
560
      Vary:
561
      - Accept-Encoding
562
      Content-Length:
563
      - '1116'
564
      Connection:
565
      - close
566
      Content-Type:
567
      - application/json; charset=utf-8
568
    body:
569
      encoding: ASCII-8BIT
570
      string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
571
        "_href": "/pulp/api/v2/tasks/9441409e-7a5a-43c8-aa6e-c17d532e880e/", "task_id":
572
        "9441409e-7a5a-43c8-aa6e-c17d532e880e", "tags": ["pulp:repository:integration_test_id",
573
        "pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time":
574
        "2017-11-14T20:18:35Z", "traceback": null, "spawned_tasks": [], "progress_report":
575
        {"yum_importer": {"content": {"items_total": 0, "state": "FINISHED", "error_details":
576
        [], "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done":
577
        0}, "size_total": 0, "size_left": 0, "items_left": 0}, "comps": {"state":
578
        "FINISHED"}, "purge_duplicates": {"state": "IN_PROGRESS"}, "distribution":
579
        {"items_total": 3, "state": "FINISHED", "error_details": [], "items_left":
580
        0}, "errata": {"state": "FINISHED"}, "metadata": {"state": "FINISHED"}}},
581
        "queue": "reserved_resource_worker-1@obelix.example.com.dq", "state": "running",
582
        "worker_name": "reserved_resource_worker-1@obelix.example.com", "result":
583
        null, "error": null, "_id": {"$oid": "5a0b4f9b1fbc3e9fdb584dea"}, "id": "5a0b4f9b1fbc3e9fdb584dea"}'
584
    http_version: 
585
  recorded_at: Tue, 14 Nov 2017 20:18:38 GMT
586
- request:
587
    method: get
588
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/9441409e-7a5a-43c8-aa6e-c17d532e880e/
589
    body:
590
      encoding: US-ASCII
591
      string: ''
592
    headers:
593
      Accept:
594
      - application/json
595
      Accept-Encoding:
596
      - gzip, deflate
597
      User-Agent:
598
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
599
      Content-Type:
600
      - application/json
601
      Host:
602
      - obelix.example.com
603
  response:
604
    status:
605
      code: 200
606
      message: OK
607
    headers:
608
      Date:
609
      - Tue, 14 Nov 2017 20:18:38 GMT
610
      Server:
611
      - Apache/2.4.6 (CentOS)
612
      Vary:
613
      - Accept-Encoding
614
      Content-Length:
615
      - '1116'
616
      Connection:
617
      - close
618
      Content-Type:
619
      - application/json; charset=utf-8
620
    body:
621
      encoding: ASCII-8BIT
622
      string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
623
        "_href": "/pulp/api/v2/tasks/9441409e-7a5a-43c8-aa6e-c17d532e880e/", "task_id":
624
        "9441409e-7a5a-43c8-aa6e-c17d532e880e", "tags": ["pulp:repository:integration_test_id",
625
        "pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time":
626
        "2017-11-14T20:18:35Z", "traceback": null, "spawned_tasks": [], "progress_report":
627
        {"yum_importer": {"content": {"items_total": 0, "state": "FINISHED", "error_details":
628
        [], "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done":
629
        0}, "size_total": 0, "size_left": 0, "items_left": 0}, "comps": {"state":
630
        "FINISHED"}, "purge_duplicates": {"state": "IN_PROGRESS"}, "distribution":
631
        {"items_total": 3, "state": "FINISHED", "error_details": [], "items_left":
632
        0}, "errata": {"state": "FINISHED"}, "metadata": {"state": "FINISHED"}}},
633
        "queue": "reserved_resource_worker-1@obelix.example.com.dq", "state": "running",
634
        "worker_name": "reserved_resource_worker-1@obelix.example.com", "result":
635
        null, "error": null, "_id": {"$oid": "5a0b4f9b1fbc3e9fdb584dea"}, "id": "5a0b4f9b1fbc3e9fdb584dea"}'
636
    http_version: 
637
  recorded_at: Tue, 14 Nov 2017 20:18:38 GMT
638
- request:
639
    method: get
640
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/9441409e-7a5a-43c8-aa6e-c17d532e880e/
641
    body:
642
      encoding: US-ASCII
643
      string: ''
644
    headers:
645
      Accept:
646
      - application/json
647
      Accept-Encoding:
648
      - gzip, deflate
649
      User-Agent:
650
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
651
      Content-Type:
652
      - application/json
653
      Host:
654
      - obelix.example.com
655
  response:
656
    status:
657
      code: 200
658
      message: OK
659
    headers:
660
      Date:
661
      - Tue, 14 Nov 2017 20:18:39 GMT
662
      Server:
663
      - Apache/2.4.6 (CentOS)
664
      Vary:
665
      - Accept-Encoding
666
      Content-Length:
667
      - '1116'
668
      Connection:
669
      - close
670
      Content-Type:
671
      - application/json; charset=utf-8
672
    body:
673
      encoding: ASCII-8BIT
674
      string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
675
        "_href": "/pulp/api/v2/tasks/9441409e-7a5a-43c8-aa6e-c17d532e880e/", "task_id":
676
        "9441409e-7a5a-43c8-aa6e-c17d532e880e", "tags": ["pulp:repository:integration_test_id",
677
        "pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time":
678
        "2017-11-14T20:18:35Z", "traceback": null, "spawned_tasks": [], "progress_report":
679
        {"yum_importer": {"content": {"items_total": 0, "state": "FINISHED", "error_details":
680
        [], "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done":
681
        0}, "size_total": 0, "size_left": 0, "items_left": 0}, "comps": {"state":
682
        "FINISHED"}, "purge_duplicates": {"state": "IN_PROGRESS"}, "distribution":
683
        {"items_total": 3, "state": "FINISHED", "error_details": [], "items_left":
684
        0}, "errata": {"state": "FINISHED"}, "metadata": {"state": "FINISHED"}}},
685
        "queue": "reserved_resource_worker-1@obelix.example.com.dq", "state": "running",
686
        "worker_name": "reserved_resource_worker-1@obelix.example.com", "result":
687
        null, "error": null, "_id": {"$oid": "5a0b4f9b1fbc3e9fdb584dea"}, "id": "5a0b4f9b1fbc3e9fdb584dea"}'
688
    http_version: 
689
  recorded_at: Tue, 14 Nov 2017 20:18:39 GMT
690
- request:
691
    method: get
692
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/9441409e-7a5a-43c8-aa6e-c17d532e880e/
693
    body:
694
      encoding: US-ASCII
695
      string: ''
696
    headers:
697
      Accept:
698
      - application/json
699
      Accept-Encoding:
700
      - gzip, deflate
701
      User-Agent:
702
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
703
      Content-Type:
704
      - application/json
705
      Host:
706
      - obelix.example.com
707
  response:
708
    status:
709
      code: 200
710
      message: OK
711
    headers:
712
      Date:
713
      - Tue, 14 Nov 2017 20:18:39 GMT
714
      Server:
715
      - Apache/2.4.6 (CentOS)
716
      Vary:
717
      - Accept-Encoding
718
      Content-Length:
719
      - '2184'
720
      Connection:
721
      - close
722
      Content-Type:
723
      - application/json; charset=utf-8
724
    body:
725
      encoding: ASCII-8BIT
726
      string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
727
        "_href": "/pulp/api/v2/tasks/9441409e-7a5a-43c8-aa6e-c17d532e880e/", "task_id":
728
        "9441409e-7a5a-43c8-aa6e-c17d532e880e", "tags": ["pulp:repository:integration_test_id",
729
        "pulp:action:sync"], "finish_time": "2017-11-14T20:18:39Z", "_ns": "task_status",
730
        "start_time": "2017-11-14T20:18:35Z", "traceback": null, "spawned_tasks":
240 731
        [], "progress_report": {"yum_importer": {"content": {"items_total": 0, "state":
241 732
        "FINISHED", "error_details": [], "details": {"rpm_total": 0, "rpm_done": 0,
242 733
        "drpm_total": 0, "drpm_done": 0}, "size_total": 0, "size_left": 0, "items_left":
243 734
        0}, "comps": {"state": "FINISHED"}, "purge_duplicates": {"state": "FINISHED"},
244 735
        "distribution": {"items_total": 3, "state": "FINISHED", "error_details": [],
245 736
        "items_left": 0}, "errata": {"state": "FINISHED"}, "metadata": {"state": "FINISHED"}}},
246
        "queue": "reserved_resource_worker-0@runcible.example.com.dq", "state": "finished",
247
        "worker_name": "reserved_resource_worker-0@runcible.example.com", "result":
737
        "queue": "reserved_resource_worker-1@obelix.example.com.dq", "state": "finished",
738
        "worker_name": "reserved_resource_worker-1@obelix.example.com", "result":
248 739
        {"result": "success", "importer_id": "yum_importer", "exception": null, "repo_id":
249
        "integration_test_id", "traceback": null, "started": "2016-04-29T16:26:45Z",
250
        "_ns": "repo_sync_results", "completed": "2016-04-29T16:26:45Z", "importer_type_id":
740
        "integration_test_id", "traceback": null, "started": "2017-11-14T20:18:35Z",
741
        "_ns": "repo_sync_results", "completed": "2017-11-14T20:18:39Z", "importer_type_id":
251 742
        "yum_importer", "error_message": null, "summary": {"content": {"state": "FINISHED"},
252 743
        "comps": {"state": "FINISHED"}, "purge_duplicates": {"state": "FINISHED"},
253 744
        "distribution": {"state": "FINISHED"}, "errata": {"state": "FINISHED"}, "metadata":
254 745
        {"state": "FINISHED"}}, "added_count": 14, "removed_count": 0, "updated_count":
255
        0, "id": "57238b45aca4886e0c05c3ef", "details": {"content": {"size_total":
746
        0, "id": "5a0b4f9f70be6f067d8a57af", "details": {"content": {"size_total":
256 747
        0, "items_left": 0, "items_total": 0, "state": "FINISHED", "size_left": 0,
257 748
        "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done": 0},
258 749
        "error_details": []}, "comps": {"state": "FINISHED"}, "purge_duplicates":
259 750
        {"state": "FINISHED"}, "distribution": {"items_total": 3, "state": "FINISHED",
260 751
        "error_details": [], "items_left": 0}, "errata": {"state": "FINISHED"}, "metadata":
261
        {"state": "FINISHED"}}}, "error": null, "_id": {"$oid": "57238b45898f5c862fa3ebd4"},
262
        "id": "57238b45898f5c862fa3ebd4"}'
752
        {"state": "FINISHED"}}}, "error": null, "_id": {"$oid": "5a0b4f9b1fbc3e9fdb584dea"},
753
        "id": "5a0b4f9b1fbc3e9fdb584dea"}'
263 754
    http_version: 
264
  recorded_at: Fri, 29 Apr 2016 16:26:46 GMT
755
  recorded_at: Tue, 14 Nov 2017 20:18:39 GMT
265 756
- request:
266 757
    method: delete
267
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
758
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
268 759
    body:
269 760
      encoding: US-ASCII
270 761
      string: ''
......
273 764
      - application/json
274 765
      Accept-Encoding:
275 766
      - gzip, deflate
767
      User-Agent:
768
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
276 769
      Content-Type:
277 770
      - application/json
278
      User-Agent:
279
      - Ruby
771
      Host:
772
      - obelix.example.com
280 773
  response:
281 774
    status:
282 775
      code: 200
283 776
      message: OK
284 777
    headers:
285 778
      Date:
286
      - Fri, 29 Apr 2016 16:26:46 GMT
779
      - Tue, 14 Nov 2017 20:18:39 GMT
287 780
      Server:
288 781
      - Apache/2.4.6 (CentOS)
289 782
      Content-Length:
290 783
      - '4'
784
      Connection:
785
      - close
291 786
      Content-Type:
292 787
      - application/json; charset=utf-8
293 788
    body:
294 789
      encoding: UTF-8
295 790
      string: 'null'
296 791
    http_version: 
297
  recorded_at: Fri, 29 Apr 2016 16:26:46 GMT
792
  recorded_at: Tue, 14 Nov 2017 20:18:39 GMT
298 793
- request:
299 794
    method: delete
300
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/repositories/integration_test_id/
795
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/repositories/integration_test_id/
301 796
    body:
302 797
      encoding: US-ASCII
303 798
      string: ''
......
306 801
      - application/json
307 802
      Accept-Encoding:
308 803
      - gzip, deflate
804
      User-Agent:
805
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
309 806
      Content-Type:
310 807
      - application/json
311
      User-Agent:
312
      - Ruby
808
      Host:
809
      - obelix.example.com
313 810
  response:
314 811
    status:
315 812
      code: 202
316 813
      message: ACCEPTED
317 814
    headers:
318 815
      Date:
319
      - Fri, 29 Apr 2016 16:26:46 GMT
816
      - Tue, 14 Nov 2017 20:18:39 GMT
320 817
      Server:
321 818
      - Apache/2.4.6 (CentOS)
322 819
      Content-Length:
323 820
      - '172'
821
      Connection:
822
      - close
324 823
      Content-Type:
325 824
      - application/json; charset=utf-8
326 825
    body:
327 826
      encoding: UTF-8
328
      string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/efe9a4d7-4ead-459b-9014-3f370666bf5e/",
329
        "task_id": "efe9a4d7-4ead-459b-9014-3f370666bf5e"}], "result": null, "error":
827
      string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/d89250f8-1f78-4cf5-a8d3-f3014a4852cd/",
828
        "task_id": "d89250f8-1f78-4cf5-a8d3-f3014a4852cd"}], "result": null, "error":
330 829
        null}'
331 830
    http_version: 
332
  recorded_at: Fri, 29 Apr 2016 16:26:46 GMT
831
  recorded_at: Tue, 14 Nov 2017 20:18:39 GMT
333 832
- request:
334 833
    method: get
335
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/tasks/efe9a4d7-4ead-459b-9014-3f370666bf5e/
834
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/d89250f8-1f78-4cf5-a8d3-f3014a4852cd/
336 835
    body:
337 836
      encoding: US-ASCII
338 837
      string: ''
......
341 840
      - application/json
342 841
      Accept-Encoding:
343 842
      - gzip, deflate
843
      User-Agent:
844
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
344 845
      Content-Type:
345 846
      - application/json
346
      User-Agent:
347
      - Ruby
847
      Host:
848
      - obelix.example.com
348 849
  response:
349 850
    status:
350 851
      code: 200
351 852
      message: OK
352 853
    headers:
353 854
      Date:
354
      - Fri, 29 Apr 2016 16:26:46 GMT
855
      - Tue, 14 Nov 2017 20:18:40 GMT
355 856
      Server:
356 857
      - Apache/2.4.6 (CentOS)
357 858
      Vary:
358 859
      - Accept-Encoding
359 860
      Content-Length:
360
      - '684'
861
      - '680'
862
      Connection:
863
      - close
361 864
      Content-Type:
362 865
      - application/json; charset=utf-8
363 866
    body:
364 867
      encoding: ASCII-8BIT
365 868
      string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
366
        "_href": "/pulp/api/v2/tasks/efe9a4d7-4ead-459b-9014-3f370666bf5e/", "task_id":
367
        "efe9a4d7-4ead-459b-9014-3f370666bf5e", "tags": ["pulp:repository:integration_test_id",
368
        "pulp:action:delete"], "finish_time": "2016-04-29T16:26:46Z", "_ns": "task_status",
369
        "start_time": "2016-04-29T16:26:46Z", "traceback": null, "spawned_tasks":
370
        [], "progress_report": {}, "queue": "reserved_resource_worker-0@runcible.example.com.dq",
371
        "state": "finished", "worker_name": "reserved_resource_worker-0@runcible.example.com",
372
        "result": null, "error": null, "_id": {"$oid": "57238b46898f5c862fa3ebe4"},
373
        "id": "57238b46898f5c862fa3ebe4"}'
869
        "_href": "/pulp/api/v2/tasks/d89250f8-1f78-4cf5-a8d3-f3014a4852cd/", "task_id":
870
        "d89250f8-1f78-4cf5-a8d3-f3014a4852cd", "tags": ["pulp:repository:integration_test_id",
871
        "pulp:action:delete"], "finish_time": "2017-11-14T20:18:39Z", "_ns": "task_status",
872
        "start_time": "2017-11-14T20:18:39Z", "traceback": null, "spawned_tasks":
873
        [], "progress_report": {}, "queue": "reserved_resource_worker-1@obelix.example.com.dq",
874
        "state": "finished", "worker_name": "reserved_resource_worker-1@obelix.example.com",
875
        "result": null, "error": null, "_id": {"$oid": "5a0b4f9f1fbc3e9fdb584dfa"},
876
        "id": "5a0b4f9f1fbc3e9fdb584dfa"}'
374 877
    http_version: 
375
  recorded_at: Fri, 29 Apr 2016 16:26:47 GMT
376
recorded_with: VCR 3.0.1
878
  recorded_at: Tue, 14 Nov 2017 20:18:40 GMT
879
recorded_with: VCR 3.0.3

Also available in: Unified diff