Revision 085c9956
Added by Eric Helms about 11 years ago
test/fixtures/vcr_cassettes/extensions/erratum_repository_associate.yml | ||
---|---|---|
method: post
|
||
uri: https://admin:admin@localhost/pulp/api/v2/repositories/
|
||
body:
|
||
string: "{\"importer_config\":{},\"id\":\"integration_test_id_clone\",\"importer_type_id\":\"yum_importer\"}"
|
||
encoding: US-ASCII
|
||
string: "{\"id\":\"integration_test_id_clone\",\"importer_type_id\":\"yum_importer\",\"importer_config\":{}}"
|
||
headers:
|
||
Content-Length:
|
||
- "89"
|
||
Content-Type:
|
||
- application/json
|
||
Accept:
|
||
- application/json
|
||
Accept-Encoding:
|
||
- gzip, deflate
|
||
Content-Type:
|
||
- application/json
|
||
Content-Length:
|
||
- "89"
|
||
User-Agent:
|
||
- Ruby
|
||
response:
|
||
status:
|
||
code: 201
|
||
message: Created
|
||
headers:
|
||
Content-Length:
|
||
- "283"
|
||
Date:
|
||
- Tue, 26 Feb 2013 00:55:18 GMT
|
||
Content-Type:
|
||
- application/json
|
||
- Mon, 18 Mar 2013 17:31:25 GMT
|
||
Server:
|
||
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
|
||
Location:
|
||
- integration_test_id_clone
|
||
Server:
|
||
- Apache/2.2.22 (Fedora)
|
||
Content-Length:
|
||
- "285"
|
||
Content-Type:
|
||
- application/json
|
||
body:
|
||
string: "{\"scratchpad\": {}, \"display_name\": \"integration_test_id_clone\", \"description\": null, \"_ns\": \"repos\", \"notes\": {}, \"content_unit_count\": 0, \"_id\": {\"$oid\": \"512c07f69c60ed7441002e9c\"}, \"id\": \"integration_test_id_clone\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id_clone/\"}"
|
||
encoding: US-ASCII
|
||
string: "{\"scratchpad\": {}, \"display_name\": \"integration_test_id_clone\", \"description\": null, \"_ns\": \"repos\", \"notes\": {}, \"content_unit_counts\": {}, \"_id\": {\"$oid\": \"51474f6d4964c84cd4fd5b70\"}, \"id\": \"integration_test_id_clone\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id_clone/\"}"
|
||
http_version:
|
||
recorded_at: Tue, 26 Feb 2013 00:55:18 GMT
|
||
recorded_at: Mon, 18 Mar 2013 17:31:25 GMT
|
||
- request:
|
||
method: post
|
||
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id_clone/actions/associate/
|
||
body:
|
||
string: "{\"criteria\":{\"filters\":{},\"type_ids\":[\"erratum\"]},\"source_repo_id\":\"integration_test_id\"}"
|
||
encoding: US-ASCII
|
||
string: "{\"source_repo_id\":\"integration_test_id\",\"criteria\":{\"type_ids\":[\"erratum\"],\"filters\":{}}}"
|
||
headers:
|
||
Content-Length:
|
||
- "89"
|
||
Content-Type:
|
||
- application/json
|
||
Accept:
|
||
- application/json
|
||
Accept-Encoding:
|
||
- gzip, deflate
|
||
Content-Type:
|
||
- application/json
|
||
Content-Length:
|
||
- "89"
|
||
User-Agent:
|
||
- Ruby
|
||
response:
|
||
status:
|
||
code: 202
|
||
message: Accepted
|
||
headers:
|
||
Date:
|
||
- Mon, 18 Mar 2013 17:31:25 GMT
|
||
Server:
|
||
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
|
||
Content-Encoding:
|
||
- utf-8
|
||
Content-Length:
|
||
- "730"
|
||
Date:
|
||
- Tue, 26 Feb 2013 00:55:18 GMT
|
||
Content-Type:
|
||
- application/json
|
||
Content-Encoding:
|
||
- utf-8
|
||
Server:
|
||
- Apache/2.2.22 (Fedora)
|
||
body:
|
||
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/8923b681-083d-43fb-a4c7-3e70b931cf63/\", \"task_id\": \"8923b681-083d-43fb-a4c7-3e70b931cf63\", \"call_request_tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:repository:integration_test_id\", \"pulp:action:associate\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:repository:integration_test_id\", \"pulp:action:associate\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"8923b681-083d-43fb-a4c7-3e70b931cf63\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
|
||
encoding: US-ASCII
|
||
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/162854b1-1f3e-4b07-bdcf-89b02c4f9a1c/\", \"task_id\": \"162854b1-1f3e-4b07-bdcf-89b02c4f9a1c\", \"call_request_tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:repository:integration_test_id\", \"pulp:action:associate\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:repository:integration_test_id\", \"pulp:action:associate\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"162854b1-1f3e-4b07-bdcf-89b02c4f9a1c\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
|
||
http_version:
|
||
recorded_at: Tue, 26 Feb 2013 00:55:18 GMT
|
||
recorded_with: VCR 2.3.0
|
||
recorded_at: Mon, 18 Mar 2013 17:31:26 GMT
|
||
recorded_with: VCR 2.4.0
|
Also available in: Unified diff
Pulp2.1 - Updates to how consumer group content tests are handled
to test them properly.