Revision 524638e4
Added by Partha Aji over 5 years ago
test/fixtures/vcr_cassettes/extensions/ostree_repository_create/create_with_distributor_object.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/946633c7-164b-42a1-9f22-eaec7b786778/ |
|
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:21:37 GMT |
|
25 |
Server: |
|
26 |
- Apache/2.4.6 (CentOS) |
|
27 |
Vary: |
|
28 |
- Accept-Encoding |
|
29 |
Content-Length: |
|
30 |
- '691' |
|
31 |
Content-Type: |
|
32 |
- application/json; charset=utf-8 |
|
33 |
body: |
|
34 |
encoding: ASCII-8BIT |
|
35 |
string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete", |
|
36 |
"_href": "/pulp/api/v2/tasks/946633c7-164b-42a1-9f22-eaec7b786778/", "task_id": |
|
37 |
"946633c7-164b-42a1-9f22-eaec7b786778", "tags": ["pulp:repository:integration_test_id_distro", |
|
38 |
"pulp:action:delete"], "finish_time": "2016-04-29T16:21:36Z", "_ns": "task_status", |
|
39 |
"start_time": "2016-04-29T16:21:36Z", "traceback": null, "spawned_tasks": |
|
40 |
[], "progress_report": {}, "queue": "reserved_resource_worker-0@runcible.example.com.dq", |
|
41 |
"state": "finished", "worker_name": "reserved_resource_worker-0@runcible.example.com", |
|
42 |
"result": null, "error": null, "_id": {"$oid": "57238a10898f5c862fa3ea7d"}, |
|
43 |
"id": "57238a10898f5c862fa3ea7d"}' |
|
44 |
http_version: |
|
45 |
recorded_at: Fri, 29 Apr 2016 16:21:37 GMT |
|
46 |
- request: |
|
47 |
method: get |
|
48 |
uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/bb4c26cd-c8c2-42cb-830e-15b415a5244d/ |
|
49 |
body: |
|
50 |
encoding: US-ASCII |
|
51 |
string: '' |
|
52 |
headers: |
|
53 |
Accept: |
|
54 |
- application/json |
|
55 |
Accept-Encoding: |
|
56 |
- gzip, deflate |
|
57 |
Content-Type: |
|
58 |
- application/json |
|
59 |
User-Agent: |
|
60 |
- Ruby |
|
61 |
response: |
|
62 |
status: |
|
63 |
code: 200 |
|
64 |
message: OK |
|
65 |
headers: |
|
66 |
Date: |
|
67 |
- Wed, 01 Feb 2017 12:26:46 GMT |
|
68 |
Server: |
|
69 |
- Apache/2.4.6 (CentOS) |
|
70 |
Vary: |
|
71 |
- Accept-Encoding |
|
72 |
Content-Length: |
|
73 |
- '687' |
|
74 |
Connection: |
|
75 |
- close |
|
76 |
Content-Type: |
|
77 |
- application/json; charset=utf-8 |
|
78 |
body: |
|
79 |
encoding: ASCII-8BIT |
|
80 |
string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete", |
|
81 |
"_href": "/pulp/api/v2/tasks/bb4c26cd-c8c2-42cb-830e-15b415a5244d/", "task_id": |
|
82 |
"bb4c26cd-c8c2-42cb-830e-15b415a5244d", "tags": ["pulp:repository:integration_test_id_distro", |
|
83 |
"pulp:action:delete"], "finish_time": "2017-02-01T12:26:45Z", "_ns": "task_status", |
|
84 |
"start_time": "2017-02-01T12:26:45Z", "traceback": null, "spawned_tasks": |
|
85 |
[], "progress_report": {}, "queue": "reserved_resource_worker-1@obelix.example.com.dq", |
|
86 |
"state": "finished", "worker_name": "reserved_resource_worker-1@obelix.example.com", |
|
87 |
"result": null, "error": null, "_id": {"$oid": "5891d4054b92d9e3004e81c1"}, |
|
88 |
"id": "5891d4054b92d9e3004e81c1"}' |
|
89 |
http_version: |
|
90 |
recorded_at: Wed, 01 Feb 2017 12:26:46 GMT |
|
91 |
- request: |
|
92 |
method: get |
|
93 |
uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/fe06bccb-f168-4152-b65b-173a4a8fd97f/ |
|
94 |
body: |
|
95 |
encoding: US-ASCII |
|
96 |
string: '' |
|
97 |
headers: |
|
98 |
Accept: |
|
99 |
- application/json |
|
100 |
Accept-Encoding: |
|
101 |
- gzip, deflate |
|
102 |
Content-Type: |
|
103 |
- application/json |
|
104 |
User-Agent: |
|
105 |
- Ruby |
|
106 |
response: |
|
107 |
status: |
|
108 |
code: 200 |
|
109 |
message: OK |
|
110 |
headers: |
|
111 |
Date: |
|
112 |
- Wed, 01 Feb 2017 12:28:31 GMT |
|
113 |
Server: |
|
114 |
- Apache/2.4.6 (CentOS) |
|
115 |
Vary: |
|
116 |
- Accept-Encoding |
|
117 |
Content-Length: |
|
118 |
- '687' |
|
119 |
Connection: |
|
120 |
- close |
|
121 |
Content-Type: |
|
122 |
- application/json; charset=utf-8 |
|
123 |
body: |
|
124 |
encoding: ASCII-8BIT |
|
125 |
string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete", |
|
126 |
"_href": "/pulp/api/v2/tasks/fe06bccb-f168-4152-b65b-173a4a8fd97f/", "task_id": |
|
127 |
"fe06bccb-f168-4152-b65b-173a4a8fd97f", "tags": ["pulp:repository:integration_test_id_distro", |
|
128 |
"pulp:action:delete"], "finish_time": "2017-02-01T12:28:30Z", "_ns": "task_status", |
|
129 |
"start_time": "2017-02-01T12:28:30Z", "traceback": null, "spawned_tasks": |
|
130 |
[], "progress_report": {}, "queue": "reserved_resource_worker-1@obelix.example.com.dq", |
|
131 |
"state": "finished", "worker_name": "reserved_resource_worker-1@obelix.example.com", |
|
132 |
"result": null, "error": null, "_id": {"$oid": "5891d46e4b92d9e3004e81c9"}, |
|
133 |
"id": "5891d46e4b92d9e3004e81c9"}' |
|
134 |
http_version: |
|
135 |
recorded_at: Wed, 01 Feb 2017 12:28:31 GMT |
|
136 |
- request: |
|
137 |
method: get |
|
138 |
uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/44d05a49-53d1-430d-812a-82429747e4cb/ |
|
139 |
body: |
|
140 |
encoding: US-ASCII |
|
141 |
string: '' |
|
142 |
headers: |
|
143 |
Accept: |
|
144 |
- application/json |
|
145 |
Accept-Encoding: |
|
146 |
- gzip, deflate |
|
147 |
Content-Type: |
|
148 |
- application/json |
|
149 |
User-Agent: |
|
150 |
- Ruby |
|
151 |
response: |
|
152 |
status: |
|
153 |
code: 200 |
|
154 |
message: OK |
|
155 |
headers: |
|
156 |
Date: |
|
157 |
- Wed, 01 Feb 2017 12:29:00 GMT |
|
158 |
Server: |
|
159 |
- Apache/2.4.6 (CentOS) |
|
160 |
Vary: |
|
161 |
- Accept-Encoding |
|
162 |
Content-Length: |
|
163 |
- '687' |
|
164 |
Connection: |
|
165 |
- close |
|
166 |
Content-Type: |
|
167 |
- application/json; charset=utf-8 |
|
168 |
body: |
|
169 |
encoding: ASCII-8BIT |
|
170 |
string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete", |
|
171 |
"_href": "/pulp/api/v2/tasks/44d05a49-53d1-430d-812a-82429747e4cb/", "task_id": |
|
172 |
"44d05a49-53d1-430d-812a-82429747e4cb", "tags": ["pulp:repository:integration_test_id_distro", |
|
173 |
"pulp:action:delete"], "finish_time": "2017-02-01T12:28:59Z", "_ns": "task_status", |
|
174 |
"start_time": "2017-02-01T12:28:59Z", "traceback": null, "spawned_tasks": |
|
175 |
[], "progress_report": {}, "queue": "reserved_resource_worker-1@obelix.example.com.dq", |
|
176 |
"state": "finished", "worker_name": "reserved_resource_worker-1@obelix.example.com", |
|
177 |
"result": null, "error": null, "_id": {"$oid": "5891d48b4b92d9e3004e81d5"}, |
|
178 |
"id": "5891d48b4b92d9e3004e81d5"}' |
|
179 |
http_version: |
|
180 |
recorded_at: Wed, 01 Feb 2017 12:29:00 GMT |
|
181 |
- request: |
|
4 | 182 |
method: post |
5 |
uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/repositories/
|
|
183 |
uri: https://admin:admin@obelix.example.com/pulp/api/v2/repositories/
|
|
6 | 184 |
body: |
7 | 185 |
encoding: UTF-8 |
8 | 186 |
string: '{"id":"integration_test_id_distro","distributors":[{"distributor_type_id":"ostree_web_distributor","distributor_config":{"ostree_publish_directory":"/path","relative_path":"/relative_path"},"auto_publish":false,"distributor_id":"123"}]}' |
... | ... | |
23 | 201 |
message: CREATED |
24 | 202 |
headers: |
25 | 203 |
Date: |
26 |
- Fri, 29 Apr 2016 16:21:36 GMT
|
|
204 |
- Wed, 01 Feb 2017 12:30:52 GMT
|
|
27 | 205 |
Server: |
28 | 206 |
- Apache/2.4.6 (CentOS) |
29 | 207 |
Content-Length: |
30 | 208 |
- '340' |
31 | 209 |
Location: |
32 |
- https://runcible.example.com/pulp/api/v2/repositories/integration_test_id_distro/ |
|
210 |
- https://obelix.example.com/pulp/api/v2/repositories/integration_test_id_distro/ |
|
211 |
Connection: |
|
212 |
- close |
|
33 | 213 |
Content-Type: |
34 | 214 |
- application/json; charset=utf-8 |
35 | 215 |
body: |
36 | 216 |
encoding: UTF-8 |
37 | 217 |
string: '{"scratchpad": {}, "display_name": "integration_test_id_distro", "description": |
38 | 218 |
null, "last_unit_added": null, "notes": {}, "last_unit_removed": null, "content_unit_counts": |
39 |
{}, "_ns": "repos", "_id": {"$oid": "57238a10aca4886d96d97ebc"}, "id": "integration_test_id_distro",
|
|
219 |
{}, "_ns": "repos", "_id": {"$oid": "5891d4fc70be6f18c88f24be"}, "id": "integration_test_id_distro",
|
|
40 | 220 |
"_href": "/pulp/api/v2/repositories/integration_test_id_distro/"}' |
41 | 221 |
http_version: |
42 |
recorded_at: Fri, 29 Apr 2016 16:21:36 GMT
|
|
222 |
recorded_at: Wed, 01 Feb 2017 12:30:52 GMT
|
|
43 | 223 |
- request: |
44 | 224 |
method: get |
45 |
uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/repositories/integration_test_id_distro/?details=true
|
|
225 |
uri: https://admin:admin@obelix.example.com/pulp/api/v2/repositories/integration_test_id_distro/?details=true
|
|
46 | 226 |
body: |
47 | 227 |
encoding: US-ASCII |
48 | 228 |
string: '' |
... | ... | |
61 | 241 |
message: OK |
62 | 242 |
headers: |
63 | 243 |
Date: |
64 |
- Fri, 29 Apr 2016 16:21:36 GMT
|
|
244 |
- Wed, 01 Feb 2017 12:30:52 GMT
|
|
65 | 245 |
Server: |
66 | 246 |
- Apache/2.4.6 (CentOS) |
67 | 247 |
Vary: |
68 | 248 |
- Accept-Encoding |
69 | 249 |
Content-Length: |
70 |
- '839' |
|
250 |
- '907' |
|
251 |
Connection: |
|
252 |
- close |
|
71 | 253 |
Content-Type: |
72 | 254 |
- application/json; charset=utf-8 |
73 | 255 |
body: |
74 | 256 |
encoding: ASCII-8BIT |
75 | 257 |
string: '{"scratchpad": {}, "display_name": "integration_test_id_distro", "description": |
76 |
null, "distributors": [{"repo_id": "integration_test_id_distro", "_href": |
|
77 |
"/pulp/api/v2/repositories/integration_test_id_distro/distributors/123/", |
|
78 |
"_ns": "repo_distributors", "last_publish": null, "distributor_type_id": "ostree_web_distributor", |
|
79 |
"auto_publish": false, "scratchpad": {}, "_id": {"$oid": "57238a10aca4886d96d97ebd"}, |
|
80 |
"config": {"ostree_publish_directory": "/path", "relative_path": "/relative_path"}, |
|
81 |
"id": "123"}], "last_unit_added": null, "notes": {}, "last_unit_removed": |
|
82 |
null, "content_unit_counts": {}, "_ns": "repos", "importers": [], "locally_stored_units": |
|
83 |
0, "_id": {"$oid": "57238a10aca4886d96d97ebc"}, "total_repository_units": |
|
84 |
0, "id": "integration_test_id_distro", "_href": "/pulp/api/v2/repositories/integration_test_id_distro/"}' |
|
258 |
null, "distributors": [{"repo_id": "integration_test_id_distro", "last_updated": |
|
259 |
"2017-02-01T12:30:52Z", "_href": "/pulp/api/v2/repositories/integration_test_id_distro/distributors/123/", |
|
260 |
"last_override_config": {}, "last_publish": null, "distributor_type_id": "ostree_web_distributor", |
|
261 |
"auto_publish": false, "scratchpad": {}, "_ns": "repo_distributors", "_id": |
|
262 |
{"$oid": "5891d4fc70be6f18c88f24bf"}, "config": {"ostree_publish_directory": |
|
263 |
"/path", "relative_path": "/relative_path"}, "id": "123"}], "last_unit_added": |
|
264 |
null, "notes": {}, "last_unit_removed": null, "content_unit_counts": {}, "_ns": |
|
265 |
"repos", "importers": [], "locally_stored_units": 0, "_id": {"$oid": "5891d4fc70be6f18c88f24be"}, |
|
266 |
"total_repository_units": 0, "id": "integration_test_id_distro", "_href": |
|
267 |
"/pulp/api/v2/repositories/integration_test_id_distro/"}' |
|
85 | 268 |
http_version: |
86 |
recorded_at: Fri, 29 Apr 2016 16:21:36 GMT
|
|
269 |
recorded_at: Wed, 01 Feb 2017 12:30:52 GMT
|
|
87 | 270 |
- request: |
88 | 271 |
method: delete |
89 |
uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/repositories/integration_test_id_distro/
|
|
272 |
uri: https://admin:admin@obelix.example.com/pulp/api/v2/repositories/integration_test_id_distro/
|
|
90 | 273 |
body: |
91 | 274 |
encoding: US-ASCII |
92 | 275 |
string: '' |
... | ... | |
105 | 288 |
message: ACCEPTED |
106 | 289 |
headers: |
107 | 290 |
Date: |
108 |
- Fri, 29 Apr 2016 16:21:36 GMT
|
|
291 |
- Wed, 01 Feb 2017 12:30:52 GMT
|
|
109 | 292 |
Server: |
110 | 293 |
- Apache/2.4.6 (CentOS) |
111 | 294 |
Content-Length: |
112 | 295 |
- '172' |
296 |
Connection: |
|
297 |
- close |
|
113 | 298 |
Content-Type: |
114 | 299 |
- application/json; charset=utf-8 |
115 | 300 |
body: |
116 | 301 |
encoding: UTF-8 |
117 |
string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/946633c7-164b-42a1-9f22-eaec7b786778/",
|
|
118 |
"task_id": "946633c7-164b-42a1-9f22-eaec7b786778"}], "result": null, "error":
|
|
302 |
string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/2b1c7820-9365-4fec-b2cd-0ff5295bb1c0/",
|
|
303 |
"task_id": "2b1c7820-9365-4fec-b2cd-0ff5295bb1c0"}], "result": null, "error":
|
|
119 | 304 |
null}' |
120 | 305 |
http_version: |
121 |
recorded_at: Fri, 29 Apr 2016 16:21:36 GMT
|
|
306 |
recorded_at: Wed, 01 Feb 2017 12:30:52 GMT
|
|
122 | 307 |
- request: |
123 | 308 |
method: get |
124 |
uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/tasks/946633c7-164b-42a1-9f22-eaec7b786778/
|
|
309 |
uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/2b1c7820-9365-4fec-b2cd-0ff5295bb1c0/
|
|
125 | 310 |
body: |
126 | 311 |
encoding: US-ASCII |
127 | 312 |
string: '' |
... | ... | |
140 | 325 |
message: OK |
141 | 326 |
headers: |
142 | 327 |
Date: |
143 |
- Fri, 29 Apr 2016 16:21:37 GMT
|
|
328 |
- Wed, 01 Feb 2017 12:30:52 GMT
|
|
144 | 329 |
Server: |
145 | 330 |
- Apache/2.4.6 (CentOS) |
146 | 331 |
Vary: |
147 | 332 |
- Accept-Encoding |
148 | 333 |
Content-Length: |
149 |
- '691' |
|
334 |
- '687' |
|
335 |
Connection: |
|
336 |
- close |
|
150 | 337 |
Content-Type: |
151 | 338 |
- application/json; charset=utf-8 |
152 | 339 |
body: |
153 | 340 |
encoding: ASCII-8BIT |
154 | 341 |
string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete", |
155 |
"_href": "/pulp/api/v2/tasks/946633c7-164b-42a1-9f22-eaec7b786778/", "task_id":
|
|
156 |
"946633c7-164b-42a1-9f22-eaec7b786778", "tags": ["pulp:repository:integration_test_id_distro",
|
|
157 |
"pulp:action:delete"], "finish_time": "2016-04-29T16:21:36Z", "_ns": "task_status",
|
|
158 |
"start_time": "2016-04-29T16:21:36Z", "traceback": null, "spawned_tasks":
|
|
159 |
[], "progress_report": {}, "queue": "reserved_resource_worker-0@runcible.example.com.dq",
|
|
160 |
"state": "finished", "worker_name": "reserved_resource_worker-0@runcible.example.com",
|
|
161 |
"result": null, "error": null, "_id": {"$oid": "57238a10898f5c862fa3ea7d"},
|
|
162 |
"id": "57238a10898f5c862fa3ea7d"}'
|
|
342 |
"_href": "/pulp/api/v2/tasks/2b1c7820-9365-4fec-b2cd-0ff5295bb1c0/", "task_id":
|
|
343 |
"2b1c7820-9365-4fec-b2cd-0ff5295bb1c0", "tags": ["pulp:repository:integration_test_id_distro",
|
|
344 |
"pulp:action:delete"], "finish_time": "2017-02-01T12:30:52Z", "_ns": "task_status",
|
|
345 |
"start_time": "2017-02-01T12:30:52Z", "traceback": null, "spawned_tasks":
|
|
346 |
[], "progress_report": {}, "queue": "reserved_resource_worker-1@obelix.example.com.dq",
|
|
347 |
"state": "finished", "worker_name": "reserved_resource_worker-1@obelix.example.com",
|
|
348 |
"result": null, "error": null, "_id": {"$oid": "5891d4fc4b92d9e3004e81de"},
|
|
349 |
"id": "5891d4fc4b92d9e3004e81de"}'
|
|
163 | 350 |
http_version: |
164 |
recorded_at: Fri, 29 Apr 2016 16:21:37 GMT
|
|
351 |
recorded_at: Wed, 01 Feb 2017 12:30:52 GMT
|
|
165 | 352 |
- request: |
166 | 353 |
method: delete |
167 |
uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/repositories/integration_test_id/
|
|
354 |
uri: https://admin:admin@obelix.example.com/pulp/api/v2/repositories/integration_test_id/
|
|
168 | 355 |
body: |
169 | 356 |
encoding: US-ASCII |
170 | 357 |
string: '' |
... | ... | |
183 | 370 |
message: NOT FOUND |
184 | 371 |
headers: |
185 | 372 |
Date: |
186 |
- Fri, 29 Apr 2016 16:21:37 GMT
|
|
373 |
- Wed, 01 Feb 2017 12:30:52 GMT
|
|
187 | 374 |
Server: |
188 | 375 |
- Apache/2.4.6 (CentOS) |
189 |
Content-Encoding: |
|
190 |
- utf-8 |
|
191 | 376 |
Content-Length: |
192 | 377 |
- '454' |
378 |
Connection: |
|
379 |
- close |
|
193 | 380 |
Content-Type: |
194 | 381 |
- application/json; charset=utf-8 |
195 | 382 |
body: |
... | ... | |
200 | 387 |
"integration_test_id"}}, "description": "Missing resource(s): repository=integration_test_id", |
201 | 388 |
"sub_errors": []}, "traceback": null, "resources": {"repository": "integration_test_id"}}' |
202 | 389 |
http_version: |
203 |
recorded_at: Fri, 29 Apr 2016 16:21:37 GMT |
|
204 |
recorded_with: VCR 3.0.1 |
|
390 |
recorded_at: Wed, 01 Feb 2017 12:30:52 GMT |
|
391 |
recorded_with: VCR 3.0.3 |
Also available in: Unified diff
Fixes #18076 - Can set OSTree repo depth
Enables one to set the importer depth value for the ostree repo.
look at http://projects.theforeman.org/issues/18076 for more info.