Revision df1b6e2a
Added by Partha Aji about 5 years ago
test/fixtures/vcr_cassettes/resources/consumer_requires_repo/install_units.yml | ||
---|---|---|
2 | 2 |
http_interactions: |
3 | 3 |
- request: |
4 | 4 |
method: post |
5 |
uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/consumers/integration_test_consumer_support/actions/content/install//
|
|
5 |
uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/integration_test_consumer_support/actions/content/install//
|
|
6 | 6 |
body: |
7 | 7 |
encoding: UTF-8 |
8 | 8 |
string: '{"units":[{"unit_key":{"name":"zsh"},"type_id":"rpm"}],"options":{}}' |
... | ... | |
11 | 11 |
- application/json |
12 | 12 |
Accept-Encoding: |
13 | 13 |
- gzip, deflate |
14 |
User-Agent: |
|
15 |
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230 |
|
14 | 16 |
Content-Type: |
15 | 17 |
- application/json |
16 | 18 |
Content-Length: |
17 | 19 |
- '68' |
18 |
User-Agent:
|
|
19 |
- Ruby
|
|
20 |
Host:
|
|
21 |
- obelix.example.com
|
|
20 | 22 |
response: |
21 | 23 |
status: |
22 | 24 |
code: 202 |
23 | 25 |
message: ACCEPTED |
24 | 26 |
headers: |
25 | 27 |
Date: |
26 |
- Fri, 29 Apr 2016 16:27:10 GMT
|
|
28 |
- Tue, 14 Nov 2017 20:18:55 GMT
|
|
27 | 29 |
Server: |
28 | 30 |
- Apache/2.4.6 (CentOS) |
29 | 31 |
Content-Length: |
30 | 32 |
- '172' |
33 |
Connection: |
|
34 |
- close |
|
31 | 35 |
Content-Type: |
32 | 36 |
- application/json; charset=utf-8 |
33 | 37 |
body: |
34 | 38 |
encoding: UTF-8 |
35 |
string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/76fdfe12-6571-4fc7-9454-a87058b25273/",
|
|
36 |
"task_id": "76fdfe12-6571-4fc7-9454-a87058b25273"}], "result": null, "error":
|
|
39 |
string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/b6ee36a9-0319-4da8-b7fd-e362ee3fce39/",
|
|
40 |
"task_id": "b6ee36a9-0319-4da8-b7fd-e362ee3fce39"}], "result": null, "error":
|
|
37 | 41 |
null}' |
38 | 42 |
http_version: |
39 |
recorded_at: Fri, 29 Apr 2016 16:27:10 GMT |
|
40 |
recorded_with: VCR 3.0.1 |
|
43 |
recorded_at: Tue, 14 Nov 2017 20:18:55 GMT |
|
44 |
recorded_with: VCR 3.0.3 |
Also available in: Unified diff
Fixes #21661 - Retrieve All for consumers
This commit adds a couple of methods to retrieve all consumers in one
go.