Project

General

Profile

« Previous | Next » 

Revision 0e9f2f09

Added by Partha Aji over 11 years ago

Moved the copy and unassociate logic to a more centralized location

View differences:

test/fixtures/vcr_cassettes/consumer.yml
http_interactions:
- request:
method: delete
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer_support/bindings/integration_test_id/d9b9c9af3c07475ecf64/
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer_support/bindings/integration_test_id/514c5274e9436cb056c2/
body:
string: ""
headers:
Content-Type:
- application/json
Accept-Encoding:
- gzip, deflate
Accept:
- application/json
Content-Type:
- application/json
response:
status:
code: 202
message: Accepted
headers:
Content-Type:
- application/json
Content-Encoding:
- utf-8
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "2776"
Connection:
- close
Date:
- Wed, 09 Jan 2013 15:34:55 GMT
Content-Encoding:
- utf-8
- Thu, 17 Jan 2013 21:20:05 GMT
Content-Type:
- application/json
body:
string: "[{\"task_group_id\": \"077eed3d-49fc-410a-97ad-0c416bb87ab9\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/077eed3d-49fc-410a-97ad-0c416bb87ab9/\", \"task_id\": \"028d76c4-7de1-444f-98e5-9346d2fb3ce2\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:d9b9c9af3c07475ecf64\", \"pulp:action:unbind\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:d9b9c9af3c07475ecf64\", \"pulp:action:unbind\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": \"077eed3d-49fc-410a-97ad-0c416bb87ab9\", \"call_request_id\": \"028d76c4-7de1-444f-98e5-9346d2fb3ce2\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}, {\"task_group_id\": \"077eed3d-49fc-410a-97ad-0c416bb87ab9\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/077eed3d-49fc-410a-97ad-0c416bb87ab9/\", \"task_id\": \"bf7726dd-a4a5-4bd8-9964-4a9b621addca\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:d9b9c9af3c07475ecf64\", \"pulp:action:agent_unbind\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:d9b9c9af3c07475ecf64\", \"pulp:action:agent_unbind\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": \"077eed3d-49fc-410a-97ad-0c416bb87ab9\", \"call_request_id\": \"bf7726dd-a4a5-4bd8-9964-4a9b621addca\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}, {\"task_group_id\": \"077eed3d-49fc-410a-97ad-0c416bb87ab9\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/077eed3d-49fc-410a-97ad-0c416bb87ab9/\", \"task_id\": \"5ad76be4-22b8-4839-99ba-67bc836b2372\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:d9b9c9af3c07475ecf64\", \"pulp:action:delete_binding\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:d9b9c9af3c07475ecf64\", \"pulp:action:delete_binding\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": \"077eed3d-49fc-410a-97ad-0c416bb87ab9\", \"call_request_id\": \"5ad76be4-22b8-4839-99ba-67bc836b2372\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}]"
string: "[{\"task_group_id\": \"a463b241-4874-4c2f-b36c-888746e1f1bd\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/a463b241-4874-4c2f-b36c-888746e1f1bd/\", \"task_id\": \"08a664d0-1fa5-49c5-999e-cb5f74971726\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:514c5274e9436cb056c2\", \"pulp:action:unbind\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:514c5274e9436cb056c2\", \"pulp:action:unbind\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": \"a463b241-4874-4c2f-b36c-888746e1f1bd\", \"call_request_id\": \"08a664d0-1fa5-49c5-999e-cb5f74971726\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}, {\"task_group_id\": \"a463b241-4874-4c2f-b36c-888746e1f1bd\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/a463b241-4874-4c2f-b36c-888746e1f1bd/\", \"task_id\": \"6b51a424-a604-495e-ac4f-9e4c050a3dc1\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:514c5274e9436cb056c2\", \"pulp:action:agent_unbind\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:514c5274e9436cb056c2\", \"pulp:action:agent_unbind\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": \"a463b241-4874-4c2f-b36c-888746e1f1bd\", \"call_request_id\": \"6b51a424-a604-495e-ac4f-9e4c050a3dc1\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}, {\"task_group_id\": \"a463b241-4874-4c2f-b36c-888746e1f1bd\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/a463b241-4874-4c2f-b36c-888746e1f1bd/\", \"task_id\": \"0f33a6a0-c6cc-409e-937b-bba4caff5fb8\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:514c5274e9436cb056c2\", \"pulp:action:delete_binding\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:514c5274e9436cb056c2\", \"pulp:action:delete_binding\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": \"a463b241-4874-4c2f-b36c-888746e1f1bd\", \"call_request_id\": \"0f33a6a0-c6cc-409e-937b-bba4caff5fb8\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}]"
http_version:
recorded_at: Wed, 09 Jan 2013 15:34:55 GMT
recorded_at: Thu, 17 Jan 2013 21:20:05 GMT
- request:
method: get
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer_support/bindings/integration_test_id/d9b9c9af3c07475ecf64/
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer_support/bindings//
body:
string: ""
headers:
Content-Type:
- application/json
Accept-Encoding:
- gzip, deflate
Accept:
- application/json
Content-Type:
- application/json
response:
status:
code: 200
message: OK
headers:
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "819"
Connection:
- close
- "1660"
Date:
- Wed, 09 Jan 2013 15:36:28 GMT
body:
string: "{\"repo_id\": \"integration_test_id\", \"_href\": \"/pulp/api/v2/consumers/integration_test_consumer_support/bindings/integration_test_id/d9b9c9af3c07475ecf64/integration_test_consumer_support/integration_test_id/d9b9c9af3c07475ecf64/\", \"type_id\": \"yum_distributor\", \"consumer_actions\": [{\"action\": \"bind\", \"status\": \"failed\", \"id\": \"a55ec57e-bddf-43c8-9839-e29c7e5f8b73\", \"timestamp\": 1357745779.624479}], \"_ns\": \"consumer_bindings\", \"_id\": {\"$oid\": \"50ed8e73dc792172460059c4\"}, \"consumer_id\": \"integration_test_consumer_support\", \"deleted\": false, \"details\": {\"server_name\": \"localhost\", \"ca_cert\": null, \"relative_path\": \"/pulp/repos//path\", \"gpg_keys\": [], \"client_cert\": null, \"protocols\": [\"http\", \"https\"], \"repo_name\": \"integration_test_id\"}, \"distributor_id\": \"d9b9c9af3c07475ecf64\", \"id\": \"50ed8e73dc792172460059c4\"}"
http_version:
recorded_at: Wed, 09 Jan 2013 15:36:28 GMT
- request:
method: delete
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer_support/bindings/integration_test_id/a0b77f0c129053c20695/
body:
string: ""
headers:
- Thu, 17 Jan 2013 21:21:58 GMT
Content-Type:
- application/json
Accept-Encoding:
- gzip, deflate
Accept:
- application/json
response:
status:
code: 202
message: Accepted
headers:
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "2776"
Date:
- Wed, 16 Jan 2013 15:57:10 GMT
Content-Encoding:
- utf-8
body:
string: "[{\"task_group_id\": \"440a1e51-3448-40c7-916d-f92286b1d7d5\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/440a1e51-3448-40c7-916d-f92286b1d7d5/\", \"task_id\": \"8532f756-3a29-43fa-833f-e521e2c0e943\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:a0b77f0c129053c20695\", \"pulp:action:unbind\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:a0b77f0c129053c20695\", \"pulp:action:unbind\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": \"440a1e51-3448-40c7-916d-f92286b1d7d5\", \"call_request_id\": \"8532f756-3a29-43fa-833f-e521e2c0e943\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}, {\"task_group_id\": \"440a1e51-3448-40c7-916d-f92286b1d7d5\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/440a1e51-3448-40c7-916d-f92286b1d7d5/\", \"task_id\": \"ee92866a-141f-4a0c-acc2-06dc5e528386\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:a0b77f0c129053c20695\", \"pulp:action:agent_unbind\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:a0b77f0c129053c20695\", \"pulp:action:agent_unbind\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": \"440a1e51-3448-40c7-916d-f92286b1d7d5\", \"call_request_id\": \"ee92866a-141f-4a0c-acc2-06dc5e528386\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}, {\"task_group_id\": \"440a1e51-3448-40c7-916d-f92286b1d7d5\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/440a1e51-3448-40c7-916d-f92286b1d7d5/\", \"task_id\": \"acc529e3-ba4e-40da-aad5-895a8bce299a\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:a0b77f0c129053c20695\", \"pulp:action:delete_binding\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:a0b77f0c129053c20695\", \"pulp:action:delete_binding\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": \"440a1e51-3448-40c7-916d-f92286b1d7d5\", \"call_request_id\": \"acc529e3-ba4e-40da-aad5-895a8bce299a\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}]"
string: "[{\"repo_id\": \"integration_test_id\", \"_href\": \"/pulp/api/v2/consumers/integration_test_consumer_support/bindings/integration_test_consumer_support/integration_test_id/514c5274e9436cb056c2/\", \"type_id\": \"yum_distributor\", \"consumer_actions\": [{\"action\": \"bind\", \"status\": \"failed\", \"id\": \"f50f9f33-c39e-4174-a580-9e44d74e5c6e\", \"timestamp\": 1358457716.181208}], \"_ns\": \"consumer_bindings\", \"_id\": {\"$oid\": \"50f86b73196cbe74d300069a\"}, \"consumer_id\": \"integration_test_consumer_support\", \"deleted\": false, \"details\": {\"server_name\": \"localhost\", \"ca_cert\": \"-----BEGIN CERTIFICATE-----\\nMIICUjCCAbugAwIBAgIJALyVG5L90+d9MA0GCSqGSIb3DQEBBQUAMEIxITAfBgNV\\nBAMMGGthZmthLnVzZXJzeXMucmVkaGF0LmNvbTELMAkGA1UEBhMCVVMxEDAOBgNV\\nBAcMB1JhbGVpZ2gwHhcNMTIxMDMwMTQyMDUyWhcNMTMxMDMwMTQyMDUyWjBCMSEw\\nHwYDVQQDDBhrYWZrYS51c2Vyc3lzLnJlZGhhdC5jb20xCzAJBgNVBAYTAlVTMRAw\\nDgYDVQQHDAdSYWxlaWdoMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDCHTSP\\nrDtuAJXy1mPWfV3wPcwlpmzDIMKsvZHAug/rETS8nEgolURlQ+eA9zwDZ9L5Vlkg\\njo8Ca3H1JfocH+djZZ4jpwqpJfE7RIJKVdopqDtiIW/GnYfRrf32105+vmg/JDYC\\nmKYiPIsBRFPAwFQcnmrUZmO6A6JBlJ5mLM8bwQIDAQABo1AwTjAdBgNVHQ4EFgQU\\nO26V9dsMLXwKh827Ew2C/LNOUncwHwYDVR0jBBgwFoAUO26V9dsMLXwKh827Ew2C\\n/LNOUncwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQAGjbls76nA1t/2\\n3zsM3WalpCjiZYdiTXONjEk4JtBaN4xcv6dqWiwEeKzbFSuihihFJLeCXTjvlJ1Y\\nc4k81ldo9ziktUX0jlUgt6IBmFR9MMcfoeLPv0MIpggXC7Ccob2JzRZ5JQSRnopB\\nO6Ry+Uxo3yLtC1VwKd0oh0bYTyGa4A==\\n-----END CERTIFICATE-----\\n\", \"relative_path\": \"/pulp/repos//path\", \"gpg_keys\": [], \"client_cert\": null, \"protocols\": [\"http\", \"https\"], \"repo_name\": \"integration_test_id\"}, \"distributor_id\": \"514c5274e9436cb056c2\", \"id\": \"50f86b73196cbe74d300069a\"}]"
http_version:
recorded_at: Wed, 16 Jan 2013 15:57:11 GMT
recorded_at: Thu, 17 Jan 2013 21:21:58 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer/actions/content/uninstall//
body:
string: "{\"units\":{\"units\":[{\"unit_key\":{\"name\":\"zsh\"}}]},\"options\":{}}"
headers:
Content-Type:
- application/json
Content-Length:
- "62"
Accept-Encoding:
- gzip, deflate
Content-Length:
- "62"
Accept:
- application/json
Content-Type:
- application/json
response:
status:
code: 202
message: Accepted
headers:
Content-Type:
- application/json
Content-Encoding:
- utf-8
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "658"
Date:
- Wed, 16 Jan 2013 16:00:05 GMT
Content-Encoding:
- utf-8
- Thu, 17 Jan 2013 21:21:58 GMT
Content-Type:
- application/json
body:
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/d333cabd-2788-476c-b0ec-4e9feebbb62a/\", \"task_id\": \"d333cabd-2788-476c-b0ec-4e9feebbb62a\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer\", \"pulp:action:unit_uninstall\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer\", \"pulp:action:unit_uninstall\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"d333cabd-2788-476c-b0ec-4e9feebbb62a\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/8fdf4806-ad51-4dce-ad5d-c706bc9cef5f/\", \"task_id\": \"8fdf4806-ad51-4dce-ad5d-c706bc9cef5f\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer\", \"pulp:action:unit_uninstall\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer\", \"pulp:action:unit_uninstall\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"8fdf4806-ad51-4dce-ad5d-c706bc9cef5f\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
http_version:
recorded_at: Wed, 16 Jan 2013 16:00:05 GMT
recorded_at: Thu, 17 Jan 2013 21:21:58 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer/actions/content/install//
body:
string: "{\"units\":{\"units\":[{\"unit_key\":{\"name\":\"zsh\"}}]},\"options\":{}}"
headers:
Content-Type:
- application/json
Content-Length:
- "62"
Accept-Encoding:
- gzip, deflate
Content-Length:
- "62"
Accept:
- application/json
Content-Type:
- application/json
response:
status:
code: 202
message: Accepted
headers:
Content-Type:
- application/json
Content-Encoding:
- utf-8
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "654"
Date:
- Wed, 16 Jan 2013 16:00:08 GMT
Content-Encoding:
- utf-8
- Thu, 17 Jan 2013 21:22:00 GMT
Content-Type:
- application/json
body:
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/1bb315dd-1619-4da6-bc7a-43f9dd93473a/\", \"task_id\": \"1bb315dd-1619-4da6-bc7a-43f9dd93473a\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer\", \"pulp:action:unit_install\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer\", \"pulp:action:unit_install\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"1bb315dd-1619-4da6-bc7a-43f9dd93473a\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/3d27fcf1-e490-45b7-a407-6b56b141133c/\", \"task_id\": \"3d27fcf1-e490-45b7-a407-6b56b141133c\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer\", \"pulp:action:unit_install\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer\", \"pulp:action:unit_install\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"3d27fcf1-e490-45b7-a407-6b56b141133c\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
http_version:
recorded_at: Wed, 16 Jan 2013 16:00:08 GMT
recorded_at: Thu, 17 Jan 2013 21:22:00 GMT
- request:
method: get
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer_support/bindings//
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/?details=true
body:
string: ""
headers:
Content-Type:
- application/json
Accept-Encoding:
- gzip, deflate
Accept:
- application/json
Content-Type:
- application/json
response:
status:
code: 200
message: OK
headers:
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "2572"
- "982"
Date:
- Wed, 16 Jan 2013 16:00:11 GMT
body:
string: "[{\"repo_id\": \"integration_test_id\", \"_href\": \"/pulp/api/v2/consumers/integration_test_consumer_support/bindings/integration_test_consumer_support/integration_test_id/a0b77f0c129053c20695/\", \"type_id\": \"yum_distributor\", \"consumer_actions\": [{\"action\": \"bind\", \"status\": \"failed\", \"id\": \"1df38554-82fb-4584-b762-d2ef11146b1b\", \"timestamp\": 1358351999.819095}], \"_ns\": \"consumer_bindings\", \"_id\": {\"$oid\": \"50f6ce7f9c60ed27ce000668\"}, \"consumer_id\": \"integration_test_consumer_support\", \"deleted\": false, \"details\": {\"server_name\": \"localhost\", \"ca_cert\": \"-----BEGIN CERTIFICATE-----\\nMIIE6TCCA9GgAwIBAgIJALSMl8uWW2+XMA0GCSqGSIb3DQEBBQUAMIGBMQswCQYD\\nVQQGEwJVUzEXMBUGA1UECBMOTm9ydGggQ2Fyb2xpbmExEDAOBgNVBAcTB1JhbGVp\\nZ2gxEDAOBgNVBAoTB1JlZCBIYXQxETAPBgNVBAsTCENsb3VkIEJVMSIwIAYDVQQD\\nExlkaGNwMjMxLTE2LnJkdS5yZWRoYXQuY29tMB4XDTEyMDgxMDE0MTEzMFoXDTM4\\nMDExODE0MTEzMFowgYExCzAJBgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJv\\nbGluYTEQMA4GA1UEBxMHUmFsZWlnaDEQMA4GA1UEChMHUmVkIEhhdDERMA8GA1UE\\nCxMIQ2xvdWQgQlUxIjAgBgNVBAMTGWRoY3AyMzEtMTYucmR1LnJlZGhhdC5jb20w\\nggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDL9q29hHcj9pZVDWMsXT2Y\\n1PvLwZFz9RlaQ9zoqmKtuJw5awdyctjJ27WObKUBT/CrDv0P6rdlK4XxbEGw8wMe\\nIUEm1cGtgbgFzG142aBT7U8RTNHs1ePUleKeCdZU+05/f5ljsGMe7PDE66DdUrOw\\nPSvUg91nwSYe1d2ObBYP+9W8OdetIYXYPv+Bt3JVZQ+UsQk8Xab5687GP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\", \"gpg_keys\": [], \"client_cert\": null, \"protocols\": [\"http\", \"https\"], \"repo_name\": \"integration_test_id\"}, \"distributor_id\": \"a0b77f0c129053c20695\", \"id\": \"50f6ce7f9c60ed27ce000668\"}]"
http_version:
recorded_at: Wed, 16 Jan 2013 16:00:11 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer/actions/content/update//
body:
string: "{\"units\":{\"units\":[{\"unit_key\":{\"name\":\"zsh\"}}]},\"options\":{}}"
headers:
- Thu, 17 Jan 2013 21:22:01 GMT
Content-Type:
- application/json
Content-Length:
- "62"
Accept-Encoding:
- gzip, deflate
Accept:
- application/json
response:
status:
code: 202
message: Accepted
headers:
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "652"
Date:
- Wed, 16 Jan 2013 16:00:11 GMT
Content-Encoding:
- utf-8
body:
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/73c3f4cd-e7d1-446a-bc58-e37fa87891e3/\", \"task_id\": \"73c3f4cd-e7d1-446a-bc58-e37fa87891e3\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer\", \"pulp:action:unit_update\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer\", \"pulp:action:unit_update\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"73c3f4cd-e7d1-446a-bc58-e37fa87891e3\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
string: "{\"scratchpad\": {\"checksum_type\": \"sha256\", \"repodata\": {}}, \"display_name\": \"integration_test_id\", \"description\": null, \"_ns\": \"repos\", \"notes\": {}, \"content_unit_count\": 14, \"_id\": {\"$oid\": \"50f86b70196cbe74d3000663\"}, \"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-01-17T16:21:53-05:00\", \"scheduled_syncs\": [], \"_id\": {\"$oid\": \"50f86b70196cbe74d3000664\"}, \"config\": {\"feed_url\": \"file:///home/paji/katello/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\": \"50f86b70196cbe74d3000665\"}, \"config\": {\"http\": true, \"relative_url\": \"/path\", \"https\": true}, \"id\": \"514c5274e9436cb056c2\"}]}"
http_version:
recorded_at: Wed, 16 Jan 2013 16:00:11 GMT
recorded_at: Thu, 17 Jan 2013 21:22:01 GMT
- request:
method: get
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/?details=true
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer_support/bindings/integration_test_id/514c5274e9436cb056c2/
body:
string: ""
headers:
Content-Type:
- application/json
Accept-Encoding:
- gzip, deflate
Accept:
- application/json
Content-Type:
- application/json
response:
status:
code: 200
message: OK
headers:
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "985"
- "1699"
Date:
- Wed, 16 Jan 2013 16:00:14 GMT
- Thu, 17 Jan 2013 21:22:01 GMT
Content-Type:
- application/json
body:
string: "{\"scratchpad\": {\"checksum_type\": \"sha256\", \"repodata\": {}}, \"display_name\": \"integration_test_id\", \"description\": null, \"_ns\": \"repos\", \"notes\": {}, \"content_unit_count\": 14, \"_id\": {\"$oid\": \"50f6ce7a9c60ed27ce000631\"}, \"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-01-16T10:59:55-05:00\", \"scheduled_syncs\": [], \"_id\": {\"$oid\": \"50f6ce7a9c60ed27ce000632\"}, \"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\": \"50f6ce7a9c60ed27ce000633\"}, \"config\": {\"http\": true, \"relative_url\": \"/path\", \"https\": true}, \"id\": \"a0b77f0c129053c20695\"}]}"
string: "{\"repo_id\": \"integration_test_id\", \"_href\": \"/pulp/api/v2/consumers/integration_test_consumer_support/bindings/integration_test_id/514c5274e9436cb056c2/integration_test_consumer_support/integration_test_id/514c5274e9436cb056c2/\", \"type_id\": \"yum_distributor\", \"consumer_actions\": [{\"action\": \"bind\", \"status\": \"failed\", \"id\": \"f50f9f33-c39e-4174-a580-9e44d74e5c6e\", \"timestamp\": 1358457716.181208}], \"_ns\": \"consumer_bindings\", \"_id\": {\"$oid\": \"50f86b73196cbe74d300069a\"}, \"consumer_id\": \"integration_test_consumer_support\", \"deleted\": false, \"details\": {\"server_name\": \"localhost\", \"ca_cert\": \"-----BEGIN CERTIFICATE-----\\nMIICUjCCAbugAwIBAgIJALyVG5L90+d9MA0GCSqGSIb3DQEBBQUAMEIxITAfBgNV\\nBAMMGGthZmthLnVzZXJzeXMucmVkaGF0LmNvbTELMAkGA1UEBhMCVVMxEDAOBgNV\\nBAcMB1JhbGVpZ2gwHhcNMTIxMDMwMTQyMDUyWhcNMTMxMDMwMTQyMDUyWjBCMSEw\\nHwYDVQQDDBhrYWZrYS51c2Vyc3lzLnJlZGhhdC5jb20xCzAJBgNVBAYTAlVTMRAw\\nDgYDVQQHDAdSYWxlaWdoMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDCHTSP\\nrDtuAJXy1mPWfV3wPcwlpmzDIMKsvZHAug/rETS8nEgolURlQ+eA9zwDZ9L5Vlkg\\njo8Ca3H1JfocH+djZZ4jpwqpJfE7RIJKVdopqDtiIW/GnYfRrf32105+vmg/JDYC\\nmKYiPIsBRFPAwFQcnmrUZmO6A6JBlJ5mLM8bwQIDAQABo1AwTjAdBgNVHQ4EFgQU\\nO26V9dsMLXwKh827Ew2C/LNOUncwHwYDVR0jBBgwFoAUO26V9dsMLXwKh827Ew2C\\n/LNOUncwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQAGjbls76nA1t/2\\n3zsM3WalpCjiZYdiTXONjEk4JtBaN4xcv6dqWiwEeKzbFSuihihFJLeCXTjvlJ1Y\\nc4k81ldo9ziktUX0jlUgt6IBmFR9MMcfoeLPv0MIpggXC7Ccob2JzRZ5JQSRnopB\\nO6Ry+Uxo3yLtC1VwKd0oh0bYTyGa4A==\\n-----END CERTIFICATE-----\\n\", \"relative_path\": \"/pulp/repos//path\", \"gpg_keys\": [], \"client_cert\": null, \"protocols\": [\"http\", \"https\"], \"repo_name\": \"integration_test_id\"}, \"distributor_id\": \"514c5274e9436cb056c2\", \"id\": \"50f86b73196cbe74d300069a\"}"
http_version:
recorded_at: Wed, 16 Jan 2013 16:00:14 GMT
recorded_at: Thu, 17 Jan 2013 21:22:01 GMT
- request:
method: get
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer_support/bindings/integration_test_id/a0b77f0c129053c20695/
method: post
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer/actions/content/update//
body:
string: ""
string: "{\"units\":{\"units\":[{\"unit_key\":{\"name\":\"zsh\"}}]},\"options\":{}}"
headers:
Content-Type:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Length:
- "62"
Accept:
- application/json
Content-Type:
- application/json
response:
status:
code: 200
message: OK
code: 202
message: Accepted
headers:
Content-Type:
- application/json
Content-Encoding:
- utf-8
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "2611"
- "652"
Date:
- Wed, 16 Jan 2013 16:00:14 GMT
- Thu, 17 Jan 2013 21:22:02 GMT
Content-Type:
- application/json
body:
string: "{\"repo_id\": \"integration_test_id\", \"_href\": \"/pulp/api/v2/consumers/integration_test_consumer_support/bindings/integration_test_id/a0b77f0c129053c20695/integration_test_consumer_support/integration_test_id/a0b77f0c129053c20695/\", \"type_id\": \"yum_distributor\", \"consumer_actions\": [{\"action\": \"bind\", \"status\": \"failed\", \"id\": \"1df38554-82fb-4584-b762-d2ef11146b1b\", \"timestamp\": 1358351999.819095}], \"_ns\": \"consumer_bindings\", \"_id\": {\"$oid\": \"50f6ce7f9c60ed27ce000668\"}, \"consumer_id\": \"integration_test_consumer_support\", \"deleted\": false, \"details\": {\"server_name\": \"localhost\", \"ca_cert\": \"-----BEGIN CERTIFICATE-----\\nMIIE6TCCA9GgAwIBAgIJALSMl8uWW2+XMA0GCSqGSIb3DQEBBQUAMIGBMQswCQYD\\nVQQGEwJVUzEXMBUGA1UECBMOTm9ydGggQ2Fyb2xpbmExEDAOBgNVBAcTB1JhbGVp\\nZ2gxEDAOBgNVBAoTB1JlZCBIYXQxETAPBgNVBAsTCENsb3VkIEJVMSIwIAYDVQQD\\nExlkaGNwMjMxLTE2LnJkdS5yZWRoYXQuY29tMB4XDTEyMDgxMDE0MTEzMFoXDTM4\\nMDExODE0MTEzMFowgYExCzAJBgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJv\\nbGluYTEQMA4GA1UEBxMHUmFsZWlnaDEQMA4GA1UEChMHUmVkIEhhdDERMA8GA1UE\\nCxMIQ2xvdWQgQlUxIjAgBgNVBAMTGWRoY3AyMzEtMTYucmR1LnJlZGhhdC5jb20w\\nggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDL9q29hHcj9pZVDWMsXT2Y\\n1PvLwZFz9RlaQ9zoqmKtuJw5awdyctjJ27WObKUBT/CrDv0P6rdlK4XxbEGw8wMe\\nIUE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I52O06XIKLxzDzKNWqTKEvpq0eYU4MQBQEtms4dbc8UIGXG3ouL45WbByL\\nMu07gw9OLztOjy1+5Q==\\n-----END CERTIFICATE-----\\n\", \"relative_path\": \"/pulp/repos//path\", \"gpg_keys\": [], \"client_cert\": null, \"protocols\": [\"http\", \"https\"], \"repo_name\": \"integration_test_id\"}, \"distributor_id\": \"a0b77f0c129053c20695\", \"id\": \"50f6ce7f9c60ed27ce000668\"}"
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/546e05f0-9cbe-46a2-912d-d813b8b8abee/\", \"task_id\": \"546e05f0-9cbe-46a2-912d-d813b8b8abee\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer\", \"pulp:action:unit_update\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer\", \"pulp:action:unit_update\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"546e05f0-9cbe-46a2-912d-d813b8b8abee\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
http_version:
recorded_at: Wed, 16 Jan 2013 16:00:14 GMT
recorded_at: Thu, 17 Jan 2013 21:22:02 GMT
- request:
method: get
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer/
body:
string: ""
headers:
Content-Type:
- application/json
Accept-Encoding:
- gzip, deflate
Accept:
- application/json
Content-Type:
- application/json
response:
status:
code: 200
message: OK
headers:
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "1254"
- "986"
Date:
- Wed, 16 Jan 2013 16:03:59 GMT
- Thu, 17 Jan 2013 21:25:54 GMT
Content-Type:
- application/json
body:
string: "{\"display_name\": \"integration_test_consumer\", \"description\": null, \"certificate\": \"-----BEGIN CERTIFICATE-----\\nMIIClzCCAX8CAgJqMA0GCSqGSIb3DQEBBQUAMIGBMQswCQYDVQQGEwJVUzEXMBUG\\nA1UECBMOTm9ydGggQ2Fyb2xpbmExEDAOBgNVBAcTB1JhbGVpZ2gxEDAOBgNVBAoT\\nB1JlZCBIYXQxETAPBgNVBAsTCENsb3VkIEJVMSIwIAYDVQQDExlkaGNwMjMxLTE2\\nLnJkdS5yZWRoYXQuY29tMB4XDTEzMDExNjE2MDM1OVoXDTIzMDExNDE2MDM1OVow\\nJDEiMCAGA1UEAxQZaW50ZWdyYXRpb25fdGVzdF9jb25zdW1lcjCBnzANBgkqhkiG\\n9w0BAQEFAAOBjQAwgYkCgYEArug3yp9RoW5Dt30gPAzVFHclgjt2EeiQH0ILAOwa\\ngtDDz1DpmmGyXOuWTieWWwl9n40aBVcvZrr1NcSwqgZhIfMefy9iv2I5+nmVw+6u\\nC/9TOZb6FCAVR9482xZ/WLRflVhSqiKokC/najjzEVmPjSnB0cRhqQr0bXk1/tmn\\n6MkCAwEAATANBgkqhkiG9w0BAQUFAAOCAQEARDnSakYuKtgERbEZn7itYHiPZuCN\\nOSJxduu71VXm0lQXlLDvEYjqR5B6TLjO7SXIBZxW3QJTkqH/IHLdtI7YhGmVkPOT\\nnJ2DDSCnGkIY7S/FkwvUEduPrVIXXp5oeBkzfYHnT9RHVfutGmQBE9gpK8YVAy+K\\nnD4X/2E5Fi5QDgR78ZFHZflAbYPFyg9Fa72JP1PnHOMILfyi2UU+9yR0PTo6mAEt\\nZhIHFChlSc4Wtk/RFi2OZ3X1BJTq2WDbJFnuSGyZoslScvkA+yS9/tYjf/cZT8s8\\nCPyLzFB76+xfi+MzwO0LVA9aI8aIjJvF9D/ofNbXsGV6hXtioOFwPwwEpw==\\n-----END CERTIFICATE-----\", \"_ns\": \"consumers\", \"notes\": {}, \"capabilities\": {}, \"_id\": {\"$oid\": \"50f6cf6f9c60ed27ce000bc8\"}, \"id\": \"integration_test_consumer\", \"_href\": \"/pulp/api/v2/consumers/integration_test_consumer/\"}"
string: "{\"display_name\": \"integration_test_consumer\", \"description\": null, \"certificate\": \"-----BEGIN CERTIFICATE-----\\nMIIB1jCCAT8CAgIVMA0GCSqGSIb3DQEBBQUAMEIxITAfBgNVBAMMGGthZmthLnVz\\nZXJzeXMucmVkaGF0LmNvbTELMAkGA1UEBhMCVVMxEDAOBgNVBAcMB1JhbGVpZ2gw\\nHhcNMTMwMTE3MjEyNTU0WhcNMjMwMTE1MjEyNTU0WjAkMSIwIAYDVQQDFBlpbnRl\\nZ3JhdGlvbl90ZXN0X2NvbnN1bWVyMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKB\\ngQCgY3rGETzu42E6iQe4l5t9Dih/IYMYVzBV2BXAMTIJgSu5vmwDAXTLn++GbE0z\\nLTABtD7NXro55ZidKzxEw/OisGTsw9E+Zkp9DXZA4d+rLM/BW6xMq1FEZKuIAPXU\\noqgh0p8NNJbg9Ld39m2D1zvviX9UX4oZrvk2T/QDhdmlQQIDAQABMA0GCSqGSIb3\\nDQEBBQUAA4GBAC2FJMiHmdFQj8n0pD6+GjPXyIYg0xveiJL3Lmp9q6HrYHVOwGTG\\n5vcruHuihu19yYjDXnj3dS/YYQ2ROO1Kp5387fLPaL/CCIw+ETISCqujB4lwcOgm\\nfd4ZdObv4VK7AeNQ2UPjHap3BLbtPhqKyqInsOBK3e/JKTCWPN2A1WrK\\n-----END CERTIFICATE-----\", \"_ns\": \"consumers\", \"notes\": {}, \"capabilities\": {}, \"_id\": {\"$oid\": \"50f86c62196cbe74d3000e66\"}, \"id\": \"integration_test_consumer\", \"_href\": \"/pulp/api/v2/consumers/integration_test_consumer/\"}"
http_version:
recorded_at: Wed, 16 Jan 2013 16:03:59 GMT
recorded_at: Thu, 17 Jan 2013 21:25:54 GMT
- request:
method: put
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer/
body:
string: "{\"delta\":{\"description\":\"Test description\"}}"
headers:
Content-Type:
- application/json
Content-Length:
- "44"
Accept-Encoding:
- gzip, deflate
Content-Length:
- "44"
Accept:
- application/json
Content-Type:
- application/json
response:
status:
code: 200
message: OK
headers:
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "1268"
- "1000"
Date:
- Wed, 16 Jan 2013 16:04:01 GMT
- Thu, 17 Jan 2013 21:25:55 GMT
Content-Type:
- application/json
body:
string: "{\"display_name\": \"integration_test_consumer\", \"description\": \"Test description\", \"certificate\": \"-----BEGIN CERTIFICATE-----\\nMIIClzCCAX8CAgJtMA0GCSqGSIb3DQEBBQUAMIGBMQswCQYDVQQGEwJVUzEXMBUG\\nA1UECBMOTm9ydGggQ2Fyb2xpbmExEDAOBgNVBAcTB1JhbGVpZ2gxEDAOBgNVBAoT\\nB1JlZCBIYXQxETAPBgNVBAsTCENsb3VkIEJVMSIwIAYDVQQDExlkaGNwMjMxLTE2\\nLnJkdS5yZWRoYXQuY29tMB4XDTEzMDExNjE2MDQwMVoXDTIzMDExNDE2MDQwMVow\\nJDEiMCAGA1UEAxQZaW50ZWdyYXRpb25fdGVzdF9jb25zdW1lcjCBnzANBgkqhkiG\\n9w0BAQEFAAOBjQAwgYkCgYEAxeb9xGAQHyrJCMCT1i3uhKfO0xLke5MLTlBTKg7t\\ns8W3vzZVVP+cme1p7w47AghNVFZgLzwUxnxuX2VkA+/WC54cM+kZEXHiTKY4DjP/\\nq2bPHSsgwy9X+s65aMBO0gJAK3BjPmzFenrIDd/Lg57cyjSGOQvpV1iEZa9D0K68\\nG6ECAwEAATANBgkqhkiG9w0BAQUFAAOCAQEAEFTSR62jO+YkZ9SBjjI0qeKDpAlF\\n9khgkCybpFSnYYnYEvevo6lT5azROTp1AVTW8/OySlMBQmIFFKL09QDnjMp1a1Br\\nkmAYUBZktbI0xt6CZTHFJ2Bj+ZIN2GorcthBne02YPR+93zxnsUB2HG9eVegpxO/\\nUKjd5QEFzTG6+MUTcFqDlKNnPGbyYZzEZWnfhb9cOQcABL9BImAo6UxOhSmns/wr\\n2yfQ51pOIKkhbFwldg37zurWtawjxde+qUHtRUyjwn3Z/sDlAIFf4pUGPcIoiEfM\\nm8vWOnDK8zAdDCoMrvqd49lWG1qrCfjTAghLnwEEYnmSfcm0hHqF967NUg==\\n-----END CERTIFICATE-----\", \"_ns\": \"consumers\", \"notes\": {}, \"capabilities\": {}, \"_id\": {\"$oid\": \"50f6cf719c60ed27ce000c08\"}, \"id\": \"integration_test_consumer\", \"_href\": \"/pulp/api/v2/consumers/integration_test_consumer/\"}"
string: "{\"display_name\": \"integration_test_consumer\", \"description\": \"Test description\", \"certificate\": \"-----BEGIN CERTIFICATE-----\\nMIIB1jCCAT8CAgIWMA0GCSqGSIb3DQEBBQUAMEIxITAfBgNVBAMMGGthZmthLnVz\\nZXJzeXMucmVkaGF0LmNvbTELMAkGA1UEBhMCVVMxEDAOBgNVBAcMB1JhbGVpZ2gw\\nHhcNMTMwMTE3MjEyNTU1WhcNMjMwMTE1MjEyNTU1WjAkMSIwIAYDVQQDFBlpbnRl\\nZ3JhdGlvbl90ZXN0X2NvbnN1bWVyMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKB\\ngQCrIbZ8aeAm4rrw6yQLvwzVY6MDWmeoxGqCE4A3iZTUxtIqSNY0QzQsZ7u5dKV1\\nSTxAmJBaNl0X5CDIQhBON+eFPQRdsymwHnNreYRkATGbHRrDOXojFyXlvgyqx1QI\\n8Ba5/G4ZU5yjGhwCikHhHsLpZadVEx2xjudmcp4wWb+bvQIDAQABMA0GCSqGSIb3\\nDQEBBQUAA4GBAA2++V7hWHfBBk4OHZOv8Q77Cg9WFd5MjvE0qA8vKVxbwKCLT9N/\\nR832ZkBlH0Ch1TaKA+Wm5NPaIL2m2qrLnfyPMz03e72CEB3kBUd+jSrHDswOAYJE\\nbFtDUrwGCeXnvltD/Q/lMJera8xCg7PEy4Wdyiose8V7i10RMEoao83P\\n-----END CERTIFICATE-----\", \"_ns\": \"consumers\", \"notes\": {}, \"capabilities\": {}, \"_id\": {\"$oid\": \"50f86c63196cbe74d3000e7c\"}, \"id\": \"integration_test_consumer\", \"_href\": \"/pulp/api/v2/consumers/integration_test_consumer/\"}"
http_version:
recorded_at: Wed, 16 Jan 2013 16:04:02 GMT
recorded_at: Thu, 17 Jan 2013 21:25:55 GMT
- request:
method: get
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer/profiles/rpm//
body:
string: ""
headers:
Content-Type:
- application/json
Accept-Encoding:
- gzip, deflate
Accept:
- application/json
Content-Type:
- application/json
response:
status:
code: 200
message: OK
headers:
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "399"
Date:
- Wed, 16 Jan 2013 16:04:03 GMT
- Thu, 17 Jan 2013 21:25:56 GMT
Content-Type:
- application/json
body:
string: "{\"profile\": [{\"release\": \"0.8\", \"vendor\": \"FedoraHosted\", \"version\": \"0.3\", \"arch\": \"noarch\", \"name\": \"elephant\"}], \"_href\": \"/pulp/api/v2/consumers/integration_test_consumer/profiles/rpm/integration_test_consumer/rpm/\", \"content_type\": \"rpm\", \"_ns\": \"consumer_unit_profiles\", \"_id\": {\"$oid\": \"50f6cf739c60ed27ce000c30\"}, \"id\": \"50f6cf739c60ed27ce000c30\", \"consumer_id\": \"integration_test_consumer\"}"
string: "{\"profile\": [{\"release\": \"0.8\", \"arch\": \"noarch\", \"version\": \"0.3\", \"vendor\": \"FedoraHosted\", \"name\": \"elephant\"}], \"_href\": \"/pulp/api/v2/consumers/integration_test_consumer/profiles/rpm/integration_test_consumer/rpm/\", \"content_type\": \"rpm\", \"_ns\": \"consumer_unit_profiles\", \"_id\": {\"$oid\": \"50f86c64196cbe74d3000ea4\"}, \"id\": \"50f86c64196cbe74d3000ea4\", \"consumer_id\": \"integration_test_consumer\"}"
http_version:
recorded_at: Wed, 16 Jan 2013 16:04:03 GMT
recorded_at: Thu, 17 Jan 2013 21:25:56 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/consumers/
body:
string: "{\"name\":\"boo\",\"id\":\"integration_test_consumer\"}"
headers:
Content-Type:
- application/json
Content-Length:
- "47"
Accept-Encoding:
- gzip, deflate
Content-Length:
- "47"
Accept:
- application/json
Content-Type:
- application/json
response:
status:
code: 201
message: Created
headers:
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "2171"
- "1899"
Date:
- Thu, 17 Jan 2013 21:25:57 GMT
Location:
- "{'_href': u'/pulp/api/v2/consumers/integration_test_consumer/'}"
Date:
- Wed, 16 Jan 2013 16:04:03 GMT
Content-Type:
- application/json
body:
string: "{\"display_name\": \"integration_test_consumer\", \"description\": null, \"certificate\": \"-----BEGIN RSA PRIVATE KEY-----\\nMIICXwIBAAKBgQDLm4T/9fTME4Lp2Qp4I5sZbGTykip4rWlrSE67DmZZpkLaLIU1\\nw00tOU2tuX8NAFOaoiacT1DAZJBrZN4pMKFth8kfreNCBHfwwksyEOpX0mnRG6YS\\nQ4w39LpAZUGYQoqPD+XTZbBQ9PJQqB+2CFdP7feSB5uNW4U28+sHHPewbwIDAQAB\\nAoGBALxebXXBP3Fuu7dNrXnotx2WQu6Ie/KZvOYcR3qXn+lhAIiIl9VdkpE8arlG\\n3FxS6QYu7jm+x563a0VwVHkXHMBqVpwb5vIxqlDTJPFFDkX6csOu86LSuRnN5tEo\\nf26dIu7wYC/3U+IvEnVvM7XQl4xJi3zE817T6DdXvyBl13LBAkEA6DAFkUzdpLii\\nbqXZHWJdE7Ty4Q3aT6bAf5O5fvVCahgDhzN1glrow2gCbCKwdfG2lOl043Qd1Ueu\\nb+K72FliYwJBAOB9JAga+ht2vcUDQ6EVBYz7myxX5gySODry/IQSEqSGWvKpHDn9\\nlDoZo3K0Ad831/eBrIZpjl3HZkP2fh21EYUCQQDHTnF5CEI540OLN1Hnp0e+YtUZ\\n2opLVRhoaqYQFPetmm9s3v8/pkmncuChciWHGLVhngR4OnRhX+acpEQasp+BAkEA\\nn7YohmO7AQMPrDTQTrAIDO+MzJWUo+j7fGUXZlb9UHQODIpn/JH+fP90m8yZcFfo\\nnLxzJAXBNdMBXOTngPcri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----END CERTIFICATE-----\", \"_ns\": \"consumers\", \"notes\": {}, \"capabilities\": {}, \"_id\": {\"$oid\": \"50f6cf739c60ed27ce000c44\"}, \"id\": \"integration_test_consumer\", \"_href\": {\"_href\": \"/pulp/api/v2/consumers/integration_test_consumer/\"}}"
string: "{\"display_name\": \"integration_test_consumer\", \"description\": null, \"certificate\": \"-----BEGIN RSA PRIVATE KEY-----\\nMIICXQIBAAKBgQDB0oQOLJraxKEal0CfaDVSuf46yop/TOpKN6QEPV2fgGUWkLuN\\nC8ccKJ8TFHqKdpywv4BdwD5JmAyMW9KjjHbbjJ4hhgge63cdcHjjKtgYu6qs/OP+\\nGn9LKGHC1JNhwcbirt0oAFIrW8kizPuzMmC3jVhP23Ob13OT9IwArSis3QIDAQAB\\nAoGAeDMYqD2rT06v5nC0p+cVYpdr/YPMPkQx7BLziZmQ7TDQAB2D4mXSdjkO5eNG\\nV4ZViBtK/VkSh8texNDRIZIjxtEKg8d+UCiP5bhtNE4yS2weE2NgqTtqL/iVNXU5\\nZYG7eItOdKzLMQE3ObLdj2CH/ftF0JUjPyJvmShj7OkpXpUCQQDxriB7GDmGuepb\\ngtdFZVO5e5JK19DiSZX8uV4Iy7O3x/HYLwMK4rQArXZPkvrI9w9Z+OaqkkyO1rKJ\\ndSXQp2v7AkEAzU53r5X1XJNWFplpmAunuRpQsrcFIKf4iX7SXcX2RBbf0IHqKIm6\\nG4IZJ8HO7eEdqHYeaZn2SmdBbITA6o/bBwJBAMOUkpyLIiKxWcLsw6FZOsQkCGOg\\n+13lBwgaSsr7blkP6dt1UBUDGYBi4BfNbj4sEbRSBPmMo4AEpz8uGogctPkCQDIZ\\n2Pk/Vg4OYm7HZ05UYcy5EEJciWLLusoK6dk6avt4vYuLeJIF8iWuXOcn05CXY/5t\\nPMS2brT/d6a8yrsy+dcCQQDmq21UxoMES1zCdd48Z2ZQbYVFTQfMjTw73f+0eMwx\\nK/GMx8kfuBbJBwPRo86zLgIiRgd7UY/9w/YLt5q3Txpn\\n-----END RSA PRIVATE KEY-----\\n-----BEGIN CERTIFICATE-----\\nMIIB1jCCAT8CAgIYMA0GCSqGSIb3DQEBBQUAMEIxITAfBgNVBAMMGGthZmthLnVz\\nZXJzeXMucmVkaGF0LmNvbTELMAkGA1UEBhMCVVMxEDAOBgNVBAcMB1JhbGVpZ2gw\\nHhcNMTMwMTE3MjEyNTU3WhcNMjMwMTE1MjEyNTU3WjAkMSIwIAYDVQQDFBlpbnRl\\nZ3JhdGlvbl90ZXN0X2NvbnN1bWVyMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKB\\ngQDB0oQOLJraxKEal0CfaDVSuf46yop/TOpKN6QEPV2fgGUWkLuNC8ccKJ8TFHqK\\ndpywv4BdwD5JmAyMW9KjjHbbjJ4hhgge63cdcHjjKtgYu6qs/OP+Gn9LKGHC1JNh\\nwcbirt0oAFIrW8kizPuzMmC3jVhP23Ob13OT9IwArSis3QIDAQABMA0GCSqGSIb3\\nDQEBBQUAA4GBAHquqgDtmhln+ZiDE3hz0rmiIHwURbJj90sJOYillUzQ+pNOldvi\\nE9fnG2xkNSjf9UE5idWTUv+6/ZBhljuS8OZCa8Sc36BRdfGNcxZBGXScwBBcQ+yR\\nyif8siagRAsMxXCbG8xDPeD2ZFPjg5qmwgSJaLM0NzMQDWrWnwO7hVIB\\n-----END CERTIFICATE-----\", \"_ns\": \"consumers\", \"notes\": {}, \"capabilities\": {}, \"_id\": {\"$oid\": \"50f86c65196cbe74d3000eb8\"}, \"id\": \"integration_test_consumer\", \"_href\": {\"_href\": \"/pulp/api/v2/consumers/integration_test_consumer/\"}}"
http_version:
recorded_at: Wed, 16 Jan 2013 16:04:03 GMT
recorded_at: Thu, 17 Jan 2013 21:25:57 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer/profiles//
body:
string: "{\"profile\":[{\"release\":\"0.8\",\"name\":\"elephant\",\"arch\":\"noarch\",\"version\":\"0.3\",\"vendor\":\"FedoraHosted\"}],\"content_type\":\"rpm\"}"
string: "{\"content_type\":\"rpm\",\"profile\":[{\"release\":\"0.8\",\"name\":\"elephant\",\"vendor\":\"FedoraHosted\",\"arch\":\"noarch\",\"version\":\"0.3\"}]}"
headers:
Content-Type:
- application/json
Content-Length:
- "126"
Accept-Encoding:
- gzip, deflate
Content-Length:
- "126"
Accept:
- application/json
Content-Type:
- application/json
response:
status:
code: 201
message: Created
headers:
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "395"
Date:
- Thu, 17 Jan 2013 21:25:57 GMT
Location:
- /pulp/api/v2/consumers/integration_test_consumer/profiles/integration_test_consumer/rpm/
Date:
- Wed, 16 Jan 2013 16:04:03 GMT
Content-Type:
- application/json
body:
string: "{\"profile\": [{\"release\": \"0.8\", \"arch\": \"noarch\", \"version\": \"0.3\", \"vendor\": \"FedoraHosted\", \"name\": \"elephant\"}], \"_ns\": \"consumer_unit_profiles\", \"consumer_id\": \"integration_test_consumer\", \"content_type\": \"rpm\", \"_id\": {\"$oid\": \"50f6cf739c60ed27ce000c30\"}, \"id\": \"50f6cf739c60ed27ce000c30\", \"_href\": \"/pulp/api/v2/consumers/integration_test_consumer/profiles/integration_test_consumer/rpm/\"}"
string: "{\"profile\": [{\"release\": \"0.8\", \"vendor\": \"FedoraHosted\", \"version\": \"0.3\", \"arch\": \"noarch\", \"name\": \"elephant\"}], \"_ns\": \"consumer_unit_profiles\", \"consumer_id\": \"integration_test_consumer\", \"content_type\": \"rpm\", \"_id\": {\"$oid\": \"50f86c64196cbe74d3000ea4\"}, \"id\": \"50f86c64196cbe74d3000ea4\", \"_href\": \"/pulp/api/v2/consumers/integration_test_consumer/profiles/integration_test_consumer/rpm/\"}"
http_version:
recorded_at: Wed, 16 Jan 2013 16:04:04 GMT
recorded_at: Thu, 17 Jan 2013 21:25:57 GMT
- request:
method: delete
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer/
body:
string: ""
headers:
Content-Type:
- application/json
Accept-Encoding:
- gzip, deflate
Accept:
- application/json
Content-Type:
- application/json
response:
status:
code: 200
message: OK
headers:
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "4"
Date:
- Wed, 16 Jan 2013 16:04:04 GMT
- Thu, 17 Jan 2013 21:25:57 GMT
Content-Type:
- application/json
body:
string: "null"
http_version:
recorded_at: Wed, 16 Jan 2013 16:04:04 GMT
recorded_at: Thu, 17 Jan 2013 21:25:58 GMT
recorded_with: VCR 2.4.0

Also available in: Unified diff