Project

General

Profile

Download (8.54 KB) Statistics
| Branch: | Tag: | Revision:
---
http_interactions:
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/
body:
string: "{\"importer_type_id\":\"yum_importer\",\"id\":\"integration_test_id_clone\",\"importer_config\":{}}"
headers:
Accept-Encoding:
- gzip, deflate
Content-Length:
- "89"
Accept:
- application/json
Content-Type:
- application/json
response:
status:
code: 201
message: Created
headers:
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "283"
Date:
- Thu, 17 Jan 2013 21:23:40 GMT
Location:
- integration_test_id_clone
Content-Type:
- application/json
body:
string: "{\"scratchpad\": {}, \"display_name\": \"integration_test_id_clone\", \"description\": null, \"_ns\": \"repos\", \"notes\": {}, \"content_unit_count\": 0, \"_id\": {\"$oid\": \"50f86bdc196cbe74d3000a5d\"}, \"id\": \"integration_test_id_clone\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id_clone/\"}"
http_version:
recorded_at: Thu, 17 Jan 2013 21:23:40 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id_clone/actions/associate/
body:
string: "{\"source_repo_id\":\"integration_test_id\"}"
headers:
Accept-Encoding:
- gzip, deflate
Content-Length:
- "40"
Accept:
- application/json
Content-Type:
- application/json
response:
status:
code: 202
message: Accepted
headers:
Content-Encoding:
- utf-8
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "730"
Date:
- Thu, 17 Jan 2013 21:23:41 GMT
Content-Type:
- application/json
body:
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/98660fc3-95ea-492b-928e-a43f4f586955/\", \"task_id\": \"98660fc3-95ea-492b-928e-a43f4f586955\", \"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\": \"98660fc3-95ea-492b-928e-a43f4f586955\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
http_version:
recorded_at: Thu, 17 Jan 2013 21:23:41 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/search/units/
body:
string: "{\"criteria\":{\"type_ids\":[\"package_group\"]}}"
headers:
Accept-Encoding:
- gzip, deflate
Content-Length:
- "43"
Accept:
- application/json
Content-Type:
- application/json
response:
status:
code: 200
message: OK
headers:
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "1770"
Date:
- Thu, 17 Jan 2013 21:23:43 GMT
Content-Type:
- application/json
body:
string: "[{\"updated\": \"2013-01-18T02:23:38Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-01-18T02:23:38Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"d08d02b2-ed40-4a7d-bb18-65df931b5f55\", \"unit_type_id\": \"package_group\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"50f86bda196cbe74d3000a51\"}, \"id\": \"50f86bda196cbe74d3000a51\", \"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\": \"d08d02b2-ed40-4a7d-bb18-65df931b5f55\", \"id\": \"bird\", \"name\": \"bird\"}}, {\"updated\": \"2013-01-18T02:23:38Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-01-18T02:23:38Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"007951bf-96f1-49f9-8ef0-0a24fe6fbb11\", \"unit_type_id\": \"package_group\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"50f86bda196cbe74d3000a50\"}, \"id\": \"50f86bda196cbe74d3000a50\", \"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\": \"007951bf-96f1-49f9-8ef0-0a24fe6fbb11\", \"id\": \"mammal\", \"name\": \"mammal\"}}]"
http_version:
recorded_at: Thu, 17 Jan 2013 21:23:43 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id_clone/actions/unassociate/
body:
string: "{\"criteria\":{\"type_ids\":[\"package_group\"],\"filters\":{\"unit\":{\"id\":{\"$in\":[\"bird\"]}}}}}"
headers:
Accept-Encoding:
- gzip, deflate
Content-Length:
- "86"
Accept:
- application/json
Content-Type:
- application/json
response:
status:
code: 202
message: Accepted
headers:
Content-Encoding:
- utf-8
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "656"
Date:
- Thu, 17 Jan 2013 21:23:43 GMT
Content-Type:
- application/json
body:
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/321b4c37-1579-49e6-8de7-e797a534a501/\", \"task_id\": \"321b4c37-1579-49e6-8de7-e797a534a501\", \"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\": \"321b4c37-1579-49e6-8de7-e797a534a501\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
http_version:
recorded_at: Thu, 17 Jan 2013 21:23:43 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id_clone/search/units/
body:
string: "{\"criteria\":{\"type_ids\":[\"package_group\"]}}"
headers:
Accept-Encoding:
- gzip, deflate
Content-Length:
- "43"
Accept:
- application/json
Content-Type:
- application/json
response:
status:
code: 200
message: OK
headers:
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "914"
Date:
- Thu, 17 Jan 2013 21:23:45 GMT
Content-Type:
- application/json
body:
string: "[{\"updated\": \"2013-01-18T02:23:41Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-01-18T02:23:41Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"007951bf-96f1-49f9-8ef0-0a24fe6fbb11\", \"unit_type_id\": \"package_group\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"50f86bdd196cbe74d3000a72\"}, \"id\": \"50f86bdd196cbe74d3000a72\", \"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\": \"007951bf-96f1-49f9-8ef0-0a24fe6fbb11\", \"id\": \"mammal\", \"name\": \"mammal\"}}]"
http_version:
recorded_at: Thu, 17 Jan 2013 21:23:45 GMT
recorded_with: VCR 2.4.0
(12-12/19)