Revision 6a290cda
Added by Partha Aji about 7 years ago
README.md | ||
---|---|---|
4 | 4 |
|
5 | 5 |
Exposing Pulp's juiciest parts. http://www.pulpproject.org/ |
6 | 6 |
|
7 |
Latest Live Tested Version: **pulp-server-2.6.2-1.el7.noarch**
|
|
7 |
Latest Live Tested Version: **pulp-server-2.8.0-0.4.beta.el7.noarch**
|
|
8 | 8 |
|
9 | 9 |
Current stable Runcible: https://github.com/Katello/runcible/tree/0.3 |
10 | 10 |
|
test/extensions/repository_test.rb | ||
---|---|---|
45 | 45 |
|
46 | 46 |
def test_create_with_distributors |
47 | 47 |
distributors = [{'type_id' => 'yum_distributor', 'id' => '123', 'auto_publish' => true, |
48 |
'config' => {'relative_url' => '/path', 'http' => true, 'https' => true}}]
|
|
48 |
'config' => {'relative_url' => 'path', 'http' => true, 'https' => true}}] |
|
49 | 49 |
response = @extension.create_with_distributors(RepositorySupport.repo_id, distributors) |
50 | 50 |
|
51 | 51 |
assert_equal 201, response.code |
... | ... | |
55 | 55 |
def test_create_with_distributor_object |
56 | 56 |
repo_id = RepositorySupport.repo_id + '_distro' |
57 | 57 |
response = @extension.create_with_distributors(repo_id, [Runcible::Models::YumDistributor.new( |
58 |
'/path', true, true, :id => '123')])
|
|
58 |
'path', true, true, :id => '123')]) |
|
59 | 59 |
assert_equal 201, response.code |
60 | 60 |
|
61 | 61 |
response = @extension.retrieve(repo_id, :details => true) |
... | ... | |
67 | 67 |
|
68 | 68 |
def test_create_with_importer_and_distributors |
69 | 69 |
distributors = [{'type_id' => 'yum_distributor', 'id' => '123', 'auto_publish' => true, |
70 |
'config' => {'relative_url' => '/123/456', 'http' => true, 'https' => true}}]
|
|
70 |
'config' => {'relative_url' => '123/456', 'http' => true, 'https' => true}}] |
|
71 | 71 |
response = @extension.create_with_importer_and_distributors(RepositorySupport.repo_id, |
72 | 72 |
{:id => 'yum_importer'}, distributors) |
73 | 73 |
assert_equal 201, response.code |
... | ... | |
79 | 79 |
|
80 | 80 |
def test_create_with_importer_and_distributors_objects |
81 | 81 |
distributors = [Runcible::Models::YumDistributor.new( |
82 |
'/path', true, true, :id => '123')]
|
|
82 |
'path', true, true, :id => '123')] |
|
83 | 83 |
importer = Runcible::Models::YumImporter.new |
84 | 84 |
response = @extension.create_with_importer_and_distributors(RepositorySupport.repo_id, importer, distributors) |
85 | 85 |
assert_equal 201, response.code |
test/fixtures/vcr_cassettes/extensions/consumer/activate_node.yml | ||
---|---|---|
5 | 5 |
uri: https://admin:eYo5Dh2rR6jQayB4vFLEpqUwMcXosuXg@kt1.local/pulp/api/v2/consumers/integration_test_consumer_support/bindings// |
6 | 6 |
body: |
7 | 7 |
encoding: US-ASCII |
8 |
string: '{"repo_id":"integration_test_id","distributor_id":"puppet_dist","notify_agent":false}' |
|
8 |
string: ! '{"repo_id":"integration_test_id","distributor_id":"puppet_dist","notify_agent":false}'
|
|
9 | 9 |
headers: |
10 | 10 |
Accept: |
11 | 11 |
- application/json |
... | ... | |
34 | 34 |
- application/json |
35 | 35 |
body: |
36 | 36 |
encoding: ASCII-8BIT |
37 |
string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id": |
|
38 |
"integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id": |
|
39 |
"puppet_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions": |
|
40 |
[], "binding_config": {}, "_id": {"$oid": "54ce8714b2ff9879e94e19e8"}, "id": |
|
41 |
"54ce8714b2ff9879e94e19e8"}, "error": null}' |
|
37 |
string: !binary |- |
|
38 |
eyJzcGF3bmVkX3Rhc2tzIjogW10sICJyZXN1bHQiOiB7Im5vdGlmeV9hZ2Vu |
|
39 |
dCI6IGZhbHNlLCAicmVwb19pZCI6ICJpbnRlZ3JhdGlvbl90ZXN0X2lkIiwg |
|
40 |
ImRlbGV0ZWQiOiBmYWxzZSwgIl9ucyI6ICJjb25zdW1lcl9iaW5kaW5ncyIs |
|
41 |
ICJkaXN0cmlidXRvcl9pZCI6ICJwdXBwZXRfZGlzdCIsICJjb25zdW1lcl9p |
|
42 |
ZCI6ICJpbnRlZ3JhdGlvbl90ZXN0X2NvbnN1bWVyX3N1cHBvcnQiLCAiY29u |
|
43 |
c3VtZXJfYWN0aW9ucyI6IFtdLCAiYmluZGluZ19jb25maWciOiB7fSwgIl9p |
|
44 |
ZCI6IHsiJG9pZCI6ICI1NGNlODcxNGIyZmY5ODc5ZTk0ZTE5ZTgifSwgImlk |
|
45 |
IjogIjU0Y2U4NzE0YjJmZjk4NzllOTRlMTllOCJ9LCAiZXJyb3IiOiBudWxs |
|
46 |
fQ== |
|
42 | 47 |
http_version: |
43 | 48 |
recorded_at: Sun, 01 Feb 2015 20:05:40 GMT |
44 | 49 |
- request: |
45 | 50 |
method: delete |
46 |
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
|
|
51 |
uri: https://admin:icizRXdtWXs66PqkAXytGFMconvzbE8w@katello-yoda.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
|
|
47 | 52 |
body: |
48 | 53 |
encoding: US-ASCII |
49 | 54 |
string: '' |
... | ... | |
62 | 67 |
message: NOT FOUND |
63 | 68 |
headers: |
64 | 69 |
Date: |
65 |
- Tue, 23 Jun 2015 22:44:17 GMT
|
|
70 |
- Fri, 29 Jan 2016 17:23:21 GMT
|
|
66 | 71 |
Server: |
67 | 72 |
- Apache/2.4.6 (CentOS) |
68 | 73 |
Content-Encoding: |
... | ... | |
72 | 77 |
Connection: |
73 | 78 |
- close |
74 | 79 |
Content-Type: |
75 |
- application/json |
|
80 |
- application/json; charset=utf-8
|
|
76 | 81 |
body: |
77 |
encoding: UTF-8
|
|
78 |
string: '{"http_request_method": "DELETE", "exception": null, "error_message": |
|
82 |
encoding: US-ASCII
|
|
83 |
string: ! '{"http_request_method": "DELETE", "exception": null, "error_message":
|
|
79 | 84 |
"Missing resource(s): consumer=integration_test_consumer_support", "_href": |
80 | 85 |
"/pulp/api/v2/consumers/integration_test_consumer_support/", "http_status": |
81 | 86 |
404, "error": {"code": "PLP0009", "data": {"resources": {"consumer": "integration_test_consumer_support"}}, |
82 | 87 |
"description": "Missing resource(s): consumer=integration_test_consumer_support", |
83 | 88 |
"sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' |
84 | 89 |
http_version: |
85 |
recorded_at: Tue, 23 Jun 2015 22:44:17 GMT
|
|
90 |
recorded_at: Fri, 29 Jan 2016 17:23:21 GMT
|
|
86 | 91 |
- request: |
87 | 92 |
method: delete |
88 |
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
|
|
93 |
uri: https://admin:icizRXdtWXs66PqkAXytGFMconvzbE8w@katello-yoda.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
|
|
89 | 94 |
body: |
90 | 95 |
encoding: US-ASCII |
91 | 96 |
string: '' |
... | ... | |
104 | 109 |
message: NOT FOUND |
105 | 110 |
headers: |
106 | 111 |
Date: |
107 |
- Tue, 23 Jun 2015 22:44:17 GMT
|
|
112 |
- Fri, 29 Jan 2016 17:23:21 GMT
|
|
108 | 113 |
Server: |
109 | 114 |
- Apache/2.4.6 (CentOS) |
110 | 115 |
Content-Encoding: |
... | ... | |
114 | 119 |
Connection: |
115 | 120 |
- close |
116 | 121 |
Content-Type: |
117 |
- application/json |
|
122 |
- application/json; charset=utf-8
|
|
118 | 123 |
body: |
119 |
encoding: UTF-8
|
|
120 |
string: '{"http_request_method": "DELETE", "exception": null, "error_message": |
|
124 |
encoding: US-ASCII
|
|
125 |
string: ! '{"http_request_method": "DELETE", "exception": null, "error_message":
|
|
121 | 126 |
"Missing resource(s): consumer=integration_test_consumer_support", "_href": |
122 | 127 |
"/pulp/api/v2/consumers/integration_test_consumer_support/", "http_status": |
123 | 128 |
404, "error": {"code": "PLP0009", "data": {"resources": {"consumer": "integration_test_consumer_support"}}, |
124 | 129 |
"description": "Missing resource(s): consumer=integration_test_consumer_support", |
125 | 130 |
"sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' |
126 | 131 |
http_version: |
127 |
recorded_at: Tue, 23 Jun 2015 22:44:18 GMT
|
|
132 |
recorded_at: Fri, 29 Jan 2016 17:23:21 GMT
|
|
128 | 133 |
- request: |
129 | 134 |
method: post |
130 |
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/consumers/
|
|
135 |
uri: https://admin:icizRXdtWXs66PqkAXytGFMconvzbE8w@katello-yoda.example.com/pulp/api/v2/consumers/
|
|
131 | 136 |
body: |
132 |
encoding: UTF-8
|
|
133 |
string: '{"id":"integration_test_consumer_support"}' |
|
137 |
encoding: US-ASCII
|
|
138 |
string: ! '{"id":"integration_test_consumer_support"}'
|
|
134 | 139 |
headers: |
135 | 140 |
Accept: |
136 | 141 |
- application/json |
... | ... | |
148 | 153 |
message: CREATED |
149 | 154 |
headers: |
150 | 155 |
Date: |
151 |
- Tue, 23 Jun 2015 22:44:18 GMT
|
|
156 |
- Fri, 29 Jan 2016 17:23:21 GMT
|
|
152 | 157 |
Server: |
153 | 158 |
- Apache/2.4.6 (CentOS) |
154 | 159 |
Content-Length: |
155 | 160 |
- '2281' |
156 | 161 |
Location: |
157 |
- https://katello-kant.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
|
|
162 |
- https://katello-yoda.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
|
|
158 | 163 |
Connection: |
159 | 164 |
- close |
160 | 165 |
Content-Type: |
161 |
- application/json |
|
166 |
- application/json; charset=utf-8
|
|
162 | 167 |
body: |
163 |
encoding: UTF-8
|
|
164 |
string: '{"consumer": {"display_name": "integration_test_consumer_support", |
|
168 |
encoding: US-ASCII
|
|
169 |
string: ! '{"consumer": {"display_name": "integration_test_consumer_support",
|
|
165 | 170 |
"description": null, "_ns": "consumers", "notes": {}, "rsa_pub": null, "capabilities": |
166 |
{}, "_id": {"$oid": "5589e142f115fc042e751a7c"}, "id": "integration_test_consumer_support",
|
|
171 |
{}, "_id": {"$oid": "56aba009de040332a476fb96"}, "id": "integration_test_consumer_support",
|
|
167 | 172 |
"_href": "/pulp/api/v2/consumers/integration_test_consumer_support/"}, "certificate": |
168 |
"-----BEGIN RSA PRIVATE KEY-----\nMIICXAIBAAKBgQDKyTjKKc9n3XJyGgCS/ac20nMOaOf9MXVDJ1L0wZqI/7q0mQ3v\nwljHBVodhakVmnVn6pdJN/LFGGQJaWuceoXvCK0hWFFBujtYyk8C4mjlGLmrLrtt\nUuF25Tjptb3gOVVWHbjkAgI3cNXAioXP/6xNPXbJW94mNxMVs4cXZf2UNwIDAQAB\nAoGAECk/PGVeoTF12IAYAZ7zf5wADWrw6i3R4Zs1sknnrflrgM8d3DjJ6HqVtvqb\nAhzANJrumag60dhiyJk9OUhOeh0Oni5st3sz2xI+Y+mMEuNI/J/t2FLRMVHn42y1\naM2psgWNPjX8eBMNzCnOWZJtR+S2Iqh12pj2dqWUMqJNB5kCQQDlJu3ELFP1yYN0\ns1npe0zBeR1I4hJhXBpmxr2uRj+l+yypTeDI6DGqs78923JJhl1yyT4+bZc/elUW\nsvJY4B/LAkEA4ot7uaUa3Tqt349NBnTmvt+1A98gY2d0wEL0kKphcSo94ag+IGoP\nNUD4pLfspa/MHCNBwsmpvN/9JI5WoQG3xQJAINQz6g/js2m8QILVVcLJW0prrJ5e\nvb4BNkowsH/17GSQoGy80GubefYoZsdCl0/9oU09cpomufxfplHasGrjgwJBAMD6\n1rtupLK9sK2W8aNFY+ZGxHj20i07TN4WayTsrrLqq+oVGk8cabYQkX4nWwRM+48g\njX0zsk69c3N3eN4Qi40CQGOuj74OrezDww2WQpxs/jV9uSip2tsPZM5U8kKAThzD\nbFwVO/Ej76qKpqVhRXy5U5TJ9fMzTcBY4J2yz5hhanU=\n-----END
|
|
169 |
RSA PRIVATE KEY-----\n-----BEGIN CERTIFICATE-----\nMIICyzCCAbMCAgDC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yNjAxMjYxNzIzMjFa\nMFYxKjAoBgNVBAMUIWludGVncmF0aW9uX3Rlc3RfY29uc3VtZXJfc3VwcG9ydDEo\nMCYGCgmSJomT8ixkAQETGDU2YWJhMDA5ZGUwNDAzMzJhNDc2ZmI5NjCBnzANBgkq\nhkiG9w0BAQEFAAOBjQAwgYkCgYEAsD0TD8Ht/RND3KT3/4BPC73C3ngTc8gIYAbp\n1Y9lfWzLksKVln2yfQP2VjR+d69BAy7+s/YPb+WMsNqXO+1CKkByWsCUAcI8yDTR\nh86nM0Z7EMTy5UW08NrnryV1hsaDbIWPcpqKwlUafK2qNy6ZzqHtSuvQBoRSpyhZ\nqxZP5VECAwEAATANBgkqhkiG9w0BAQUFAAOCAQEAv71KojG/kS4r1tly6zI0/C8J\nE9XipfWzH00JvNcrXtuKpaQCxKTPpsZbtIoh8G7JuwqN8EFeA0CxPiEdczIKpJ0Z\nKdiZC9kaNSHHm0wozG25psvM+25DaO863LhPkfOj6UWgx8WPMss5gql4M0/hc9Mm\no7qjWgkUpXwGfRVb/wt6Lal/ZJUTVdsxMsxN+2N1R4ZQI4QMbCNmVsyckVyBZcPz\nHD4AmYaKFmxt83MtEQVUfrWBfmNElTaIPWI+tDLv4K4cNi63p3rCJAqcuYIme/HK\nKIgG+cKt2siwMxsJePfYJYsswS2ozscqz4AWsHWvT1VJBaeQm9fqmFBU9ElIIg==\n-----END
|
|
170 | 175 |
CERTIFICATE-----"}' |
171 | 176 |
http_version: |
172 |
recorded_at: Tue, 23 Jun 2015 22:44:18 GMT
|
|
177 |
recorded_at: Fri, 29 Jan 2016 17:23:21 GMT
|
|
173 | 178 |
- request: |
174 | 179 |
method: post |
175 |
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles//
|
|
180 |
uri: https://admin:icizRXdtWXs66PqkAXytGFMconvzbE8w@katello-yoda.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles//
|
|
176 | 181 |
body: |
177 |
encoding: UTF-8
|
|
178 |
string: '{"content_type":"rpm","profile":[{"name":"elephant","version":"0.2","release":"0.7","epoch":0,"arch":"noarch","vendor":"Fedora"}]}' |
|
182 |
encoding: US-ASCII
|
|
183 |
string: ! '{"content_type":"rpm","profile":[{"name":"elephant","version":"0.2","release":"0.7","epoch":0,"arch":"noarch","vendor":"Fedora"}]}'
|
|
179 | 184 |
headers: |
180 | 185 |
Accept: |
181 | 186 |
- application/json |
... | ... | |
193 | 198 |
message: CREATED |
194 | 199 |
headers: |
195 | 200 |
Date: |
196 |
- Tue, 23 Jun 2015 22:44:18 GMT
|
|
201 |
- Fri, 29 Jan 2016 17:23:21 GMT
|
|
197 | 202 |
Server: |
198 | 203 |
- Apache/2.4.6 (CentOS) |
199 | 204 |
Content-Length: |
200 | 205 |
- '475' |
201 | 206 |
Location: |
202 |
- https://katello-kant.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/
|
|
207 |
- https://katello-yoda.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/
|
|
203 | 208 |
Connection: |
204 | 209 |
- close |
205 | 210 |
Content-Type: |
206 |
- application/json |
|
211 |
- application/json; charset=utf-8
|
|
207 | 212 |
body: |
208 |
encoding: UTF-8
|
|
209 |
string: '{"profile": [{"vendor": "Fedora", "name": "elephant", "epoch": 0, "version":
|
|
210 |
"0.2", "release": "0.7", "arch": "noarch"}], "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/", |
|
213 |
encoding: US-ASCII
|
|
214 |
string: ! '{"profile": [{"vendor": "Fedora", "name": "elephant", "epoch": 0,
|
|
215 |
"version": "0.2", "release": "0.7", "arch": "noarch"}], "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/",
|
|
211 | 216 |
"_ns": "consumer_unit_profiles", "profile_hash": "db16b75e977ae3fbbf27beb919693137b26ba59eb7be73f2888197b89521e50d", |
212 | 217 |
"consumer_id": "integration_test_consumer_support", "content_type": "rpm", |
213 |
"_id": {"$oid": "5589e142f115fc042e751a80"}, "id": "5589e142f115fc042e751a80"}'
|
|
218 |
"_id": {"$oid": "56aba009de040332a3e4cc32"}, "id": "56aba009de040332a3e4cc32"}'
|
|
214 | 219 |
http_version: |
215 |
recorded_at: Tue, 23 Jun 2015 22:44:18 GMT
|
|
220 |
recorded_at: Fri, 29 Jan 2016 17:23:21 GMT
|
|
216 | 221 |
- request: |
217 | 222 |
method: get |
218 |
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/repositories/integration_test_id/?details=true
|
|
223 |
uri: https://admin:icizRXdtWXs66PqkAXytGFMconvzbE8w@katello-yoda.example.com/pulp/api/v2/repositories/integration_test_id/?details=true
|
|
219 | 224 |
body: |
220 | 225 |
encoding: US-ASCII |
221 | 226 |
string: '' |
... | ... | |
234 | 239 |
message: OK |
235 | 240 |
headers: |
236 | 241 |
Date: |
237 |
- Tue, 23 Jun 2015 22:44:18 GMT
|
|
242 |
- Fri, 29 Jan 2016 17:23:21 GMT
|
|
238 | 243 |
Server: |
239 | 244 |
- Apache/2.4.6 (CentOS) |
245 |
Vary: |
|
246 |
- Accept-Encoding |
|
240 | 247 |
Content-Length: |
241 |
- '1149'
|
|
248 |
- '1310'
|
|
242 | 249 |
Connection: |
243 | 250 |
- close |
244 | 251 |
Content-Type: |
245 |
- application/json |
|
252 |
- application/json; charset=utf-8
|
|
246 | 253 |
body: |
247 |
encoding: UTF-8 |
|
248 |
string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "integration_test_id", |
|
249 |
"description": null, "distributors": [{"repo_id": "integration_test_id", "_ns": |
|
250 |
"repo_distributors", "last_publish": null, "auto_publish": false, "scheduled_publishes": |
|
251 |
[], "distributor_type_id": "yum_distributor", "_id": {"$oid": "5589e140f115fc042e751a52"}, |
|
252 |
"config": {"http": true, "relative_url": "/path", "https": true}, "id": "yum_dist"}], |
|
253 |
"last_unit_added": "2015-06-23T22:44:16Z", "notes": {}, "last_unit_removed": |
|
254 |
null, "content_unit_counts": {"package_group": 2, "distribution": 1, "package_category": |
|
255 |
1, "rpm": 8, "erratum": 2}, "_ns": "repos", "importers": [{"repo_id": "integration_test_id", |
|
256 |
"_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", |
|
257 |
"_ns": "repo_importers", "importer_type_id": "yum_importer", "last_sync": |
|
258 |
"2015-06-23T22:44:16Z", "scheduled_syncs": [], "_id": {"$oid": "5589e140f115fc042e751a51"}, |
|
259 |
"config": {"feed": "file:///var/www/repositories/zoo5"}, "id": "yum_importer"}], |
|
260 |
"_id": {"$oid": "5589e140f115fc042e751a50"}, "id": "integration_test_id", |
|
261 |
"_href": "/pulp/api/v2/repositories/integration_test_id/"}' |
|
254 |
encoding: ASCII-8BIT |
|
255 |
string: !binary |- |
|
256 |
eyJzY3JhdGNocGFkIjogeyJjaGVja3N1bV90eXBlIjogInNoYTI1NiJ9LCAi |
|
257 |
ZGlzcGxheV9uYW1lIjogImludGVncmF0aW9uX3Rlc3RfaWQiLCAiZGVzY3Jp |
|
258 |
cHRpb24iOiBudWxsLCAiZGlzdHJpYnV0b3JzIjogW3sicmVwb19pZCI6ICJp |
|
259 |
bnRlZ3JhdGlvbl90ZXN0X2lkIiwgIl9ocmVmIjogIi9wdWxwL2FwaS92Mi9y |
|
260 |
ZXBvc2l0b3JpZXMvaW50ZWdyYXRpb25fdGVzdF9pZC9kaXN0cmlidXRvcnMv |
|
261 |
eXVtX2Rpc3QvIiwgIl9ucyI6ICJyZXBvX2Rpc3RyaWJ1dG9ycyIsICJsYXN0 |
|
262 |
X3B1Ymxpc2giOiBudWxsLCAiZGlzdHJpYnV0b3JfdHlwZV9pZCI6ICJ5dW1f |
|
263 |
ZGlzdHJpYnV0b3IiLCAiYXV0b19wdWJsaXNoIjogZmFsc2UsICJzY3JhdGNo |
|
264 |
cGFkIjoge30sICJfaWQiOiB7IiRvaWQiOiAiNTZhYmE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dW1faW1wb3J0ZXIifV0sICJsb2Nh |
|
281 |
bGx5X3N0b3JlZF91bml0cyI6IDE0LCAiX2lkIjogeyIkb2lkIjogIjU2YWJh |
|
282 |
MDA0ZGUwNDAzMzJhNDc2ZmI2ZiJ9LCAidG90YWxfcmVwb3NpdG9yeV91bml0 |
|
283 |
cyI6IDE0LCAiaWQiOiAiaW50ZWdyYXRpb25fdGVzdF9pZCIsICJfaHJlZiI6 |
|
284 |
ICIvcHVscC9hcGkvdjIvcmVwb3NpdG9yaWVzL2ludGVncmF0aW9uX3Rlc3Rf |
|
285 |
aWQvIn0= |
|
262 | 286 |
http_version: |
263 |
recorded_at: Tue, 23 Jun 2015 22:44:18 GMT
|
|
287 |
recorded_at: Fri, 29 Jan 2016 17:23:21 GMT
|
|
264 | 288 |
- request: |
265 | 289 |
method: post |
266 |
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings//
|
|
290 |
uri: https://admin:icizRXdtWXs66PqkAXytGFMconvzbE8w@katello-yoda.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings//
|
|
267 | 291 |
body: |
268 |
encoding: UTF-8
|
|
269 |
string: '{"repo_id":"integration_test_id","distributor_id":"yum_dist","notify_agent":false}' |
|
292 |
encoding: US-ASCII
|
|
293 |
string: ! '{"repo_id":"integration_test_id","distributor_id":"yum_dist","notify_agent":false}'
|
|
270 | 294 |
headers: |
271 | 295 |
Accept: |
272 | 296 |
- application/json |
... | ... | |
284 | 308 |
message: OK |
285 | 309 |
headers: |
286 | 310 |
Date: |
287 |
- Tue, 23 Jun 2015 22:44:18 GMT
|
|
311 |
- Fri, 29 Jan 2016 17:23:21 GMT
|
|
288 | 312 |
Server: |
289 | 313 |
- Apache/2.4.6 (CentOS) |
314 |
Vary: |
|
315 |
- Accept-Encoding |
|
290 | 316 |
Content-Length: |
291 | 317 |
- '358' |
292 | 318 |
Connection: |
293 | 319 |
- close |
294 | 320 |
Content-Type: |
295 |
- application/json |
|
321 |
- application/json; charset=utf-8
|
|
296 | 322 |
body: |
297 |
encoding: UTF-8 |
|
298 |
string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id": |
|
299 |
"integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id": |
|
300 |
"yum_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions": |
|
301 |
[], "binding_config": {}, "_id": {"$oid": "5589e142f115fc042e751a85"}, "id": |
|
302 |
"5589e142f115fc042e751a85"}, "error": null}' |
|
323 |
encoding: ASCII-8BIT |
|
324 |
string: !binary |- |
|
325 |
eyJzcGF3bmVkX3Rhc2tzIjogW10sICJyZXN1bHQiOiB7Im5vdGlmeV9hZ2Vu |
|
326 |
dCI6IGZhbHNlLCAicmVwb19pZCI6ICJpbnRlZ3JhdGlvbl90ZXN0X2lkIiwg |
|
327 |
ImRlbGV0ZWQiOiBmYWxzZSwgIl9ucyI6ICJjb25zdW1lcl9iaW5kaW5ncyIs |
|
328 |
ICJkaXN0cmlidXRvcl9pZCI6ICJ5dW1fZGlzdCIsICJjb25zdW1lcl9pZCI6 |
|
329 |
ICJpbnRlZ3JhdGlvbl90ZXN0X2NvbnN1bWVyX3N1cHBvcnQiLCAiY29uc3Vt |
|
330 |
ZXJfYWN0aW9ucyI6IFtdLCAiYmluZGluZ19jb25maWciOiB7fSwgIl9pZCI6 |
|
331 |
IHsiJG9pZCI6ICI1NmFiYTAwOWRlMDQwMzMyYTUyM2M5OGMifSwgImlkIjog |
|
332 |
IjU2YWJhMDA5ZGUwNDAzMzJhNTIzYzk4YyJ9LCAiZXJyb3IiOiBudWxsfQ== |
|
303 | 333 |
http_version: |
304 |
recorded_at: Tue, 23 Jun 2015 22:44:18 GMT
|
|
334 |
recorded_at: Fri, 29 Jan 2016 17:23:21 GMT
|
|
305 | 335 |
- request: |
306 | 336 |
method: put |
307 |
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
|
|
337 |
uri: https://admin:icizRXdtWXs66PqkAXytGFMconvzbE8w@katello-yoda.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
|
|
308 | 338 |
body: |
309 |
encoding: UTF-8
|
|
310 |
string: '{"delta":{"notes":{"_child-node":true,"_node-update-strategy":"additive"}}}' |
|
339 |
encoding: US-ASCII
|
|
340 |
string: ! '{"delta":{"notes":{"_child-node":true,"_node-update-strategy":"additive"}}}'
|
|
311 | 341 |
headers: |
312 | 342 |
Accept: |
313 | 343 |
- application/json |
... | ... | |
325 | 355 |
message: OK |
326 | 356 |
headers: |
327 | 357 |
Date: |
328 |
- Tue, 23 Jun 2015 22:44:18 GMT
|
|
358 |
- Fri, 29 Jan 2016 17:23:21 GMT
|
|
329 | 359 |
Server: |
330 | 360 |
- Apache/2.4.6 (CentOS) |
361 |
Vary: |
|
362 |
- Accept-Encoding |
|
331 | 363 |
Content-Length: |
332 | 364 |
- '358' |
333 | 365 |
Connection: |
334 | 366 |
- close |
335 | 367 |
Content-Type: |
336 |
- application/json |
|
368 |
- application/json; charset=utf-8
|
|
337 | 369 |
body: |
338 |
encoding: UTF-8 |
|
339 |
string: '{"display_name": "integration_test_consumer_support", "description": |
|
340 |
null, "_ns": "consumers", "notes": {"_node-update-strategy": "additive", "_child-node": |
|
341 |
true}, "rsa_pub": null, "capabilities": {}, "_id": {"$oid": "5589e142f115fc042e751a7c"}, |
|
342 |
"id": "integration_test_consumer_support", "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/"}' |
|
370 |
encoding: ASCII-8BIT |
|
371 |
string: !binary |- |
|
372 |
eyJkaXNwbGF5X25hbWUiOiAiaW50ZWdyYXRpb25fdGVzdF9jb25zdW1lcl9z |
|
373 |
dXBwb3J0IiwgImRlc2NyaXB0aW9uIjogbnVsbCwgIl9ucyI6ICJjb25zdW1l |
|
374 |
cnMiLCAibm90ZXMiOiB7Il9ub2RlLXVwZGF0ZS1zdHJhdGVneSI6ICJhZGRp |
|
375 |
dGl2ZSIsICJfY2hpbGQtbm9kZSI6IHRydWV9LCAicnNhX3B1YiI6IG51bGws |
|
376 |
ICJjYXBhYmlsaXRpZXMiOiB7fSwgIl9pZCI6IHsiJG9pZCI6ICI1NmFiYTAw |
|
377 |
OWRlMDQwMzMyYTQ3NmZiOTYifSwgImlkIjogImludGVncmF0aW9uX3Rlc3Rf |
|
378 |
Y29uc3VtZXJfc3VwcG9ydCIsICJfaHJlZiI6ICIvcHVscC9hcGkvdjIvY29u |
|
379 |
c3VtZXJzL2ludGVncmF0aW9uX3Rlc3RfY29uc3VtZXJfc3VwcG9ydC8ifQ== |
|
343 | 380 |
http_version: |
344 |
recorded_at: Tue, 23 Jun 2015 22:44:18 GMT
|
|
381 |
recorded_at: Fri, 29 Jan 2016 17:23:21 GMT
|
|
345 | 382 |
- request: |
346 | 383 |
method: delete |
347 |
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
|
|
384 |
uri: https://admin:icizRXdtWXs66PqkAXytGFMconvzbE8w@katello-yoda.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
|
|
348 | 385 |
body: |
349 | 386 |
encoding: US-ASCII |
350 | 387 |
string: '' |
... | ... | |
363 | 400 |
message: OK |
364 | 401 |
headers: |
365 | 402 |
Date: |
366 |
- Tue, 23 Jun 2015 22:44:18 GMT
|
|
403 |
- Fri, 29 Jan 2016 17:23:21 GMT
|
|
367 | 404 |
Server: |
368 | 405 |
- Apache/2.4.6 (CentOS) |
369 | 406 |
Content-Length: |
... | ... | |
371 | 408 |
Connection: |
372 | 409 |
- close |
373 | 410 |
Content-Type: |
374 |
- application/json |
|
411 |
- application/json; charset=utf-8
|
|
375 | 412 |
body: |
376 |
encoding: UTF-8
|
|
413 |
encoding: US-ASCII
|
|
377 | 414 |
string: 'null' |
378 | 415 |
http_version: |
379 |
recorded_at: Tue, 23 Jun 2015 22:44:18 GMT |
|
380 |
recorded_with: VCR 2.9.3 |
|
416 |
recorded_at: Fri, 29 Jan 2016 17:23:22 GMT |
|
417 |
recorded_with: VCR 3.0.1 |
test/fixtures/vcr_cassettes/extensions/consumer/applicable_errata.yml | ||
---|---|---|
5 | 5 |
uri: https://admin:eYo5Dh2rR6jQayB4vFLEpqUwMcXosuXg@kt1.local/pulp/api/v2/consumers/integration_test_consumer_support/bindings// |
6 | 6 |
body: |
7 | 7 |
encoding: US-ASCII |
8 |
string: '{"repo_id":"integration_test_id","distributor_id":"puppet_dist","notify_agent":false}' |
|
8 |
string: ! '{"repo_id":"integration_test_id","distributor_id":"puppet_dist","notify_agent":false}'
|
|
9 | 9 |
headers: |
10 | 10 |
Accept: |
11 | 11 |
- application/json |
... | ... | |
34 | 34 |
- application/json |
35 | 35 |
body: |
36 | 36 |
encoding: ASCII-8BIT |
37 |
string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id": |
|
38 |
"integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id": |
|
39 |
"puppet_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions": |
|
40 |
[], "binding_config": {}, "_id": {"$oid": "54ce8717b2ff9879e94e1a17"}, "id": |
|
41 |
"54ce8717b2ff9879e94e1a17"}, "error": null}' |
|
37 |
string: !binary |- |
|
38 |
eyJzcGF3bmVkX3Rhc2tzIjogW10sICJyZXN1bHQiOiB7Im5vdGlmeV9hZ2Vu |
|
39 |
dCI6IGZhbHNlLCAicmVwb19pZCI6ICJpbnRlZ3JhdGlvbl90ZXN0X2lkIiwg |
|
40 |
ImRlbGV0ZWQiOiBmYWxzZSwgIl9ucyI6ICJjb25zdW1lcl9iaW5kaW5ncyIs |
|
41 |
ICJkaXN0cmlidXRvcl9pZCI6ICJwdXBwZXRfZGlzdCIsICJjb25zdW1lcl9p |
|
42 |
ZCI6ICJpbnRlZ3JhdGlvbl90ZXN0X2NvbnN1bWVyX3N1cHBvcnQiLCAiY29u |
|
43 |
c3VtZXJfYWN0aW9ucyI6IFtdLCAiYmluZGluZ19jb25maWciOiB7fSwgIl9p |
|
44 |
ZCI6IHsiJG9pZCI6ICI1NGNlODcxN2IyZmY5ODc5ZTk0ZTFhMTcifSwgImlk |
|
45 |
IjogIjU0Y2U4NzE3YjJmZjk4NzllOTRlMWExNyJ9LCAiZXJyb3IiOiBudWxs |
|
46 |
fQ== |
|
42 | 47 |
http_version: |
43 | 48 |
recorded_at: Sun, 01 Feb 2015 20:05:43 GMT |
44 | 49 |
- request: |
45 | 50 |
method: delete |
46 |
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
|
|
51 |
uri: https://admin:icizRXdtWXs66PqkAXytGFMconvzbE8w@katello-yoda.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
|
|
47 | 52 |
body: |
48 | 53 |
encoding: US-ASCII |
49 | 54 |
string: '' |
... | ... | |
62 | 67 |
message: NOT FOUND |
63 | 68 |
headers: |
64 | 69 |
Date: |
65 |
- Tue, 23 Jun 2015 22:44:16 GMT
|
|
70 |
- Fri, 29 Jan 2016 17:23:17 GMT
|
|
66 | 71 |
Server: |
67 | 72 |
- Apache/2.4.6 (CentOS) |
68 | 73 |
Content-Encoding: |
... | ... | |
72 | 77 |
Connection: |
73 | 78 |
- close |
74 | 79 |
Content-Type: |
75 |
- application/json |
|
80 |
- application/json; charset=utf-8
|
|
76 | 81 |
body: |
77 |
encoding: UTF-8
|
|
78 |
string: '{"http_request_method": "DELETE", "exception": null, "error_message": |
|
82 |
encoding: US-ASCII
|
|
83 |
string: ! '{"http_request_method": "DELETE", "exception": null, "error_message":
|
|
79 | 84 |
"Missing resource(s): consumer=integration_test_consumer_support", "_href": |
80 | 85 |
"/pulp/api/v2/consumers/integration_test_consumer_support/", "http_status": |
81 | 86 |
404, "error": {"code": "PLP0009", "data": {"resources": {"consumer": "integration_test_consumer_support"}}, |
82 | 87 |
"description": "Missing resource(s): consumer=integration_test_consumer_support", |
83 | 88 |
"sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' |
84 | 89 |
http_version: |
85 |
recorded_at: Tue, 23 Jun 2015 22:44:16 GMT
|
|
90 |
recorded_at: Fri, 29 Jan 2016 17:23:17 GMT
|
|
86 | 91 |
- request: |
87 | 92 |
method: delete |
88 |
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
|
|
93 |
uri: https://admin:icizRXdtWXs66PqkAXytGFMconvzbE8w@katello-yoda.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
|
|
89 | 94 |
body: |
90 | 95 |
encoding: US-ASCII |
91 | 96 |
string: '' |
... | ... | |
104 | 109 |
message: NOT FOUND |
105 | 110 |
headers: |
106 | 111 |
Date: |
107 |
- Tue, 23 Jun 2015 22:44:16 GMT
|
|
112 |
- Fri, 29 Jan 2016 17:23:17 GMT
|
|
108 | 113 |
Server: |
109 | 114 |
- Apache/2.4.6 (CentOS) |
110 | 115 |
Content-Encoding: |
... | ... | |
114 | 119 |
Connection: |
115 | 120 |
- close |
116 | 121 |
Content-Type: |
117 |
- application/json |
|
122 |
- application/json; charset=utf-8
|
|
118 | 123 |
body: |
119 |
encoding: UTF-8
|
|
120 |
string: '{"http_request_method": "DELETE", "exception": null, "error_message": |
|
124 |
encoding: US-ASCII
|
|
125 |
string: ! '{"http_request_method": "DELETE", "exception": null, "error_message":
|
|
121 | 126 |
"Missing resource(s): consumer=integration_test_consumer_support", "_href": |
122 | 127 |
"/pulp/api/v2/consumers/integration_test_consumer_support/", "http_status": |
123 | 128 |
404, "error": {"code": "PLP0009", "data": {"resources": {"consumer": "integration_test_consumer_support"}}, |
124 | 129 |
"description": "Missing resource(s): consumer=integration_test_consumer_support", |
125 | 130 |
"sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' |
126 | 131 |
http_version: |
127 |
recorded_at: Tue, 23 Jun 2015 22:44:16 GMT
|
|
132 |
recorded_at: Fri, 29 Jan 2016 17:23:17 GMT
|
|
128 | 133 |
- request: |
129 | 134 |
method: post |
130 |
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/consumers/
|
|
135 |
uri: https://admin:icizRXdtWXs66PqkAXytGFMconvzbE8w@katello-yoda.example.com/pulp/api/v2/consumers/
|
|
131 | 136 |
body: |
132 |
encoding: UTF-8
|
|
133 |
string: '{"id":"integration_test_consumer_support"}' |
|
137 |
encoding: US-ASCII
|
|
138 |
string: ! '{"id":"integration_test_consumer_support"}'
|
|
134 | 139 |
headers: |
135 | 140 |
Accept: |
136 | 141 |
- application/json |
... | ... | |
148 | 153 |
message: CREATED |
149 | 154 |
headers: |
150 | 155 |
Date: |
151 |
- Tue, 23 Jun 2015 22:44:16 GMT
|
|
156 |
- Fri, 29 Jan 2016 17:23:17 GMT
|
|
152 | 157 |
Server: |
153 | 158 |
- Apache/2.4.6 (CentOS) |
154 | 159 |
Content-Length: |
155 |
- '2281'
|
|
160 |
- '2285'
|
|
156 | 161 |
Location: |
157 |
- https://katello-kant.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
|
|
162 |
- https://katello-yoda.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
|
|
158 | 163 |
Connection: |
159 | 164 |
- close |
160 | 165 |
Content-Type: |
161 |
- application/json |
|
166 |
- application/json; charset=utf-8
|
|
162 | 167 |
body: |
163 |
encoding: UTF-8
|
|
164 |
string: '{"consumer": {"display_name": "integration_test_consumer_support", |
|
168 |
encoding: US-ASCII
|
|
169 |
string: ! '{"consumer": {"display_name": "integration_test_consumer_support",
|
|
165 | 170 |
"description": null, "_ns": "consumers", "notes": {}, "rsa_pub": null, "capabilities": |
166 |
{}, "_id": {"$oid": "5589e140f115fc042e751a55"}, "id": "integration_test_consumer_support",
|
|
171 |
{}, "_id": {"$oid": "56aba005de040332a476fb72"}, "id": "integration_test_consumer_support",
|
|
167 | 172 |
"_href": "/pulp/api/v2/consumers/integration_test_consumer_support/"}, "certificate": |
168 |
"-----BEGIN RSA PRIVATE KEY-----\nMIICWwIBAAKBgQDgchQ/wwOUP9PsMy7xXMgocuNQRHh9TnMAzqahj3UOTA9r4ajH\nXRmq9N+vQXPGXxel1D+SBrtqZo4c2OyZLToMvdieCqM67OVo0CqOijxVyJeUBF2e\nPJ3XHwrmAChukoUMKz6wUFLWNH8yUPoB5MHXaC6Iiqb95SvRVFUUpbHLDQIDAQAB\nAoGACVJzqNpOsb+c67iMgJXb8mIjMthFMN8rQ6NRpHAy6m8aTN7Ihc9GG6WkDMFp\nL5oPf2G7ajNBYX/08xnHae1I9d6atHqc3WD+wfxMA+uKvfdwog5NVLRkJLukO/v0\nDv0I01cNxd3rUiOwjEiYb1lVJiGIrQigcacEvEyG1acZITkCQQDzTS+NGZZRkujr\nA8xq97QBWRN9gQmfCgdVvOnQ0P8AWeWeu4Xqw5MXXaYZhcTxlXZeeySciZsXB8la\nYgRCw0EPAkEA7Cj0escmyHPjfMHq+xdYx5BfJUwHATBkBujS+VqLfp+8SRGoEw+6\nFYrichKe+GSrpe72thxrUfXS0HYmlpW6IwJAVS6D5HG96Cd4NrfovNamhgZKxZkE\n5lKbiNAQSJSzgsr2kqFy3GPGvtqBydPExRQgEiopAklHLEQEoglJFprHzwJAc9nr\nhUepWPCxCoS+14qufMfwRQW08fphN5qD1Nt8TxPhdB77Ss6ORP8q8zb7UXNhWTeP\nQ+tRIpXrY2RyrbCp7QJALg+FvZhWJLx+UI1qBc+Yt/xfL3Ah4zu6DiHdp8yHwofN\n+n4+xdrsPqJA8EzwazYqnig0WiVRRWo5f3yR7Kx6eQ==\n-----END
|
|
169 |
RSA PRIVATE KEY-----\n-----BEGIN CERTIFICATE-----\nMIICyzCCAbMCAgDAMA0GCSqGSIb3DQEBBQUAMIGDMQswCQYDVQQGEwJVUzEXMBUG\nA1UECBMOTm9ydGggQ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0aW9uX3Rlc3RfY29uc3VtZXJfc3VwcG9ydDEo\nMCYGCgmSJomT8ixkAQETGDU2YWJhMDA1ZGUwNDAzMzJhNDc2ZmI3MjCBnzANBgkq\nhkiG9w0BAQEFAAOBjQAwgYkCgYEAxBAUmdlsJm/4sSlRnDe/ONfFox15AtZHhBsM\nBaCsDU0k2c6l1kk40w3Vcngi2aSdDcMhTWMwwuilHprirmHjoQlXFODRPdx7MNDc\nV1jrPGAQdCAblWlelhZI6dl9bVtHF35PKIL7LjRrPvImGuVyZEBK29Q81dpvTAac\nl81LJSkCAwEAATANBgkqhkiG9w0BAQUFAAOCAQEACyMfq7s9McGPD+gALKSAyRgd\nYdaHovCSx8n4kZfFc4A6p6tHxB1R3YGvTxgRweTARHVXJ3OI9c6EFFxglDEbRFtx\n6rVz2TLwE4VDD3cwIxTZFANv+YjYgtubtGvO9ZTDir2OEP0ewYUObduik7w4tBAk\nOKTYTvt7EcY4D4eBsYRlq2z60cdZOuVRl3PzgWW843vm6fswTmLiahICAv3sjHkY\nW8riGvbMFmUcjhgWAgOK0Ka4xOyFcRWP6xbrZgL2hew7MtuDq0eanZjS6RNxZqhr\nz9Ie4/ssVb0GxdgE3T5L90axPyZW1ZSBBANf8BPZBCvOtCMTHGKY3gopubxCrw==\n-----END
|
|
170 | 175 |
CERTIFICATE-----"}' |
171 | 176 |
http_version: |
172 |
recorded_at: Tue, 23 Jun 2015 22:44:16 GMT
|
|
177 |
recorded_at: Fri, 29 Jan 2016 17:23:17 GMT
|
|
173 | 178 |
- request: |
174 | 179 |
method: post |
175 |
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles//
|
|
180 |
uri: https://admin:icizRXdtWXs66PqkAXytGFMconvzbE8w@katello-yoda.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles//
|
|
176 | 181 |
body: |
177 |
encoding: UTF-8
|
|
178 |
string: '{"content_type":"rpm","profile":[{"name":"elephant","version":"0.2","release":"0.7","epoch":0,"arch":"noarch","vendor":"Fedora"}]}' |
|
182 |
encoding: US-ASCII
|
|
183 |
string: ! '{"content_type":"rpm","profile":[{"name":"elephant","version":"0.2","release":"0.7","epoch":0,"arch":"noarch","vendor":"Fedora"}]}'
|
|
179 | 184 |
headers: |
180 | 185 |
Accept: |
181 | 186 |
- application/json |
... | ... | |
193 | 198 |
message: CREATED |
194 | 199 |
headers: |
195 | 200 |
Date: |
196 |
- Tue, 23 Jun 2015 22:44:16 GMT
|
|
201 |
- Fri, 29 Jan 2016 17:23:17 GMT
|
|
197 | 202 |
Server: |
198 | 203 |
- Apache/2.4.6 (CentOS) |
199 | 204 |
Content-Length: |
200 | 205 |
- '475' |
201 | 206 |
Location: |
202 |
- https://katello-kant.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/
|
|
207 |
- https://katello-yoda.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/
|
|
203 | 208 |
Connection: |
204 | 209 |
- close |
205 | 210 |
Content-Type: |
206 |
- application/json |
|
211 |
- application/json; charset=utf-8
|
|
207 | 212 |
body: |
208 |
encoding: UTF-8
|
|
209 |
string: '{"profile": [{"vendor": "Fedora", "name": "elephant", "epoch": 0, "version":
|
|
210 |
"0.2", "release": "0.7", "arch": "noarch"}], "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/", |
|
213 |
encoding: US-ASCII
|
|
214 |
string: ! '{"profile": [{"vendor": "Fedora", "name": "elephant", "epoch": 0,
|
|
215 |
"version": "0.2", "release": "0.7", "arch": "noarch"}], "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/",
|
|
211 | 216 |
"_ns": "consumer_unit_profiles", "profile_hash": "db16b75e977ae3fbbf27beb919693137b26ba59eb7be73f2888197b89521e50d", |
212 | 217 |
"consumer_id": "integration_test_consumer_support", "content_type": "rpm", |
213 |
"_id": {"$oid": "5589e141f115fc042e751a59"}, "id": "5589e141f115fc042e751a59"}'
|
|
218 |
"_id": {"$oid": "56aba005de040332a476fb74"}, "id": "56aba005de040332a476fb74"}'
|
|
214 | 219 |
http_version: |
215 |
recorded_at: Tue, 23 Jun 2015 22:44:17 GMT
|
|
220 |
recorded_at: Fri, 29 Jan 2016 17:23:17 GMT
|
|
216 | 221 |
- request: |
217 | 222 |
method: get |
218 |
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/repositories/integration_test_id/?details=true
|
|
223 |
uri: https://admin:icizRXdtWXs66PqkAXytGFMconvzbE8w@katello-yoda.example.com/pulp/api/v2/repositories/integration_test_id/?details=true
|
|
219 | 224 |
body: |
220 | 225 |
encoding: US-ASCII |
221 | 226 |
string: '' |
... | ... | |
234 | 239 |
message: OK |
235 | 240 |
headers: |
236 | 241 |
Date: |
237 |
- Tue, 23 Jun 2015 22:44:17 GMT
|
|
242 |
- Fri, 29 Jan 2016 17:23:17 GMT
|
|
238 | 243 |
Server: |
239 | 244 |
- Apache/2.4.6 (CentOS) |
245 |
Vary: |
|
246 |
- Accept-Encoding |
|
240 | 247 |
Content-Length: |
241 |
- '1149'
|
|
248 |
- '1310'
|
|
242 | 249 |
Connection: |
243 | 250 |
- close |
244 | 251 |
Content-Type: |
245 |
- application/json |
|
252 |
- application/json; charset=utf-8
|
|
246 | 253 |
body: |
247 |
encoding: UTF-8 |
|
248 |
string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "integration_test_id", |
|
249 |
"description": null, "distributors": [{"repo_id": "integration_test_id", "_ns": |
|
250 |
"repo_distributors", "last_publish": null, "auto_publish": false, "scheduled_publishes": |
|
251 |
[], "distributor_type_id": "yum_distributor", "_id": {"$oid": "5589e140f115fc042e751a52"}, |
|
252 |
"config": {"http": true, "relative_url": "/path", "https": true}, "id": "yum_dist"}], |
|
253 |
"last_unit_added": "2015-06-23T22:44:16Z", "notes": {}, "last_unit_removed": |
|
254 |
null, "content_unit_counts": {"package_group": 2, "distribution": 1, "package_category": |
|
255 |
1, "rpm": 8, "erratum": 2}, "_ns": "repos", "importers": [{"repo_id": "integration_test_id", |
|
256 |
"_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", |
|
257 |
"_ns": "repo_importers", "importer_type_id": "yum_importer", "last_sync": |
|
258 |
"2015-06-23T22:44:16Z", "scheduled_syncs": [], "_id": {"$oid": "5589e140f115fc042e751a51"}, |
|
259 |
"config": {"feed": "file:///var/www/repositories/zoo5"}, "id": "yum_importer"}], |
|
260 |
"_id": {"$oid": "5589e140f115fc042e751a50"}, "id": "integration_test_id", |
|
261 |
"_href": "/pulp/api/v2/repositories/integration_test_id/"}' |
|
254 |
encoding: ASCII-8BIT |
|
255 |
string: !binary |- |
|
256 |
eyJzY3JhdGNocGFkIjogeyJjaGVja3N1bV90eXBlIjogInNoYTI1NiJ9LCAi |
|
257 |
ZGlzcGxheV9uYW1lIjogImludGVncmF0aW9uX3Rlc3RfaWQiLCAiZGVzY3Jp |
|
258 |
cHRpb24iOiBudWxsLCAiZGlzdHJpYnV0b3JzIjogW3sicmVwb19pZCI6ICJp |
|
259 |
bnRlZ3JhdGlvbl90ZXN0X2lkIiwgIl9ocmVmIjogIi9wdWxwL2FwaS92Mi9y |
|
260 |
ZXBvc2l0b3JpZXMvaW50ZWdyYXRpb25fdGVzdF9pZC9kaXN0cmlidXRvcnMv |
|
261 |
eXVtX2Rpc3QvIiwgIl9ucyI6ICJyZXBvX2Rpc3RyaWJ1dG9ycyIsICJsYXN0 |
|
262 |
X3B1Ymxpc2giOiBudWxsLCAiZGlzdHJpYnV0b3JfdHlwZV9pZCI6ICJ5dW1f |
|
263 |
ZGlzdHJpYnV0b3IiLCAiYXV0b19wdWJsaXNoIjogZmFsc2UsICJzY3JhdGNo |
|
264 |
cGFkIjoge30sICJfaWQiOiB7IiRvaWQiOiAiNTZhYmEwMDRkZTA0MDMzMmE0 |
|
265 |
NzZmYjcxIn0sICJjb25maWciOiB7Imh0dHAi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DE0LCAiX2lkIjogeyIkb2lkIjogIjU2YWJh |
|
282 |
MDA0ZGUwNDAzMzJhNDc2ZmI2ZiJ9LCAidG90YWxfcmVwb3NpdG9yeV91bml0 |
|
283 |
cyI6IDE0LCAiaWQiOiAiaW50ZWdyYXRpb25fdGVzdF9pZCIsICJfaHJlZiI6 |
|
284 |
ICIvcHVscC9hcGkvdjIvcmVwb3NpdG9yaWVzL2ludGVncmF0aW9uX3Rlc3Rf |
|
285 |
aWQvIn0= |
|
262 | 286 |
http_version: |
263 |
recorded_at: Tue, 23 Jun 2015 22:44:17 GMT
|
|
287 |
recorded_at: Fri, 29 Jan 2016 17:23:17 GMT
|
|
264 | 288 |
- request: |
265 | 289 |
method: post |
266 |
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings//
|
|
290 |
uri: https://admin:icizRXdtWXs66PqkAXytGFMconvzbE8w@katello-yoda.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings//
|
|
267 | 291 |
body: |
268 |
encoding: UTF-8
|
|
269 |
string: '{"repo_id":"integration_test_id","distributor_id":"yum_dist","notify_agent":false}' |
|
292 |
encoding: US-ASCII
|
|
293 |
string: ! '{"repo_id":"integration_test_id","distributor_id":"yum_dist","notify_agent":false}'
|
|
270 | 294 |
headers: |
271 | 295 |
Accept: |
272 | 296 |
- application/json |
... | ... | |
284 | 308 |
message: OK |
285 | 309 |
headers: |
286 | 310 |
Date: |
287 |
- Tue, 23 Jun 2015 22:44:17 GMT
|
|
311 |
- Fri, 29 Jan 2016 17:23:17 GMT
|
|
288 | 312 |
Server: |
289 | 313 |
- Apache/2.4.6 (CentOS) |
314 |
Vary: |
|
315 |
- Accept-Encoding |
|
290 | 316 |
Content-Length: |
291 | 317 |
- '358' |
292 | 318 |
Connection: |
293 | 319 |
- close |
294 | 320 |
Content-Type: |
295 |
- application/json |
|
321 |
- application/json; charset=utf-8
|
|
296 | 322 |
body: |
297 |
encoding: UTF-8 |
|
298 |
string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id": |
|
299 |
"integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id": |
|
300 |
"yum_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions": |
|
301 |
[], "binding_config": {}, "_id": {"$oid": "5589e141f115fc042e751a5e"}, "id": |
|
302 |
"5589e141f115fc042e751a5e"}, "error": null}' |
|
323 |
encoding: ASCII-8BIT |
|
324 |
string: !binary |- |
|
325 |
eyJzcGF3bmVkX3Rhc2tzIjogW10sICJyZXN1bHQiOiB7Im5vdGlmeV9hZ2Vu |
|
326 |
dCI6IGZhbHNlLCAicmVwb19pZCI6ICJpbnRlZ3JhdGlvbl90ZXN0X2lkIiwg |
|
327 |
ImRlbGV0ZWQiOiBmYWxzZSwgIl9ucyI6ICJjb25zdW1lcl9iaW5kaW5ncyIs |
|
328 |
ICJkaXN0cmlidXRvcl9pZCI6ICJ5dW1fZGlzdCIsICJjb25zdW1lcl9pZCI6 |
|
329 |
ICJpbnRlZ3JhdGlvbl90ZXN0X2NvbnN1bWVyX3N1cHBvcnQiLCAiY29uc3Vt |
|
330 |
ZXJfYWN0aW9ucyI6IFtdLCAiYmluZGluZ19jb25maWciOiB7fSwgIl9pZCI6 |
|
331 |
IHsiJG9pZCI6ICI1NmFiYTAwNWRlMDQwMzMyYTQ3NmZiNzYifSwgImlkIjog |
|
332 |
IjU2YWJhMDA1ZGUwNDAzMzJhNDc2ZmI3NiJ9LCAiZXJyb3IiOiBudWxsfQ== |
|
303 | 333 |
http_version: |
304 |
recorded_at: Tue, 23 Jun 2015 22:44:17 GMT
|
|
334 |
recorded_at: Fri, 29 Jan 2016 17:23:17 GMT
|
|
305 | 335 |
- request: |
306 | 336 |
method: post |
307 |
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/consumers/content/applicability/
|
|
337 |
uri: https://admin:icizRXdtWXs66PqkAXytGFMconvzbE8w@katello-yoda.example.com/pulp/api/v2/consumers/content/applicability/
|
|
308 | 338 |
body: |
309 |
encoding: UTF-8
|
|
310 |
string: '{"criteria":{"filters":{"id":{"$in":["integration_test_consumer_support"]}}},"content_types":["erratum"]}' |
|
339 |
encoding: US-ASCII
|
|
340 |
string: ! '{"criteria":{"filters":{"id":{"$in":["integration_test_consumer_support"]}}},"content_types":["erratum"]}'
|
|
311 | 341 |
headers: |
312 | 342 |
Accept: |
313 | 343 |
- application/json |
... | ... | |
325 | 355 |
message: OK |
326 | 356 |
headers: |
327 | 357 |
Date: |
328 |
- Tue, 23 Jun 2015 22:44:17 GMT
|
|
358 |
- Fri, 29 Jan 2016 17:23:17 GMT
|
|
329 | 359 |
Server: |
330 | 360 |
- Apache/2.4.6 (CentOS) |
331 | 361 |
Content-Length: |
... | ... | |
333 | 363 |
Connection: |
334 | 364 |
- close |
335 | 365 |
Content-Type: |
336 |
- application/json |
|
366 |
- application/json; charset=utf-8
|
|
337 | 367 |
body: |
338 |
encoding: UTF-8
|
|
339 |
string: '[]' |
|
368 |
encoding: US-ASCII
|
|
369 |
string: ! '[]'
|
|
340 | 370 |
http_version: |
341 |
recorded_at: Tue, 23 Jun 2015 22:44:17 GMT
|
|
371 |
recorded_at: Fri, 29 Jan 2016 17:23:17 GMT
|
|
342 | 372 |
- request: |
343 | 373 |
method: delete |
344 |
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
|
|
374 |
uri: https://admin:icizRXdtWXs66PqkAXytGFMconvzbE8w@katello-yoda.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
|
|
345 | 375 |
body: |
346 | 376 |
encoding: US-ASCII |
347 | 377 |
string: '' |
... | ... | |
360 | 390 |
message: OK |
361 | 391 |
headers: |
362 | 392 |
Date: |
363 |
- Tue, 23 Jun 2015 22:44:17 GMT
|
|
393 |
- Fri, 29 Jan 2016 17:23:17 GMT
|
|
364 | 394 |
Server: |
365 | 395 |
- Apache/2.4.6 (CentOS) |
366 | 396 |
Content-Length: |
... | ... | |
368 | 398 |
Connection: |
369 | 399 |
- close |
370 | 400 |
Content-Type: |
371 |
- application/json |
|
401 |
- application/json; charset=utf-8
|
|
372 | 402 |
body: |
373 |
encoding: UTF-8
|
|
403 |
encoding: US-ASCII
|
|
374 | 404 |
string: 'null' |
375 | 405 |
http_version: |
376 |
recorded_at: Tue, 23 Jun 2015 22:44:17 GMT |
|
377 |
recorded_with: VCR 2.9.3 |
|
406 |
recorded_at: Fri, 29 Jan 2016 17:23:17 GMT |
|
407 |
recorded_with: VCR 3.0.1 |
test/fixtures/vcr_cassettes/extensions/consumer/bind_all.yml | ||
---|---|---|
5 | 5 |
uri: https://admin:eYo5Dh2rR6jQayB4vFLEpqUwMcXosuXg@kt1.local/pulp/api/v2/consumers/integration_test_consumer_support/bindings// |
6 | 6 |
body: |
7 | 7 |
encoding: US-ASCII |
8 |
string: '{"repo_id":"integration_test_id","distributor_id":"puppet_dist","notify_agent":false}' |
|
8 |
string: ! '{"repo_id":"integration_test_id","distributor_id":"puppet_dist","notify_agent":false}'
|
|
9 | 9 |
headers: |
10 | 10 |
Accept: |
11 | 11 |
- application/json |
... | ... | |
34 | 34 |
- application/json |
35 | 35 |
body: |
36 | 36 |
encoding: ASCII-8BIT |
37 |
string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id": |
|
38 |
"integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id": |
|
39 |
"puppet_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions": |
|
40 |
[], "binding_config": {}, "_id": {"$oid": "54ce871cb2ff9879e94e1a58"}, "id": |
|
41 |
"54ce871cb2ff9879e94e1a58"}, "error": null}' |
|
37 |
string: !binary |- |
|
38 |
eyJzcGF3bmVkX3Rhc2tzIjogW10sICJyZXN1bHQiOiB7Im5vdGlmeV9hZ2Vu |
|
39 |
dCI6IGZhbHNlLCAicmVwb19pZCI6ICJpbnRlZ3JhdGlvbl90ZXN0X2lkIiwg |
|
40 |
ImRlbGV0ZWQiOiBmYWxzZSwgIl9ucyI6ICJjb25zdW1lcl9iaW5kaW5ncyIs |
|
41 |
ICJkaXN0cmlidXRvcl9pZCI6ICJwdXBwZXRfZGlzdCIsICJjb25zdW1lcl9p |
|
42 |
ZCI6ICJpbnRlZ3JhdGlvbl90ZXN0X2NvbnN1bWVyX3N1cHBvcnQiLCAiY29u |
|
43 |
c3VtZXJfYWN0aW9ucyI6IFtdLCAiYmluZGluZ19jb25maWciOiB7fSwgIl9p |
|
44 |
ZCI6IHsiJG9pZCI6ICI1NGNlODcxY2IyZmY5ODc5ZTk0ZTFhNTgifSwgImlk |
|
45 |
IjogIjU0Y2U4NzFjYjJmZjk4NzllOTRlMWE1OCJ9LCAiZXJyb3IiOiBudWxs |
|
46 |
fQ== |
|
42 | 47 |
http_version: |
43 | 48 |
recorded_at: Sun, 01 Feb 2015 20:05:48 GMT |
44 | 49 |
- request: |
... | ... | |
73 | 78 |
- application/json |
74 | 79 |
body: |
75 | 80 |
encoding: ASCII-8BIT |
76 |
string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id": |
|
77 |
"integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id": |
|
78 |
"puppet_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions": |
|
79 |
[], "binding_config": {}, "_id": {"$oid": "54ce871cb2ff9879e94e1a58"}, "id": |
|
80 |
"54ce871cb2ff9879e94e1a58"}, "error": null}' |
|
81 |
string: !binary |- |
|
82 |
eyJzcGF3bmVkX3Rhc2tzIjogW10sICJyZXN1bHQiOiB7Im5vdGlmeV9hZ2Vu |
|
83 |
dCI6IGZhbHNlLCAicmVwb19pZCI6ICJpbnRlZ3JhdGlvbl90ZXN0X2lkIiwg |
|
84 |
ImRlbGV0ZWQiOiBmYWxzZSwgIl9ucyI6ICJjb25zdW1lcl9iaW5kaW5ncyIs |
|
85 |
ICJkaXN0cmlidXRvcl9pZCI6ICJwdXBwZXRfZGlzdCIsICJjb25zdW1lcl9p |
|
86 |
ZCI6ICJpbnRlZ3JhdGlvbl90ZXN0X2NvbnN1bWVyX3N1cHBvcnQiLCAiY29u |
|
87 |
c3VtZXJfYWN0aW9ucyI6IFtdLCAiYmluZGluZ19jb25maWciOiB7fSwgIl9p |
|
88 |
ZCI6IHsiJG9pZCI6ICI1NGNlODcxY2IyZmY5ODc5ZTk0ZTFhNTgifSwgImlk |
|
89 |
IjogIjU0Y2U4NzFjYjJmZjk4NzllOTRlMWE1OCJ9LCAiZXJyb3IiOiBudWxs |
|
90 |
fQ== |
|
81 | 91 |
http_version: |
82 | 92 |
recorded_at: Sun, 01 Feb 2015 20:05:48 GMT |
83 | 93 |
- request: |
... | ... | |
85 | 95 |
uri: https://admin:eYo5Dh2rR6jQayB4vFLEpqUwMcXosuXg@kt1.local/pulp/api/v2/consumers/integration_test_consumer_support/bindings// |
86 | 96 |
body: |
87 | 97 |
encoding: US-ASCII |
88 |
string: '{"repo_id":"integration_test_id","distributor_id":"puppet_dist","notify_agent":false}' |
|
98 |
string: ! '{"repo_id":"integration_test_id","distributor_id":"puppet_dist","notify_agent":false}'
|
|
89 | 99 |
headers: |
90 | 100 |
Accept: |
91 | 101 |
- application/json |
... | ... | |
114 | 124 |
- application/json |
115 | 125 |
body: |
116 | 126 |
encoding: ASCII-8BIT |
117 |
string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id": |
|
118 |
"integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id": |
|
119 |
"puppet_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions": |
|
120 |
[], "binding_config": {}, "_id": {"$oid": "54ce871cb2ff9879e94e1a5f"}, "id": |
|
121 |
"54ce871cb2ff9879e94e1a5f"}, "error": null}' |
|
127 |
string: !binary |- |
|
128 |
eyJzcGF3bmVkX3Rhc2tzIjogW10sICJyZXN1bHQiOiB7Im5vdGlmeV9hZ2Vu |
|
129 |
dCI6IGZhbHNlLCAicmVwb19pZCI6ICJpbnRlZ3JhdGlvbl90ZXN0X2lkIiwg |
|
130 |
ImRlbGV0ZWQiOiBmYWxzZSwgIl9ucyI6ICJjb25zdW1lcl9iaW5kaW5ncyIs |
|
131 |
ICJkaXN0cmlidXRvcl9pZCI6ICJwdXBwZXRfZGlzdCIsICJjb25zdW1lcl9p |
|
132 |
ZCI6ICJpbnRlZ3JhdGlvbl90ZXN0X2NvbnN1bWVyX3N1cHBvcnQiLCAiY29u |
|
133 |
c3VtZXJfYWN0aW9ucyI6IFtdLCAiYmluZGluZ19jb25maWciOiB7fSwgIl9p |
|
134 |
ZCI6IHsiJG9pZCI6ICI1NGNlODcxY2IyZmY5ODc5ZTk0ZTFhNWYifSwgImlk |
|
135 |
IjogIjU0Y2U4NzFjYjJmZjk4NzllOTRlMWE1ZiJ9LCAiZXJyb3IiOiBudWxs |
|
136 |
fQ== |
|
122 | 137 |
http_version: |
123 | 138 |
recorded_at: Sun, 01 Feb 2015 20:05:48 GMT |
124 | 139 |
- request: |
125 | 140 |
method: delete |
126 |
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
|
|
141 |
uri: https://admin:icizRXdtWXs66PqkAXytGFMconvzbE8w@katello-yoda.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
|
|
127 | 142 |
body: |
128 | 143 |
encoding: US-ASCII |
129 | 144 |
string: '' |
... | ... | |
142 | 157 |
message: NOT FOUND |
143 | 158 |
headers: |
144 | 159 |
Date: |
145 |
- Tue, 23 Jun 2015 22:44:20 GMT
|
|
160 |
- Fri, 29 Jan 2016 17:23:20 GMT
|
|
146 | 161 |
Server: |
147 | 162 |
- Apache/2.4.6 (CentOS) |
148 | 163 |
Content-Encoding: |
... | ... | |
152 | 167 |
Connection: |
153 | 168 |
- close |
154 | 169 |
Content-Type: |
155 |
- application/json |
|
170 |
- application/json; charset=utf-8
|
|
156 | 171 |
body: |
157 |
encoding: UTF-8
|
|
158 |
string: '{"http_request_method": "DELETE", "exception": null, "error_message": |
|
172 |
encoding: US-ASCII
|
|
173 |
string: ! '{"http_request_method": "DELETE", "exception": null, "error_message":
|
|
159 | 174 |
"Missing resource(s): consumer=integration_test_consumer_support", "_href": |
160 | 175 |
"/pulp/api/v2/consumers/integration_test_consumer_support/", "http_status": |
161 | 176 |
404, "error": {"code": "PLP0009", "data": {"resources": {"consumer": "integration_test_consumer_support"}}, |
162 | 177 |
"description": "Missing resource(s): consumer=integration_test_consumer_support", |
163 | 178 |
"sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' |
164 | 179 |
http_version: |
165 |
recorded_at: Tue, 23 Jun 2015 22:44:20 GMT
|
|
180 |
recorded_at: Fri, 29 Jan 2016 17:23:20 GMT
|
|
166 | 181 |
- request: |
167 | 182 |
method: delete |
168 |
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
|
|
183 |
uri: https://admin:icizRXdtWXs66PqkAXytGFMconvzbE8w@katello-yoda.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
|
|
169 | 184 |
body: |
170 | 185 |
encoding: US-ASCII |
171 | 186 |
string: '' |
... | ... | |
184 | 199 |
message: NOT FOUND |
185 | 200 |
headers: |
186 | 201 |
Date: |
187 |
- Tue, 23 Jun 2015 22:44:20 GMT
|
|
202 |
- Fri, 29 Jan 2016 17:23:20 GMT
|
|
188 | 203 |
Server: |
189 | 204 |
- Apache/2.4.6 (CentOS) |
190 | 205 |
Content-Encoding: |
... | ... | |
194 | 209 |
Connection: |
195 | 210 |
- close |
196 | 211 |
Content-Type: |
197 |
- application/json |
|
212 |
- application/json; charset=utf-8
|
|
198 | 213 |
body: |
199 |
encoding: UTF-8
|
|
200 |
string: '{"http_request_method": "DELETE", "exception": null, "error_message": |
|
214 |
encoding: US-ASCII
|
|
215 |
string: ! '{"http_request_method": "DELETE", "exception": null, "error_message":
|
|
201 | 216 |
"Missing resource(s): consumer=integration_test_consumer_support", "_href": |
202 | 217 |
"/pulp/api/v2/consumers/integration_test_consumer_support/", "http_status": |
203 | 218 |
404, "error": {"code": "PLP0009", "data": {"resources": {"consumer": "integration_test_consumer_support"}}, |
204 | 219 |
"description": "Missing resource(s): consumer=integration_test_consumer_support", |
205 | 220 |
"sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' |
206 | 221 |
http_version: |
207 |
recorded_at: Tue, 23 Jun 2015 22:44:20 GMT
|
|
222 |
recorded_at: Fri, 29 Jan 2016 17:23:20 GMT
|
|
208 | 223 |
- request: |
209 | 224 |
method: post |
210 |
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/consumers/
|
|
225 |
uri: https://admin:icizRXdtWXs66PqkAXytGFMconvzbE8w@katello-yoda.example.com/pulp/api/v2/consumers/
|
|
211 | 226 |
body: |
212 |
encoding: UTF-8
|
|
213 |
string: '{"id":"integration_test_consumer_support"}' |
|
227 |
encoding: US-ASCII
|
|
228 |
string: ! '{"id":"integration_test_consumer_support"}'
|
|
214 | 229 |
headers: |
215 | 230 |
Accept: |
216 | 231 |
- application/json |
... | ... | |
228 | 243 |
message: CREATED |
229 | 244 |
headers: |
230 | 245 |
Date: |
231 |
- Tue, 23 Jun 2015 22:44:20 GMT
|
|
246 |
- Fri, 29 Jan 2016 17:23:20 GMT
|
|
232 | 247 |
Server: |
233 | 248 |
- Apache/2.4.6 (CentOS) |
234 | 249 |
Content-Length: |
235 | 250 |
- '2281' |
236 | 251 |
Location: |
237 |
- https://katello-kant.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
|
|
252 |
- https://katello-yoda.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
|
|
238 | 253 |
Connection: |
239 | 254 |
- close |
240 | 255 |
Content-Type: |
241 |
- application/json |
|
256 |
- application/json; charset=utf-8
|
|
242 | 257 |
body: |
243 |
encoding: UTF-8
|
|
244 |
string: '{"consumer": {"display_name": "integration_test_consumer_support", |
|
258 |
encoding: US-ASCII
|
|
259 |
string: ! '{"consumer": {"display_name": "integration_test_consumer_support",
|
|
245 | 260 |
"description": null, "_ns": "consumers", "notes": {}, "rsa_pub": null, "capabilities": |
246 |
{}, "_id": {"$oid": "5589e144f115fc042e751ac5"}, "id": "integration_test_consumer_support",
|
|
261 |
{}, "_id": {"$oid": "56aba008de040332a3e4cc2c"}, "id": "integration_test_consumer_support",
|
|
247 | 262 |
"_href": "/pulp/api/v2/consumers/integration_test_consumer_support/"}, "certificate": |
248 |
"-----BEGIN RSA PRIVATE KEY-----\nMIICXQIBAAKBgQCkEIW+A548DTbcOmn704bZ+t4afZxjwphyAn6AS+Q2bZ24oUvS\nbNS6tJYPuq89PDZB1RWI4I9Bk9fE9OmoJNaUvN/1skEwInTUneeutug4Zt7Bvywd\nLdWdMl+2OQe00qtmtIeYpwpEmQFsf4fTKRuzkI8eJUtXjxt19enNrBmajwIDAQAB\nAoGAdo96FtaGgt8Jxhxweoth6CRiXMJpQa5efAVRZWVyheKxF7t4D5iWIlZeGv/N\no3LfwrM53LBq1fkA9FQIhnoYljsW5Y96f5In3s158LzFT02NMfmtDLt0wEWt5PG4\neDC4eyVlTc7bylEOOC7rJM/7OvIytlIh9ivDQCZhUJS5EAECQQDajQpwFGshzS8f\n35Y5St01BZ2SCibF2LtWcTcerex/EMgIInt1Px0CUNQOnLvXDKEUIpToIj55C5gg\np9Zl+w5nAkEAwC1hXVTRY2HYv/k6yh9d3D7aG1JcPcY+8txG44hCOQyLfCIR159t\n61BfYB8451WWC76m9s1gn3Al6SRDb5SpmQJAXEh75NGqXw593I6Tp0OGXnItk9H3\nh0k56YlKxgiYuRrD7DNrQBnTTPwGXtkts+OgTJlBmTeEe6Y6qWdVb6Bv9wJBAJTG\njQnkD/YQWezE1W6EufU380ITkLWCNFlvjrG3Ww0vWQzQk1+KXV4+6pdP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 GMT
|
|
253 | 268 |
- request: |
254 | 269 |
method: post |
255 |
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles//
|
|
270 |
uri: https://admin:icizRXdtWXs66PqkAXytGFMconvzbE8w@katello-yoda.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles//
|
|
256 | 271 |
body: |
257 |
encoding: UTF-8
|
|
258 |
string: '{"content_type":"rpm","profile":[{"name":"elephant","version":"0.2","release":"0.7","epoch":0,"arch":"noarch","vendor":"Fedora"}]}' |
|
272 |
encoding: US-ASCII
|
|
273 |
string: ! '{"content_type":"rpm","profile":[{"name":"elephant","version":"0.2","release":"0.7","epoch":0,"arch":"noarch","vendor":"Fedora"}]}'
|
|
259 | 274 |
headers: |
260 | 275 |
Accept: |
261 | 276 |
- application/json |
... | ... | |
273 | 288 |
message: CREATED |
274 | 289 |
headers: |
275 | 290 |
Date: |
276 |
- Tue, 23 Jun 2015 22:44:20 GMT
|
|
291 |
- Fri, 29 Jan 2016 17:23:20 GMT
|
|
277 | 292 |
Server: |
278 | 293 |
- Apache/2.4.6 (CentOS) |
279 | 294 |
Content-Length: |
280 | 295 |
- '475' |
281 | 296 |
Location: |
282 |
- https://katello-kant.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/
|
|
297 |
- https://katello-yoda.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/
|
|
283 | 298 |
Connection: |
284 | 299 |
- close |
285 | 300 |
Content-Type: |
286 |
- application/json |
|
301 |
- application/json; charset=utf-8
|
|
287 | 302 |
body: |
288 |
encoding: UTF-8
|
|
289 |
string: '{"profile": [{"vendor": "Fedora", "name": "elephant", "epoch": 0, "version":
|
|
290 |
"0.2", "release": "0.7", "arch": "noarch"}], "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/", |
|
303 |
encoding: US-ASCII
|
|
304 |
string: ! '{"profile": [{"vendor": "Fedora", "name": "elephant", "epoch": 0,
|
|
305 |
"version": "0.2", "release": "0.7", "arch": "noarch"}], "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/",
|
|
291 | 306 |
"_ns": "consumer_unit_profiles", "profile_hash": "db16b75e977ae3fbbf27beb919693137b26ba59eb7be73f2888197b89521e50d", |
292 | 307 |
"consumer_id": "integration_test_consumer_support", "content_type": "rpm", |
293 |
"_id": {"$oid": "5589e144f115fc042e751ac9"}, "id": "5589e144f115fc042e751ac9"}'
|
|
308 |
"_id": {"$oid": "56aba008de040332a523c98a"}, "id": "56aba008de040332a523c98a"}'
|
|
294 | 309 |
http_version: |
295 |
recorded_at: Tue, 23 Jun 2015 22:44:20 GMT
|
|
310 |
recorded_at: Fri, 29 Jan 2016 17:23:20 GMT
|
|
296 | 311 |
- request: |
297 | 312 |
method: get |
298 |
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/repositories/integration_test_id/?details=true
|
|
313 |
uri: https://admin:icizRXdtWXs66PqkAXytGFMconvzbE8w@katello-yoda.example.com/pulp/api/v2/repositories/integration_test_id/?details=true
|
|
299 | 314 |
body: |
300 | 315 |
encoding: US-ASCII |
301 | 316 |
string: '' |
... | ... | |
314 | 329 |
message: OK |
315 | 330 |
headers: |
316 | 331 |
Date: |
317 |
- Tue, 23 Jun 2015 22:44:20 GMT
|
|
332 |
- Fri, 29 Jan 2016 17:23:20 GMT
|
|
318 | 333 |
Server: |
319 | 334 |
- Apache/2.4.6 (CentOS) |
335 |
Vary: |
|
336 |
- Accept-Encoding |
|
320 | 337 |
Content-Length: |
321 |
- '1149'
|
|
338 |
- '1310'
|
|
322 | 339 |
Connection: |
323 | 340 |
- close |
324 | 341 |
Content-Type: |
325 |
- application/json |
|
342 |
- application/json; charset=utf-8
|
|
326 | 343 |
body: |
327 |
encoding: UTF-8 |
|
328 |
string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "integration_test_id", |
|
329 |
"description": null, "distributors": [{"repo_id": "integration_test_id", "_ns": |
|
330 |
"repo_distributors", "last_publish": null, "auto_publish": false, "scheduled_publishes": |
|
331 |
[], "distributor_type_id": "yum_distributor", "_id": {"$oid": "5589e140f115fc042e751a52"}, |
|
332 |
"config": {"http": true, "relative_url": "/path", "https": true}, "id": "yum_dist"}], |
|
333 |
"last_unit_added": "2015-06-23T22:44:16Z", "notes": {}, "last_unit_removed": |
|
334 |
null, "content_unit_counts": {"package_group": 2, "distribution": 1, "package_category": |
|
335 |
1, "rpm": 8, "erratum": 2}, "_ns": "repos", "importers": [{"repo_id": "integration_test_id", |
|
336 |
"_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", |
|
337 |
"_ns": "repo_importers", "importer_type_id": "yum_importer", "last_sync": |
|
338 |
"2015-06-23T22:44:16Z", "scheduled_syncs": [], "_id": {"$oid": "5589e140f115fc042e751a51"}, |
|
339 |
"config": {"feed": "file:///var/www/repositories/zoo5"}, "id": "yum_importer"}], |
|
340 |
"_id": {"$oid": "5589e140f115fc042e751a50"}, "id": "integration_test_id", |
|
341 |
"_href": "/pulp/api/v2/repositories/integration_test_id/"}' |
|
344 |
encoding: ASCII-8BIT |
|
345 |
string: !binary |- |
|
346 |
eyJzY3JhdGNocGFkIjogeyJjaGVja3N1bV90eXBlIjogInNoYTI1NiJ9LCAi |
|
347 |
ZGlzcGxheV9uYW1lIjogImludGVncmF0aW9uX3Rlc3RfaWQiLCAiZGVzY3Jp |
|
348 |
cHRpb24iOiBudWxsLCAiZGlzdHJpYnV0b3JzIjogW3sicmVwb19pZCI6ICJp |
|
349 |
bnRlZ3JhdGlvbl90ZXN0X2lkIiwgIl9ocmVmIjogIi9wdWxwL2FwaS92Mi9y |
|
350 |
ZXBvc2l0b3JpZXMvaW50ZWdyYXRpb25fdGVzdF9pZC9kaXN0cmlidXRvcnMv |
|
351 |
eXVtX2Rpc3QvIiwgIl9ucyI6ICJyZXBvX2Rpc3RyaWJ1d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G9faWQiOiAiaW50ZWdyYXRpb25fdGVzdF9p |
|
368 |
ZCIsICJfaWQiOiB7IiRvaWQiOiAiNTZhYmEwMDRkZTA0MDMzMmE0NzZmYjcw |
|
369 |
In0sICJjb25maWciOiB7ImZlZWQiOiAiZmlsZTovLy92YXIvd3d3L3JlcG9z |
|
370 |
aXRvcmllcy96b281In0sICJpZCI6ICJ5dW1faW1wb3J0ZXIifV0sICJsb2Nh |
|
371 |
bGx5X3N0b3JlZF91bml0cyI6IDE0LCAiX2lkIjogeyIkb2lkIjogIjU2YWJh |
|
372 |
MDA0ZGUwNDAzMzJhNDc2ZmI2ZiJ9LCAidG90YWxfcmVwb3NpdG9yeV91bml0 |
|
373 |
cyI6IDE0LCAiaWQiOiAiaW50ZWdyYXRpb25fdGVzdF9pZCIsICJfaHJlZiI6 |
|
374 |
ICIvcHVscC9hcGkvdjIvcmVwb3NpdG9yaWVzL2ludGVncmF0aW9uX3Rlc3Rf |
|
375 |
aWQvIn0= |
|
342 | 376 |
http_version: |
343 |
recorded_at: Tue, 23 Jun 2015 22:44:20 GMT
|
|
377 |
recorded_at: Fri, 29 Jan 2016 17:23:20 GMT
|
|
344 | 378 |
- request: |
345 | 379 |
method: post |
346 |
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings//
|
|
380 |
uri: https://admin:icizRXdtWXs66PqkAXytGFMconvzbE8w@katello-yoda.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings//
|
|
347 | 381 |
body: |
348 |
encoding: UTF-8
|
|
349 |
string: '{"repo_id":"integration_test_id","distributor_id":"yum_dist","notify_agent":false}' |
|
382 |
encoding: US-ASCII
|
|
383 |
string: ! '{"repo_id":"integration_test_id","distributor_id":"yum_dist","notify_agent":false}'
|
|
350 | 384 |
headers: |
351 | 385 |
Accept: |
352 | 386 |
- application/json |
... | ... | |
364 | 398 |
message: OK |
365 | 399 |
headers: |
366 | 400 |
Date: |
367 |
- Tue, 23 Jun 2015 22:44:20 GMT
|
|
401 |
- Fri, 29 Jan 2016 17:23:20 GMT
|
|
368 | 402 |
Server: |
369 | 403 |
- Apache/2.4.6 (CentOS) |
404 |
Vary: |
|
405 |
- Accept-Encoding |
|
370 | 406 |
Content-Length: |
371 | 407 |
- '358' |
372 | 408 |
Connection: |
373 | 409 |
- close |
374 | 410 |
Content-Type: |
375 |
- application/json |
|
411 |
- application/json; charset=utf-8
|
|
376 | 412 |
body: |
377 |
encoding: UTF-8 |
|
378 |
string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id": |
|
379 |
"integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id": |
|
380 |
"yum_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions": |
|
381 |
[], "binding_config": {}, "_id": {"$oid": "5589e144f115fc042e751ace"}, "id": |
|
382 |
"5589e144f115fc042e751ace"}, "error": null}' |
|
413 |
encoding: ASCII-8BIT |
|
414 |
string: !binary |- |
|
415 |
eyJzcGF3bmVkX3Rhc2tzIjogW10sICJyZXN1bHQiOiB7Im5vdGlmeV9hZ2Vu |
|
416 |
dCI6IGZhbHNlLCAicmVwb19pZCI6ICJpbnRlZ3JhdGlvbl90ZXN0X2lkIiwg |
|
417 |
ImRlbGV0ZWQiOiBmYWxzZSwgIl9ucyI6ICJjb25zdW1lcl9iaW5kaW5ncyIs |
|
418 |
ICJkaXN0cmlidXRvcl9pZCI6ICJ5dW1fZGlzdCIsICJjb25zdW1lcl9pZCI6 |
|
419 |
ICJpbnRlZ3JhdGlvbl90ZXN0X2NvbnN1bWVyX3N1cHBvcnQiLCAiY29uc3Vt |
|
420 |
ZXJfYWN0aW9ucyI6IFtdLCAiYmluZGluZ19jb25maWciOiB7fSwgIl9pZCI6 |
|
421 |
IHsiJG9pZCI6ICI1NmFiYTAwOGRlMDQwMzMyYTQ3NmZiOGEifSwgImlkIjog |
|
422 |
IjU2YWJhMDA4ZGUwNDAzMzJhNDc2ZmI4YSJ9LCAiZXJyb3IiOiBudWxsfQ== |
|
383 | 423 |
http_version: |
384 |
recorded_at: Tue, 23 Jun 2015 22:44:20 GMT
|
|
424 |
recorded_at: Fri, 29 Jan 2016 17:23:20 GMT
|
|
385 | 425 |
- request: |
386 | 426 |
method: get |
387 |
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/repositories/integration_test_id/?details=true
|
|
427 |
uri: https://admin:icizRXdtWXs66PqkAXytGFMconvzbE8w@katello-yoda.example.com/pulp/api/v2/repositories/integration_test_id/?details=true
|
|
388 | 428 |
body: |
389 | 429 |
encoding: US-ASCII |
390 | 430 |
string: '' |
... | ... | |
403 | 443 |
message: OK |
404 | 444 |
headers: |
405 | 445 |
Date: |
406 |
- Tue, 23 Jun 2015 22:44:21 GMT
|
|
446 |
- Fri, 29 Jan 2016 17:23:20 GMT
|
|
407 | 447 |
Server: |
408 | 448 |
- Apache/2.4.6 (CentOS) |
449 |
Vary: |
|
450 |
- Accept-Encoding |
|
409 | 451 |
Content-Length: |
410 |
- '1149'
|
|
452 |
- '1310'
|
|
411 | 453 |
Connection: |
412 | 454 |
- close |
413 | 455 |
Content-Type: |
414 |
- application/json |
|
456 |
- application/json; charset=utf-8
|
|
415 | 457 |
body: |
416 |
encoding: UTF-8 |
|
417 |
string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "integration_test_id", |
|
418 |
"description": null, "distributors": [{"repo_id": "integration_test_id", "_ns": |
|
419 |
"repo_distributors", "last_publish": null, "auto_publish": false, "scheduled_publishes": |
|
420 |
[], "distributor_type_id": "yum_distributor", "_id": {"$oid": "5589e140f115fc042e751a52"}, |
|
421 |
"config": {"http": true, "relative_url": "/path", "https": true}, "id": "yum_dist"}], |
|
422 |
"last_unit_added": "2015-06-23T22:44:16Z", "notes": {}, "last_unit_removed": |
|
423 |
null, "content_unit_counts": {"package_group": 2, "distribution": 1, "package_category": |
|
424 |
1, "rpm": 8, "erratum": 2}, "_ns": "repos", "importers": [{"repo_id": "integration_test_id", |
|
425 |
"_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", |
|
426 |
"_ns": "repo_importers", "importer_type_id": "yum_importer", "last_sync": |
|
427 |
"2015-06-23T22:44:16Z", "scheduled_syncs": [], "_id": {"$oid": "5589e140f115fc042e751a51"}, |
|
428 |
"config": {"feed": "file:///var/www/repositories/zoo5"}, "id": "yum_importer"}], |
|
429 |
"_id": {"$oid": "5589e140f115fc042e751a50"}, "id": "integration_test_id", |
|
430 |
"_href": "/pulp/api/v2/repositories/integration_test_id/"}' |
|
458 |
encoding: ASCII-8BIT |
|
459 |
string: !binary |- |
|
460 |
eyJzY3JhdGNocGFkIjogeyJjaGVja3N1bV90eXBlIjogInNoYTI1NiJ9LCAi |
|
461 |
ZGlzcGxheV9uYW1lIjogImludGVncmF0aW9uX3Rlc3RfaWQiLCAiZGVzY3Jp |
|
462 |
cHRpb24iOiBudWxsLCAiZGlzdHJpYnV0b3JzIjogW3sicmVwb19pZCI6ICJp |
|
463 |
bnRlZ3JhdGlvbl90ZXN0X2lkIiwgIl9ocmVmIjogIi9wdWxwL2FwaS92Mi9y |
|
464 |
ZXBvc2l0b3JpZXMvaW50ZWdyYXRpb25fdGVzdF9pZC9kaXN0cmlidXRvcnMv |
|
465 |
eXVtX2Rpc3QvIiwgIl9ucyI6ICJyZXBvX2Rpc3RyaWJ1dG9ycyIsICJsYXN0 |
|
466 |
X3B1Ymxpc2giOiBudWxsLCAiZGlzdHJpYnV0b3JfdHlwZV9pZCI6ICJ5dW1f |
|
467 |
ZGlzdHJpYnV0b3IiLCAiYXV0b19wdWJsaXNoIjogZmFsc2UsICJzY3JhdGNo |
|
468 |
cGFkIjoge30sICJfaWQiOiB7IiRvaWQiOiAiNTZhYmEwMDRkZTA0MDMzMmE0 |
|
469 |
NzZmYjcxIn0sICJjb25maWciOiB7Imh0dHAiOiB0cnVlLCAiaHR0cHMiOiB0 |
|
470 |
cnV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
486 |
MDA0ZGUwNDAzMzJhNDc2ZmI2ZiJ9LCAidG90YWxfcmVwb3NpdG9yeV91bml0 |
|
487 |
cyI6IDE0LCAiaWQiOiAiaW50ZWdyYXRpb25fdGVzdF9pZCIsICJfaHJlZiI6 |
|
488 |
ICIvcHVscC9hcGkvdjIvcmVwb3NpdG9yaWVzL2ludGVncmF0aW9uX3Rlc3Rf |
|
489 |
aWQvIn0= |
|
431 | 490 |
http_version: |
432 |
recorded_at: Tue, 23 Jun 2015 22:44:21 GMT
|
|
491 |
recorded_at: Fri, 29 Jan 2016 17:23:20 GMT
|
|
433 | 492 |
- request: |
434 | 493 |
method: delete |
435 |
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings/integration_test_id/yum_dist/
|
|
494 |
uri: https://admin:icizRXdtWXs66PqkAXytGFMconvzbE8w@katello-yoda.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings/integration_test_id/yum_dist/
|
|
436 | 495 |
body: |
437 | 496 |
encoding: US-ASCII |
438 | 497 |
string: '' |
... | ... | |
451 | 510 |
message: OK |
452 | 511 |
headers: |
453 | 512 |
Date: |
454 |
- Tue, 23 Jun 2015 22:44:21 GMT
|
|
513 |
- Fri, 29 Jan 2016 17:23:20 GMT
|
|
455 | 514 |
Server: |
456 | 515 |
- Apache/2.4.6 (CentOS) |
516 |
Vary: |
|
517 |
- Accept-Encoding |
|
457 | 518 |
Content-Length: |
458 | 519 |
- '358' |
459 | 520 |
Connection: |
460 | 521 |
- close |
461 | 522 |
Content-Type: |
462 |
- application/json |
|
523 |
- application/json; charset=utf-8
|
|
463 | 524 |
body: |
464 |
encoding: UTF-8 |
|
465 |
string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id": |
|
466 |
"integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id": |
|
467 |
"yum_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions": |
|
468 |
[], "binding_config": {}, "_id": {"$oid": "5589e144f115fc042e751ace"}, "id": |
|
469 |
"5589e144f115fc042e751ace"}, "error": null}' |
|
525 |
encoding: ASCII-8BIT |
|
526 |
string: !binary |- |
|
527 |
eyJzcGF3bmVkX3Rhc2tzIjogW10sICJyZXN1bHQiOiB7Im5vdGlmeV9hZ2Vu |
|
528 |
dCI6IGZhbHNlLCAicmVwb19pZCI6ICJpbnRlZ3JhdGlvbl90ZXN0X2lkIiwg |
|
529 |
ImRlbGV0ZWQiOiBmYWxzZSwgIl9ucyI6ICJjb25zdW1lcl9iaW5kaW5ncyIs |
|
530 |
ICJkaXN0cmlidXRvcl9pZCI6ICJ5dW1fZGlzdCIsICJjb25zdW1lcl9pZCI6 |
|
531 |
ICJpbnRlZ3JhdGlvbl90ZXN0X2NvbnN1bWVyX3N1cHBvcnQiLCAiY29uc3Vt |
|
532 |
ZXJfYWN0aW9ucyI6IFtdLCAiYmluZGluZ19jb25maWciOiB7fSwgIl9pZCI6 |
|
533 |
IHsiJG9pZCI6ICI1NmFiYTAwOGRlMDQwMzMyYTQ3NmZiOGEifSwgImlkIjog |
|
534 |
IjU2YWJhMDA4ZGUwNDAzMzJhNDc2ZmI4YSJ9LCAiZXJyb3IiOiBudWxsfQ== |
|
470 | 535 |
http_version: |
471 |
recorded_at: Tue, 23 Jun 2015 22:44:21 GMT
|
|
536 |
recorded_at: Fri, 29 Jan 2016 17:23:20 GMT
|
|
472 | 537 |
- request: |
473 | 538 |
method: get |
474 |
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/repositories/integration_test_id/?details=true
|
|
539 |
uri: https://admin:icizRXdtWXs66PqkAXytGFMconvzbE8w@katello-yoda.example.com/pulp/api/v2/repositories/integration_test_id/?details=true
|
|
475 | 540 |
body: |
476 | 541 |
encoding: US-ASCII |
477 | 542 |
string: '' |
... | ... | |
490 | 555 |
message: OK |
491 | 556 |
headers: |
492 | 557 |
Date: |
493 |
- Tue, 23 Jun 2015 22:44:21 GMT
|
|
558 |
- Fri, 29 Jan 2016 17:23:20 GMT
|
|
494 | 559 |
Server: |
495 | 560 |
- Apache/2.4.6 (CentOS) |
561 |
Vary: |
|
562 |
- Accept-Encoding |
|
496 | 563 |
Content-Length: |
497 |
- '1149'
|
|
564 |
- '1310'
|
|
498 | 565 |
Connection: |
499 | 566 |
- close |
500 | 567 |
Content-Type: |
501 |
- application/json |
|
568 |
- application/json; charset=utf-8
|
|
502 | 569 |
body: |
503 |
encoding: UTF-8 |
|
504 |
string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "integration_test_id", |
|
505 |
"description": null, "distributors": [{"repo_id": "integration_test_id", "_ns": |
|
506 |
"repo_distributors", "last_publish": null, "auto_publish": false, "scheduled_publishes": |
|
507 |
[], "distributor_type_id": "yum_distributor", "_id": {"$oid": "5589e140f115fc042e751a52"}, |
|
508 |
"config": {"http": true, "relative_url": "/path", "https": true}, "id": "yum_dist"}], |
|
509 |
"last_unit_added": "2015-06-23T22:44:16Z", "notes": {}, "last_unit_removed": |
|
510 |
null, "content_unit_counts": {"package_group": 2, "distribution": 1, "package_category": |
|
511 |
1, "rpm": 8, "erratum": 2}, "_ns": "repos", "importers": [{"repo_id": "integration_test_id", |
|
512 |
"_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", |
|
513 |
"_ns": "repo_importers", "importer_type_id": "yum_importer", "last_sync": |
|
514 |
"2015-06-23T22:44:16Z", "scheduled_syncs": [], "_id": {"$oid": "5589e140f115fc042e751a51"}, |
|
515 |
"config": {"feed": "file:///var/www/repositories/zoo5"}, "id": "yum_importer"}], |
|
516 |
"_id": {"$oid": "5589e140f115fc042e751a50"}, "id": "integration_test_id", |
|
517 |
"_href": "/pulp/api/v2/repositories/integration_test_id/"}' |
|
570 |
encoding: ASCII-8BIT |
|
571 |
string: !binary |- |
|
572 |
eyJzY3JhdGNocGFkIjogeyJjaGVja3N1bV90eXBlIjogInNoYTI1Ni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Tg5MzgwMCwgInByZXZpb3VzX3Nr |
|
589 |
aXBfbGlzdCI6IFtdfSwgIl9ocmVmIjogIi9wdWxwL2FwaS92Mi9yZXBvc2l0 |
|
590 |
b3JpZXMvaW50ZWdyYXRpb25fdGVzdF9pZC9pbXBvcnRlcnMveXVtX2ltcG9y |
|
591 |
dGVyLyIsICJfbnMiOiAicmVwb19pbXBvcnRlcnMiLCAiaW1wb3J0ZXJfdHlw |
|
592 |
ZV9pZCI6ICJ5dW1faW1wb3J0ZXIiLCAibGFzdF9zeW5jIjogIjIwMTYtMDEt |
|
593 |
MjlUMTc6MjM6MTdaIiwgInJlcG9faWQiOiAiaW50ZWdyYXRpb25fdGVzdF9p |
|
594 |
ZCIsICJfaWQiOiB7IiRvaWQiOiAiNTZhYmEwMDRkZTA0MDMzMmE0NzZmYjcw |
|
595 |
In0sICJjb25maWciOiB7ImZlZWQiOiAiZmlsZTovLy92YXIvd3d3L3JlcG9z |
|
596 |
aXRvcmllcy96b281In0sICJpZCI6ICJ5dW1faW1wb3J0ZXIifV0sICJsb2Nh |
|
597 |
bGx5X3N0b3JlZF91bml0cyI6IDE0LCAiX2lkIjogeyIkb2lkIjogIjU2YWJh |
|
598 |
MDA0ZGUwNDAzMzJhNDc2ZmI2ZiJ9LCAidG90YWxfcmVwb3NpdG9yeV91bml0 |
|
599 |
cyI6IDE0LCAiaWQiOiAiaW50ZWdyYXRpb25fdGVzdF9pZCIsICJfaHJlZiI6 |
|
600 |
ICIvcHVscC9hcGkvdjIvcmVwb3NpdG9yaWVzL2ludGVncmF0aW9uX3Rlc3Rf |
|
601 |
aWQvIn0= |
|
518 | 602 |
http_version: |
519 |
recorded_at: Tue, 23 Jun 2015 22:44:21 GMT
|
|
603 |
recorded_at: Fri, 29 Jan 2016 17:23:20 GMT
|
|
520 | 604 |
- request: |
521 | 605 |
method: post |
522 |
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings//
|
|
606 |
uri: https://admin:icizRXdtWXs66PqkAXytGFMconvzbE8w@katello-yoda.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings//
|
|
523 | 607 |
body: |
524 |
encoding: UTF-8
|
|
525 |
string: '{"repo_id":"integration_test_id","distributor_id":"yum_dist","notify_agent":false}' |
|
608 |
encoding: US-ASCII
|
|
609 |
string: ! '{"repo_id":"integration_test_id","distributor_id":"yum_dist","notify_agent":false}'
|
|
526 | 610 |
headers: |
527 | 611 |
Accept: |
528 | 612 |
- application/json |
... | ... | |
540 | 624 |
message: OK |
541 | 625 |
headers: |
542 | 626 |
Date: |
543 |
- Tue, 23 Jun 2015 22:44:21 GMT
|
|
627 |
- Fri, 29 Jan 2016 17:23:20 GMT
|
|
544 | 628 |
Server: |
545 | 629 |
- Apache/2.4.6 (CentOS) |
630 |
Vary: |
|
631 |
- Accept-Encoding |
|
546 | 632 |
Content-Length: |
547 | 633 |
- '358' |
548 | 634 |
Connection: |
549 | 635 |
- close |
550 | 636 |
Content-Type: |
551 |
- application/json |
|
637 |
- application/json; charset=utf-8
|
|
552 | 638 |
body: |
553 |
encoding: UTF-8 |
|
554 |
string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id": |
|
555 |
"integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id": |
|
556 |
"yum_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions": |
|
557 |
[], "binding_config": {}, "_id": {"$oid": "5589e145f115fc042e751ad5"}, "id": |
|
558 |
"5589e145f115fc042e751ad5"}, "error": null}' |
|
639 |
encoding: ASCII-8BIT |
|
640 |
string: !binary |- |
|
641 |
eyJzcGF3bmVkX3Rhc2tzIjogW10sICJyZXN1bHQiOiB7Im5vdGlmeV9hZ2Vu |
|
642 |
dCI6IGZhbHNlLCAicmVwb19pZCI6ICJpbnRlZ3JhdGlvbl90ZXN0X2lkIiwg |
|
643 |
ImRlbGV0ZWQiOiBmYWxzZSwgIl9ucyI6ICJjb25zdW1lcl9iaW5kaW5ncyIs |
|
644 |
ICJkaXN0cmlidXRvcl9pZCI6ICJ5dW1fZGlzdCIsICJjb25zdW1lcl9pZCI6 |
|
645 |
ICJpbnRlZ3JhdGlvbl90ZXN0X2NvbnN1bWVyX3N1cHBvcnQiLCAiY29uc3Vt |
|
646 |
ZXJfYWN0aW9ucyI6IFtdLCAiYmluZGluZ19jb25maWciOiB7fSwgIl9pZCI6 |
|
647 |
IHsiJG9pZCI6ICI1NmFiYTAwOGRlMDQwMzMyYTQ3NmZiOGMifSwgImlkIjog |
|
648 |
IjU2YWJhMDA4ZGUwNDAzMzJhNDc2ZmI4YyJ9LCAiZXJyb3IiOiBudWxsfQ== |
|
559 | 649 |
http_version: |
560 |
recorded_at: Tue, 23 Jun 2015 22:44:21 GMT
|
|
650 |
recorded_at: Fri, 29 Jan 2016 17:23:20 GMT
|
|
561 | 651 |
- request: |
562 | 652 |
method: delete |
563 |
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
|
|
653 |
uri: https://admin:icizRXdtWXs66PqkAXytGFMconvzbE8w@katello-yoda.example.com/pulp/api/v2/consumers/integration_test_consumer_support/
|
|
564 | 654 |
body: |
565 | 655 |
encoding: US-ASCII |
566 | 656 |
string: '' |
... | ... | |
579 | 669 |
message: OK |
580 | 670 |
headers: |
581 | 671 |
Date: |
582 |
- Tue, 23 Jun 2015 22:44:21 GMT
|
|
672 |
- Fri, 29 Jan 2016 17:23:20 GMT
|
|
583 | 673 |
Server: |
584 | 674 |
- Apache/2.4.6 (CentOS) |
585 | 675 |
Content-Length: |
... | ... | |
587 | 677 |
Connection: |
588 | 678 |
- close |
589 | 679 |
Content-Type: |
590 |
- application/json |
|
680 |
- application/json; charset=utf-8
|
|
591 | 681 |
body: |
592 |
encoding: UTF-8
|
|
682 |
encoding: US-ASCII
|
|
593 | 683 |
string: 'null' |
594 | 684 |
http_version: |
595 |
recorded_at: Tue, 23 Jun 2015 22:44:21 GMT |
|
596 |
recorded_with: VCR 2.9.3 |
|
685 |
recorded_at: Fri, 29 Jan 2016 17:23:20 GMT |
|
686 |
recorded_with: VCR 3.0.1 |
Also available in: Unified diff
Fixes #13321 - Updated distribution paths in the tests
Relates to this change https://github.com/pulp/pulp_rpm/blob/master/plugins/pulp_rpm/plugins/distributors/yum/configuration.py#L387
https://pulp.plan.io/issues/1520
https://github.com/pulp/pulp_rpm/commit/dbdc20dc4bfc52e4bc7d2b7a3b2bf2323db63d47