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/consumer_extensions.yml
---
http_interactions:
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer_extensions11000/actions/content/uninstall//
method: delete
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer_extensions11000/bindings/integration_test_id/b86c63d6f339447d6865/
body:
string: "{\"options\":{},\"units\":[{\"type_id\":\"rpm\",\"unit_key\":{\"name\":\"zsh\"}},{\"type_id\":\"rpm\",\"unit_key\":{\"name\":\"foo\"}}]}"
encoding: US-ASCII
string: ""
headers:
Content-Length:
- "112"
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
User-Agent:
- Ruby
response:
status:
code: 202
message: Accepted
headers:
Content-Length:
- "690"
Date:
- Tue, 26 Feb 2013 00:52:27 GMT
Content-Type:
- application/json
- Mon, 18 Mar 2013 17:28:47 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Encoding:
- utf-8
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "2824"
Content-Type:
- application/json
body:
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/d1775adc-6abe-49b8-b1ff-e300be12f60c/\", \"task_id\": \"d1775adc-6abe-49b8-b1ff-e300be12f60c\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:action:unit_uninstall\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:action:unit_uninstall\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"d1775adc-6abe-49b8-b1ff-e300be12f60c\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
encoding: US-ASCII
string: "[{\"task_group_id\": \"5d9a7233-16a5-4fb1-9d8c-8e9d9a6a1e4f\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/5d9a7233-16a5-4fb1-9d8c-8e9d9a6a1e4f/\", \"task_id\": \"ca53d50d-3f72-4439-87e3-3babd7ea9f5e\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:b86c63d6f339447d6865\", \"pulp:action:unbind\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:b86c63d6f339447d6865\", \"pulp:action:unbind\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": \"5d9a7233-16a5-4fb1-9d8c-8e9d9a6a1e4f\", \"call_request_id\": \"ca53d50d-3f72-4439-87e3-3babd7ea9f5e\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}, {\"task_group_id\": \"5d9a7233-16a5-4fb1-9d8c-8e9d9a6a1e4f\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/5d9a7233-16a5-4fb1-9d8c-8e9d9a6a1e4f/\", \"task_id\": \"e56c3330-54b4-4142-9573-03008d232764\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:b86c63d6f339447d6865\", \"pulp:action:agent_unbind\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:b86c63d6f339447d6865\", \"pulp:action:agent_unbind\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": \"5d9a7233-16a5-4fb1-9d8c-8e9d9a6a1e4f\", \"call_request_id\": \"e56c3330-54b4-4142-9573-03008d232764\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}, {\"task_group_id\": \"5d9a7233-16a5-4fb1-9d8c-8e9d9a6a1e4f\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/5d9a7233-16a5-4fb1-9d8c-8e9d9a6a1e4f/\", \"task_id\": \"cce4783d-731a-48dc-a2de-ddac8a1755fb\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:b86c63d6f339447d6865\", \"pulp:action:delete_binding\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:b86c63d6f339447d6865\", \"pulp:action:delete_binding\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": \"5d9a7233-16a5-4fb1-9d8c-8e9d9a6a1e4f\", \"call_request_id\": \"cce4783d-731a-48dc-a2de-ddac8a1755fb\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}]"
http_version:
recorded_at: Tue, 26 Feb 2013 00:52:27 GMT
recorded_at: Mon, 18 Mar 2013 17:28:47 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer_extensions11000/actions/content/update//
method: get
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/?details=true
body:
string: "{\"options\":{},\"units\":[{\"type_id\":\"rpm\",\"unit_key\":{\"name\":\"zsh\"}},{\"type_id\":\"rpm\",\"unit_key\":{\"name\":\"foo\"}}]}"
encoding: US-ASCII
string: ""
headers:
Content-Length:
- "112"
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
User-Agent:
- Ruby
response:
status:
code: 202
message: Accepted
code: 200
message: OK
headers:
Content-Length:
- "684"
Date:
- Tue, 26 Feb 2013 00:52:42 GMT
- Mon, 18 Mar 2013 17:28:56 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "1071"
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/6cd4de54-fe58-40f9-a5d5-a5d03b35009d/\", \"task_id\": \"6cd4de54-fe58-40f9-a5d5-a5d03b35009d\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:action:unit_update\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:action:unit_update\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"6cd4de54-fe58-40f9-a5d5-a5d03b35009d\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
encoding: US-ASCII
string: "{\"scratchpad\": {\"checksum_type\": \"sha256\", \"repodata\": {}}, \"display_name\": \"integration_test_id\", \"description\": null, \"_ns\": \"repos\", \"notes\": {}, \"content_unit_counts\": {\"package_group\": 2, \"distribution\": 1, \"package_category\": 1, \"rpm\": 8, \"erratum\": 2}, \"_id\": {\"$oid\": \"51474eba4964c84cd4fd5223\"}, \"id\": \"integration_test_id\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id/\", \"importers\": [{\"repo_id\": \"integration_test_id\", \"_ns\": \"repo_importers\", \"importer_type_id\": \"yum_importer\", \"last_sync\": \"2013-03-18T13:28:28-04:00\", \"scheduled_syncs\": [], \"_id\": {\"$oid\": \"51474eba4964c84cd4fd5224\"}, \"config\": {\"feed_url\": \"file:///home/ehelms/workspace/runcible/test/fixtures/repositories/zoo5\"}, \"id\": \"yum_importer\"}], \"distributors\": [{\"repo_id\": \"integration_test_id\", \"_ns\": \"repo_distributors\", \"last_publish\": null, \"auto_publish\": false, \"scheduled_publishes\": [], \"distributor_type_id\": \"yum_distributor\", \"_id\": {\"$oid\": \"51474eba4964c84cd4fd5225\"}, \"config\": {\"http\": true, \"relative_url\": \"/path\", \"https\": true}, \"id\": \"b86c63d6f339447d6865\"}]}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:52:42 GMT
recorded_at: Mon, 18 Mar 2013 17:28:56 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer_extensions11000/actions/content/install//
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer_extensions11000/actions/content/uninstall//
body:
string: "{\"options\":{},\"units\":[{\"type_id\":\"rpm\",\"unit_key\":{\"name\":\"zsh\"}},{\"type_id\":\"rpm\",\"unit_key\":{\"name\":\"foo\"}}]}"
encoding: US-ASCII
string: "{\"units\":[{\"type_id\":\"rpm\",\"unit_key\":{\"name\":\"zsh\"}},{\"type_id\":\"rpm\",\"unit_key\":{\"name\":\"foo\"}}],\"options\":{}}"
headers:
Content-Length:
- "112"
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "112"
User-Agent:
- Ruby
response:
status:
code: 202
message: Accepted
headers:
Content-Length:
- "686"
Date:
- Tue, 26 Feb 2013 00:52:57 GMT
Content-Type:
- application/json
- Mon, 18 Mar 2013 17:28:59 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Encoding:
- utf-8
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "690"
Content-Type:
- application/json
body:
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/1c4256b8-a706-4d79-9c6e-c86c3b07b76c/\", \"task_id\": \"1c4256b8-a706-4d79-9c6e-c86c3b07b76c\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:action:unit_install\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:action:unit_install\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"1c4256b8-a706-4d79-9c6e-c86c3b07b76c\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
encoding: US-ASCII
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/e7d5fac6-2243-4cdc-81ed-59dd95cf8c01/\", \"task_id\": \"e7d5fac6-2243-4cdc-81ed-59dd95cf8c01\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:action:unit_uninstall\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:action:unit_uninstall\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"e7d5fac6-2243-4cdc-81ed-59dd95cf8c01\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:52:57 GMT
recorded_at: Mon, 18 Mar 2013 17:28:59 GMT
- request:
method: delete
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer_extensions11000/
method: get
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/?details=true
body:
encoding: US-ASCII
string: ""
headers:
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
User-Agent:
- Ruby
response:
status:
code: 404
message: Not Found
code: 200
message: OK
headers:
Content-Length:
- "333"
Date:
- Tue, 26 Feb 2013 00:53:13 GMT
- Mon, 18 Mar 2013 17:29:02 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "1071"
Content-Type:
- application/json
Content-Encoding:
- utf-8
Server:
- Apache/2.2.22 (Fedora)
body:
string: "{\"http_request_method\": \"DELETE\", \"exception\": null, \"error_message\": \"Missing resource(s): consumer=integration_test_consumer_extensions11000\", \"_href\": \"/pulp/api/v2/consumers/integration_test_consumer_extensions11000/\", \"http_status\": 404, \"traceback\": null, \"resources\": {\"consumer\": \"integration_test_consumer_extensions11000\"}}"
encoding: US-ASCII
string: "{\"scratchpad\": {\"checksum_type\": \"sha256\", \"repodata\": {}}, \"display_name\": \"integration_test_id\", \"description\": null, \"_ns\": \"repos\", \"notes\": {}, \"content_unit_counts\": {\"package_group\": 2, \"distribution\": 1, \"package_category\": 1, \"rpm\": 8, \"erratum\": 2}, \"_id\": {\"$oid\": \"51474eba4964c84cd4fd5223\"}, \"id\": \"integration_test_id\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id/\", \"importers\": [{\"repo_id\": \"integration_test_id\", \"_ns\": \"repo_importers\", \"importer_type_id\": \"yum_importer\", \"last_sync\": \"2013-03-18T13:28:28-04:00\", \"scheduled_syncs\": [], \"_id\": {\"$oid\": \"51474eba4964c84cd4fd5224\"}, \"config\": {\"feed_url\": \"file:///home/ehelms/workspace/runcible/test/fixtures/repositories/zoo5\"}, \"id\": \"yum_importer\"}], \"distributors\": [{\"repo_id\": \"integration_test_id\", \"_ns\": \"repo_distributors\", \"last_publish\": null, \"auto_publish\": false, \"scheduled_publishes\": [], \"distributor_type_id\": \"yum_distributor\", \"_id\": {\"$oid\": \"51474eba4964c84cd4fd5225\"}, \"config\": {\"http\": true, \"relative_url\": \"/path\", \"https\": true}, \"id\": \"b86c63d6f339447d6865\"}]}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:53:13 GMT
recorded_at: Mon, 18 Mar 2013 17:29:02 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/consumers/
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer_extensions11000/bindings//
body:
string: "{\"id\":\"integration_test_consumer_extensions11000\",\"name\":\"boo\"}"
encoding: US-ASCII
string: "{\"repo_id\":\"integration_test_id\",\"distributor_id\":\"b86c63d6f339447d6865\"}"
headers:
Content-Length:
- "63"
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
response:
status:
code: 201
message: Created
headers:
Content-Length:
- "2237"
Date:
- Tue, 26 Feb 2013 00:53:13 GMT
Content-Type:
- application/json
Location:
- "{'_href': u'/pulp/api/v2/consumers/integration_test_consumer_extensions11000/'}"
Server:
- Apache/2.2.22 (Fedora)
body:
string: "{\"display_name\": \"integration_test_consumer_extensions11000\", \"description\": null, \"certificate\": \"-----BEGIN RSA PRIVATE KEY-----\\nMIICXQIBAAKBgQCzIDmVHJliHWHC7W6u+Cyhv+FXlnq1+M1WFBf3NgFvWByhOQL3\\numEobGjh35KRWjVPfM3JVy0FnUv++1x/XEGeX9yC+LXcur4uw/5jXaywqXsTHVJY\\ncO0KBp5disG6hI+F2googxfM9qymO7tTMCA7wmkRbFplRhFshhHQLjOdSQIDAQAB\\nAoGAdNjdly57w+wEvMJjhFGx06W2mos36wKs96zN4V5iWz6wFl95Vx5GiLcHR+iu\\n1JBy3DI+j0uFu/ba/y77LL2Cs3QVPuqBjFnve1gELqNjI3WcpKw+M5OTmTYGB4hd\\nirI9ce08UNYHcPdwXc9dd1589JP9SQBh2H11M6m7sO3zh30CQQDmb/lIT3l2QWnU\\nbkaL3+7hmVlcIxQlOqXRQdqLwGYM1skT2nDA4mVjvG+wITqkZK5FY5cxlyev4QXC\\n/WKC8J9TAkEAxv8XmRpsOpoXdjESDKWYZGA0tdTyyT/nrkwBRzQ8Jqo9MsAXjiJF\\nvdduu97xgl8F70OwRMszGX5OhC8aCNFpcwJAQz/uajH3apGQhxRftjZ2CpSsRX1f\\nRbYl6jnjw+E0Zw7Pw+F+AmyP1lmJ5sbrzEotqcZ0u143kNaEzfEQrNH4TQJBAKJ1\\nn85ew/0T0BOt/A5XIxLPeDj6oTur8Hlbk6+N9Y2bblsAeDqRwF48gyrd2E2XRkEQ\\nAdgoDI/DjlZcHeUVEgECQQCOB2ZF9QAeZXSmzgCWKQ0+IAwD2hkrWB1PONhGw0Y9\\nUfS8x0NagOvDzaA5Pdo13fbd1HJV0Ce7kmCDzlvgO+o3\\n-----END RSA PRIVATE KEY-----\\n-----BEGIN CERTIFICATE-----\\nMIICpzCCAY8CAgLlMA0GCSqGSIb3DQEBBQUAMIGBMQswCQYDVQQGEwJVUzEXMBUG\\nA1UECBMOTm9ydGggQ2Fyb2xpbmExEDAOBgNVBAcTB1JhbGVpZ2gxEDAOBgNVBAoT\\nB1JlZCBIYXQxETAPBgNVBAsTCENsb3VkIEJVMSIwIAYDVQQDExlkaGNwMjMxLTE2\\nLnJkdS5yZWRoYXQuY29tMB4XDTEzMDIyNjAwNTMxM1oXDTIzMDIyNDAwNTMxM1ow\\nNDEyMDAGA1UEAxQpaW50ZWdyYXRpb25fdGVzdF9jb25zdW1lcl9leHRlbnNpb25z\\nMTEwMDAwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALMgOZUcmWIdYcLtbq74\\nLKG/4VeWerX4zVYUF/c2AW9YHKE5Ave6YShsaOHfkpFaNU98zclXLQWdS/77XH9c\\nQZ5f3IL4tdy6vi7D/mNdrLCpexMdUlhw7QoGnl2KwbqEj4XaCiiDF8z2rKY7u1Mw\\nIDvCaRFsWmVGEWyGEdAuM51JAgMBAAEwDQYJKoZIhvcNAQEFBQADggEBAFr4PpWy\\n7Z6wuWAC4M4e4lckfHI5fvx60qws38xp/oVHRMaY2f0PbRo+AUyO1p9wFSHc1YOJ\\neItWSMpPkQvjucF/aUQaMBXWPTnE+9hiRe2MBtwz6kB8BLVDZSZ45sUh0l8tPo9C\\nbABUHn/+YwJRbBlical9HnWPkIgnHqYCdUeHk/+aUC2TFM+SaJUCEUvfKqXutyIn\\nyvnCkUNUbdm38dSaFKnmFJb5htJYcWDgvBsABV41RFtq62Tbz87HKYiBaKb04dja\\nyt5Gep3gAkgso4hx8u+M3HdKktSRn/2lj5Ky1odPVW3l0O3XvSAv2GJxT4UblcEr\\nF5T2gdMFqsvV7W8=\\n-----END CERTIFICATE-----\", \"_ns\": \"consumers\", \"notes\": {}, \"capabilities\": {}, \"_id\": {\"$oid\": \"512c07799c60ed744100285c\"}, \"id\": \"integration_test_consumer_extensions11000\", \"_href\": {\"_href\": \"/pulp/api/v2/consumers/integration_test_consumer_extensions11000/\"}}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:53:13 GMT
- request:
method: get
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/?details=true
body:
string: ""
headers:
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Length:
- "73"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
code: 202
message: Accepted
headers:
Content-Length:
- "985"
Date:
- Tue, 26 Feb 2013 00:53:13 GMT
- Mon, 18 Mar 2013 17:29:02 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:
- "1868"
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
body:
string: "{\"scratchpad\": {\"checksum_type\": \"sha256\", \"repodata\": {}}, \"display_name\": \"integration_test_id\", \"description\": null, \"_ns\": \"repos\", \"notes\": {}, \"content_unit_count\": 14, \"_id\": {\"$oid\": \"512c07399c60ed74410026fc\"}, \"id\": \"integration_test_id\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id/\", \"importers\": [{\"repo_id\": \"integration_test_id\", \"_ns\": \"repo_importers\", \"importer_type_id\": \"yum_importer\", \"last_sync\": \"2013-02-25T19:52:11-05:00\", \"scheduled_syncs\": [], \"_id\": {\"$oid\": \"512c073a9c60ed74410026fd\"}, \"config\": {\"feed_url\": \"file:///home/jlsherri/github/runcible/test/fixtures/repositories/zoo5\"}, \"id\": \"yum_importer\"}], \"distributors\": [{\"repo_id\": \"integration_test_id\", \"_ns\": \"repo_distributors\", \"last_publish\": null, \"auto_publish\": false, \"scheduled_publishes\": [], \"distributor_type_id\": \"yum_distributor\", \"_id\": {\"$oid\": \"512c073a9c60ed74410026fe\"}, \"config\": {\"http\": true, \"https\": true, \"relative_url\": \"/path\"}, \"id\": \"4055684a29f75f6f3014\"}]}"
encoding: US-ASCII
string: "[{\"task_group_id\": \"4304e386-3e79-4386-93b2-74b4db3d4116\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/4304e386-3e79-4386-93b2-74b4db3d4116/\", \"task_id\": \"d8e7beab-75a0-4528-a5b9-bb9e7cd41f3e\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:b86c63d6f339447d6865\", \"pulp:action:bind\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:b86c63d6f339447d6865\", \"pulp:action:bind\"], \"state\": \"running\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": \"4304e386-3e79-4386-93b2-74b4db3d4116\", \"call_request_id\": \"d8e7beab-75a0-4528-a5b9-bb9e7cd41f3e\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}, {\"task_group_id\": \"4304e386-3e79-4386-93b2-74b4db3d4116\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/4304e386-3e79-4386-93b2-74b4db3d4116/\", \"task_id\": \"ea335578-aa80-4479-ad50-8aa6fe298d02\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:b86c63d6f339447d6865\", \"pulp:action:agent_bind\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:b86c63d6f339447d6865\", \"pulp:action:agent_bind\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": \"4304e386-3e79-4386-93b2-74b4db3d4116\", \"call_request_id\": \"ea335578-aa80-4479-ad50-8aa6fe298d02\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}]"
http_version:
recorded_at: Tue, 26 Feb 2013 00:53:14 GMT
recorded_at: Mon, 18 Mar 2013 17:29:02 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer_extensions11000/bindings//
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer_extensions11000/actions/content/install//
body:
string: "{\"repo_id\":\"integration_test_id\",\"distributor_id\":\"4055684a29f75f6f3014\"}"
encoding: US-ASCII
string: "{\"units\":[{\"type_id\":\"rpm\",\"unit_key\":{\"name\":\"zsh\"}},{\"type_id\":\"rpm\",\"unit_key\":{\"name\":\"foo\"}}],\"options\":{}}"
headers:
Content-Length:
- "73"
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "112"
User-Agent:
- Ruby
response:
status:
code: 202
message: Accepted
headers:
Content-Length:
- "1868"
Date:
- Tue, 26 Feb 2013 00:53:14 GMT
Content-Type:
- application/json
- Mon, 18 Mar 2013 17:29:05 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Encoding:
- utf-8
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "686"
Content-Type:
- application/json
body:
string: "[{\"task_group_id\": \"8e8fb4ed-b2b5-4ea0-98c6-ed0dc3fd3e86\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/8e8fb4ed-b2b5-4ea0-98c6-ed0dc3fd3e86/\", \"task_id\": \"0d650428-f6c0-4266-a91c-0b6044658330\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:4055684a29f75f6f3014\", \"pulp:action:bind\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:4055684a29f75f6f3014\", \"pulp:action:bind\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": \"8e8fb4ed-b2b5-4ea0-98c6-ed0dc3fd3e86\", \"call_request_id\": \"0d650428-f6c0-4266-a91c-0b6044658330\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}, {\"task_group_id\": \"8e8fb4ed-b2b5-4ea0-98c6-ed0dc3fd3e86\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/8e8fb4ed-b2b5-4ea0-98c6-ed0dc3fd3e86/\", \"task_id\": \"6abc13f9-b7e5-471d-a81a-6ade2143de9a\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:4055684a29f75f6f3014\", \"pulp:action:agent_bind\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:4055684a29f75f6f3014\", \"pulp:action:agent_bind\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": \"8e8fb4ed-b2b5-4ea0-98c6-ed0dc3fd3e86\", \"call_request_id\": \"6abc13f9-b7e5-471d-a81a-6ade2143de9a\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}]"
encoding: US-ASCII
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/d517680a-0576-4abb-8164-1490772452c6/\", \"task_id\": \"d517680a-0576-4abb-8164-1490772452c6\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:action:unit_install\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:action:unit_install\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"d517680a-0576-4abb-8164-1490772452c6\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:53:14 GMT
recorded_at: Mon, 18 Mar 2013 17:29:06 GMT
- request:
method: get
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/?details=true
method: delete
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer_extensions11000/
body:
encoding: US-ASCII
string: ""
headers:
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
code: 409
message: Conflict
headers:
Content-Length:
- "985"
Date:
- Tue, 26 Feb 2013 00:53:17 GMT
- Mon, 18 Mar 2013 17:29: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:
- "467"
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
body:
string: "{\"scratchpad\": {\"checksum_type\": \"sha256\", \"repodata\": {}}, \"display_name\": \"integration_test_id\", \"description\": null, \"_ns\": \"repos\", \"notes\": {}, \"content_unit_count\": 14, \"_id\": {\"$oid\": \"512c07399c60ed74410026fc\"}, \"id\": \"integration_test_id\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id/\", \"importers\": [{\"repo_id\": \"integration_test_id\", \"_ns\": \"repo_importers\", \"importer_type_id\": \"yum_importer\", \"last_sync\": \"2013-02-25T19:52:11-05:00\", \"scheduled_syncs\": [], \"_id\": {\"$oid\": \"512c073a9c60ed74410026fd\"}, \"config\": {\"feed_url\": \"file:///home/jlsherri/github/runcible/test/fixtures/repositories/zoo5\"}, \"id\": \"yum_importer\"}], \"distributors\": [{\"repo_id\": \"integration_test_id\", \"_ns\": \"repo_distributors\", \"last_publish\": null, \"auto_publish\": false, \"scheduled_publishes\": [], \"distributor_type_id\": \"yum_distributor\", \"_id\": {\"$oid\": \"512c073a9c60ed74410026fe\"}, \"config\": {\"http\": true, \"https\": true, \"relative_url\": \"/path\"}, \"id\": \"4055684a29f75f6f3014\"}]}"
encoding: US-ASCII
string: "{\"http_request_method\": \"DELETE\", \"exception\": null, \"error_message\": \"Conflicting operation reasons: [{'operation': u'delete', u'resource_type': u'consumer', u'resource_id': u'integration_test_consumer_extensions11000'}]\", \"_href\": \"/pulp/api/v2/consumers/integration_test_consumer_extensions11000/\", \"http_status\": 409, \"reasons\": [{\"operation\": \"delete\", \"resource_type\": \"consumer\", \"resource_id\": \"integration_test_consumer_extensions11000\"}], \"traceback\": null}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:53:17 GMT
recorded_at: Mon, 18 Mar 2013 17:29:06 GMT
- request:
method: delete
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer_extensions11000/bindings/integration_test_id/4055684a29f75f6f3014/
method: post
uri: https://admin:admin@localhost/pulp/api/v2/consumers/
body:
string: ""
encoding: US-ASCII
string: "{\"id\":\"integration_test_consumer_extensions11000\",\"name\":\"boo\"}"
headers:
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "63"
User-Agent:
- Ruby
response:
status:
code: 202
message: Accepted
code: 201
message: Created
headers:
Content-Length:
- "2824"
Date:
- Tue, 26 Feb 2013 00:53:17 GMT
- Mon, 18 Mar 2013 17:29:06 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Location:
- "{'_href': u'/pulp/api/v2/consumers/integration_test_consumer_extensions11000/'}"
Content-Length:
- "2083"
Content-Type:
- application/json
Content-Encoding:
- utf-8
Server:
- Apache/2.2.22 (Fedora)
body:
string: "[{\"task_group_id\": \"148896f6-8ec8-4f1e-9820-4adecb991475\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/148896f6-8ec8-4f1e-9820-4adecb991475/\", \"task_id\": \"a03c506e-03be-4976-bfdd-d7371829ac69\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:4055684a29f75f6f3014\", \"pulp:action:unbind\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:4055684a29f75f6f3014\", \"pulp:action:unbind\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": \"148896f6-8ec8-4f1e-9820-4adecb991475\", \"call_request_id\": \"a03c506e-03be-4976-bfdd-d7371829ac69\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}, {\"task_group_id\": \"148896f6-8ec8-4f1e-9820-4adecb991475\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/148896f6-8ec8-4f1e-9820-4adecb991475/\", \"task_id\": \"e428098b-cd27-4937-8808-510e50313642\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:4055684a29f75f6f3014\", \"pulp:action:agent_unbind\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:4055684a29f75f6f3014\", \"pulp:action:agent_unbind\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": \"148896f6-8ec8-4f1e-9820-4adecb991475\", \"call_request_id\": \"e428098b-cd27-4937-8808-510e50313642\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}, {\"task_group_id\": \"148896f6-8ec8-4f1e-9820-4adecb991475\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/148896f6-8ec8-4f1e-9820-4adecb991475/\", \"task_id\": \"e6bd0084-d150-437c-9071-94ac62cacb8b\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:4055684a29f75f6f3014\", \"pulp:action:delete_binding\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:4055684a29f75f6f3014\", \"pulp:action:delete_binding\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": \"148896f6-8ec8-4f1e-9820-4adecb991475\", \"call_request_id\": \"e6bd0084-d150-437c-9071-94ac62cacb8b\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}]"
encoding: US-ASCII
string: "{\"display_name\": \"integration_test_consumer_extensions11000\", \"description\": null, \"certificate\": \"-----BEGIN RSA PRIVATE KEY-----\\nMIICXQIBAAKBgQClXsyUoWL8tn78+3qkhS2gPTtVvyyB0RY27cKsSn/t4yU1Pg1f\\nURF5jXh4W6WLcpvVJJVhbP7pvTd2z2IO8POLeq7F5oOiz7bsdFzY+cVcvXOW32ib\\nrKvBPwWEGJEYYYP6AARtCKf8UaDBFJDpuwoWPTQdGDNxBmJPA5nM1rMwYQIDAQAB\\nAoGAWnK4SI7gukICwNG3Kabh5qO3AVY3vKUkllSCxoNU50L2heFzpO+NNEOJYaMW\\nr2e3DeQdhBT+c8+XN3eENZHaUk04A0amBudkpwLqTDHD6n+zJk2AZ9fteaXx7d7K\\na+nzo3ZPX1ICBU2KyWkNruYl0/K3/XFAAn2WrJK2Oq6jc8ECQQDWolyQ9OtftT/M\\njiD5p5kL8s2UaGW0yHJJzRHXfrByOJYUjQWYDz18cglcCx8g0HvYCl0GpE4I5p+i\\ntP4eiW5JAkEAxT3Z3SEXmYSpEPR0n6ombNnS6I1nJuS0QUqd1CRkLOrsGBGK1t2c\\nuB1OX1Hy8N1oe+OQ6L9PdVC0RmnFl9ERWQJBAKK5sAJ6neUPDpKwgxGkXmVvrStC\\nRzHb8sI/RrKhq3a9rhNgo4gYrd4muy/cgronNm2h1cuOUFdxOkBqhmtyeHkCQFxH\\n8dRZlTcIMCl0ldPVwaCP0PNopOg3fHZHuMv2MsApMUiZfIHGsXoai/5g0u8KR8Ye\\n1D9wsnZKye1fs0iyUhECQQDCz1npqtwVtpvGufkN+Fw3SBMdGW92jsuD1VQkyOD6\\nxUg8QeJfkgjfc6jawTgTfIOSs4/rapNI0WEo7f97NFxU\\n-----END RSA PRIVATE KEY-----\\n-----BEGIN CERTIFICATE-----\\nMIICOTCCASECAgGRMA0GCSqGSIb3DQEBBQUAMBQxEjAQBgNVBAMTCWxvY2FsaG9z\\ndDAeFw0xMzAzMTgxNzI5MDhaFw0yMzAzMTYxNzI5MDhaMDQxMjAwBgNVBAMUKWlu\\ndGVncmF0aW9uX3Rlc3RfY29uc3VtZXJfZXh0ZW5zaW9uczExMDAwMIGfMA0GCSqG\\nSIb3DQEBAQUAA4GNADCBiQKBgQClXsyUoWL8tn78+3qkhS2gPTtVvyyB0RY27cKs\\nSn/t4yU1Pg1fURF5jXh4W6WLcpvVJJVhbP7pvTd2z2IO8POLeq7F5oOiz7bsdFzY\\n+cVcvXOW32ibrKvBPwWEGJEYYYP6AARtCKf8UaDBFJDpuwoWPTQdGDNxBmJPA5nM\\n1rMwYQIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQAyZBgODEeo2PpRC9nxvoQi1yrt\\nfUDQXZgJsYcbTZjOKu9dEtkEpsvAtWvSuZxy7jerPyFJbXrE1p6luZVsYUGVnBdZ\\nDvxpMFW55x3/F0X5z4DQXbd73upxusE05/mzrivIlTi7yIhX5c2QC0ynKmtukjRN\\nMIHkehCQOlqHzt7d2csL2QWdEAQSO5n0ro9zoJwLOHHzrEXv5eX4rNkPFxxuZ3VU\\nLm/yDYA8ctI/CfaW0ur/pqqtJR18ymxXEteBo3Gw8uLkxIEq6Fylko/nsZJq1nzj\\nCXK+4Dr8CV+Rc0PYl++7P/E7AFv61FT/VC0ROnODd5+8lDTKB13s8wgIyaq3\\n-----END CERTIFICATE-----\", \"_ns\": \"consumers\", \"notes\": {}, \"capabilities\": {}, \"_id\": {\"$oid\": \"51474ee44964c84cd4fd53b4\"}, \"id\": \"integration_test_consumer_extensions11000\", \"_href\": {\"_href\": \"/pulp/api/v2/consumers/integration_test_consumer_extensions11000/\"}}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:53:18 GMT
recorded_at: Mon, 18 Mar 2013 17:29:08 GMT
- request:
method: get
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/?details=true
body:
encoding: US-ASCII
string: ""
headers:
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Content-Length:
- "985"
Date:
- Tue, 26 Feb 2013 00:53:21 GMT
- Mon, 18 Mar 2013 17:29:08 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "1071"
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
body:
string: "{\"scratchpad\": {\"checksum_type\": \"sha256\", \"repodata\": {}}, \"display_name\": \"integration_test_id\", \"description\": null, \"_ns\": \"repos\", \"notes\": {}, \"content_unit_count\": 14, \"_id\": {\"$oid\": \"512c07399c60ed74410026fc\"}, \"id\": \"integration_test_id\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id/\", \"importers\": [{\"repo_id\": \"integration_test_id\", \"_ns\": \"repo_importers\", \"importer_type_id\": \"yum_importer\", \"last_sync\": \"2013-02-25T19:52:11-05:00\", \"scheduled_syncs\": [], \"_id\": {\"$oid\": \"512c073a9c60ed74410026fd\"}, \"config\": {\"feed_url\": \"file:///home/jlsherri/github/runcible/test/fixtures/repositories/zoo5\"}, \"id\": \"yum_importer\"}], \"distributors\": [{\"repo_id\": \"integration_test_id\", \"_ns\": \"repo_distributors\", \"last_publish\": null, \"auto_publish\": false, \"scheduled_publishes\": [], \"distributor_type_id\": \"yum_distributor\", \"_id\": {\"$oid\": \"512c073a9c60ed74410026fe\"}, \"config\": {\"http\": true, \"https\": true, \"relative_url\": \"/path\"}, \"id\": \"4055684a29f75f6f3014\"}]}"
encoding: US-ASCII
string: "{\"scratchpad\": {\"checksum_type\": \"sha256\", \"repodata\": {}}, \"display_name\": \"integration_test_id\", \"description\": null, \"_ns\": \"repos\", \"notes\": {}, \"content_unit_counts\": {\"package_group\": 2, \"distribution\": 1, \"package_category\": 1, \"rpm\": 8, \"erratum\": 2}, \"_id\": {\"$oid\": \"51474eba4964c84cd4fd5223\"}, \"id\": \"integration_test_id\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id/\", \"importers\": [{\"repo_id\": \"integration_test_id\", \"_ns\": \"repo_importers\", \"importer_type_id\": \"yum_importer\", \"last_sync\": \"2013-03-18T13:28:28-04:00\", \"scheduled_syncs\": [], \"_id\": {\"$oid\": \"51474eba4964c84cd4fd5224\"}, \"config\": {\"feed_url\": \"file:///home/ehelms/workspace/runcible/test/fixtures/repositories/zoo5\"}, \"id\": \"yum_importer\"}], \"distributors\": [{\"repo_id\": \"integration_test_id\", \"_ns\": \"repo_distributors\", \"last_publish\": null, \"auto_publish\": false, \"scheduled_publishes\": [], \"distributor_type_id\": \"yum_distributor\", \"_id\": {\"$oid\": \"51474eba4964c84cd4fd5225\"}, \"config\": {\"http\": true, \"relative_url\": \"/path\", \"https\": true}, \"id\": \"b86c63d6f339447d6865\"}]}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:53:21 GMT
recorded_at: Mon, 18 Mar 2013 17:29:08 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer_extensions11000/bindings//
body:
string: "{\"repo_id\":\"integration_test_id\",\"distributor_id\":\"4055684a29f75f6f3014\"}"
encoding: US-ASCII
string: "{\"repo_id\":\"integration_test_id\",\"distributor_id\":\"b86c63d6f339447d6865\"}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "73"
User-Agent:
- Ruby
response:
status:
code: 202
message: Accepted
headers:
Date:
- Mon, 18 Mar 2013 17:29: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:
- "1868"
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "[{\"task_group_id\": \"733fae11-8cf2-48dc-bc37-64f7d5b32b30\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/733fae11-8cf2-48dc-bc37-64f7d5b32b30/\", \"task_id\": \"f54677c2-1126-41f7-8945-194dd61360d9\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:b86c63d6f339447d6865\", \"pulp:action:bind\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:b86c63d6f339447d6865\", \"pulp:action:bind\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": \"733fae11-8cf2-48dc-bc37-64f7d5b32b30\", \"call_request_id\": \"f54677c2-1126-41f7-8945-194dd61360d9\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}, {\"task_group_id\": \"733fae11-8cf2-48dc-bc37-64f7d5b32b30\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/733fae11-8cf2-48dc-bc37-64f7d5b32b30/\", \"task_id\": \"be792607-112d-44f6-9512-aa0877730d78\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:b86c63d6f339447d6865\", \"pulp:action:agent_bind\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:b86c63d6f339447d6865\", \"pulp:action:agent_bind\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": \"733fae11-8cf2-48dc-bc37-64f7d5b32b30\", \"call_request_id\": \"be792607-112d-44f6-9512-aa0877730d78\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}]"
http_version:
recorded_at: Mon, 18 Mar 2013 17:29:08 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer_extensions11000/actions/content/update//
body:
encoding: US-ASCII
string: "{\"units\":[{\"type_id\":\"rpm\",\"unit_key\":{\"name\":\"zsh\"}},{\"type_id\":\"rpm\",\"unit_key\":{\"name\":\"foo\"}}],\"options\":{}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "112"
User-Agent:
- Ruby
response:
status:
code: 202
message: Accepted
headers:
Content-Length:
- "1868"
Date:
- Tue, 26 Feb 2013 00:53:22 GMT
Content-Type:
- application/json
- Mon, 18 Mar 2013 17:29:11 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Encoding:
- utf-8
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "684"
Content-Type:
- application/json
body:
string: "[{\"task_group_id\": \"62ebb2f7-4465-4e7f-b14f-e5eba8c1c34f\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/62ebb2f7-4465-4e7f-b14f-e5eba8c1c34f/\", \"task_id\": \"8f114eff-b837-40fa-a4fb-b9f4995b7aee\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:4055684a29f75f6f3014\", \"pulp:action:bind\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:4055684a29f75f6f3014\", \"pulp:action:bind\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": \"62ebb2f7-4465-4e7f-b14f-e5eba8c1c34f\", \"call_request_id\": \"8f114eff-b837-40fa-a4fb-b9f4995b7aee\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}, {\"task_group_id\": \"62ebb2f7-4465-4e7f-b14f-e5eba8c1c34f\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/62ebb2f7-4465-4e7f-b14f-e5eba8c1c34f/\", \"task_id\": \"f0c8e4a0-be33-46b9-91a6-d29ffdeff49e\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:4055684a29f75f6f3014\", \"pulp:action:agent_bind\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:4055684a29f75f6f3014\", \"pulp:action:agent_bind\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": \"62ebb2f7-4465-4e7f-b14f-e5eba8c1c34f\", \"call_request_id\": \"f0c8e4a0-be33-46b9-91a6-d29ffdeff49e\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}]"
encoding: US-ASCII
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/ff7df0dd-3a55-473f-9873-1bedee17c012/\", \"task_id\": \"ff7df0dd-3a55-473f-9873-1bedee17c012\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:action:unit_update\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:action:unit_update\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"ff7df0dd-3a55-473f-9873-1bedee17c012\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:53:22 GMT
recorded_at: Mon, 18 Mar 2013 17:29:11 GMT
- request:
method: delete
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer_extensions11000/
body:
encoding: US-ASCII
string: ""
headers:
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
code: 202
message: Accepted
headers:
Content-Length:
- "4"
Date:
- Tue, 26 Feb 2013 00:53:25 GMT
- Mon, 18 Mar 2013 17:29:11 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:
- "785"
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
body:
string: "null"
encoding: US-ASCII
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/aa08be76-eadf-40da-8f91-ad5b80bb8327/\", \"task_id\": \"aa08be76-eadf-40da-8f91-ad5b80bb8327\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:action:delete\"], \"reasons\": [{\"operation\": \"read\", \"resource_type\": \"consumer\", \"resource_id\": \"integration_test_consumer_extensions11000\"}], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_extensions11000\", \"pulp:action:delete\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"aa08be76-eadf-40da-8f91-ad5b80bb8327\", \"principal_login\": \"admin\", \"response\": \"postponed\", \"result\": null}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:53:25 GMT
recorded_with: VCR 2.3.0
recorded_at: Mon, 18 Mar 2013 17:29:12 GMT
recorded_with: VCR 2.4.0

Also available in: Unified diff