Project

General

Profile

Download (18.7 KB) Statistics
| Branch: | Tag: | Revision:
---
http_interactions:
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/
body:
encoding: US-ASCII
string: "{\"id\":\"integration_test_id_clone\",\"importer_type_id\":\"yum_importer\",\"importer_config\":{}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "89"
User-Agent:
- Ruby
response:
status:
code: 201
message: Created
headers:
Date:
- Mon, 18 Mar 2013 17:31:04 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
Content-Length:
- "285"
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "{\"scratchpad\": {}, \"display_name\": \"integration_test_id_clone\", \"description\": null, \"_ns\": \"repos\", \"notes\": {}, \"content_unit_counts\": {}, \"_id\": {\"$oid\": \"51474f584964c84cd4fd5aa8\"}, \"id\": \"integration_test_id_clone\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id_clone/\"}"
http_version:
recorded_at: Mon, 18 Mar 2013 17:31:04 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/search/units/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"distribution\"]}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "42"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 18 Mar 2013 17:31:04 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "2314"
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "[{\"updated\": \"2013-03-18T21:31:02Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:31:02Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"06853adc-aac1-48a6-bbad-3fbaa987adb7\", \"unit_type_id\": \"distribution\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474f564964c84cd4fd5a92\"}, \"id\": \"51474f564964c84cd4fd5a92\", \"owner_id\": \"yum_importer\", \"metadata\": {\"files\": [{\"checksumtype\": \"sha256\", \"relativepath\": \"images/test2.img\", \"fileName\": \"test2.img\", \"downloadurl\": \"file:///home/ehelms/workspace/runcible/test/fixtures/repositories/zoo5/images/test2.img\", \"item_type\": \"tree_file\", \"savepath\": \"/var/lib/pulp/working/repos/integration_test_id/importers/yum_importer/integration_test_id/images\", \"checksum\": \"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\", \"filename\": \"test2.img\", \"pkgpath\": \"/var/lib/pulp/content/distribution/ks-Test Family-TestVariant-16-x86_64/images\", \"size\": 0}, {\"checksumtype\": \"sha256\", \"relativepath\": \"empty.iso\", \"fileName\": \"empty.iso\", \"downloadurl\": \"file:///home/ehelms/workspace/runcible/test/fixtures/repositories/zoo5/empty.iso\", \"item_type\": \"tree_file\", \"savepath\": \"/var/lib/pulp/working/repos/integration_test_id/importers/yum_importer/integration_test_id/\", \"checksum\": \"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\", \"filename\": \"empty.iso\", \"pkgpath\": \"/var/lib/pulp/content/distribution/ks-Test Family-TestVariant-16-x86_64\", \"size\": 0}, {\"checksumtype\": \"sha256\", \"relativepath\": \"images/test1.img\", \"fileName\": \"test1.img\", \"downloadurl\": \"file:///home/ehelms/workspace/runcible/test/fixtures/repositories/zoo5/images/test1.img\", \"item_type\": \"tree_file\", \"savepath\": \"/var/lib/pulp/working/repos/integration_test_id/importers/yum_importer/integration_test_id/images\", \"checksum\": \"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\", \"filename\": \"test1.img\", \"pkgpath\": \"/var/lib/pulp/content/distribution/ks-Test Family-TestVariant-16-x86_64/images\", \"size\": 0}], \"_storage_path\": \"/var/lib/pulp/content/distribution/ks-Test Family-TestVariant-16-x86_64\", \"family\": \"Test Family\", \"_ns\": \"units_distribution\", \"variant\": \"TestVariant\", \"version\": \"16\", \"_content_type_id\": \"distribution\", \"_id\": \"06853adc-aac1-48a6-bbad-3fbaa987adb7\", \"arch\": \"x86_64\", \"id\": \"ks-Test Family-TestVariant-16-x86_64\"}}]"
http_version:
recorded_at: Mon, 18 Mar 2013 17:31:04 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\":[\"distribution\"],\"filters\":{\"association\":{\"unit_id\":{\"$in\":[\"06853adc-aac1-48a6-bbad-3fbaa987adb7\"]}}}}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "129"
User-Agent:
- Ruby
response:
status:
code: 202
message: Accepted
headers:
Date:
- Mon, 18 Mar 2013 17:31:04 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"
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/2ffe0334-5a9f-46e0-8b23-1153986e6c77/\", \"task_id\": \"2ffe0334-5a9f-46e0-8b23-1153986e6c77\", \"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\": \"running\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"2ffe0334-5a9f-46e0-8b23-1153986e6c77\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
http_version:
recorded_at: Mon, 18 Mar 2013 17:31:04 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\":[\"distribution\"]}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "42"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 18 Mar 2013 17:31:06 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "2"
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "[]"
http_version:
recorded_at: Mon, 18 Mar 2013 17:31:06 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/search/units/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"distribution\"]}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "42"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 18 Mar 2013 17:31:06 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "2314"
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "[{\"updated\": \"2013-03-18T21:31:02Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:31:02Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"06853adc-aac1-48a6-bbad-3fbaa987adb7\", \"unit_type_id\": \"distribution\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474f564964c84cd4fd5a92\"}, \"id\": \"51474f564964c84cd4fd5a92\", \"owner_id\": \"yum_importer\", \"metadata\": {\"files\": [{\"checksumtype\": \"sha256\", \"relativepath\": \"images/test2.img\", \"fileName\": \"test2.img\", \"downloadurl\": \"file:///home/ehelms/workspace/runcible/test/fixtures/repositories/zoo5/images/test2.img\", \"item_type\": \"tree_file\", \"savepath\": \"/var/lib/pulp/working/repos/integration_test_id/importers/yum_importer/integration_test_id/images\", \"checksum\": \"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\", \"filename\": \"test2.img\", \"pkgpath\": \"/var/lib/pulp/content/distribution/ks-Test Family-TestVariant-16-x86_64/images\", \"size\": 0}, {\"checksumtype\": \"sha256\", \"relativepath\": \"empty.iso\", \"fileName\": \"empty.iso\", \"downloadurl\": \"file:///home/ehelms/workspace/runcible/test/fixtures/repositories/zoo5/empty.iso\", \"item_type\": \"tree_file\", \"savepath\": \"/var/lib/pulp/working/repos/integration_test_id/importers/yum_importer/integration_test_id/\", \"checksum\": \"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\", \"filename\": \"empty.iso\", \"pkgpath\": \"/var/lib/pulp/content/distribution/ks-Test Family-TestVariant-16-x86_64\", \"size\": 0}, {\"checksumtype\": \"sha256\", \"relativepath\": \"images/test1.img\", \"fileName\": \"test1.img\", \"downloadurl\": \"file:///home/ehelms/workspace/runcible/test/fixtures/repositories/zoo5/images/test1.img\", \"item_type\": \"tree_file\", \"savepath\": \"/var/lib/pulp/working/repos/integration_test_id/importers/yum_importer/integration_test_id/images\", \"checksum\": \"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\", \"filename\": \"test1.img\", \"pkgpath\": \"/var/lib/pulp/content/distribution/ks-Test Family-TestVariant-16-x86_64/images\", \"size\": 0}], \"_storage_path\": \"/var/lib/pulp/content/distribution/ks-Test Family-TestVariant-16-x86_64\", \"family\": \"Test Family\", \"_ns\": \"units_distribution\", \"variant\": \"TestVariant\", \"version\": \"16\", \"_content_type_id\": \"distribution\", \"_id\": \"06853adc-aac1-48a6-bbad-3fbaa987adb7\", \"arch\": \"x86_64\", \"id\": \"ks-Test Family-TestVariant-16-x86_64\"}}]"
http_version:
recorded_at: Mon, 18 Mar 2013 17:31:06 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\":[\"distribution\"],\"filters\":{\"unit\":{\"id\":{\"$in\":[\"ks-Test Family-TestVariant-16-x86_64\"]}}}}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "117"
User-Agent:
- Ruby
response:
status:
code: 202
message: Accepted
headers:
Date:
- Mon, 18 Mar 2013 17:31: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:
- "656"
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/d3c74b6d-b378-43fe-b826-7904bc56745a/\", \"task_id\": \"d3c74b6d-b378-43fe-b826-7904bc56745a\", \"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\": \"d3c74b6d-b378-43fe-b826-7904bc56745a\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
http_version:
recorded_at: Mon, 18 Mar 2013 17:31:06 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\":[\"distribution\"]}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "42"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 18 Mar 2013 17:31:07 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "2"
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "[]"
http_version:
recorded_at: Mon, 18 Mar 2013 17:31:07 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/search/units/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"distribution\"]}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "42"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 18 Mar 2013 17:31:08 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "2314"
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "[{\"updated\": \"2013-03-18T21:31:02Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:31:02Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"06853adc-aac1-48a6-bbad-3fbaa987adb7\", \"unit_type_id\": \"distribution\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474f564964c84cd4fd5a92\"}, \"id\": \"51474f564964c84cd4fd5a92\", \"owner_id\": \"yum_importer\", \"metadata\": {\"files\": [{\"checksumtype\": \"sha256\", \"relativepath\": \"images/test2.img\", \"fileName\": \"test2.img\", \"downloadurl\": \"file:///home/ehelms/workspace/runcible/test/fixtures/repositories/zoo5/images/test2.img\", \"item_type\": \"tree_file\", \"savepath\": \"/var/lib/pulp/working/repos/integration_test_id/importers/yum_importer/integration_test_id/images\", \"checksum\": \"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\", \"filename\": \"test2.img\", \"pkgpath\": \"/var/lib/pulp/content/distribution/ks-Test Family-TestVariant-16-x86_64/images\", \"size\": 0}, {\"checksumtype\": \"sha256\", \"relativepath\": \"empty.iso\", \"fileName\": \"empty.iso\", \"downloadurl\": \"file:///home/ehelms/workspace/runcible/test/fixtures/repositories/zoo5/empty.iso\", \"item_type\": \"tree_file\", \"savepath\": \"/var/lib/pulp/working/repos/integration_test_id/importers/yum_importer/integration_test_id/\", \"checksum\": \"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\", \"filename\": \"empty.iso\", \"pkgpath\": \"/var/lib/pulp/content/distribution/ks-Test Family-TestVariant-16-x86_64\", \"size\": 0}, {\"checksumtype\": \"sha256\", \"relativepath\": \"images/test1.img\", \"fileName\": \"test1.img\", \"downloadurl\": \"file:///home/ehelms/workspace/runcible/test/fixtures/repositories/zoo5/images/test1.img\", \"item_type\": \"tree_file\", \"savepath\": \"/var/lib/pulp/working/repos/integration_test_id/importers/yum_importer/integration_test_id/images\", \"checksum\": \"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\", \"filename\": \"test1.img\", \"pkgpath\": \"/var/lib/pulp/content/distribution/ks-Test Family-TestVariant-16-x86_64/images\", \"size\": 0}], \"_storage_path\": \"/var/lib/pulp/content/distribution/ks-Test Family-TestVariant-16-x86_64\", \"family\": \"Test Family\", \"_ns\": \"units_distribution\", \"variant\": \"TestVariant\", \"version\": \"16\", \"_content_type_id\": \"distribution\", \"_id\": \"06853adc-aac1-48a6-bbad-3fbaa987adb7\", \"arch\": \"x86_64\", \"id\": \"ks-Test Family-TestVariant-16-x86_64\"}}]"
http_version:
recorded_at: Mon, 18 Mar 2013 17:31: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\":[\"distribution\"],\"filters\":{\"association\":{\"unit_id\":{\"$in\":[\"06853adc-aac1-48a6-bbad-3fbaa987adb7\"]}}}}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "129"
User-Agent:
- Ruby
response:
status:
code: 202
message: Accepted
headers:
Date:
- Mon, 18 Mar 2013 17:31: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"
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/a63eeb47-2060-4883-8b21-96d3d0b0f061/\", \"task_id\": \"a63eeb47-2060-4883-8b21-96d3d0b0f061\", \"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\": \"a63eeb47-2060-4883-8b21-96d3d0b0f061\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
http_version:
recorded_at: Mon, 18 Mar 2013 17:31: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\":[\"distribution\"]}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "42"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 18 Mar 2013 17:31:09 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "2"
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "[]"
http_version:
recorded_at: Mon, 18 Mar 2013 17:31:09 GMT
recorded_with: VCR 2.4.0
(5-5/19)