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_bindings/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/2beeb081-c434-49ec-af81-68edbae7d3d2/
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:51 GMT
25
      Server:
26
      - Apache/2.4.6 (CentOS)
27
      Vary:
28
      - Accept-Encoding
29
      Content-Length:
30
      - '1123'
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/2beeb081-c434-49ec-af81-68edbae7d3d2/", "task_id":
37
        "2beeb081-c434-49ec-af81-68edbae7d3d2", "tags": ["pulp:repository:integration_test_id",
38
        "pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time":
39
        "2016-04-29T16:26:50Z", "traceback": null, "spawned_tasks": [], "progress_report":
40
        {"yum_importer": {"content": {"items_total": 0, "state": "FINISHED", "error_details":
41
        [], "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done":
42
        0}, "size_total": 0, "size_left": 0, "items_left": 0}, "comps": {"state":
43
        "IN_PROGRESS"}, "purge_duplicates": {"state": "NOT_STARTED"}, "distribution":
44
        {"items_total": 3, "state": "FINISHED", "error_details": [], "items_left":
45
        0}, "errata": {"state": "FINISHED"}, "metadata": {"state": "FINISHED"}}},
46
        "queue": "reserved_resource_worker-0@runcible.example.com.dq", "state": "running",
47
        "worker_name": "reserved_resource_worker-0@runcible.example.com", "result":
48
        null, "error": null, "_id": {"$oid": "57238b4a898f5c862fa3ebe8"}, "id": "57238b4a898f5c862fa3ebe8"}'
49
    http_version: 
50
  recorded_at: Fri, 29 Apr 2016 16:26:51 GMT
51
- request:
52
    method: get
53
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/tasks/2beeb081-c434-49ec-af81-68edbae7d3d2/
54
    body:
55
      encoding: US-ASCII
56
      string: ''
57
    headers:
58
      Accept:
59
      - application/json
60
      Accept-Encoding:
61
      - gzip, deflate
62
      Content-Type:
63
      - application/json
64
      User-Agent:
65
      - Ruby
66
  response:
67
    status:
68
      code: 200
69
      message: OK
70
    headers:
71
      Date:
72
      - Fri, 29 Apr 2016 16:26:51 GMT
73
      Server:
74
      - Apache/2.4.6 (CentOS)
75
      Vary:
76
      - Accept-Encoding
77
      Content-Length:
78
      - '2188'
79
      Content-Type:
80
      - application/json; charset=utf-8
81
    body:
82
      encoding: ASCII-8BIT
83
      string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
84
        "_href": "/pulp/api/v2/tasks/2beeb081-c434-49ec-af81-68edbae7d3d2/", "task_id":
85
        "2beeb081-c434-49ec-af81-68edbae7d3d2", "tags": ["pulp:repository:integration_test_id",
86
        "pulp:action:sync"], "finish_time": "2016-04-29T16:26:51Z", "_ns": "task_status",
87
        "start_time": "2016-04-29T16:26:50Z", "traceback": null, "spawned_tasks":
88
        [], "progress_report": {"yum_importer": {"content": {"items_total": 0, "state":
89
        "FINISHED", "error_details": [], "details": {"rpm_total": 0, "rpm_done": 0,
90
        "drpm_total": 0, "drpm_done": 0}, "size_total": 0, "size_left": 0, "items_left":
91
        0}, "comps": {"state": "FINISHED"}, "purge_duplicates": {"state": "FINISHED"},
92
        "distribution": {"items_total": 3, "state": "FINISHED", "error_details": [],
93
        "items_left": 0}, "errata": {"state": "FINISHED"}, "metadata": {"state": "FINISHED"}}},
94
        "queue": "reserved_resource_worker-0@runcible.example.com.dq", "state": "finished",
95
        "worker_name": "reserved_resource_worker-0@runcible.example.com", "result":
96
        {"result": "success", "importer_id": "yum_importer", "exception": null, "repo_id":
97
        "integration_test_id", "traceback": null, "started": "2016-04-29T16:26:50Z",
98
        "_ns": "repo_sync_results", "completed": "2016-04-29T16:26:51Z", "importer_type_id":
99
        "yum_importer", "error_message": null, "summary": {"content": {"state": "FINISHED"},
100
        "comps": {"state": "FINISHED"}, "purge_duplicates": {"state": "FINISHED"},
101
        "distribution": {"state": "FINISHED"}, "errata": {"state": "FINISHED"}, "metadata":
102
        {"state": "FINISHED"}}, "added_count": 14, "removed_count": 0, "updated_count":
103
        0, "id": "57238b4baca4886e0c05c3f6", "details": {"content": {"size_total":
104
        0, "items_left": 0, "items_total": 0, "state": "FINISHED", "size_left": 0,
105
        "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done": 0},
106
        "error_details": []}, "comps": {"state": "FINISHED"}, "purge_duplicates":
107
        {"state": "FINISHED"}, "distribution": {"items_total": 3, "state": "FINISHED",
108
        "error_details": [], "items_left": 0}, "errata": {"state": "FINISHED"}, "metadata":
109
        {"state": "FINISHED"}}}, "error": null, "_id": {"$oid": "57238b4a898f5c862fa3ebe8"},
110
        "id": "57238b4a898f5c862fa3ebe8"}'
111
    http_version: 
112
  recorded_at: Fri, 29 Apr 2016 16:26:51 GMT
113
- request:
114
    method: get
115
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/tasks/93ce43b2-bf82-48db-8d85-e107d6764133/
116
    body:
117
      encoding: US-ASCII
118
      string: ''
119
    headers:
120
      Accept:
121
      - application/json
122
      Accept-Encoding:
123
      - gzip, deflate
124
      Content-Type:
125
      - application/json
126
      User-Agent:
127
      - Ruby
128
  response:
129
    status:
130
      code: 200
131
      message: OK
132
    headers:
133
      Date:
134
      - Fri, 29 Apr 2016 16:26:54 GMT
135
      Server:
136
      - Apache/2.4.6 (CentOS)
137
      Vary:
138
      - Accept-Encoding
139
      Content-Length:
140
      - '684'
141
      Content-Type:
142
      - application/json; charset=utf-8
143
    body:
144
      encoding: ASCII-8BIT
145
      string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
146
        "_href": "/pulp/api/v2/tasks/93ce43b2-bf82-48db-8d85-e107d6764133/", "task_id":
147
        "93ce43b2-bf82-48db-8d85-e107d6764133", "tags": ["pulp:repository:integration_test_id",
148
        "pulp:action:delete"], "finish_time": "2016-04-29T16:26:53Z", "_ns": "task_status",
149
        "start_time": "2016-04-29T16:26:53Z", "traceback": null, "spawned_tasks":
150
        [], "progress_report": {}, "queue": "reserved_resource_worker-0@runcible.example.com.dq",
151
        "state": "finished", "worker_name": "reserved_resource_worker-0@runcible.example.com",
152
        "result": null, "error": null, "_id": {"$oid": "57238b4d898f5c862fa3ebf8"},
153
        "id": "57238b4d898f5c862fa3ebf8"}'
154
    http_version: 
155
  recorded_at: Fri, 29 Apr 2016 16:26:54 GMT
156
- request:
4 157
    method: post
5
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/consumers/
158
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/
6 159
    body:
7 160
      encoding: UTF-8
8 161
      string: '{"id":"integration_test_consumer_support"}'
......
11 164
      - application/json
12 165
      Accept-Encoding:
13 166
      - gzip, deflate
167
      User-Agent:
168
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
14 169
      Content-Type:
15 170
      - application/json
16 171
      Content-Length:
17 172
      - '42'
18
      User-Agent:
19
      - Ruby
173
      Host:
174
      - obelix.example.com
20 175
  response:
21 176
    status:
22 177
      code: 201
23 178
      message: CREATED
24 179
    headers:
25 180
      Date:
26
      - Fri, 29 Apr 2016 16:26:49 GMT
181
      - Tue, 14 Nov 2017 20:18:42 GMT
27 182
      Server:
28 183
      - Apache/2.4.6 (CentOS)
29 184
      Content-Length:
30
      - '2513'
185
      - '2533'
31 186
      Location:
32
      - https://runcible.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
187
      - https://obelix.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
188
      Connection:
189
      - close
33 190
      Content-Type:
34 191
      - application/json; charset=utf-8
35 192
    body:
36 193
      encoding: UTF-8
37 194
      string: '{"consumer": {"display_name": "integration_test_consumer_support",
38 195
        "description": null, "_ns": "consumers", "notes": {}, "rsa_pub": null, "capabilities":
39
        {}, "_id": {"$oid": "57238b49aca4886d979905f6"}, "id": "integration_test_consumer_support",
196
        {}, "_id": {"$oid": "5a0b4fa270be6f049ca06fc6"}, "id": "integration_test_consumer_support",
40 197
        "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/"}, "certificate":
41
        "-----BEGIN RSA PRIVATE KEY-----\nMIICXQIBAAKBgQD2n5LcRn33CpcQQHMHvi99ynI3sV/+2q+ISi4MRob+Rn3Eyk32\nd77TDFASzuAJ0C1O9BIA2n5d2GRkxnhAsHKDnY038K+aRVkE1YZG8/yZivaACoEq\nY7JBQ3IVhVzIITHJfVzGa1+mSwnC2a2FZJ5L55tVX1YMfAmOVaTub0jQjwIDAQAB\nAoGAOdi8DcbLDQMC4+D6GjrV0N+HYuDL729D9OfRXTe9ui62mU4Kc2Eq9T3SGldD\n3Yli1z4QavrU4RY8lhanZiT89sQ/x43YEEhFoFtERWiCDLjTkd8OMJlBn/jTbV89\nD3/BNwJ1NWgZuJgcpsiwyPwcHFIuF7M76AM+m/EFw9cvWIECQQD+VzKgEIdyFcIr\nngo8hdM0mBLnhsPqxIK7/eyZ+Nnnrt/zBDmF1HjqNIYTOFcCtnW75uGkfwZbqtIS\nHOQ8f2HfAkEA+Dt8hy9kWx/xtkl7uJr+HM8X5I8oEE6DzQJpfcTPKy1mUKdsoiTp\niLbhKGNvDOMZi+w+aoJeiccAN4Mpn+pHUQJAMB5x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asOWVjkY1WqaEdrqEtD5\n+BtUa3R9r7zF7+UfgWPrLYwscoF4m8nzT8gSdeYPikyAqkTEJo0oFoAn8jdxi859\nKF5+7axzU8BeW5Jwsv+exKXdbaUEJOgqnw3imS+/RdQW6GKpigOo9Oo+ijqdeO5b\ndQ30XvTmHxs2QV6Ja4G4ky3A1rOXqYJzUlXiXbtwxBOPPd4CD8xNVyQn+QRSs+nu\nUBT6vv1FlMgXu8Sthsp/b5H+ESVvbBDg9GucfsPm1XogmZ5sMA6HPm8GoIQ06MqS\ny70QFf9wfjsvsUKtZrkld57rW51fkldWrytwq/r7UVseV3Xqtv/71DZBRKmgOSo9\nDO6mJUJG4fs0fxZAq8/f0GCeP6CZFOxrxcemlF7jZqn2fIv2DEYQTQ2GbBX0dySz\nneDBE33aEkFv8BONAt/Hnustz8AONnBkTIjP8QGHO4K37EwVWg==\n-----END
43 200
        CERTIFICATE-----"}'
44 201
    http_version: 
45
  recorded_at: Fri, 29 Apr 2016 16:26:49 GMT
202
  recorded_at: Tue, 14 Nov 2017 20:18:42 GMT
46 203
- request:
47 204
    method: post
48
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles//
205
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles//
49 206
    body:
50 207
      encoding: UTF-8
51 208
      string: '{"content_type":"rpm","profile":[{"name":"elephant","version":"0.2","release":"0.7","epoch":0,"arch":"noarch","vendor":"Fedora"}]}'
......
54 211
      - application/json
55 212
      Accept-Encoding:
56 213
      - gzip, deflate
214
      User-Agent:
215
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
57 216
      Content-Type:
58 217
      - application/json
59 218
      Content-Length:
60 219
      - '130'
61
      User-Agent:
62
      - Ruby
220
      Host:
221
      - obelix.example.com
63 222
  response:
64 223
    status:
65 224
      code: 201
66 225
      message: CREATED
67 226
    headers:
68 227
      Date:
69
      - Fri, 29 Apr 2016 16:26:49 GMT
228
      - Tue, 14 Nov 2017 20:18:42 GMT
70 229
      Server:
71 230
      - Apache/2.4.6 (CentOS)
72 231
      Content-Length:
73 232
      - '475'
74 233
      Location:
75
      - https://runcible.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/
234
      - https://obelix.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/
235
      Connection:
236
      - close
76 237
      Content-Type:
77 238
      - application/json; charset=utf-8
78 239
    body:
......
81 242
        "0.2", "release": "0.7", "arch": "noarch"}], "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/",
82 243
        "_ns": "consumer_unit_profiles", "profile_hash": "db16b75e977ae3fbbf27beb919693137b26ba59eb7be73f2888197b89521e50d",
83 244
        "consumer_id": "integration_test_consumer_support", "content_type": "rpm",
84
        "_id": {"$oid": "57238b49aca4886d979905f8"}, "id": "57238b49aca4886d979905f8"}'
245
        "_id": {"$oid": "5a0b4fa270be6f049d38d859"}, "id": "5a0b4fa270be6f049d38d859"}'
85 246
    http_version: 
86
  recorded_at: Fri, 29 Apr 2016 16:26:49 GMT
247
  recorded_at: Tue, 14 Nov 2017 20:18:42 GMT
87 248
- request:
88 249
    method: get
89
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/repositories/integration_test_id/
250
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/repositories/integration_test_id/
90 251
    body:
91 252
      encoding: US-ASCII
92 253
      string: ''
......
95 256
      - application/json
96 257
      Accept-Encoding:
97 258
      - gzip, deflate
259
      User-Agent:
260
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
98 261
      Content-Type:
99 262
      - application/json
100
      User-Agent:
101
      - Ruby
263
      Host:
264
      - obelix.example.com
102 265
  response:
103 266
    status:
104 267
      code: 404
105 268
      message: NOT FOUND
106 269
    headers:
107 270
      Date:
108
      - Fri, 29 Apr 2016 16:26:50 GMT
271
      - Tue, 14 Nov 2017 20:18:42 GMT
109 272
      Server:
110 273
      - Apache/2.4.6 (CentOS)
111
      Content-Encoding:
112
      - utf-8
113 274
      Content-Length:
114 275
      - '452'
276
      Connection:
277
      - close
115 278
      Content-Type:
116 279
      - application/json; charset=utf-8
117 280
    body:
......
122 285
        "integration_test_id"}}, "description": "Missing resource(s): repository=integration_test_id",
123 286
        "sub_errors": []}, "traceback": null, "resources": {"repository": "integration_test_id"}}'
124 287
    http_version: 
125
  recorded_at: Fri, 29 Apr 2016 16:26:50 GMT
288
  recorded_at: Tue, 14 Nov 2017 20:18:42 GMT
126 289
- request:
127 290
    method: post
128
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/repositories/
291
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/repositories/
129 292
    body:
130 293
      encoding: UTF-8
131 294
      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 297
      - application/json
135 298
      Accept-Encoding:
136 299
      - gzip, deflate
300
      User-Agent:
301
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
137 302
      Content-Type:
138 303
      - application/json
139 304
      Content-Length:
140 305
      - '303'
141
      User-Agent:
142
      - Ruby
306
      Host:
307
      - obelix.example.com
143 308
  response:
144 309
    status:
145 310
      code: 201
146 311
      message: CREATED
147 312
    headers:
148 313
      Date:
149
      - Fri, 29 Apr 2016 16:26:50 GMT
314
      - Tue, 14 Nov 2017 20:18:42 GMT
150 315
      Server:
151 316
      - Apache/2.4.6 (CentOS)
152 317
      Content-Length:
153 318
      - '319'
154 319
      Location:
155
      - https://runcible.example.com/pulp/api/v2/repositories/integration_test_id/
320
      - https://obelix.example.com/pulp/api/v2/repositories/integration_test_id/
321
      Connection:
322
      - close
156 323
      Content-Type:
157 324
      - application/json; charset=utf-8
158 325
    body:
159 326
      encoding: UTF-8
160 327
      string: '{"scratchpad": {}, "display_name": "integration_test_id", "description":
161 328
        null, "last_unit_added": null, "notes": {}, "last_unit_removed": null, "content_unit_counts":
162
        {}, "_ns": "repos", "_id": {"$oid": "57238b4aaca4886d979905fa"}, "id": "integration_test_id",
329
        {}, "_ns": "repos", "_id": {"$oid": "5a0b4fa270be6f049ca06fc8"}, "id": "integration_test_id",
163 330
        "_href": "/pulp/api/v2/repositories/integration_test_id/"}'
164 331
    http_version: 
165
  recorded_at: Fri, 29 Apr 2016 16:26:50 GMT
332
  recorded_at: Tue, 14 Nov 2017 20:18:42 GMT
166 333
- request:
167 334
    method: post
168
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/repositories/integration_test_id/actions/sync/
335
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/repositories/integration_test_id/actions/sync/
169 336
    body:
170 337
      encoding: UTF-8
171 338
      string: "{}"
......
174 341
      - application/json
175 342
      Accept-Encoding:
176 343
      - gzip, deflate
344
      User-Agent:
345
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
177 346
      Content-Type:
178 347
      - application/json
179 348
      Content-Length:
180 349
      - '2'
181
      User-Agent:
182
      - Ruby
350
      Host:
351
      - obelix.example.com
183 352
  response:
184 353
    status:
185 354
      code: 202
186 355
      message: ACCEPTED
187 356
    headers:
188 357
      Date:
189
      - Fri, 29 Apr 2016 16:26:50 GMT
358
      - Tue, 14 Nov 2017 20:18:42 GMT
190 359
      Server:
191 360
      - Apache/2.4.6 (CentOS)
192 361
      Content-Length:
193 362
      - '172'
363
      Connection:
364
      - close
194 365
      Content-Type:
195 366
      - application/json; charset=utf-8
196 367
    body:
197 368
      encoding: UTF-8
198
      string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/2beeb081-c434-49ec-af81-68edbae7d3d2/",
199
        "task_id": "2beeb081-c434-49ec-af81-68edbae7d3d2"}], "result": null, "error":
369
      string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/2836e67f-5a9e-409c-92ba-a422fa894449/",
370
        "task_id": "2836e67f-5a9e-409c-92ba-a422fa894449"}], "result": null, "error":
200 371
        null}'
201 372
    http_version: 
202
  recorded_at: Fri, 29 Apr 2016 16:26:50 GMT
373
  recorded_at: Tue, 14 Nov 2017 20:18:42 GMT
203 374
- request:
204 375
    method: get
205
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/tasks/2beeb081-c434-49ec-af81-68edbae7d3d2/
376
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/2836e67f-5a9e-409c-92ba-a422fa894449/
206 377
    body:
207 378
      encoding: US-ASCII
208 379
      string: ''
......
211 382
      - application/json
212 383
      Accept-Encoding:
213 384
      - gzip, deflate
385
      User-Agent:
386
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
214 387
      Content-Type:
215 388
      - application/json
389
      Host:
390
      - obelix.example.com
391
  response:
392
    status:
393
      code: 200
394
      message: OK
395
    headers:
396
      Date:
397
      - Tue, 14 Nov 2017 20:18:43 GMT
398
      Server:
399
      - Apache/2.4.6 (CentOS)
400
      Vary:
401
      - Accept-Encoding
402
      Content-Length:
403
      - '1116'
404
      Connection:
405
      - close
406
      Content-Type:
407
      - application/json; charset=utf-8
408
    body:
409
      encoding: ASCII-8BIT
410
      string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
411
        "_href": "/pulp/api/v2/tasks/2836e67f-5a9e-409c-92ba-a422fa894449/", "task_id":
412
        "2836e67f-5a9e-409c-92ba-a422fa894449", "tags": ["pulp:repository:integration_test_id",
413
        "pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time":
414
        "2017-11-14T20:18:42Z", "traceback": null, "spawned_tasks": [], "progress_report":
415
        {"yum_importer": {"content": {"items_total": 0, "state": "FINISHED", "error_details":
416
        [], "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done":
417
        0}, "size_total": 0, "size_left": 0, "items_left": 0}, "comps": {"state":
418
        "FINISHED"}, "purge_duplicates": {"state": "IN_PROGRESS"}, "distribution":
419
        {"items_total": 3, "state": "FINISHED", "error_details": [], "items_left":
420
        0}, "errata": {"state": "FINISHED"}, "metadata": {"state": "FINISHED"}}},
421
        "queue": "reserved_resource_worker-1@obelix.example.com.dq", "state": "running",
422
        "worker_name": "reserved_resource_worker-1@obelix.example.com", "result":
423
        null, "error": null, "_id": {"$oid": "5a0b4fa21fbc3e9fdb584e00"}, "id": "5a0b4fa21fbc3e9fdb584e00"}'
424
    http_version: 
425
  recorded_at: Tue, 14 Nov 2017 20:18:43 GMT
426
- request:
427
    method: get
428
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/2836e67f-5a9e-409c-92ba-a422fa894449/
429
    body:
430
      encoding: US-ASCII
431
      string: ''
432
    headers:
433
      Accept:
434
      - application/json
435
      Accept-Encoding:
436
      - gzip, deflate
216 437
      User-Agent:
217
      - Ruby
438
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
439
      Content-Type:
440
      - application/json
441
      Host:
442
      - obelix.example.com
218 443
  response:
219 444
    status:
220 445
      code: 200
221 446
      message: OK
222 447
    headers:
223 448
      Date:
224
      - Fri, 29 Apr 2016 16:26:51 GMT
449
      - Tue, 14 Nov 2017 20:18:43 GMT
225 450
      Server:
226 451
      - Apache/2.4.6 (CentOS)
227 452
      Vary:
228 453
      - Accept-Encoding
229 454
      Content-Length:
230
      - '1123'
455
      - '1116'
456
      Connection:
457
      - close
231 458
      Content-Type:
232 459
      - application/json; charset=utf-8
233 460
    body:
234 461
      encoding: ASCII-8BIT
235 462
      string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
236
        "_href": "/pulp/api/v2/tasks/2beeb081-c434-49ec-af81-68edbae7d3d2/", "task_id":
237
        "2beeb081-c434-49ec-af81-68edbae7d3d2", "tags": ["pulp:repository:integration_test_id",
463
        "_href": "/pulp/api/v2/tasks/2836e67f-5a9e-409c-92ba-a422fa894449/", "task_id":
464
        "2836e67f-5a9e-409c-92ba-a422fa894449", "tags": ["pulp:repository:integration_test_id",
238 465
        "pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time":
239
        "2016-04-29T16:26:50Z", "traceback": null, "spawned_tasks": [], "progress_report":
466
        "2017-11-14T20:18:42Z", "traceback": null, "spawned_tasks": [], "progress_report":
240 467
        {"yum_importer": {"content": {"items_total": 0, "state": "FINISHED", "error_details":
241 468
        [], "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done":
242 469
        0}, "size_total": 0, "size_left": 0, "items_left": 0}, "comps": {"state":
243
        "IN_PROGRESS"}, "purge_duplicates": {"state": "NOT_STARTED"}, "distribution":
470
        "FINISHED"}, "purge_duplicates": {"state": "IN_PROGRESS"}, "distribution":
244 471
        {"items_total": 3, "state": "FINISHED", "error_details": [], "items_left":
245 472
        0}, "errata": {"state": "FINISHED"}, "metadata": {"state": "FINISHED"}}},
246
        "queue": "reserved_resource_worker-0@runcible.example.com.dq", "state": "running",
247
        "worker_name": "reserved_resource_worker-0@runcible.example.com", "result":
248
        null, "error": null, "_id": {"$oid": "57238b4a898f5c862fa3ebe8"}, "id": "57238b4a898f5c862fa3ebe8"}'
473
        "queue": "reserved_resource_worker-1@obelix.example.com.dq", "state": "running",
474
        "worker_name": "reserved_resource_worker-1@obelix.example.com", "result":
475
        null, "error": null, "_id": {"$oid": "5a0b4fa21fbc3e9fdb584e00"}, "id": "5a0b4fa21fbc3e9fdb584e00"}'
249 476
    http_version: 
250
  recorded_at: Fri, 29 Apr 2016 16:26:51 GMT
477
  recorded_at: Tue, 14 Nov 2017 20:18:43 GMT
251 478
- request:
252 479
    method: get
253
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/tasks/2beeb081-c434-49ec-af81-68edbae7d3d2/
480
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/2836e67f-5a9e-409c-92ba-a422fa894449/
254 481
    body:
255 482
      encoding: US-ASCII
256 483
      string: ''
......
259 486
      - application/json
260 487
      Accept-Encoding:
261 488
      - gzip, deflate
489
      User-Agent:
490
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
262 491
      Content-Type:
263 492
      - application/json
493
      Host:
494
      - obelix.example.com
495
  response:
496
    status:
497
      code: 200
498
      message: OK
499
    headers:
500
      Date:
501
      - Tue, 14 Nov 2017 20:18:44 GMT
502
      Server:
503
      - Apache/2.4.6 (CentOS)
504
      Vary:
505
      - Accept-Encoding
506
      Content-Length:
507
      - '1116'
508
      Connection:
509
      - close
510
      Content-Type:
511
      - application/json; charset=utf-8
512
    body:
513
      encoding: ASCII-8BIT
514
      string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
515
        "_href": "/pulp/api/v2/tasks/2836e67f-5a9e-409c-92ba-a422fa894449/", "task_id":
516
        "2836e67f-5a9e-409c-92ba-a422fa894449", "tags": ["pulp:repository:integration_test_id",
517
        "pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time":
518
        "2017-11-14T20:18:42Z", "traceback": null, "spawned_tasks": [], "progress_report":
519
        {"yum_importer": {"content": {"items_total": 0, "state": "FINISHED", "error_details":
520
        [], "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done":
521
        0}, "size_total": 0, "size_left": 0, "items_left": 0}, "comps": {"state":
522
        "FINISHED"}, "purge_duplicates": {"state": "IN_PROGRESS"}, "distribution":
523
        {"items_total": 3, "state": "FINISHED", "error_details": [], "items_left":
524
        0}, "errata": {"state": "FINISHED"}, "metadata": {"state": "FINISHED"}}},
525
        "queue": "reserved_resource_worker-1@obelix.example.com.dq", "state": "running",
526
        "worker_name": "reserved_resource_worker-1@obelix.example.com", "result":
527
        null, "error": null, "_id": {"$oid": "5a0b4fa21fbc3e9fdb584e00"}, "id": "5a0b4fa21fbc3e9fdb584e00"}'
528
    http_version: 
529
  recorded_at: Tue, 14 Nov 2017 20:18:44 GMT
530
- request:
531
    method: get
532
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/2836e67f-5a9e-409c-92ba-a422fa894449/
533
    body:
534
      encoding: US-ASCII
535
      string: ''
536
    headers:
537
      Accept:
538
      - application/json
539
      Accept-Encoding:
540
      - gzip, deflate
264 541
      User-Agent:
265
      - Ruby
542
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
543
      Content-Type:
544
      - application/json
545
      Host:
546
      - obelix.example.com
266 547
  response:
267 548
    status:
268 549
      code: 200
269 550
      message: OK
270 551
    headers:
271 552
      Date:
272
      - Fri, 29 Apr 2016 16:26:51 GMT
553
      - Tue, 14 Nov 2017 20:18:45 GMT
273 554
      Server:
274 555
      - Apache/2.4.6 (CentOS)
275 556
      Vary:
276 557
      - Accept-Encoding
277 558
      Content-Length:
278
      - '2188'
559
      - '1116'
560
      Connection:
561
      - close
279 562
      Content-Type:
280 563
      - application/json; charset=utf-8
281 564
    body:
282 565
      encoding: ASCII-8BIT
283 566
      string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
284
        "_href": "/pulp/api/v2/tasks/2beeb081-c434-49ec-af81-68edbae7d3d2/", "task_id":
285
        "2beeb081-c434-49ec-af81-68edbae7d3d2", "tags": ["pulp:repository:integration_test_id",
286
        "pulp:action:sync"], "finish_time": "2016-04-29T16:26:51Z", "_ns": "task_status",
287
        "start_time": "2016-04-29T16:26:50Z", "traceback": null, "spawned_tasks":
567
        "_href": "/pulp/api/v2/tasks/2836e67f-5a9e-409c-92ba-a422fa894449/", "task_id":
568
        "2836e67f-5a9e-409c-92ba-a422fa894449", "tags": ["pulp:repository:integration_test_id",
569
        "pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time":
570
        "2017-11-14T20:18:42Z", "traceback": null, "spawned_tasks": [], "progress_report":
571
        {"yum_importer": {"content": {"items_total": 0, "state": "FINISHED", "error_details":
572
        [], "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done":
573
        0}, "size_total": 0, "size_left": 0, "items_left": 0}, "comps": {"state":
574
        "FINISHED"}, "purge_duplicates": {"state": "IN_PROGRESS"}, "distribution":
575
        {"items_total": 3, "state": "FINISHED", "error_details": [], "items_left":
576
        0}, "errata": {"state": "FINISHED"}, "metadata": {"state": "FINISHED"}}},
577
        "queue": "reserved_resource_worker-1@obelix.example.com.dq", "state": "running",
578
        "worker_name": "reserved_resource_worker-1@obelix.example.com", "result":
579
        null, "error": null, "_id": {"$oid": "5a0b4fa21fbc3e9fdb584e00"}, "id": "5a0b4fa21fbc3e9fdb584e00"}'
580
    http_version: 
581
  recorded_at: Tue, 14 Nov 2017 20:18:45 GMT
582
- request:
583
    method: get
584
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/2836e67f-5a9e-409c-92ba-a422fa894449/
585
    body:
586
      encoding: US-ASCII
587
      string: ''
588
    headers:
589
      Accept:
590
      - application/json
591
      Accept-Encoding:
592
      - gzip, deflate
593
      User-Agent:
594
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
595
      Content-Type:
596
      - application/json
597
      Host:
598
      - obelix.example.com
599
  response:
600
    status:
601
      code: 200
602
      message: OK
603
    headers:
604
      Date:
605
      - Tue, 14 Nov 2017 20:18:45 GMT
606
      Server:
607
      - Apache/2.4.6 (CentOS)
608
      Vary:
609
      - Accept-Encoding
610
      Content-Length:
611
      - '1116'
612
      Connection:
613
      - close
614
      Content-Type:
615
      - application/json; charset=utf-8
616
    body:
617
      encoding: ASCII-8BIT
618
      string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
619
        "_href": "/pulp/api/v2/tasks/2836e67f-5a9e-409c-92ba-a422fa894449/", "task_id":
620
        "2836e67f-5a9e-409c-92ba-a422fa894449", "tags": ["pulp:repository:integration_test_id",
621
        "pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time":
622
        "2017-11-14T20:18:42Z", "traceback": null, "spawned_tasks": [], "progress_report":
623
        {"yum_importer": {"content": {"items_total": 0, "state": "FINISHED", "error_details":
624
        [], "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done":
625
        0}, "size_total": 0, "size_left": 0, "items_left": 0}, "comps": {"state":
626
        "FINISHED"}, "purge_duplicates": {"state": "IN_PROGRESS"}, "distribution":
627
        {"items_total": 3, "state": "FINISHED", "error_details": [], "items_left":
628
        0}, "errata": {"state": "FINISHED"}, "metadata": {"state": "FINISHED"}}},
629
        "queue": "reserved_resource_worker-1@obelix.example.com.dq", "state": "running",
630
        "worker_name": "reserved_resource_worker-1@obelix.example.com", "result":
631
        null, "error": null, "_id": {"$oid": "5a0b4fa21fbc3e9fdb584e00"}, "id": "5a0b4fa21fbc3e9fdb584e00"}'
632
    http_version: 
633
  recorded_at: Tue, 14 Nov 2017 20:18:45 GMT
634
- request:
635
    method: get
636
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/2836e67f-5a9e-409c-92ba-a422fa894449/
637
    body:
638
      encoding: US-ASCII
639
      string: ''
640
    headers:
641
      Accept:
642
      - application/json
643
      Accept-Encoding:
644
      - gzip, deflate
645
      User-Agent:
646
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
647
      Content-Type:
648
      - application/json
649
      Host:
650
      - obelix.example.com
651
  response:
652
    status:
653
      code: 200
654
      message: OK
655
    headers:
656
      Date:
657
      - Tue, 14 Nov 2017 20:18:46 GMT
658
      Server:
659
      - Apache/2.4.6 (CentOS)
660
      Vary:
661
      - Accept-Encoding
662
      Content-Length:
663
      - '1116'
664
      Connection:
665
      - close
666
      Content-Type:
667
      - application/json; charset=utf-8
668
    body:
669
      encoding: ASCII-8BIT
670
      string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
671
        "_href": "/pulp/api/v2/tasks/2836e67f-5a9e-409c-92ba-a422fa894449/", "task_id":
672
        "2836e67f-5a9e-409c-92ba-a422fa894449", "tags": ["pulp:repository:integration_test_id",
673
        "pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time":
674
        "2017-11-14T20:18:42Z", "traceback": null, "spawned_tasks": [], "progress_report":
675
        {"yum_importer": {"content": {"items_total": 0, "state": "FINISHED", "error_details":
676
        [], "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done":
677
        0}, "size_total": 0, "size_left": 0, "items_left": 0}, "comps": {"state":
678
        "FINISHED"}, "purge_duplicates": {"state": "IN_PROGRESS"}, "distribution":
679
        {"items_total": 3, "state": "FINISHED", "error_details": [], "items_left":
680
        0}, "errata": {"state": "FINISHED"}, "metadata": {"state": "FINISHED"}}},
681
        "queue": "reserved_resource_worker-1@obelix.example.com.dq", "state": "running",
682
        "worker_name": "reserved_resource_worker-1@obelix.example.com", "result":
683
        null, "error": null, "_id": {"$oid": "5a0b4fa21fbc3e9fdb584e00"}, "id": "5a0b4fa21fbc3e9fdb584e00"}'
684
    http_version: 
685
  recorded_at: Tue, 14 Nov 2017 20:18:46 GMT
686
- request:
687
    method: get
688
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/2836e67f-5a9e-409c-92ba-a422fa894449/
689
    body:
690
      encoding: US-ASCII
691
      string: ''
692
    headers:
693
      Accept:
694
      - application/json
695
      Accept-Encoding:
696
      - gzip, deflate
697
      User-Agent:
698
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
699
      Content-Type:
700
      - application/json
701
      Host:
702
      - obelix.example.com
703
  response:
704
    status:
705
      code: 200
706
      message: OK
707
    headers:
708
      Date:
709
      - Tue, 14 Nov 2017 20:18:46 GMT
710
      Server:
711
      - Apache/2.4.6 (CentOS)
712
      Vary:
713
      - Accept-Encoding
714
      Content-Length:
715
      - '1116'
716
      Connection:
717
      - close
718
      Content-Type:
719
      - application/json; charset=utf-8
720
    body:
721
      encoding: ASCII-8BIT
722
      string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
723
        "_href": "/pulp/api/v2/tasks/2836e67f-5a9e-409c-92ba-a422fa894449/", "task_id":
724
        "2836e67f-5a9e-409c-92ba-a422fa894449", "tags": ["pulp:repository:integration_test_id",
725
        "pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time":
726
        "2017-11-14T20:18:42Z", "traceback": null, "spawned_tasks": [], "progress_report":
727
        {"yum_importer": {"content": {"items_total": 0, "state": "FINISHED", "error_details":
728
        [], "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done":
729
        0}, "size_total": 0, "size_left": 0, "items_left": 0}, "comps": {"state":
730
        "FINISHED"}, "purge_duplicates": {"state": "IN_PROGRESS"}, "distribution":
731
        {"items_total": 3, "state": "FINISHED", "error_details": [], "items_left":
732
        0}, "errata": {"state": "FINISHED"}, "metadata": {"state": "FINISHED"}}},
733
        "queue": "reserved_resource_worker-1@obelix.example.com.dq", "state": "running",
734
        "worker_name": "reserved_resource_worker-1@obelix.example.com", "result":
735
        null, "error": null, "_id": {"$oid": "5a0b4fa21fbc3e9fdb584e00"}, "id": "5a0b4fa21fbc3e9fdb584e00"}'
736
    http_version: 
737
  recorded_at: Tue, 14 Nov 2017 20:18:46 GMT
738
- request:
739
    method: get
740
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/2836e67f-5a9e-409c-92ba-a422fa894449/
741
    body:
742
      encoding: US-ASCII
743
      string: ''
744
    headers:
745
      Accept:
746
      - application/json
747
      Accept-Encoding:
748
      - gzip, deflate
749
      User-Agent:
750
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
751
      Content-Type:
752
      - application/json
753
      Host:
754
      - obelix.example.com
755
  response:
756
    status:
757
      code: 200
758
      message: OK
759
    headers:
760
      Date:
761
      - Tue, 14 Nov 2017 20:18:47 GMT
762
      Server:
763
      - Apache/2.4.6 (CentOS)
764
      Vary:
765
      - Accept-Encoding
766
      Content-Length:
767
      - '1116'
768
      Connection:
769
      - close
770
      Content-Type:
771
      - application/json; charset=utf-8
772
    body:
773
      encoding: ASCII-8BIT
774
      string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
775
        "_href": "/pulp/api/v2/tasks/2836e67f-5a9e-409c-92ba-a422fa894449/", "task_id":
776
        "2836e67f-5a9e-409c-92ba-a422fa894449", "tags": ["pulp:repository:integration_test_id",
777
        "pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time":
778
        "2017-11-14T20:18:42Z", "traceback": null, "spawned_tasks": [], "progress_report":
779
        {"yum_importer": {"content": {"items_total": 0, "state": "FINISHED", "error_details":
780
        [], "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done":
781
        0}, "size_total": 0, "size_left": 0, "items_left": 0}, "comps": {"state":
782
        "FINISHED"}, "purge_duplicates": {"state": "IN_PROGRESS"}, "distribution":
783
        {"items_total": 3, "state": "FINISHED", "error_details": [], "items_left":
784
        0}, "errata": {"state": "FINISHED"}, "metadata": {"state": "FINISHED"}}},
785
        "queue": "reserved_resource_worker-1@obelix.example.com.dq", "state": "running",
786
        "worker_name": "reserved_resource_worker-1@obelix.example.com", "result":
787
        null, "error": null, "_id": {"$oid": "5a0b4fa21fbc3e9fdb584e00"}, "id": "5a0b4fa21fbc3e9fdb584e00"}'
788
    http_version: 
789
  recorded_at: Tue, 14 Nov 2017 20:18:47 GMT
790
- request:
791
    method: get
792
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/2836e67f-5a9e-409c-92ba-a422fa894449/
793
    body:
794
      encoding: US-ASCII
795
      string: ''
796
    headers:
797
      Accept:
798
      - application/json
799
      Accept-Encoding:
800
      - gzip, deflate
801
      User-Agent:
802
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
803
      Content-Type:
804
      - application/json
805
      Host:
806
      - obelix.example.com
807
  response:
808
    status:
809
      code: 200
810
      message: OK
811
    headers:
812
      Date:
813
      - Tue, 14 Nov 2017 20:18:47 GMT
814
      Server:
815
      - Apache/2.4.6 (CentOS)
816
      Vary:
817
      - Accept-Encoding
818
      Content-Length:
819
      - '2184'
820
      Connection:
821
      - close
822
      Content-Type:
823
      - application/json; charset=utf-8
824
    body:
825
      encoding: ASCII-8BIT
826
      string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
827
        "_href": "/pulp/api/v2/tasks/2836e67f-5a9e-409c-92ba-a422fa894449/", "task_id":
828
        "2836e67f-5a9e-409c-92ba-a422fa894449", "tags": ["pulp:repository:integration_test_id",
829
        "pulp:action:sync"], "finish_time": "2017-11-14T20:18:47Z", "_ns": "task_status",
830
        "start_time": "2017-11-14T20:18:42Z", "traceback": null, "spawned_tasks":
288 831
        [], "progress_report": {"yum_importer": {"content": {"items_total": 0, "state":
289 832
        "FINISHED", "error_details": [], "details": {"rpm_total": 0, "rpm_done": 0,
290 833
        "drpm_total": 0, "drpm_done": 0}, "size_total": 0, "size_left": 0, "items_left":
291 834
        0}, "comps": {"state": "FINISHED"}, "purge_duplicates": {"state": "FINISHED"},
292 835
        "distribution": {"items_total": 3, "state": "FINISHED", "error_details": [],
293 836
        "items_left": 0}, "errata": {"state": "FINISHED"}, "metadata": {"state": "FINISHED"}}},
294
        "queue": "reserved_resource_worker-0@runcible.example.com.dq", "state": "finished",
295
        "worker_name": "reserved_resource_worker-0@runcible.example.com", "result":
837
        "queue": "reserved_resource_worker-1@obelix.example.com.dq", "state": "finished",
838
        "worker_name": "reserved_resource_worker-1@obelix.example.com", "result":
296 839
        {"result": "success", "importer_id": "yum_importer", "exception": null, "repo_id":
297
        "integration_test_id", "traceback": null, "started": "2016-04-29T16:26:50Z",
298
        "_ns": "repo_sync_results", "completed": "2016-04-29T16:26:51Z", "importer_type_id":
840
        "integration_test_id", "traceback": null, "started": "2017-11-14T20:18:42Z",
841
        "_ns": "repo_sync_results", "completed": "2017-11-14T20:18:47Z", "importer_type_id":
299 842
        "yum_importer", "error_message": null, "summary": {"content": {"state": "FINISHED"},
300 843
        "comps": {"state": "FINISHED"}, "purge_duplicates": {"state": "FINISHED"},
301 844
        "distribution": {"state": "FINISHED"}, "errata": {"state": "FINISHED"}, "metadata":
302 845
        {"state": "FINISHED"}}, "added_count": 14, "removed_count": 0, "updated_count":
303
        0, "id": "57238b4baca4886e0c05c3f6", "details": {"content": {"size_total":
846
        0, "id": "5a0b4fa770be6f067d8a57c3", "details": {"content": {"size_total":
304 847
        0, "items_left": 0, "items_total": 0, "state": "FINISHED", "size_left": 0,
305 848
        "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done": 0},
306 849
        "error_details": []}, "comps": {"state": "FINISHED"}, "purge_duplicates":
307 850
        {"state": "FINISHED"}, "distribution": {"items_total": 3, "state": "FINISHED",
308 851
        "error_details": [], "items_left": 0}, "errata": {"state": "FINISHED"}, "metadata":
309
        {"state": "FINISHED"}}}, "error": null, "_id": {"$oid": "57238b4a898f5c862fa3ebe8"},
310
        "id": "57238b4a898f5c862fa3ebe8"}'
852
        {"state": "FINISHED"}}}, "error": null, "_id": {"$oid": "5a0b4fa21fbc3e9fdb584e00"},
853
        "id": "5a0b4fa21fbc3e9fdb584e00"}'
311 854
    http_version: 
312
  recorded_at: Fri, 29 Apr 2016 16:26:51 GMT
855
  recorded_at: Tue, 14 Nov 2017 20:18:47 GMT
313 856
- request:
314 857
    method: delete
315
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
858
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
316 859
    body:
317 860
      encoding: US-ASCII
318 861
      string: ''
......
321 864
      - application/json
322 865
      Accept-Encoding:
323 866
      - gzip, deflate
867
      User-Agent:
868
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
324 869
      Content-Type:
325 870
      - application/json
326
      User-Agent:
327
      - Ruby
871
      Host:
872
      - obelix.example.com
328 873
  response:
329 874
    status:
330 875
      code: 200
331 876
      message: OK
332 877
    headers:
333 878
      Date:
334
      - Fri, 29 Apr 2016 16:26:53 GMT
879
      - Tue, 14 Nov 2017 20:18:48 GMT
335 880
      Server:
336 881
      - Apache/2.4.6 (CentOS)
337 882
      Content-Length:
338 883
      - '4'
884
      Connection:
885
      - close
339 886
      Content-Type:
340 887
      - application/json; charset=utf-8
341 888
    body:
342 889
      encoding: UTF-8
343 890
      string: 'null'
344 891
    http_version: 
345
  recorded_at: Fri, 29 Apr 2016 16:26:53 GMT
892
  recorded_at: Tue, 14 Nov 2017 20:18:48 GMT
346 893
- request:
347 894
    method: delete
348
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/repositories/integration_test_id/
895
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/repositories/integration_test_id/
349 896
    body:
350 897
      encoding: US-ASCII
351 898
      string: ''
......
354 901
      - application/json
355 902
      Accept-Encoding:
356 903
      - gzip, deflate
904
      User-Agent:
905
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
357 906
      Content-Type:
358 907
      - application/json
359
      User-Agent:
360
      - Ruby
908
      Host:
909
      - obelix.example.com
361 910
  response:
362 911
    status:
363 912
      code: 202
364 913
      message: ACCEPTED
365 914
    headers:
366 915
      Date:
367
      - Fri, 29 Apr 2016 16:26:53 GMT
916
      - Tue, 14 Nov 2017 20:18:48 GMT
368 917
      Server:
369 918
      - Apache/2.4.6 (CentOS)
370 919
      Content-Length:
371 920
      - '172'
921
      Connection:
922
      - close
372 923
      Content-Type:
373 924
      - application/json; charset=utf-8
374 925
    body:
375 926
      encoding: UTF-8
376
      string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/93ce43b2-bf82-48db-8d85-e107d6764133/",
377
        "task_id": "93ce43b2-bf82-48db-8d85-e107d6764133"}], "result": null, "error":
927
      string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/94522e38-bdd6-4a61-bb36-269876c5db1c/",
928
        "task_id": "94522e38-bdd6-4a61-bb36-269876c5db1c"}], "result": null, "error":
378 929
        null}'
379 930
    http_version: 
380
  recorded_at: Fri, 29 Apr 2016 16:26:53 GMT
931
  recorded_at: Tue, 14 Nov 2017 20:18:48 GMT
381 932
- request:
382 933
    method: get
383
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/tasks/93ce43b2-bf82-48db-8d85-e107d6764133/
934
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/94522e38-bdd6-4a61-bb36-269876c5db1c/
384 935
    body:
385 936
      encoding: US-ASCII
386 937
      string: ''
......
389 940
      - application/json
390 941
      Accept-Encoding:
391 942
      - gzip, deflate
943
      User-Agent:
944
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
392 945
      Content-Type:
393 946
      - application/json
394
      User-Agent:
395
      - Ruby
947
      Host:
948
      - obelix.example.com
396 949
  response:
397 950
    status:
398 951
      code: 200
399 952
      message: OK
400 953
    headers:
401 954
      Date:
402
      - Fri, 29 Apr 2016 16:26:54 GMT
955
      - Tue, 14 Nov 2017 20:18:48 GMT
403 956
      Server:
404 957
      - Apache/2.4.6 (CentOS)
405 958
      Vary:
406 959
      - Accept-Encoding
407 960
      Content-Length:
408
      - '684'
961
      - '680'
962
      Connection:
963
      - close
409 964
      Content-Type:
410 965
      - application/json; charset=utf-8
411 966
    body:
412 967
      encoding: ASCII-8BIT
413 968
      string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
414
        "_href": "/pulp/api/v2/tasks/93ce43b2-bf82-48db-8d85-e107d6764133/", "task_id":
415
        "93ce43b2-bf82-48db-8d85-e107d6764133", "tags": ["pulp:repository:integration_test_id",
416
        "pulp:action:delete"], "finish_time": "2016-04-29T16:26:53Z", "_ns": "task_status",
417
        "start_time": "2016-04-29T16:26:53Z", "traceback": null, "spawned_tasks":
418
        [], "progress_report": {}, "queue": "reserved_resource_worker-0@runcible.example.com.dq",
419
        "state": "finished", "worker_name": "reserved_resource_worker-0@runcible.example.com",
420
        "result": null, "error": null, "_id": {"$oid": "57238b4d898f5c862fa3ebf8"},
421
        "id": "57238b4d898f5c862fa3ebf8"}'
969
        "_href": "/pulp/api/v2/tasks/94522e38-bdd6-4a61-bb36-269876c5db1c/", "task_id":
970
        "94522e38-bdd6-4a61-bb36-269876c5db1c", "tags": ["pulp:repository:integration_test_id",
971
        "pulp:action:delete"], "finish_time": "2017-11-14T20:18:48Z", "_ns": "task_status",
972
        "start_time": "2017-11-14T20:18:48Z", "traceback": null, "spawned_tasks":
973
        [], "progress_report": {}, "queue": "reserved_resource_worker-1@obelix.example.com.dq",
974
        "state": "finished", "worker_name": "reserved_resource_worker-1@obelix.example.com",
975
        "result": null, "error": null, "_id": {"$oid": "5a0b4fa81fbc3e9fdb584e10"},
976
        "id": "5a0b4fa81fbc3e9fdb584e10"}'
422 977
    http_version: 
423
  recorded_at: Fri, 29 Apr 2016 16:26:54 GMT
424
recorded_with: VCR 3.0.1
978
  recorded_at: Tue, 14 Nov 2017 20:18:48 GMT
979
recorded_with: VCR 3.0.3

Also available in: Unified diff