Revision df1b6e2a
Added by Partha Aji over 5 years ago
README.md | ||
---|---|---|
5 | 5 |
|
6 | 6 |
Exposing Pulp's juiciest parts. http://www.pulpproject.org/ |
7 | 7 |
|
8 |
Latest Live Tested Version: **pulp-server-2.12.1-1.el7.noarch**
|
|
8 |
Latest Live Tested Version: **pulp-server-2.14.0-1.el7.noarch**
|
|
9 | 9 |
|
10 | 10 |
Current stable Runcible: https://github.com/Katello/runcible/tree/0.3 |
11 | 11 |
|
lib/runcible/resources/consumer.rb | ||
---|---|---|
24 | 24 |
# |
25 | 25 |
# @param [String] id the ID of the consumer |
26 | 26 |
# @return [RestClient::Response] |
27 |
def retrieve(id) |
|
27 |
def retrieve(id = nil)
|
|
28 | 28 |
call(:get, path(id)) |
29 | 29 |
end |
30 | 30 |
|
31 |
# Retrieves all consumers |
|
32 |
# |
|
33 |
# @return [RestClient::Response] |
|
34 |
def retrieve_all |
|
35 |
retrieve |
|
36 |
end |
|
37 |
|
|
31 | 38 |
# Updates a consumer |
32 | 39 |
# |
33 | 40 |
# @param [String] id the ID of the consumer |
test/fixtures/vcr_cassettes/resources/consumer_applicability/applicability.yml | ||
---|---|---|
2 | 2 |
http_interactions: |
3 | 3 |
- request: |
4 | 4 |
method: post |
5 |
uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/consumers/
|
|
5 |
uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/
|
|
6 | 6 |
body: |
7 | 7 |
encoding: UTF-8 |
8 | 8 |
string: '{"id":"integration_test_consumer","name":"boo"}' |
... | ... | |
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 |
- '47' |
18 |
User-Agent:
|
|
19 |
- Ruby
|
|
20 |
Host:
|
|
21 |
- obelix.example.com
|
|
20 | 22 |
response: |
21 | 23 |
status: |
22 | 24 |
code: 201 |
23 | 25 |
message: CREATED |
24 | 26 |
headers: |
25 | 27 |
Date: |
26 |
- Fri, 29 Apr 2016 16:26:47 GMT
|
|
28 |
- Tue, 14 Nov 2017 20:18:40 GMT
|
|
27 | 29 |
Server: |
28 | 30 |
- Apache/2.4.6 (CentOS) |
29 | 31 |
Content-Length: |
30 |
- '2481'
|
|
32 |
- '2497'
|
|
31 | 33 |
Location: |
32 |
- https://runcible.example.com/pulp/api/v2/consumers/integration_test_consumer/ |
|
34 |
- https://obelix.example.com/pulp/api/v2/consumers/integration_test_consumer/ |
|
35 |
Connection: |
|
36 |
- close |
|
33 | 37 |
Content-Type: |
34 | 38 |
- application/json; charset=utf-8 |
35 | 39 |
body: |
36 | 40 |
encoding: UTF-8 |
37 | 41 |
string: '{"consumer": {"display_name": "integration_test_consumer", "description": |
38 | 42 |
null, "_ns": "consumers", "notes": {}, "rsa_pub": null, "capabilities": {}, |
39 |
"_id": {"$oid": "57238b47aca4886d952eeacc"}, "id": "integration_test_consumer",
|
|
43 |
"_id": {"$oid": "5a0b4fa070be6f049ca06fb8"}, "id": "integration_test_consumer",
|
|
40 | 44 |
"_href": "/pulp/api/v2/consumers/integration_test_consumer/"}, "certificate": |
41 |
"-----BEGIN RSA PRIVATE KEY-----\nMIICWwIBAAKBgQDQfbC+wGxil/eco/LK6qwKPOimmAsmifbsPw1Sei1gc/U2iNOY\n7M5sNYcRlpRKw3yVYvbShQMS7QXLGeIRgn8hbC2NhseebLI9TQOnUxV1BNsZSe6Y\n9hlr66dXk2JuRI9QjvbBGlQy8hCYlbRCKlPzSL6b54+j4K5O3anddjc3DQIDAQAB\nAoGAGMkIbPTVLbdhMVbwMx1IzILHKZ7jnHZES3uHaumpYVEHsq77cK+eLpECeJ3N\nDUJGGkBElWxInERfLvDpxikcUbbcY/xz7pif2k/jN55zp7BAk3mQeJ1uVsFP8Bcv\n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YjSGrmk1L34YgNiq+p3ZD5laDSAtUQt7WW75+M97V5\nRdVuHyc6SfV4t29rVJF6XRi4wGAm0ZlYXNRxZpnZY+pQYYGWvN9NuhAuO81NqFB6\nW2iqDHF/Lt557qbCESwaXhgYEFDYQ7nMP7l2m8WrHEKz5inPi62VDZ1piEF9OR+H\noxHGrbggb7KOQdHQsxNupk1j/6qmhGdPLalWvV2ygQyokYGD+191HEpaxE/zJ7q8\nUPs6Y9CEEn3BRFPER619oiJqsRpcsOioHXzm3gomhoDbY9YJlZL63wmzDWWdnbOl\nPud6U9dh0hZbxdJPIrx+PskEtLOh0waFoGLw85MqMzb39n2ZbGdVrbArOk49OH3t\newuauyPH3FcRP2fLFOiYXTak0tQycN+86yVNKFj7YpuKyvn9qrrLS5v8uF9qli6v\nv5vWzovGcVWzZA4+ExkPv/DTLFRki4OBjJ3INJ4TpSLwKkXJ5SRY/QW1OB+fvoqV\nl7eiY9EZ3syfI7YjnDY/dIvTa8oQwcT12F+56awkn50tyGmQpssPORLPSALiMVPi\nXCpRnfaX4RO3Ban9Pt8UdPROlwaBvOr0CP0f5ZxkrHtbX2dVgsSvTQIOkJ81nXdB\nUQTA/EpAwGEMLfsFurf+IQ/ByV+azp3Y1mwEQLE=\n-----END
|
|
43 | 47 |
CERTIFICATE-----"}' |
44 | 48 |
http_version: |
45 |
recorded_at: Fri, 29 Apr 2016 16:26:47 GMT
|
|
49 |
recorded_at: Tue, 14 Nov 2017 20:18:40 GMT
|
|
46 | 50 |
- request: |
47 | 51 |
method: post |
48 |
uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/consumers/content/applicability/
|
|
52 |
uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/content/applicability/
|
|
49 | 53 |
body: |
50 | 54 |
encoding: UTF-8 |
51 | 55 |
string: '{"criteria":{"filters":{"id":{"$in":["integration_test_consumer"]}}},"content_types":["erratum"]}' |
... | ... | |
54 | 58 |
- application/json |
55 | 59 |
Accept-Encoding: |
56 | 60 |
- gzip, deflate |
61 |
User-Agent: |
|
62 |
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230 |
|
57 | 63 |
Content-Type: |
58 | 64 |
- application/json |
59 | 65 |
Content-Length: |
60 | 66 |
- '97' |
61 |
User-Agent:
|
|
62 |
- Ruby
|
|
67 |
Host:
|
|
68 |
- obelix.example.com
|
|
63 | 69 |
response: |
64 | 70 |
status: |
65 | 71 |
code: 200 |
66 | 72 |
message: OK |
67 | 73 |
headers: |
68 | 74 |
Date: |
69 |
- Fri, 29 Apr 2016 16:26:47 GMT
|
|
75 |
- Tue, 14 Nov 2017 20:18:40 GMT
|
|
70 | 76 |
Server: |
71 | 77 |
- Apache/2.4.6 (CentOS) |
72 | 78 |
Content-Length: |
73 | 79 |
- '2' |
80 |
Connection: |
|
81 |
- close |
|
74 | 82 |
Content-Type: |
75 | 83 |
- application/json; charset=utf-8 |
76 | 84 |
body: |
77 | 85 |
encoding: UTF-8 |
78 | 86 |
string: "[]" |
79 | 87 |
http_version: |
80 |
recorded_at: Fri, 29 Apr 2016 16:26:47 GMT
|
|
88 |
recorded_at: Tue, 14 Nov 2017 20:18:40 GMT
|
|
81 | 89 |
- request: |
82 | 90 |
method: delete |
83 |
uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/consumers/integration_test_consumer/
|
|
91 |
uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/integration_test_consumer/
|
|
84 | 92 |
body: |
85 | 93 |
encoding: US-ASCII |
86 | 94 |
string: '' |
... | ... | |
89 | 97 |
- application/json |
90 | 98 |
Accept-Encoding: |
91 | 99 |
- gzip, deflate |
100 |
User-Agent: |
|
101 |
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230 |
|
92 | 102 |
Content-Type: |
93 | 103 |
- application/json |
94 |
User-Agent:
|
|
95 |
- Ruby
|
|
104 |
Host:
|
|
105 |
- obelix.example.com
|
|
96 | 106 |
response: |
97 | 107 |
status: |
98 | 108 |
code: 200 |
99 | 109 |
message: OK |
100 | 110 |
headers: |
101 | 111 |
Date: |
102 |
- Fri, 29 Apr 2016 16:26:47 GMT
|
|
112 |
- Tue, 14 Nov 2017 20:18:40 GMT
|
|
103 | 113 |
Server: |
104 | 114 |
- Apache/2.4.6 (CentOS) |
105 | 115 |
Content-Length: |
106 | 116 |
- '4' |
117 |
Connection: |
|
118 |
- close |
|
107 | 119 |
Content-Type: |
108 | 120 |
- application/json; charset=utf-8 |
109 | 121 |
body: |
110 | 122 |
encoding: UTF-8 |
111 | 123 |
string: 'null' |
112 | 124 |
http_version: |
113 |
recorded_at: Fri, 29 Apr 2016 16:26:47 GMT |
|
114 |
recorded_with: VCR 3.0.1 |
|
125 |
recorded_at: Tue, 14 Nov 2017 20:18:40 GMT |
|
126 |
recorded_with: VCR 3.0.3 |
test/fixtures/vcr_cassettes/resources/consumer_applicability/generate_applicability.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/8313cf90-9119-42aa-a809-9340fc73911e/ |
|
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:48 GMT |
|
25 |
Server: |
|
26 |
- Apache/2.4.6 (CentOS) |
|
27 |
Vary: |
|
28 |
- Accept-Encoding |
|
29 |
Content-Length: |
|
30 |
- '720' |
|
31 |
Content-Type: |
|
32 |
- application/json; charset=utf-8 |
|
33 |
body: |
|
34 |
encoding: ASCII-8BIT |
|
35 |
string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", |
|
36 |
"_href": "/pulp/api/v2/tasks/8313cf90-9119-42aa-a809-9340fc73911e/", "task_id": |
|
37 |
"8313cf90-9119-42aa-a809-9340fc73911e", "tags": ["pulp:action:content_applicability_regeneration"], |
|
38 |
"finish_time": "2016-04-29T16:26:48Z", "_ns": "task_status", "start_time": |
|
39 |
"2016-04-29T16:26:48Z", "traceback": null, "spawned_tasks": [], "progress_report": |
|
40 |
{}, "queue": "reserved_resource_worker-0@runcible.example.com.dq", "state": |
|
41 |
"finished", "worker_name": "reserved_resource_worker-0@runcible.example.com", |
|
42 |
"result": null, "error": null, "_id": {"$oid": "57238b48898f5c862fa3ebe6"}, |
|
43 |
"id": "57238b48898f5c862fa3ebe6"}' |
|
44 |
http_version: |
|
45 |
recorded_at: Fri, 29 Apr 2016 16:26:48 GMT |
|
46 |
- request: |
|
4 | 47 |
method: post |
5 |
uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/consumers/
|
|
48 |
uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/
|
|
6 | 49 |
body: |
7 | 50 |
encoding: UTF-8 |
8 | 51 |
string: '{"id":"integration_test_consumer","name":"boo"}' |
... | ... | |
11 | 54 |
- application/json |
12 | 55 |
Accept-Encoding: |
13 | 56 |
- gzip, deflate |
57 |
User-Agent: |
|
58 |
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230 |
|
14 | 59 |
Content-Type: |
15 | 60 |
- application/json |
16 | 61 |
Content-Length: |
17 | 62 |
- '47' |
18 |
User-Agent:
|
|
19 |
- Ruby
|
|
63 |
Host:
|
|
64 |
- obelix.example.com
|
|
20 | 65 |
response: |
21 | 66 |
status: |
22 | 67 |
code: 201 |
23 | 68 |
message: CREATED |
24 | 69 |
headers: |
25 | 70 |
Date: |
26 |
- Fri, 29 Apr 2016 16:26:47 GMT
|
|
71 |
- Tue, 14 Nov 2017 20:18:40 GMT
|
|
27 | 72 |
Server: |
28 | 73 |
- Apache/2.4.6 (CentOS) |
29 | 74 |
Content-Length: |
30 |
- '2481'
|
|
75 |
- '2497'
|
|
31 | 76 |
Location: |
32 |
- https://runcible.example.com/pulp/api/v2/consumers/integration_test_consumer/ |
|
77 |
- https://obelix.example.com/pulp/api/v2/consumers/integration_test_consumer/ |
|
78 |
Connection: |
|
79 |
- close |
|
33 | 80 |
Content-Type: |
34 | 81 |
- application/json; charset=utf-8 |
35 | 82 |
body: |
36 | 83 |
encoding: UTF-8 |
37 | 84 |
string: '{"consumer": {"display_name": "integration_test_consumer", "description": |
38 | 85 |
null, "_ns": "consumers", "notes": {}, "rsa_pub": null, "capabilities": {}, |
39 |
"_id": {"$oid": "57238b48aca4886d952eead1"}, "id": "integration_test_consumer",
|
|
86 |
"_id": {"$oid": "5a0b4fa070be6f049ca06fbc"}, "id": "integration_test_consumer",
|
|
40 | 87 |
"_href": "/pulp/api/v2/consumers/integration_test_consumer/"}, "certificate": |
41 |
"-----BEGIN RSA PRIVATE KEY-----\nMIICXAIBAAKBgQCwOuu0csv8mTgYbKjG4Hq3ZNSxHRoovH/WmM2YFC+B5GI/biWe\n/bvy/vUrn4Is4t6KEE4vs8VM7Fp4EebZntF1eikL9cP8tNUnHrE/y2ykzjvMNKxj\ny1sjUPR4FIrTmxNyCm0H4hsvwkP8gx1fT9j7Ao+vEeDwXtmr/qd0YAEKSQIDAQAB\nAoGAd9CHYhbOYz2Uqt5tXVFPfZJbHNOpblrCG5el6CiJKCmrNm7fuxnNh+cZrv/y\nlCvmmz18uufhU2w6Efox1nEo/DGuf8MM+HLhGIBYAUd91bRV7LEx8C+ICepqVZOh\nxnB+GYD8dGkfSL9QkDi2+M+WTkhEaxdjRHIJpA8TfkXyF7UCQQDhaZJQzMjIZdUo\ncscMis+xbp44m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ybd9OfqwTCknEhk3B1kzI+6aQQ58LreIxfvVd2Izisgbrm7TWi3ntZTZPpVs/M\ny7N4knaUSt0XrteDDP/okcK/unrbdE92g+miD94RsLzy5KizPQTzkhmAsYb/o9Sd\n9MfNoqOpsF5CM7qEXVEVACBFHhe8vNY0xy1VPkpzroqsjouyuQ1fM9zwZM0GGGde\n9ZWwJEnS9SpwRdeQc1Cdx9BzwzYYtCmQZNH8/melb32UCP6BZZYMWjqSBAo3BDWq\n4r66vhWuv1WZMjtH3p7hfru+dKRgpLAyBLyOOUKS0WCaPKB/6d0/0OQXUpLJB22y\ni2BAQNF6ruAP6rIsq7mgmz+UmZur9EPlekgcrUw9Z2J6lgnGIdjnfO3O1chzaeHM\nmza57/ZyK6ynwROh9UcUPqm3YhxDWgaE0XYZqRyYvIxfQBaLMyltRN24WN9oTMY9\n0ivHuFqMleEYkiWqry3l0vsvehfeH6eSMuC8aadS4cRgpdSJeH/9+hyBI9KcRk6L\ngHEBYfpn2Gp2qGCi8kV8j01hZ2mdTSYS5Mlbd9/YhcHonnkNykgZx4gV2ySNpewA\nckvALW9cKT/PQcVbjJ6apNk2dPn99Ls5uMxVrmI=\n-----END
|
|
43 | 90 |
CERTIFICATE-----"}' |
44 | 91 |
http_version: |
45 |
recorded_at: Fri, 29 Apr 2016 16:26:48 GMT
|
|
92 |
recorded_at: Tue, 14 Nov 2017 20:18:40 GMT
|
|
46 | 93 |
- request: |
47 | 94 |
method: post |
48 |
uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/consumers/actions/content/regenerate_applicability//
|
|
95 |
uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/actions/content/regenerate_applicability//
|
|
49 | 96 |
body: |
50 | 97 |
encoding: UTF-8 |
51 | 98 |
string: '{"consumer_criteria":{"filters":{"id":{"$in":["integration_test_consumer"]}}}}' |
... | ... | |
54 | 101 |
- application/json |
55 | 102 |
Accept-Encoding: |
56 | 103 |
- gzip, deflate |
104 |
User-Agent: |
|
105 |
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230 |
|
57 | 106 |
Content-Type: |
58 | 107 |
- application/json |
59 | 108 |
Content-Length: |
60 | 109 |
- '78' |
61 |
User-Agent:
|
|
62 |
- Ruby
|
|
110 |
Host:
|
|
111 |
- obelix.example.com
|
|
63 | 112 |
response: |
64 | 113 |
status: |
65 | 114 |
code: 202 |
66 | 115 |
message: ACCEPTED |
67 | 116 |
headers: |
68 | 117 |
Date: |
69 |
- Fri, 29 Apr 2016 16:26:48 GMT
|
|
118 |
- Tue, 14 Nov 2017 20:18:40 GMT
|
|
70 | 119 |
Server: |
71 | 120 |
- Apache/2.4.6 (CentOS) |
72 | 121 |
Content-Length: |
73 | 122 |
- '172' |
123 |
Connection: |
|
124 |
- close |
|
74 | 125 |
Content-Type: |
75 | 126 |
- application/json; charset=utf-8 |
76 | 127 |
body: |
77 | 128 |
encoding: UTF-8 |
78 |
string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/8313cf90-9119-42aa-a809-9340fc73911e/",
|
|
79 |
"task_id": "8313cf90-9119-42aa-a809-9340fc73911e"}], "result": null, "error":
|
|
129 |
string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/9b9da808-df37-488e-8768-948893df08ae/",
|
|
130 |
"task_id": "9b9da808-df37-488e-8768-948893df08ae"}], "result": null, "error":
|
|
80 | 131 |
null}' |
81 | 132 |
http_version: |
82 |
recorded_at: Fri, 29 Apr 2016 16:26:48 GMT
|
|
133 |
recorded_at: Tue, 14 Nov 2017 20:18:40 GMT
|
|
83 | 134 |
- request: |
84 | 135 |
method: get |
85 |
uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/tasks/8313cf90-9119-42aa-a809-9340fc73911e/
|
|
136 |
uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/9b9da808-df37-488e-8768-948893df08ae/
|
|
86 | 137 |
body: |
87 | 138 |
encoding: US-ASCII |
88 | 139 |
string: '' |
... | ... | |
91 | 142 |
- application/json |
92 | 143 |
Accept-Encoding: |
93 | 144 |
- gzip, deflate |
145 |
User-Agent: |
|
146 |
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230 |
|
94 | 147 |
Content-Type: |
95 | 148 |
- application/json |
96 |
User-Agent:
|
|
97 |
- Ruby
|
|
149 |
Host:
|
|
150 |
- obelix.example.com
|
|
98 | 151 |
response: |
99 | 152 |
status: |
100 | 153 |
code: 200 |
101 | 154 |
message: OK |
102 | 155 |
headers: |
103 | 156 |
Date: |
104 |
- Fri, 29 Apr 2016 16:26:48 GMT
|
|
157 |
- Tue, 14 Nov 2017 20:18:41 GMT
|
|
105 | 158 |
Server: |
106 | 159 |
- Apache/2.4.6 (CentOS) |
107 | 160 |
Vary: |
108 | 161 |
- Accept-Encoding |
109 | 162 |
Content-Length: |
110 |
- '720' |
|
163 |
- '716' |
|
164 |
Connection: |
|
165 |
- close |
|
111 | 166 |
Content-Type: |
112 | 167 |
- application/json; charset=utf-8 |
113 | 168 |
body: |
114 | 169 |
encoding: ASCII-8BIT |
115 | 170 |
string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", |
116 |
"_href": "/pulp/api/v2/tasks/8313cf90-9119-42aa-a809-9340fc73911e/", "task_id":
|
|
117 |
"8313cf90-9119-42aa-a809-9340fc73911e", "tags": ["pulp:action:content_applicability_regeneration"],
|
|
118 |
"finish_time": "2016-04-29T16:26:48Z", "_ns": "task_status", "start_time":
|
|
119 |
"2016-04-29T16:26:48Z", "traceback": null, "spawned_tasks": [], "progress_report":
|
|
120 |
{}, "queue": "reserved_resource_worker-0@runcible.example.com.dq", "state":
|
|
121 |
"finished", "worker_name": "reserved_resource_worker-0@runcible.example.com",
|
|
122 |
"result": null, "error": null, "_id": {"$oid": "57238b48898f5c862fa3ebe6"},
|
|
123 |
"id": "57238b48898f5c862fa3ebe6"}'
|
|
171 |
"_href": "/pulp/api/v2/tasks/9b9da808-df37-488e-8768-948893df08ae/", "task_id":
|
|
172 |
"9b9da808-df37-488e-8768-948893df08ae", "tags": ["pulp:action:content_applicability_regeneration"],
|
|
173 |
"finish_time": "2017-11-14T20:18:40Z", "_ns": "task_status", "start_time":
|
|
174 |
"2017-11-14T20:18:40Z", "traceback": null, "spawned_tasks": [], "progress_report":
|
|
175 |
{}, "queue": "reserved_resource_worker-1@obelix.example.com.dq", "state":
|
|
176 |
"finished", "worker_name": "reserved_resource_worker-1@obelix.example.com",
|
|
177 |
"result": null, "error": null, "_id": {"$oid": "5a0b4fa01fbc3e9fdb584dfc"},
|
|
178 |
"id": "5a0b4fa01fbc3e9fdb584dfc"}'
|
|
124 | 179 |
http_version: |
125 |
recorded_at: Fri, 29 Apr 2016 16:26:48 GMT
|
|
180 |
recorded_at: Tue, 14 Nov 2017 20:18:41 GMT
|
|
126 | 181 |
- request: |
127 | 182 |
method: delete |
128 |
uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/consumers/integration_test_consumer/
|
|
183 |
uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/integration_test_consumer/
|
|
129 | 184 |
body: |
130 | 185 |
encoding: US-ASCII |
131 | 186 |
string: '' |
... | ... | |
134 | 189 |
- application/json |
135 | 190 |
Accept-Encoding: |
136 | 191 |
- gzip, deflate |
192 |
User-Agent: |
|
193 |
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230 |
|
137 | 194 |
Content-Type: |
138 | 195 |
- application/json |
139 |
User-Agent:
|
|
140 |
- Ruby
|
|
196 |
Host:
|
|
197 |
- obelix.example.com
|
|
141 | 198 |
response: |
142 | 199 |
status: |
143 | 200 |
code: 200 |
144 | 201 |
message: OK |
145 | 202 |
headers: |
146 | 203 |
Date: |
147 |
- Fri, 29 Apr 2016 16:26:49 GMT
|
|
204 |
- Tue, 14 Nov 2017 20:18:41 GMT
|
|
148 | 205 |
Server: |
149 | 206 |
- Apache/2.4.6 (CentOS) |
150 | 207 |
Content-Length: |
151 | 208 |
- '4' |
209 |
Connection: |
|
210 |
- close |
|
152 | 211 |
Content-Type: |
153 | 212 |
- application/json; charset=utf-8 |
154 | 213 |
body: |
155 | 214 |
encoding: UTF-8 |
156 | 215 |
string: 'null' |
157 | 216 |
http_version: |
158 |
recorded_at: Fri, 29 Apr 2016 16:26:49 GMT |
|
159 |
recorded_with: VCR 3.0.1 |
|
217 |
recorded_at: Tue, 14 Nov 2017 20:18:41 GMT |
|
218 |
recorded_with: VCR 3.0.3 |
test/fixtures/vcr_cassettes/resources/consumer_applicability/generate_applicability_one_id.yml | ||
---|---|---|
1 | 1 |
--- |
2 | 2 |
http_interactions: |
3 | 3 |
- request: |
4 |
method: get |
|
5 |
uri: https://admin:oAoExV2f7EKidTk982PyfAnMCSioNdem@runcible.example.com/pulp/api/v2/tasks/0414f076-90bb-4b73-8dfc-cb3d1be12ede/ |
|
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 |
- Tue, 28 Mar 2017 22:34:28 GMT |
|
25 |
Server: |
|
26 |
- Apache/2.4.6 (CentOS) |
|
27 |
Vary: |
|
28 |
- Accept-Encoding |
|
29 |
Content-Length: |
|
30 |
- '729' |
|
31 |
Content-Type: |
|
32 |
- application/json; charset=utf-8 |
|
33 |
body: |
|
34 |
encoding: ASCII-8BIT |
|
35 |
string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", |
|
36 |
"_href": "/pulp/api/v2/tasks/0414f076-90bb-4b73-8dfc-cb3d1be12ede/", "task_id": |
|
37 |
"0414f076-90bb-4b73-8dfc-cb3d1be12ede", "tags": ["pulp:action:consumer_content_applicability_regeneration"], |
|
38 |
"finish_time": "2017-03-28T22:34:27Z", "_ns": "task_status", "start_time": |
|
39 |
"2017-03-28T22:34:27Z", "traceback": null, "spawned_tasks": [], "progress_report": |
|
40 |
{}, "queue": "reserved_resource_worker-0@runcible.example.com.dq", "state": |
|
41 |
"finished", "worker_name": "reserved_resource_worker-0@runcible.example.com", |
|
42 |
"result": null, "error": null, "_id": {"$oid": "58dae4f37b90bd635ef00a5f"}, |
|
43 |
"id": "58dae4f37b90bd635ef00a5f"}' |
|
44 |
http_version: |
|
45 |
recorded_at: Tue, 28 Mar 2017 22:34:28 GMT |
|
46 |
- request: |
|
4 | 47 |
method: post |
5 |
uri: https://admin:oAoExV2f7EKidTk982PyfAnMCSioNdem@runcible.example.com/pulp/api/v2/consumers/
|
|
48 |
uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/
|
|
6 | 49 |
body: |
7 | 50 |
encoding: UTF-8 |
8 | 51 |
string: '{"id":"integration_test_consumer","name":"boo"}' |
... | ... | |
11 | 54 |
- application/json |
12 | 55 |
Accept-Encoding: |
13 | 56 |
- gzip, deflate |
57 |
User-Agent: |
|
58 |
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230 |
|
14 | 59 |
Content-Type: |
15 | 60 |
- application/json |
16 | 61 |
Content-Length: |
17 | 62 |
- '47' |
18 |
User-Agent:
|
|
19 |
- Ruby
|
|
63 |
Host:
|
|
64 |
- obelix.example.com
|
|
20 | 65 |
response: |
21 | 66 |
status: |
22 | 67 |
code: 201 |
23 | 68 |
message: CREATED |
24 | 69 |
headers: |
25 | 70 |
Date: |
26 |
- Tue, 28 Mar 2017 22:34:27 GMT
|
|
71 |
- Tue, 14 Nov 2017 20:18:41 GMT
|
|
27 | 72 |
Server: |
28 | 73 |
- Apache/2.4.6 (CentOS) |
29 | 74 |
Content-Length: |
30 |
- '2481'
|
|
75 |
- '2497'
|
|
31 | 76 |
Location: |
32 |
- https://runcible.example.com/pulp/api/v2/consumers/integration_test_consumer/ |
|
77 |
- https://obelix.example.com/pulp/api/v2/consumers/integration_test_consumer/ |
|
78 |
Connection: |
|
79 |
- close |
|
33 | 80 |
Content-Type: |
34 | 81 |
- application/json; charset=utf-8 |
35 | 82 |
body: |
36 | 83 |
encoding: UTF-8 |
37 | 84 |
string: '{"consumer": {"display_name": "integration_test_consumer", "description": |
38 | 85 |
null, "_ns": "consumers", "notes": {}, "rsa_pub": null, "capabilities": {}, |
39 |
"_id": {"$oid": "58dae4f3aca488018bf9e5f7"}, "id": "integration_test_consumer",
|
|
86 |
"_id": {"$oid": "5a0b4fa170be6f049ca06fc1"}, "id": "integration_test_consumer",
|
|
40 | 87 |
"_href": "/pulp/api/v2/consumers/integration_test_consumer/"}, "certificate": |
41 |
"-----BEGIN RSA PRIVATE KEY-----\nMIICXQIBAAKBgQC7fCk+0WEPBeJKHzmyhbVgMi2NlYd/GGDy27N3IA1iI6O6S0ea\n9RKEb+OCRcAT999eq69gKzG/HouqG0oWV2+IV8wLhzQqwSyRbA6IAq+GnTqnqiRt\nKHHTlmCB6p18rmFQw+OdFl1weU4lqerCpmKps4wZrRnPnJM1RyYxA5X0nwIDAQAB\nAoGALJ0IB421ZejFh1PU2/lbRq/KDTX2zzSS5VeIZiF3bdIDRPJi8Km+pUsmvTox\n0c6bFaEPE3hT1yHCpFDoGVbnEAdn/stCsOYeJJ1+7cyppzrZn0RLdxF8bt6WxRGF\nQN3jsiUGZ4qTruGIMPRV2iqQDh+sy51YNByIHAgdkBICk3ECQQDce/5UYpyJ5tEU\niLt010ZOi0ixZkBxupDzn5RW06KDK501FjVcMkNy9IFJcwIDtNiJ6nhhweuwSYEq\nh8T+5V95AkEA2a9jvKbW+P3GD3dMnkTsdw2ggPaWvgudIldIjB395yy0g7Z/CZ23\nQaAbHjfKFYB7hvzc3SpUbEJ4s0mAXTl21wJBAL0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lsqkZM5cMSiRk2yL/EqecForFGSJu\nkDZsWAQRGeT+JWI2kSZ3gKX8s3jJF/Bqr0/S2gXuQGp8haCAATw+wSs+/reKjkZd\nzkskWld8FQ1+LalDTcLR28kP6Pxl0zQzW2y/V12JMYoyE5Imx5tXznZoAmw9p+wt\nEXqdMbUz/5Ln8J+9iYbGXB2vHdfOqkVA5n0h/Y/Ik1R6Rb5TWZ93Faqh/7uHDx1c\nY8GPEB3xfZbvBopgrYPHcbV9gz39kWhZjmoEVI0o67D0Abi87aXO29jhLaGGSx2q\n7n2xqoS1edXah4PX4K6rpgB7wyzPje1bDZ4WOTC7k4q8xnS/Bqb9fEosXKYjN74f\n6DJAQjyBeRQMCDdKS7s0qdvZuVNqXuSnTTEliK4dFLY78po0aQWNi2JlsNRAGMSX\nFmvKaDwe2MxdInWRaV4lZnNBMvaYvYzBvFEyLQQC\n-----END
|
|
43 | 90 |
CERTIFICATE-----"}' |
44 | 91 |
http_version: |
45 |
recorded_at: Tue, 28 Mar 2017 22:34:27 GMT
|
|
92 |
recorded_at: Tue, 14 Nov 2017 20:18:41 GMT
|
|
46 | 93 |
- request: |
47 | 94 |
method: post |
48 |
uri: https://admin:oAoExV2f7EKidTk982PyfAnMCSioNdem@runcible.example.com/pulp/api/v2/consumers/integration_test_consumer/actions/content/regenerate_applicability/
|
|
95 |
uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/integration_test_consumer/actions/content/regenerate_applicability/
|
|
49 | 96 |
body: |
50 | 97 |
encoding: UTF-8 |
51 |
string: '{}'
|
|
98 |
string: "{}"
|
|
52 | 99 |
headers: |
53 | 100 |
Accept: |
54 | 101 |
- application/json |
55 | 102 |
Accept-Encoding: |
56 | 103 |
- gzip, deflate |
104 |
User-Agent: |
|
105 |
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230 |
|
57 | 106 |
Content-Type: |
58 | 107 |
- application/json |
59 | 108 |
Content-Length: |
60 | 109 |
- '2' |
61 |
User-Agent:
|
|
62 |
- Ruby
|
|
110 |
Host:
|
|
111 |
- obelix.example.com
|
|
63 | 112 |
response: |
64 | 113 |
status: |
65 | 114 |
code: 202 |
66 | 115 |
message: ACCEPTED |
67 | 116 |
headers: |
68 | 117 |
Date: |
69 |
- Tue, 28 Mar 2017 22:34:27 GMT
|
|
118 |
- Tue, 14 Nov 2017 20:18:41 GMT
|
|
70 | 119 |
Server: |
71 | 120 |
- Apache/2.4.6 (CentOS) |
72 | 121 |
Content-Length: |
73 | 122 |
- '172' |
123 |
Connection: |
|
124 |
- close |
|
74 | 125 |
Content-Type: |
75 | 126 |
- application/json; charset=utf-8 |
76 | 127 |
body: |
77 | 128 |
encoding: UTF-8 |
78 |
string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/0414f076-90bb-4b73-8dfc-cb3d1be12ede/",
|
|
79 |
"task_id": "0414f076-90bb-4b73-8dfc-cb3d1be12ede"}], "result": null, "error":
|
|
129 |
string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/33545c8c-cd01-4171-978b-45cca0336dfd/",
|
|
130 |
"task_id": "33545c8c-cd01-4171-978b-45cca0336dfd"}], "result": null, "error":
|
|
80 | 131 |
null}' |
81 | 132 |
http_version: |
82 |
recorded_at: Tue, 28 Mar 2017 22:34:27 GMT
|
|
133 |
recorded_at: Tue, 14 Nov 2017 20:18:41 GMT
|
|
83 | 134 |
- request: |
84 | 135 |
method: get |
85 |
uri: https://admin:oAoExV2f7EKidTk982PyfAnMCSioNdem@runcible.example.com/pulp/api/v2/tasks/0414f076-90bb-4b73-8dfc-cb3d1be12ede/
|
|
136 |
uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/33545c8c-cd01-4171-978b-45cca0336dfd/
|
|
86 | 137 |
body: |
87 | 138 |
encoding: US-ASCII |
88 | 139 |
string: '' |
... | ... | |
91 | 142 |
- application/json |
92 | 143 |
Accept-Encoding: |
93 | 144 |
- gzip, deflate |
145 |
User-Agent: |
|
146 |
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230 |
|
94 | 147 |
Content-Type: |
95 | 148 |
- application/json |
96 |
User-Agent:
|
|
97 |
- Ruby
|
|
149 |
Host:
|
|
150 |
- obelix.example.com
|
|
98 | 151 |
response: |
99 | 152 |
status: |
100 | 153 |
code: 200 |
101 | 154 |
message: OK |
102 | 155 |
headers: |
103 | 156 |
Date: |
104 |
- Tue, 28 Mar 2017 22:34:28 GMT
|
|
157 |
- Tue, 14 Nov 2017 20:18:42 GMT
|
|
105 | 158 |
Server: |
106 | 159 |
- Apache/2.4.6 (CentOS) |
107 | 160 |
Vary: |
108 | 161 |
- Accept-Encoding |
109 | 162 |
Content-Length: |
110 |
- '729' |
|
163 |
- '725' |
|
164 |
Connection: |
|
165 |
- close |
|
111 | 166 |
Content-Type: |
112 | 167 |
- application/json; charset=utf-8 |
113 | 168 |
body: |
114 | 169 |
encoding: ASCII-8BIT |
115 | 170 |
string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", |
116 |
"_href": "/pulp/api/v2/tasks/0414f076-90bb-4b73-8dfc-cb3d1be12ede/", "task_id":
|
|
117 |
"0414f076-90bb-4b73-8dfc-cb3d1be12ede", "tags": ["pulp:action:consumer_content_applicability_regeneration"],
|
|
118 |
"finish_time": "2017-03-28T22:34:27Z", "_ns": "task_status", "start_time":
|
|
119 |
"2017-03-28T22:34:27Z", "traceback": null, "spawned_tasks": [], "progress_report":
|
|
120 |
{}, "queue": "reserved_resource_worker-0@runcible.example.com.dq", "state":
|
|
121 |
"finished", "worker_name": "reserved_resource_worker-0@runcible.example.com",
|
|
122 |
"result": null, "error": null, "_id": {"$oid": "58dae4f37b90bd635ef00a5f"},
|
|
123 |
"id": "58dae4f37b90bd635ef00a5f"}'
|
|
171 |
"_href": "/pulp/api/v2/tasks/33545c8c-cd01-4171-978b-45cca0336dfd/", "task_id":
|
|
172 |
"33545c8c-cd01-4171-978b-45cca0336dfd", "tags": ["pulp:action:consumer_content_applicability_regeneration"],
|
|
173 |
"finish_time": "2017-11-14T20:18:41Z", "_ns": "task_status", "start_time":
|
|
174 |
"2017-11-14T20:18:41Z", "traceback": null, "spawned_tasks": [], "progress_report":
|
|
175 |
{}, "queue": "reserved_resource_worker-1@obelix.example.com.dq", "state":
|
|
176 |
"finished", "worker_name": "reserved_resource_worker-1@obelix.example.com",
|
|
177 |
"result": null, "error": null, "_id": {"$oid": "5a0b4fa11fbc3e9fdb584dfe"},
|
|
178 |
"id": "5a0b4fa11fbc3e9fdb584dfe"}'
|
|
124 | 179 |
http_version: |
125 |
recorded_at: Tue, 28 Mar 2017 22:34:28 GMT
|
|
180 |
recorded_at: Tue, 14 Nov 2017 20:18:42 GMT
|
|
126 | 181 |
- request: |
127 | 182 |
method: delete |
128 |
uri: https://admin:oAoExV2f7EKidTk982PyfAnMCSioNdem@runcible.example.com/pulp/api/v2/consumers/integration_test_consumer/
|
|
183 |
uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/integration_test_consumer/
|
|
129 | 184 |
body: |
130 | 185 |
encoding: US-ASCII |
131 | 186 |
string: '' |
... | ... | |
134 | 189 |
- application/json |
135 | 190 |
Accept-Encoding: |
136 | 191 |
- gzip, deflate |
192 |
User-Agent: |
|
193 |
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230 |
|
137 | 194 |
Content-Type: |
138 | 195 |
- application/json |
139 |
User-Agent:
|
|
140 |
- Ruby
|
|
196 |
Host:
|
|
197 |
- obelix.example.com
|
|
141 | 198 |
response: |
142 | 199 |
status: |
143 | 200 |
code: 200 |
144 | 201 |
message: OK |
145 | 202 |
headers: |
146 | 203 |
Date: |
147 |
- Tue, 28 Mar 2017 22:34:28 GMT
|
|
204 |
- Tue, 14 Nov 2017 20:18:42 GMT
|
|
148 | 205 |
Server: |
149 | 206 |
- Apache/2.4.6 (CentOS) |
150 | 207 |
Content-Length: |
151 | 208 |
- '4' |
209 |
Connection: |
|
210 |
- close |
|
152 | 211 |
Content-Type: |
153 | 212 |
- application/json; charset=utf-8 |
154 | 213 |
body: |
155 | 214 |
encoding: UTF-8 |
156 | 215 |
string: 'null' |
157 | 216 |
http_version: |
158 |
recorded_at: Tue, 28 Mar 2017 22:34:28 GMT
|
|
217 |
recorded_at: Tue, 14 Nov 2017 20:18:42 GMT
|
|
159 | 218 |
recorded_with: VCR 3.0.3 |
test/fixtures/vcr_cassettes/resources/consumer_bindings/bind.yml | ||
---|---|---|
2 | 2 |
http_interactions: |
3 | 3 |
- request: |
4 | 4 |
method: get |
5 |
uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/repositories/integration_test_id/?details=true
|
|
5 |
uri: https://admin:admin@obelix.example.com/pulp/api/v2/repositories/integration_test_id/?details=true
|
|
6 | 6 |
body: |
7 | 7 |
encoding: US-ASCII |
8 | 8 |
string: '' |
... | ... | |
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 |
User-Agent:
|
|
17 |
- Ruby
|
|
18 |
Host:
|
|
19 |
- obelix.example.com
|
|
18 | 20 |
response: |
19 | 21 |
status: |
20 | 22 |
code: 200 |
21 | 23 |
message: OK |
22 | 24 |
headers: |
23 | 25 |
Date: |
24 |
- Fri, 29 Apr 2016 16:26:52 GMT
|
|
26 |
- Tue, 14 Nov 2017 20:18:47 GMT
|
|
25 | 27 |
Server: |
26 | 28 |
- Apache/2.4.6 (CentOS) |
27 | 29 |
Vary: |
28 | 30 |
- Accept-Encoding |
29 | 31 |
Content-Length: |
30 |
- '1310' |
|
32 |
- '1438' |
|
33 |
Connection: |
|
34 |
- close |
|
31 | 35 |
Content-Type: |
32 | 36 |
- application/json; charset=utf-8 |
33 | 37 |
body: |
34 | 38 |
encoding: ASCII-8BIT |
35 | 39 |
string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "integration_test_id", |
36 |
"description": null, "distributors": [{"repo_id": "integration_test_id", "_href": |
|
37 |
"/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", "_ns": |
|
38 |
"repo_distributors", "last_publish": null, "distributor_type_id": "yum_distributor", |
|
39 |
"auto_publish": false, "scratchpad": {}, "_id": {"$oid": "57238b4aaca4886d979905fc"}, |
|
40 |
"config": {"http": true, "https": true, "relative_url": "path"}, "id": "yum_dist"}], |
|
41 |
"last_unit_added": null, "notes": {}, "last_unit_removed": null, "content_unit_counts": |
|
42 |
{"package_group": 2, "distribution": 1, "package_category": 1, "rpm": 8, "erratum": |
|
43 |
2}, "_ns": "repos", "importers": [{"scratchpad": {"repomd_revision": 1321893800, |
|
44 |
"previous_skip_list": []}, "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", |
|
45 |
"_ns": "repo_importers", "importer_type_id": "yum_importer", "last_sync": |
|
46 |
"2016-04-29T16:26:51Z", "repo_id": "integration_test_id", "_id": {"$oid": |
|
47 |
"57238b4aaca4886d979905fb"}, "config": {"feed": "file:///var/www/repositories/zoo5"}, |
|
48 |
"id": "yum_importer"}], "locally_stored_units": 14, "_id": {"$oid": "57238b4aaca4886d979905fa"}, |
|
49 |
"total_repository_units": 14, "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}' |
|
40 |
"description": null, "distributors": [{"repo_id": "integration_test_id", "last_updated": |
|
41 |
"2017-11-14T20:18:42Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", |
|
42 |
"last_override_config": {}, "last_publish": null, "distributor_type_id": "yum_distributor", |
|
43 |
"auto_publish": false, "scratchpad": {}, "_ns": "repo_distributors", "_id": |
|
44 |
{"$oid": "5a0b4fa270be6f049ca06fca"}, "config": {"http": true, "https": true, |
|
45 |
"relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2017-11-14T20:18:47Z", |
|
46 |
"notes": {}, "last_unit_removed": null, "content_unit_counts": {"package_group": |
|
47 |
2, "distribution": 1, "package_category": 1, "rpm": 8, "erratum": 2}, "_ns": |
|
48 |
"repos", "importers": [{"repo_id": "integration_test_id", "last_updated": |
|
49 |
"2017-11-14T20:18:42Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", |
|
50 |
"_ns": "repo_importers", "importer_type_id": "yum_importer", "last_override_config": |
|
51 |
{}, "last_sync": "2017-11-14T20:18:47Z", "scratchpad": {"repomd_revision": |
|
52 |
1321893800}, "_id": {"$oid": "5a0b4fa270be6f049ca06fc9"}, "config": {"feed": |
|
53 |
"file:///var/www/repositories/zoo5"}, "id": "yum_importer"}], "locally_stored_units": |
|
54 |
14, "_id": {"$oid": "5a0b4fa270be6f049ca06fc8"}, "total_repository_units": |
|
55 |
14, "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}' |
|
50 | 56 |
http_version: |
51 |
recorded_at: Fri, 29 Apr 2016 16:26:53 GMT
|
|
57 |
recorded_at: Tue, 14 Nov 2017 20:18:47 GMT
|
|
52 | 58 |
- request: |
53 | 59 |
method: post |
54 |
uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings//
|
|
60 |
uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings//
|
|
55 | 61 |
body: |
56 | 62 |
encoding: UTF-8 |
57 | 63 |
string: '{"repo_id":"integration_test_id","distributor_id":"yum_dist","notify_agent":false}' |
... | ... | |
60 | 66 |
- application/json |
61 | 67 |
Accept-Encoding: |
62 | 68 |
- gzip, deflate |
69 |
User-Agent: |
|
70 |
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230 |
|
63 | 71 |
Content-Type: |
64 | 72 |
- application/json |
65 | 73 |
Content-Length: |
66 | 74 |
- '82' |
67 |
User-Agent:
|
|
68 |
- Ruby
|
|
75 |
Host:
|
|
76 |
- obelix.example.com
|
|
69 | 77 |
response: |
70 | 78 |
status: |
71 | 79 |
code: 200 |
72 | 80 |
message: OK |
73 | 81 |
headers: |
74 | 82 |
Date: |
75 |
- Fri, 29 Apr 2016 16:26:53 GMT
|
|
83 |
- Tue, 14 Nov 2017 20:18:47 GMT
|
|
76 | 84 |
Server: |
77 | 85 |
- Apache/2.4.6 (CentOS) |
78 | 86 |
Vary: |
79 | 87 |
- Accept-Encoding |
80 | 88 |
Content-Length: |
81 | 89 |
- '358' |
90 |
Connection: |
|
91 |
- close |
|
82 | 92 |
Content-Type: |
83 | 93 |
- application/json; charset=utf-8 |
84 | 94 |
body: |
... | ... | |
86 | 96 |
string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id": |
87 | 97 |
"integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id": |
88 | 98 |
"yum_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions": |
89 |
[], "binding_config": {}, "_id": {"$oid": "57238b4daca4886d979905ff"}, "id":
|
|
90 |
"57238b4daca4886d979905ff"}, "error": null}'
|
|
99 |
[], "binding_config": {}, "_id": {"$oid": "5a0b4fa770be6f049ee2a554"}, "id":
|
|
100 |
"5a0b4fa770be6f049ee2a554"}, "error": null}'
|
|
91 | 101 |
http_version: |
92 |
recorded_at: Fri, 29 Apr 2016 16:26:53 GMT |
|
93 |
recorded_with: VCR 3.0.1 |
|
102 |
recorded_at: Tue, 14 Nov 2017 20:18:47 GMT |
|
103 |
recorded_with: VCR 3.0.3 |
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-----\nMIICXQIBAAKBgQD2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ATE-----"}' |
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: |
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.