Project

General

Profile

« Previous | Next » 

Revision 085c9956

Added by Eric Helms about 11 years ago

Pulp2.1 - Updates to how consumer group content tests are handled
to test them properly.

View differences:

test/fixtures/vcr_cassettes/extensions/package_group_repository_unassociate.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:55 GMT
Content-Type:
- application/json
- Mon, 18 Mar 2013 17:32:03 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\": \"512c081b9c60ed7441002ff0\"}, \"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\": \"51474f934964c84cd4fd5cf9\"}, \"id\": \"integration_test_id_clone\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id_clone/\"}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:55:55 GMT
recorded_at: Mon, 18 Mar 2013 17:32:03 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id_clone/actions/associate/
body:
encoding: US-ASCII
string: "{\"source_repo_id\":\"integration_test_id\"}"
headers:
Content-Length:
- "40"
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "40"
User-Agent:
- Ruby
response:
status:
code: 202
message: Accepted
headers:
Date:
- Mon, 18 Mar 2013 17:32:03 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:55 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/505f2d78-b156-4b51-8952-45e7f5d3c89d/\", \"task_id\": \"505f2d78-b156-4b51-8952-45e7f5d3c89d\", \"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\": \"505f2d78-b156-4b51-8952-45e7f5d3c89d\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
encoding: US-ASCII
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/a3677ccd-8193-4262-a5be-8b043e97d409/\", \"task_id\": \"a3677ccd-8193-4262-a5be-8b043e97d409\", \"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\": \"a3677ccd-8193-4262-a5be-8b043e97d409\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:55:55 GMT
recorded_at: Mon, 18 Mar 2013 17:32:03 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/search/units/
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id_clone/search/units/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"package_group\"]}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "43"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 18 Mar 2013 17:32:05 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "3532"
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "[{\"updated\": \"2013-03-18T21:32:03Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-03-18T21:32:03Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"5d6c31b3-e2c5-431f-942b-e3be7b4c5051\", \"unit_type_id\": \"package_group\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"51474f934964c84cd4fd5d12\"}, \"id\": \"51474f934964c84cd4fd5d12\", \"owner_id\": \"admin\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"penguin\"], \"repo_id\": \"integration_test_id\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"5d6c31b3-e2c5-431f-942b-e3be7b4c5051\", \"id\": \"bird\", \"name\": \"bird\"}}, {\"updated\": \"2013-03-18T21:32:03Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-03-18T21:32:03Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"5f2c6883-41da-4fd1-a3f8-3024c729a1a0\", \"unit_type_id\": \"package_group\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"51474f934964c84cd4fd5d18\"}, \"id\": \"51474f934964c84cd4fd5d18\", \"owner_id\": \"admin\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"penguin\"], \"repo_id\": \"integration_test_id_clone\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"5f2c6883-41da-4fd1-a3f8-3024c729a1a0\", \"id\": \"bird\", \"name\": \"bird\"}}, {\"updated\": \"2013-03-18T21:32:03Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-03-18T21:32:03Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"e7e7a774-f9d0-45ad-a7d9-06bf3c75ec30\", \"unit_type_id\": \"package_group\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"51474f934964c84cd4fd5d0d\"}, \"id\": \"51474f934964c84cd4fd5d0d\", \"owner_id\": \"admin\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"elephant,giraffe,cheetah,lion,monkey,penguin,squirrel,walrus\", \"penguin\"], \"repo_id\": \"integration_test_id\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"e7e7a774-f9d0-45ad-a7d9-06bf3c75ec30\", \"id\": \"mammal\", \"name\": \"mammal\"}}, {\"updated\": \"2013-03-18T21:32:03Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-03-18T21:32:03Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"0a873484-d9ca-4226-aef0-f376a57f70d6\", \"unit_type_id\": \"package_group\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"51474f934964c84cd4fd5d15\"}, \"id\": \"51474f934964c84cd4fd5d15\", \"owner_id\": \"admin\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"elephant,giraffe,cheetah,lion,monkey,penguin,squirrel,walrus\", \"penguin\"], \"repo_id\": \"integration_test_id_clone\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"0a873484-d9ca-4226-aef0-f376a57f70d6\", \"id\": \"mammal\", \"name\": \"mammal\"}}]"
http_version:
recorded_at: Mon, 18 Mar 2013 17:32:05 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id_clone/actions/associate/
body:
encoding: US-ASCII
string: "{\"source_repo_id\":\"integration_test_id\"}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "40"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
code: 202
message: Accepted
headers:
Content-Length:
- "1770"
Date:
- Tue, 26 Feb 2013 00:55:57 GMT
- Mon, 18 Mar 2013 17:32:06 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"
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
body:
string: "[{\"updated\": \"2013-02-26T05:55:53Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-02-26T05:55:53Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"2d295788-a0ec-4017-8e9c-d3bed7effa04\", \"unit_type_id\": \"package_group\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"512c08199c60ed7441002fe4\"}, \"id\": \"512c08199c60ed7441002fe4\", \"owner_id\": \"yum_importer\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"penguin\"], \"repo_id\": \"integration_test_id\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"2d295788-a0ec-4017-8e9c-d3bed7effa04\", \"id\": \"bird\", \"name\": \"bird\"}}, {\"updated\": \"2013-02-26T05:55:53Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-02-26T05:55:53Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"85ab2c08-9ca7-4a11-b37c-caa43ff94c38\", \"unit_type_id\": \"package_group\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"512c08199c60ed7441002fe3\"}, \"id\": \"512c08199c60ed7441002fe3\", \"owner_id\": \"yum_importer\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"elephant,giraffe,cheetah,lion,monkey,penguin,squirrel,walrus\", \"penguin\"], \"repo_id\": \"integration_test_id\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"85ab2c08-9ca7-4a11-b37c-caa43ff94c38\", \"id\": \"mammal\", \"name\": \"mammal\"}}]"
encoding: US-ASCII
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/3c9c5a6c-2f89-4684-b883-93dab090a364/\", \"task_id\": \"3c9c5a6c-2f89-4684-b883-93dab090a364\", \"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\": \"3c9c5a6c-2f89-4684-b883-93dab090a364\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:55:58 GMT
recorded_at: Mon, 18 Mar 2013 17:32:06 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id_clone/actions/unassociate/
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id_clone/search/units/
body:
string: "{\"criteria\":{\"filters\":{\"unit\":{\"id\":{\"$in\":[\"bird\"]}}},\"type_ids\":[\"package_group\"]}}"
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"package_group\"]}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "43"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 18 Mar 2013 17:32:08 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "86"
- "3532"
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "[{\"updated\": \"2013-03-18T21:32:03Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-03-18T21:32:03Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"5d6c31b3-e2c5-431f-942b-e3be7b4c5051\", \"unit_type_id\": \"package_group\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"51474f934964c84cd4fd5d12\"}, \"id\": \"51474f934964c84cd4fd5d12\", \"owner_id\": \"admin\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"penguin\"], \"repo_id\": \"integration_test_id\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"5d6c31b3-e2c5-431f-942b-e3be7b4c5051\", \"id\": \"bird\", \"name\": \"bird\"}}, {\"updated\": \"2013-03-18T21:32:03Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-03-18T21:32:03Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"5f2c6883-41da-4fd1-a3f8-3024c729a1a0\", \"unit_type_id\": \"package_group\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"51474f934964c84cd4fd5d18\"}, \"id\": \"51474f934964c84cd4fd5d18\", \"owner_id\": \"admin\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"penguin\"], \"repo_id\": \"integration_test_id_clone\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"5f2c6883-41da-4fd1-a3f8-3024c729a1a0\", \"id\": \"bird\", \"name\": \"bird\"}}, {\"updated\": \"2013-03-18T21:32:03Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-03-18T21:32:03Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"e7e7a774-f9d0-45ad-a7d9-06bf3c75ec30\", \"unit_type_id\": \"package_group\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"51474f934964c84cd4fd5d0d\"}, \"id\": \"51474f934964c84cd4fd5d0d\", \"owner_id\": \"admin\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"elephant,giraffe,cheetah,lion,monkey,penguin,squirrel,walrus\", \"penguin\"], \"repo_id\": \"integration_test_id\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"e7e7a774-f9d0-45ad-a7d9-06bf3c75ec30\", \"id\": \"mammal\", \"name\": \"mammal\"}}, {\"updated\": \"2013-03-18T21:32:03Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-03-18T21:32:03Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"0a873484-d9ca-4226-aef0-f376a57f70d6\", \"unit_type_id\": \"package_group\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"51474f934964c84cd4fd5d15\"}, \"id\": \"51474f934964c84cd4fd5d15\", \"owner_id\": \"admin\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"elephant,giraffe,cheetah,lion,monkey,penguin,squirrel,walrus\", \"penguin\"], \"repo_id\": \"integration_test_id_clone\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"0a873484-d9ca-4226-aef0-f376a57f70d6\", \"id\": \"mammal\", \"name\": \"mammal\"}}]"
http_version:
recorded_at: Mon, 18 Mar 2013 17:32:08 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id_clone/actions/unassociate/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"package_group\"],\"filters\":{\"association\":{\"unit_id\":{\"$in\":[\"5d6c31b3-e2c5-431f-942b-e3be7b4c5051\"]}}}}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "130"
User-Agent:
- Ruby
response:
status:
code: 202
message: Accepted
headers:
Date:
- Mon, 18 Mar 2013 17:32:08 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:
- "656"
Date:
- Tue, 26 Feb 2013 00:55:58 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/b0a3c09d-deaf-4de3-90a4-f2c034dd31a8/\", \"task_id\": \"b0a3c09d-deaf-4de3-90a4-f2c034dd31a8\", \"call_request_tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:action:unassociate\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:action:unassociate\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"b0a3c09d-deaf-4de3-90a4-f2c034dd31a8\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
encoding: US-ASCII
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/3b042c92-ad84-4a89-b8fe-bb1eb8c712fa/\", \"task_id\": \"3b042c92-ad84-4a89-b8fe-bb1eb8c712fa\", \"call_request_tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:action:unassociate\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:action:unassociate\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"3b042c92-ad84-4a89-b8fe-bb1eb8c712fa\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:55:58 GMT
recorded_at: Mon, 18 Mar 2013 17:32:08 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id_clone/search/units/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"package_group\"]}}"
headers:
Content-Length:
- "43"
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "43"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Content-Length:
- "914"
Date:
- Tue, 26 Feb 2013 00:55:59 GMT
- Mon, 18 Mar 2013 17:32:10 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "2686"
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
body:
string: "[{\"updated\": \"2013-02-26T05:55:55Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-02-26T05:55:55Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"85ab2c08-9ca7-4a11-b37c-caa43ff94c38\", \"unit_type_id\": \"package_group\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"512c081b9c60ed7441003005\"}, \"id\": \"512c081b9c60ed7441003005\", \"owner_id\": \"admin\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"elephant,giraffe,cheetah,lion,monkey,penguin,squirrel,walrus\", \"penguin\"], \"repo_id\": \"integration_test_id\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"85ab2c08-9ca7-4a11-b37c-caa43ff94c38\", \"id\": \"mammal\", \"name\": \"mammal\"}}]"
encoding: US-ASCII
string: "[{\"updated\": \"2013-03-18T21:32:03Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-03-18T21:32:03Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"5f2c6883-41da-4fd1-a3f8-3024c729a1a0\", \"unit_type_id\": \"package_group\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"51474f934964c84cd4fd5d18\"}, \"id\": \"51474f934964c84cd4fd5d18\", \"owner_id\": \"admin\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"penguin\"], \"repo_id\": \"integration_test_id_clone\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"5f2c6883-41da-4fd1-a3f8-3024c729a1a0\", \"id\": \"bird\", \"name\": \"bird\"}}, {\"updated\": \"2013-03-18T21:32:03Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-03-18T21:32:03Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"e7e7a774-f9d0-45ad-a7d9-06bf3c75ec30\", \"unit_type_id\": \"package_group\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"51474f934964c84cd4fd5d0d\"}, \"id\": \"51474f934964c84cd4fd5d0d\", \"owner_id\": \"admin\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"elephant,giraffe,cheetah,lion,monkey,penguin,squirrel,walrus\", \"penguin\"], \"repo_id\": \"integration_test_id\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"e7e7a774-f9d0-45ad-a7d9-06bf3c75ec30\", \"id\": \"mammal\", \"name\": \"mammal\"}}, {\"updated\": \"2013-03-18T21:32:03Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-03-18T21:32:03Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"0a873484-d9ca-4226-aef0-f376a57f70d6\", \"unit_type_id\": \"package_group\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"51474f934964c84cd4fd5d15\"}, \"id\": \"51474f934964c84cd4fd5d15\", \"owner_id\": \"admin\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"elephant,giraffe,cheetah,lion,monkey,penguin,squirrel,walrus\", \"penguin\"], \"repo_id\": \"integration_test_id_clone\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"0a873484-d9ca-4226-aef0-f376a57f70d6\", \"id\": \"mammal\", \"name\": \"mammal\"}}]"
http_version:
recorded_at: Tue, 26 Feb 2013 00:56:00 GMT
recorded_at: Mon, 18 Mar 2013 17:32:10 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/search/units/
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id_clone/actions/associate/
body:
string: "{\"criteria\":{\"type_ids\":[\"package_group\"]}}"
encoding: US-ASCII
string: "{\"source_repo_id\":\"integration_test_id\"}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "40"
User-Agent:
- Ruby
response:
status:
code: 202
message: Accepted
headers:
Date:
- Mon, 18 Mar 2013 17:32:10 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:
- "43"
- "730"
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/764aab5c-bd79-489e-87a7-7547a7f01c27/\", \"task_id\": \"764aab5c-bd79-489e-87a7-7547a7f01c27\", \"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\": \"764aab5c-bd79-489e-87a7-7547a7f01c27\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
http_version:
recorded_at: Mon, 18 Mar 2013 17:32:10 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id_clone/search/units/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"package_group\"]}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "43"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Content-Length:
- "1770"
Date:
- Tue, 26 Feb 2013 00:56:00 GMT
- Mon, 18 Mar 2013 17:32:12 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "3532"
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
body:
string: "[{\"updated\": \"2013-02-26T05:55:53Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-02-26T05:55:53Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"2d295788-a0ec-4017-8e9c-d3bed7effa04\", \"unit_type_id\": \"package_group\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"512c08199c60ed7441002fe4\"}, \"id\": \"512c08199c60ed7441002fe4\", \"owner_id\": \"yum_importer\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"penguin\"], \"repo_id\": \"integration_test_id\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"2d295788-a0ec-4017-8e9c-d3bed7effa04\", \"id\": \"bird\", \"name\": \"bird\"}}, {\"updated\": \"2013-02-26T05:55:53Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-02-26T05:55:53Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"85ab2c08-9ca7-4a11-b37c-caa43ff94c38\", \"unit_type_id\": \"package_group\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"512c08199c60ed7441002fe3\"}, \"id\": \"512c08199c60ed7441002fe3\", \"owner_id\": \"yum_importer\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"elephant,giraffe,cheetah,lion,monkey,penguin,squirrel,walrus\", \"penguin\"], \"repo_id\": \"integration_test_id\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"85ab2c08-9ca7-4a11-b37c-caa43ff94c38\", \"id\": \"mammal\", \"name\": \"mammal\"}}]"
encoding: US-ASCII
string: "[{\"updated\": \"2013-03-18T21:32:10Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-03-18T21:32:10Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"5d6c31b3-e2c5-431f-942b-e3be7b4c5051\", \"unit_type_id\": \"package_group\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"51474f9a4964c84cd4fd5d5c\"}, \"id\": \"51474f9a4964c84cd4fd5d5c\", \"owner_id\": \"admin\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"penguin\"], \"repo_id\": \"integration_test_id\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"5d6c31b3-e2c5-431f-942b-e3be7b4c5051\", \"id\": \"bird\", \"name\": \"bird\"}}, {\"updated\": \"2013-03-18T21:32:03Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-03-18T21:32:03Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"5f2c6883-41da-4fd1-a3f8-3024c729a1a0\", \"unit_type_id\": \"package_group\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"51474f934964c84cd4fd5d18\"}, \"id\": \"51474f934964c84cd4fd5d18\", \"owner_id\": \"admin\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"penguin\"], \"repo_id\": \"integration_test_id_clone\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"5f2c6883-41da-4fd1-a3f8-3024c729a1a0\", \"id\": \"bird\", \"name\": \"bird\"}}, {\"updated\": \"2013-03-18T21:32:03Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-03-18T21:32:03Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"e7e7a774-f9d0-45ad-a7d9-06bf3c75ec30\", \"unit_type_id\": \"package_group\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"51474f934964c84cd4fd5d0d\"}, \"id\": \"51474f934964c84cd4fd5d0d\", \"owner_id\": \"admin\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"elephant,giraffe,cheetah,lion,monkey,penguin,squirrel,walrus\", \"penguin\"], \"repo_id\": \"integration_test_id\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"e7e7a774-f9d0-45ad-a7d9-06bf3c75ec30\", \"id\": \"mammal\", \"name\": \"mammal\"}}, {\"updated\": \"2013-03-18T21:32:03Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-03-18T21:32:03Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"0a873484-d9ca-4226-aef0-f376a57f70d6\", \"unit_type_id\": \"package_group\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"51474f934964c84cd4fd5d15\"}, \"id\": \"51474f934964c84cd4fd5d15\", \"owner_id\": \"admin\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"elephant,giraffe,cheetah,lion,monkey,penguin,squirrel,walrus\", \"penguin\"], \"repo_id\": \"integration_test_id_clone\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"0a873484-d9ca-4226-aef0-f376a57f70d6\", \"id\": \"mammal\", \"name\": \"mammal\"}}]"
http_version:
recorded_at: Tue, 26 Feb 2013 00:56:00 GMT
recorded_at: Mon, 18 Mar 2013 17:32:12 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id_clone/actions/unassociate/
body:
string: "{\"criteria\":{\"filters\":{\"association\":{\"unit_id\":{\"$in\":[\"2d295788-a0ec-4017-8e9c-d3bed7effa04\"]}}},\"type_ids\":[\"package_group\"]}}"
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"package_group\"],\"filters\":{\"association\":{\"unit_id\":{\"$in\":[\"5d6c31b3-e2c5-431f-942b-e3be7b4c5051\"]}}}}}"
headers:
Content-Length:
- "130"
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "130"
User-Agent:
- Ruby
response:
status:
code: 202
message: Accepted
headers:
Date:
- Mon, 18 Mar 2013 17:32:12 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:
- "656"
Date:
- Tue, 26 Feb 2013 00:56:00 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/19b2cf0a-5324-4a38-bf94-802428d270bc/\", \"task_id\": \"19b2cf0a-5324-4a38-bf94-802428d270bc\", \"call_request_tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:action:unassociate\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:action:unassociate\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"19b2cf0a-5324-4a38-bf94-802428d270bc\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
encoding: US-ASCII
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/ae1c4e24-1d95-4134-9592-e028b1378e01/\", \"task_id\": \"ae1c4e24-1d95-4134-9592-e028b1378e01\", \"call_request_tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:action:unassociate\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:action:unassociate\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"ae1c4e24-1d95-4134-9592-e028b1378e01\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:56:00 GMT
recorded_at: Mon, 18 Mar 2013 17:32:12 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id_clone/search/units/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"package_group\"]}}"
headers:
Content-Length:
- "43"
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "43"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Content-Length:
- "914"
Date:
- Tue, 26 Feb 2013 00:56:02 GMT
- Mon, 18 Mar 2013 17:32:14 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "2686"
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
body:
string: "[{\"updated\": \"2013-02-26T05:55:55Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-02-26T05:55:55Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"85ab2c08-9ca7-4a11-b37c-caa43ff94c38\", \"unit_type_id\": \"package_group\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"512c081b9c60ed7441003005\"}, \"id\": \"512c081b9c60ed7441003005\", \"owner_id\": \"admin\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"elephant,giraffe,cheetah,lion,monkey,penguin,squirrel,walrus\", \"penguin\"], \"repo_id\": \"integration_test_id\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"85ab2c08-9ca7-4a11-b37c-caa43ff94c38\", \"id\": \"mammal\", \"name\": \"mammal\"}}]"
encoding: US-ASCII
string: "[{\"updated\": \"2013-03-18T21:32:03Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-03-18T21:32:03Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"5f2c6883-41da-4fd1-a3f8-3024c729a1a0\", \"unit_type_id\": \"package_group\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"51474f934964c84cd4fd5d18\"}, \"id\": \"51474f934964c84cd4fd5d18\", \"owner_id\": \"admin\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"penguin\"], \"repo_id\": \"integration_test_id_clone\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"5f2c6883-41da-4fd1-a3f8-3024c729a1a0\", \"id\": \"bird\", \"name\": \"bird\"}}, {\"updated\": \"2013-03-18T21:32:03Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-03-18T21:32:03Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"e7e7a774-f9d0-45ad-a7d9-06bf3c75ec30\", \"unit_type_id\": \"package_group\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"51474f934964c84cd4fd5d0d\"}, \"id\": \"51474f934964c84cd4fd5d0d\", \"owner_id\": \"admin\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"elephant,giraffe,cheetah,lion,monkey,penguin,squirrel,walrus\", \"penguin\"], \"repo_id\": \"integration_test_id\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"e7e7a774-f9d0-45ad-a7d9-06bf3c75ec30\", \"id\": \"mammal\", \"name\": \"mammal\"}}, {\"updated\": \"2013-03-18T21:32:03Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-03-18T21:32:03Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"0a873484-d9ca-4226-aef0-f376a57f70d6\", \"unit_type_id\": \"package_group\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"51474f934964c84cd4fd5d15\"}, \"id\": \"51474f934964c84cd4fd5d15\", \"owner_id\": \"admin\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"elephant,giraffe,cheetah,lion,monkey,penguin,squirrel,walrus\", \"penguin\"], \"repo_id\": \"integration_test_id_clone\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"0a873484-d9ca-4226-aef0-f376a57f70d6\", \"id\": \"mammal\", \"name\": \"mammal\"}}]"
http_version:
recorded_at: Tue, 26 Feb 2013 00:56:02 GMT
recorded_at: Mon, 18 Mar 2013 17:32:14 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/search/units/
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id_clone/actions/associate/
body:
string: "{\"criteria\":{\"type_ids\":[\"package_group\"]}}"
encoding: US-ASCII
string: "{\"source_repo_id\":\"integration_test_id\"}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "43"
- "40"
User-Agent:
- Ruby
response:
status:
code: 202
message: Accepted
headers:
Date:
- Mon, 18 Mar 2013 17:32:14 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"
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/55e16438-2acb-4429-82ce-425a8d0e0445/\", \"task_id\": \"55e16438-2acb-4429-82ce-425a8d0e0445\", \"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\": \"55e16438-2acb-4429-82ce-425a8d0e0445\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
http_version:
recorded_at: Mon, 18 Mar 2013 17:32:14 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id_clone/search/units/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"package_group\"]}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "43"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Content-Length:
- "1770"
Date:
- Tue, 26 Feb 2013 00:56:02 GMT
- Mon, 18 Mar 2013 17:32:16 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "3532"
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
body:
string: "[{\"updated\": \"2013-02-26T05:55:53Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-02-26T05:55:53Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"2d295788-a0ec-4017-8e9c-d3bed7effa04\", \"unit_type_id\": \"package_group\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"512c08199c60ed7441002fe4\"}, \"id\": \"512c08199c60ed7441002fe4\", \"owner_id\": \"yum_importer\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"penguin\"], \"repo_id\": \"integration_test_id\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"2d295788-a0ec-4017-8e9c-d3bed7effa04\", \"id\": \"bird\", \"name\": \"bird\"}}, {\"updated\": \"2013-02-26T05:55:53Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-02-26T05:55:53Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"85ab2c08-9ca7-4a11-b37c-caa43ff94c38\", \"unit_type_id\": \"package_group\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"512c08199c60ed7441002fe3\"}, \"id\": \"512c08199c60ed7441002fe3\", \"owner_id\": \"yum_importer\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"elephant,giraffe,cheetah,lion,monkey,penguin,squirrel,walrus\", \"penguin\"], \"repo_id\": \"integration_test_id\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"85ab2c08-9ca7-4a11-b37c-caa43ff94c38\", \"id\": \"mammal\", \"name\": \"mammal\"}}]"
encoding: US-ASCII
string: "[{\"updated\": \"2013-03-18T21:32:14Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-03-18T21:32:14Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"5d6c31b3-e2c5-431f-942b-e3be7b4c5051\", \"unit_type_id\": \"package_group\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"51474f9e4964c84cd4fd5d83\"}, \"id\": \"51474f9e4964c84cd4fd5d83\", \"owner_id\": \"admin\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"penguin\"], \"repo_id\": \"integration_test_id\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"5d6c31b3-e2c5-431f-942b-e3be7b4c5051\", \"id\": \"bird\", \"name\": \"bird\"}}, {\"updated\": \"2013-03-18T21:32:03Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-03-18T21:32:03Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"5f2c6883-41da-4fd1-a3f8-3024c729a1a0\", \"unit_type_id\": \"package_group\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"51474f934964c84cd4fd5d18\"}, \"id\": \"51474f934964c84cd4fd5d18\", \"owner_id\": \"admin\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"penguin\"], \"repo_id\": \"integration_test_id_clone\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"5f2c6883-41da-4fd1-a3f8-3024c729a1a0\", \"id\": \"bird\", \"name\": \"bird\"}}, {\"updated\": \"2013-03-18T21:32:03Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-03-18T21:32:03Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"e7e7a774-f9d0-45ad-a7d9-06bf3c75ec30\", \"unit_type_id\": \"package_group\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"51474f934964c84cd4fd5d0d\"}, \"id\": \"51474f934964c84cd4fd5d0d\", \"owner_id\": \"admin\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"elephant,giraffe,cheetah,lion,monkey,penguin,squirrel,walrus\", \"penguin\"], \"repo_id\": \"integration_test_id\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"e7e7a774-f9d0-45ad-a7d9-06bf3c75ec30\", \"id\": \"mammal\", \"name\": \"mammal\"}}, {\"updated\": \"2013-03-18T21:32:03Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-03-18T21:32:03Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"0a873484-d9ca-4226-aef0-f376a57f70d6\", \"unit_type_id\": \"package_group\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"51474f934964c84cd4fd5d15\"}, \"id\": \"51474f934964c84cd4fd5d15\", \"owner_id\": \"admin\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"elephant,giraffe,cheetah,lion,monkey,penguin,squirrel,walrus\", \"penguin\"], \"repo_id\": \"integration_test_id_clone\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"0a873484-d9ca-4226-aef0-f376a57f70d6\", \"id\": \"mammal\", \"name\": \"mammal\"}}]"
http_version:
recorded_at: Tue, 26 Feb 2013 00:56:02 GMT
recorded_at: Mon, 18 Mar 2013 17:32:16 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id_clone/actions/unassociate/
body:
string: "{\"criteria\":{\"filters\":{\"association\":{\"unit_id\":{\"$in\":[\"2d295788-a0ec-4017-8e9c-d3bed7effa04\"]}}},\"type_ids\":[\"package_group\"]}}"
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"package_group\"],\"filters\":{\"unit\":{\"id\":{\"$in\":[\"bird\"]}}}}}"
headers:
Content-Length:
- "130"
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "86"
User-Agent:
- Ruby
response:
status:
code: 202
message: Accepted
headers:
Date:
- Mon, 18 Mar 2013 17:32:17 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:
- "656"
Date:
- Tue, 26 Feb 2013 00:56:02 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/bb031392-55a8-4498-a028-11c0d542b383/\", \"task_id\": \"bb031392-55a8-4498-a028-11c0d542b383\", \"call_request_tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:action:unassociate\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:action:unassociate\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"bb031392-55a8-4498-a028-11c0d542b383\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
encoding: US-ASCII
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/ac61cec8-5031-46ed-a1f1-1f66be08624e/\", \"task_id\": \"ac61cec8-5031-46ed-a1f1-1f66be08624e\", \"call_request_tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:action:unassociate\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:action:unassociate\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"ac61cec8-5031-46ed-a1f1-1f66be08624e\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:56:02 GMT
recorded_at: Mon, 18 Mar 2013 17:32:17 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id_clone/search/units/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"package_group\"]}}"
headers:
Content-Length:
- "43"
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "43"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Content-Length:
- "914"
Date:
- Tue, 26 Feb 2013 00:56:04 GMT
- Mon, 18 Mar 2013 17:32:18 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "1834"
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
body:
string: "[{\"updated\": \"2013-02-26T05:55:55Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-02-26T05:55:55Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"85ab2c08-9ca7-4a11-b37c-caa43ff94c38\", \"unit_type_id\": \"package_group\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"512c081b9c60ed7441003005\"}, \"id\": \"512c081b9c60ed7441003005\", \"owner_id\": \"admin\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"elephant,giraffe,cheetah,lion,monkey,penguin,squirrel,walrus\", \"penguin\"], \"repo_id\": \"integration_test_id\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"85ab2c08-9ca7-4a11-b37c-caa43ff94c38\", \"id\": \"mammal\", \"name\": \"mammal\"}}]"
encoding: US-ASCII
string: "[{\"updated\": \"2013-03-18T21:32:03Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-03-18T21:32:03Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"e7e7a774-f9d0-45ad-a7d9-06bf3c75ec30\", \"unit_type_id\": \"package_group\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"51474f934964c84cd4fd5d0d\"}, \"id\": \"51474f934964c84cd4fd5d0d\", \"owner_id\": \"admin\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"elephant,giraffe,cheetah,lion,monkey,penguin,squirrel,walrus\", \"penguin\"], \"repo_id\": \"integration_test_id\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"e7e7a774-f9d0-45ad-a7d9-06bf3c75ec30\", \"id\": \"mammal\", \"name\": \"mammal\"}}, {\"updated\": \"2013-03-18T21:32:03Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-03-18T21:32:03Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"0a873484-d9ca-4226-aef0-f376a57f70d6\", \"unit_type_id\": \"package_group\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"51474f934964c84cd4fd5d15\"}, \"id\": \"51474f934964c84cd4fd5d15\", \"owner_id\": \"admin\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"elephant,giraffe,cheetah,lion,monkey,penguin,squirrel,walrus\", \"penguin\"], \"repo_id\": \"integration_test_id_clone\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"0a873484-d9ca-4226-aef0-f376a57f70d6\", \"id\": \"mammal\", \"name\": \"mammal\"}}]"
http_version:
recorded_at: Tue, 26 Feb 2013 00:56:04 GMT
recorded_with: VCR 2.3.0
recorded_at: Mon, 18 Mar 2013 17:32:18 GMT
recorded_with: VCR 2.4.0

Also available in: Unified diff