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:

Gemfile
gem 'webmock'
gem 'minitest'
gem 'parseconfig'
gem 'debugger'
end
README.md
Exposing Pulp's juiciest parts. http://www.pulpproject.org/
Latest Live Tested Version: **pulp-server-2.0.6-1.noarch**
Latest Live Tested Version: **pulp-server-2.1.0-0.21.beta.noarch**
For in-depth class and method documentation: http://katello.github.com/runcible/
lib/runcible/resources/consumer_group.rb
# @return [RestClient::Response]
def self.install_units(id, units, options={})
required = required_params(binding.send(:local_variables), binding, ["id"])
call(:post, path("#{id}/actions/content/install/"), :payload => { :required => required })
call(:post, path("#{id}/actions/content/install"), :payload => { :required => required })
end
# Update a set of units on a Consumer Group
......
# @return [RestClient::Response]
def self.update_units(id, units, options={})
required = required_params(binding.send(:local_variables), binding, ["id"])
call(:post, path("#{id}/actions/content/update/"), :payload => { :required => required })
call(:post, path("#{id}/actions/content/update"), :payload => { :required => required })
end
# Uninstall a set of units from a Consumer Group
......
# @return [RestClient::Response]
def self.uninstall_units(id, units, options={})
required = required_params(binding.send(:local_variables), binding, ["id"])
call(:post, path("#{id}/actions/content/uninstall/"), :payload => { :required => required })
call(:post, path("#{id}/actions/content/uninstall"), :payload => { :required => required })
end
end
test/extensions/consumer_group_test.rb
class TestConsumerGroupExtension < MiniTest::Unit::TestCase
def self.before_suite
RepositorySupport.create_and_sync_repo(:importer_and_distributor => true)
end
def self.after_suite
RepositorySupport.destroy_repo
end
def setup
@resource = Runcible::Resources::ConsumerGroup
@extension = Runcible::Extensions::ConsumerGroup
@consumer_group_id = "integration_test_consumer_group_extensions"
VCR.insert_cassette('extensions/consumer_group_extensions')
#ConsumerSupport.destroy_consumer
#ConsumerGroupSupport.destroy_consumer_group
ConsumerGroupSupport.create_consumer_group
ConsumerSupport.create_consumer
criteria = {:criteria =>
{:filters =>
{:id => {"$in" => [ConsumerSupport.consumer_id]}}}}
distro_id = RepositorySupport.distributor()['id']
Runcible::Resources::Consumer.bind(ConsumerSupport.consumer_id, RepositorySupport.repo_id, distro_id)
@resource.associate(ConsumerGroupSupport.consumer_group_id, criteria)
@consumer_group_id = ConsumerGroupSupport.consumer_group_id
end
def teardown
......
assert_includes response, ConsumerSupport.consumer_id
end
def test_make_consumer_criteria
criteria = @extension.make_consumer_criteria([ConsumerSupport.consumer_id])
assert_kind_of Hash, criteria
refute_empty criteria[:criteria][:filters][:id]["$in"]
end
def test_install_content
response = @extension.install_content(@consumer_group_id, "rpm", ["zsh", "foo"])
RepositorySupport.wait_on_task(response)
assert_equal 202, response.code
assert response["task_id"]
......
def test_update_content
response = @extension.update_content(@consumer_group_id, "rpm", ["zsh", "foo"])
RepositorySupport.wait_on_task(response)
assert_equal 202, response.code
assert response["task_id"]
......
def test_uninstall_content
response = @extension.uninstall_content(@consumer_group_id, "rpm", ["zsh", "foo"])
RepositorySupport.wait_on_task(response)
assert_equal 202, response.code
assert response["task_id"]
......
refute_empty content.select{ |unit| unit[:type_id] == "rpm" }
end
def test_make_consumer_criteria
criteria = @extension.make_consumer_criteria([ConsumerSupport.consumer_id])
assert_kind_of Hash, criteria
refute_empty criteria[:criteria][:filters][:id]["$in"]
end
end
test/extensions/errata_test.rb
end
class TestExtensionsErrataUnassociate < UnitUnassociateBase
def self.extension_class
Runcible::Extensions::Errata
end
def setup
task = Runcible::Extensions::Repository.unit_copy(self.class.clone_name, RepositorySupport.repo_id)
RepositorySupport.wait_on_task(task)
end
def test_unassociate_ids_from_repo
ids = content_ids(RepositorySupport.repo_id)
refute_empty ids
test/extensions/package_group_test.rb
def test_find_all
pkgs = @@extension.all.sort_by{|p| p['id']}
ids = pkgs[0..2].collect{|p| p['id']}
ids = pkgs.collect{|p| p['id']}
response = @@extension.find_all(ids)
assert_equal 200, response.code
......
def test_copy
response = Runcible::Extensions::PackageGroup.copy(RepositorySupport.repo_id, self.class.clone_name)
RepositorySupport.task = response
clone_ids = unit_ids(self.class.clone_name)
original_ids = unit_ids(RepositorySupport.repo_id)
assert_equal 202, response.code
assert_includes response['call_request_tags'], 'pulp:action:associate'
assert_equal original_ids.length, clone_ids.length
end
end
class TestExtensionsPackageGroupUnassociate < UnitUnassociateBase
def self.extension_class
Runcible::Extensions::PackageGroup
end
def setup
task = Runcible::Extensions::Repository.unit_copy(self.class.clone_name, RepositorySupport.repo_id)
RepositorySupport.wait_on_task(task)
end
def test_unassociate_ids_from_repo
ids = content_ids(RepositorySupport.repo_id)
ids = content_ids(self.class.clone_name)
refute_empty ids
task = Runcible::Extensions::PackageGroup.unassociate_ids_from_repo(self.class.clone_name, [ids.first])
RepositorySupport.wait_on_task(task)
assert_equal (ids.length - 1), content_ids(self.class.clone_name).length
end
def test_unassociate_unit_ids_from_repo
ids = unit_ids(RepositorySupport.repo_id)
ids = unit_ids(self.class.clone_name)
refute_empty ids
task = Runcible::Extensions::PackageGroup.unassociate_unit_ids_from_repo(self.class.clone_name, [ids.first])
RepositorySupport.wait_on_task(task)
assert_equal (ids.length - 1), unit_ids(self.class.clone_name).length
end
def test_unassociate_from_repo
ids = unit_ids(RepositorySupport.repo_id)
ids = unit_ids(self.class.clone_name)
refute_empty ids
task = Runcible::Extensions::PackageGroup.unassociate_from_repo(self.class.clone_name,
:association => {'unit_id' => {'$in' => [ids.first]}})
RepositorySupport.wait_on_task(task)
assert_equal (ids.length - 1), unit_ids(self.class.clone_name).length
end
def test_copied_package_groups
ids = unit_ids(self.class.clone_name)
refute_empty ids
assert_equal 2, ids.length
end
end
test/extensions/rpm_test.rb
end
end
class TestExtensionsRpmCopy < UnitCopyBase
def self.extension_class
Runcible::Extensions::Rpm
end
......
end
class TestExtensionsRpmUnassociate < UnitUnassociateBase
def self.extension_class
Runcible::Extensions::Rpm
end
def setup
task = Runcible::Extensions::Repository.unit_copy(self.class.clone_name, RepositorySupport.repo_id)
RepositorySupport.wait_on_task(task)
end
def test_unassociate_ids_from_repo
ids = content_ids(RepositorySupport.repo_id)
refute_empty ids
......
assert_equal (ids.length - 1), unit_ids(self.class.clone_name).length
end
def test_unassociate_from_repo
ids = unit_ids(self.class.clone_name)
refute_empty ids
......
assert_equal (ids.length - 1), unit_ids(self.class.clone_name).length
end
end
test/extensions/unit_base.rb
VCR.eject_cassette
end
end
def units(repo)
Runcible::Extensions::Repository.unit_search(repo,
:type_ids=>[self.class.extension_class.content_type])
end
def unit_ids(repo)
units(repo).collect {|i| i['unit_id']}
end
end
......
:match_requests_on => [:method, :path, :params, :body_json])
RepositorySupport.create_and_sync_repo(:importer => true)
Runcible::Extensions::Repository.create_with_importer(clone_name, {:id=>"yum_importer"})
task = Runcible::Extensions::Repository.unit_copy(clone_name, RepositorySupport.repo_id)
RepositorySupport.wait_on_task(task)
end
end
......
def unit_ids(repo)
units(repo).collect {|i| i['unit_id']}
end
end
end
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/4055684a29f75f6f3014/
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer_support/bindings/integration_test_id/b86c63d6f339447d6865/
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: 202
message: Accepted
headers:
Date:
- Mon, 18 Mar 2013 17:28:18 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:
- "2776"
Date:
- Tue, 26 Feb 2013 00:52:01 GMT
Content-Type:
- application/json
Content-Encoding:
- utf-8
Server:
- Apache/2.2.22 (Fedora)
body:
string: "[{\"task_group_id\": \"58bd2624-2eb4-4599-af4f-d7bf568cd96d\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/58bd2624-2eb4-4599-af4f-d7bf568cd96d/\", \"task_id\": \"a027ddc3-09c8-4fcf-a796-d9eb50976d1c\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:4055684a29f75f6f3014\", \"pulp:action:unbind\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_support\", \"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\": \"58bd2624-2eb4-4599-af4f-d7bf568cd96d\", \"call_request_id\": \"a027ddc3-09c8-4fcf-a796-d9eb50976d1c\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}, {\"task_group_id\": \"58bd2624-2eb4-4599-af4f-d7bf568cd96d\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/58bd2624-2eb4-4599-af4f-d7bf568cd96d/\", \"task_id\": \"17ed3c15-f222-4bfa-af7e-89b05313d3ac\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:4055684a29f75f6f3014\", \"pulp:action:agent_unbind\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_support\", \"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\": \"58bd2624-2eb4-4599-af4f-d7bf568cd96d\", \"call_request_id\": \"17ed3c15-f222-4bfa-af7e-89b05313d3ac\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}, {\"task_group_id\": \"58bd2624-2eb4-4599-af4f-d7bf568cd96d\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/58bd2624-2eb4-4599-af4f-d7bf568cd96d/\", \"task_id\": \"97d10479-451b-4a7a-8156-0a40c069466d\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:4055684a29f75f6f3014\", \"pulp:action:delete_binding\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_support\", \"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\": \"58bd2624-2eb4-4599-af4f-d7bf568cd96d\", \"call_request_id\": \"97d10479-451b-4a7a-8156-0a40c069466d\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}]"
encoding: US-ASCII
string: "[{\"task_group_id\": \"57982e45-f5ee-4e1a-9d0e-dad1b465c6be\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/57982e45-f5ee-4e1a-9d0e-dad1b465c6be/\", \"task_id\": \"7d73ca7c-c408-481b-ae95-63f3662ce184\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:b86c63d6f339447d6865\", \"pulp:action:unbind\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_support\", \"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\": \"57982e45-f5ee-4e1a-9d0e-dad1b465c6be\", \"call_request_id\": \"7d73ca7c-c408-481b-ae95-63f3662ce184\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}, {\"task_group_id\": \"57982e45-f5ee-4e1a-9d0e-dad1b465c6be\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/57982e45-f5ee-4e1a-9d0e-dad1b465c6be/\", \"task_id\": \"afd93dbc-dec5-4547-a2bd-2b58e058e8ea\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:b86c63d6f339447d6865\", \"pulp:action:agent_unbind\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_support\", \"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\": \"57982e45-f5ee-4e1a-9d0e-dad1b465c6be\", \"call_request_id\": \"afd93dbc-dec5-4547-a2bd-2b58e058e8ea\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}, {\"task_group_id\": \"57982e45-f5ee-4e1a-9d0e-dad1b465c6be\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/57982e45-f5ee-4e1a-9d0e-dad1b465c6be/\", \"task_id\": \"54b9b907-a988-46db-9da9-966f957c8565\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:b86c63d6f339447d6865\", \"pulp:action:delete_binding\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_support\", \"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\": \"57982e45-f5ee-4e1a-9d0e-dad1b465c6be\", \"call_request_id\": \"54b9b907-a988-46db-9da9-966f957c8565\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}]"
http_version:
recorded_at: Tue, 26 Feb 2013 00:52:01 GMT
recorded_at: Mon, 18 Mar 2013 17:28:18 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer/actions/content/install//
body:
string: "{\"options\":{},\"units\":{\"units\":[{\"unit_key\":{\"name\":\"zsh\"}}]}}"
encoding: US-ASCII
string: "{\"units\":{\"units\":[{\"unit_key\":{\"name\":\"zsh\"}}]},\"options\":{}}"
headers:
Content-Length:
- "62"
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "62"
User-Agent:
- Ruby
response:
status:
code: 202
message: Accepted
headers:
Date:
- Mon, 18 Mar 2013 17:30:20 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:
- "654"
Date:
- Tue, 26 Feb 2013 00:54:05 GMT
Content-Type:
- application/json
Content-Encoding:
- utf-8
Server:
- Apache/2.2.22 (Fedora)
body:
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/064ee865-efcf-4f4f-ae2f-c566571a4925/\", \"task_id\": \"064ee865-efcf-4f4f-ae2f-c566571a4925\", \"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\": \"064ee865-efcf-4f4f-ae2f-c566571a4925\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
encoding: US-ASCII
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/6efcfae2-b763-4ee1-87a6-c156686460cb/\", \"task_id\": \"6efcfae2-b763-4ee1-87a6-c156686460cb\", \"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\": \"6efcfae2-b763-4ee1-87a6-c156686460cb\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:54:05 GMT
recorded_at: Mon, 18 Mar 2013 17:30:20 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer/actions/content/uninstall//
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer/actions/content/update//
body:
string: "{\"options\":{},\"units\":{\"units\":[{\"unit_key\":{\"name\":\"zsh\"}}]}}"
encoding: US-ASCII
string: "{\"units\":{\"units\":[{\"unit_key\":{\"name\":\"zsh\"}}]},\"options\":{}}"
headers:
Content-Length:
- "62"
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "62"
User-Agent:
- Ruby
response:
status:
code: 202
message: Accepted
headers:
Content-Length:
- "658"
Date:
- Tue, 26 Feb 2013 00:54:06 GMT
Content-Type:
- application/json
- Mon, 18 Mar 2013 17:30:21 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:
- "652"
Content-Type:
- application/json
body:
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/e7ce5eb8-d947-499d-9607-d53f117746ab/\", \"task_id\": \"e7ce5eb8-d947-499d-9607-d53f117746ab\", \"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\": \"e7ce5eb8-d947-499d-9607-d53f117746ab\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
encoding: US-ASCII
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/8175aa5a-287c-408b-b043-ac7fe0d3d5d7/\", \"task_id\": \"8175aa5a-287c-408b-b043-ac7fe0d3d5d7\", \"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\": \"8175aa5a-287c-408b-b043-ac7fe0d3d5d7\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:54:06 GMT
recorded_at: Mon, 18 Mar 2013 17:30:21 GMT
- request:
method: get
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer_support/bindings//
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:
- "2572"
Date:
- Tue, 26 Feb 2013 00:54:08 GMT
- Mon, 18 Mar 2013 17:30:22 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "842"
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
body:
string: "[{\"repo_id\": \"integration_test_id\", \"_href\": \"/pulp/api/v2/consumers/integration_test_consumer_support/bindings/integration_test_consumer_support/integration_test_id/4055684a29f75f6f3014/\", \"type_id\": \"yum_distributor\", \"consumer_actions\": [{\"action\": \"bind\", \"status\": \"failed\", \"id\": \"3b18fad9-0297-454d-ae8e-ad9b92768c0e\", \"timestamp\": 1361840042.956708}], \"_ns\": \"consumer_bindings\", \"_id\": {\"$oid\": \"512c07aa9c60ed7441002bf1\"}, \"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+UsQk8Xab5687GPJPZppwy\\n+6GsRZVfZXkw4pkor79zDjQNGH1ZTm7CcWCIKz6aa/62JcYhUSm56AMId4MDS52N\\nKI1SyP9y6LRufi+SyQZok710n0psRn/zYAgxMMtUJXJSPTfm4Uvms8+2XwYAU/8j\\nAgMBAAGjggFgMIIBXDAMBgNVHRMEBTADAQH/MAsGA1UdDwQEAwIBpjAdBgNVHSUE\\nFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwEQYJYIZIAYb4QgEBBAQDAgJEMDUGCWCG\\nSAGG+EIBDQQoFiZLYXRlbGxvIFNTTCBUb29sIEdlbmVyYXRlZCBDZXJ0aWZpY2F0\\nZTAdBgNVHQ4EFgQUApRF81Yf6a5UnuCyiQ2QCh6nEaIwgbYGA1UdIwSBrjCBq4AU\\nApRF81Yf6a5UnuCyiQ2QCh6nEaKhgYekgYQwgYExCzAJBgNVBAYTAlVTMRcwFQYD\\nVQQIEw5Ob3J0aCBDYXJvbGluYTEQMA4GA1UEBxMHUmFsZWlnaDEQMA4GA1UEChMH\\nUmVkIEhhdDERMA8GA1UECxMIQ2xvdWQgQlUxIjAgBgNVBAMTGWRoY3AyMzEtMTYu\\ncmR1LnJlZGhhdC5jb22CCQC0jJfLlltvlzANBgkqhkiG9w0BAQUFAAOCAQEAKsUh\\n502gX+aPBsbCcRX8HUSEUsYUtMRxsnrafxqbcdmnYv39sgOjowxYui016BS78x5r\\n22h43w3F7zQIIExZU1T3Vq0/6NHEtUNDhIL9wKGELS8m2tDW7a+cmwM09v+U8v6T\\nIuF07yM1typognlRQxd92DhirYHCjIzEoQZGXZhkazSNAaMN0UZUOUkINLK5PSYb\\nk8PfDs3LUPJI6EULaPZQVoeeXnWTDhCefpwqhX8A0Mw/35bSie2ZDw+4GmvE0hlk\\nD5YuIOI52O06XIKLxzDzKNWqTKEvpq0eYU4MQBQEtms4dbc8UIGXG3ouL45WbByL\\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\": \"4055684a29f75f6f3014\", \"id\": \"512c07aa9c60ed7441002bf1\"}]"
encoding: US-ASCII
string: "[{\"notify_agent\": true, \"repo_id\": \"integration_test_id\", \"_href\": \"/pulp/api/v2/consumers/integration_test_consumer_support/bindings/integration_test_consumer_support/integration_test_id/b86c63d6f339447d6865/\", \"type_id\": \"yum_distributor\", \"consumer_actions\": [{\"action\": \"bind\", \"status\": \"failed\", \"id\": \"809cebd7-c5a1-4084-9972-4c623b18aff5\", \"timestamp\": 1363627817.152565}], \"_ns\": \"consumer_bindings\", \"distributor_id\": \"b86c63d6f339447d6865\", \"consumer_id\": \"integration_test_consumer_support\", \"deleted\": false, \"binding_config\": null, \"details\": {\"server_name\": \"dhcp129-45.rdu.redhat.com\", \"ca_cert\": null, \"relative_path\": \"/pulp/repos//path\", \"gpg_keys\": [], \"client_cert\": null, \"protocols\": [\"http\", \"https\"], \"repo_name\": \"integration_test_id\"}, \"_id\": {\"$oid\": \"51474f284964c84cd4fd58e7\"}, \"id\": \"51474f284964c84cd4fd58e7\"}]"
http_version:
recorded_at: Tue, 26 Feb 2013 00:54:08 GMT
recorded_at: Mon, 18 Mar 2013 17:30:22 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer/actions/content/update//
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer/actions/content/uninstall//
body:
string: "{\"options\":{},\"units\":{\"units\":[{\"unit_key\":{\"name\":\"zsh\"}}]}}"
encoding: US-ASCII
string: "{\"units\":{\"units\":[{\"unit_key\":{\"name\":\"zsh\"}}]},\"options\":{}}"
headers:
Content-Length:
- "62"
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "62"
User-Agent:
- Ruby
response:
status:
code: 202
message: Accepted
headers:
Content-Length:
- "652"
Date:
- Tue, 26 Feb 2013 00:54:08 GMT
Content-Type:
- application/json
- Mon, 18 Mar 2013 17:30:22 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:
- "658"
Content-Type:
- application/json
body:
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/9e57fa3d-3ae6-4285-aff4-82a195dbab5c/\", \"task_id\": \"9e57fa3d-3ae6-4285-aff4-82a195dbab5c\", \"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\": \"9e57fa3d-3ae6-4285-aff4-82a195dbab5c\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
encoding: US-ASCII
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/509be5ba-21f8-4e79-9667-f38f8984789b/\", \"task_id\": \"509be5ba-21f8-4e79-9667-f38f8984789b\", \"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\": \"509be5ba-21f8-4e79-9667-f38f8984789b\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:54:08 GMT
recorded_at: Mon, 18 Mar 2013 17:30:22 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:54:09 GMT
- Mon, 18 Mar 2013 17:30:23 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\": \"512c07a69c60ed7441002bba\"}, \"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:54:00-05:00\", \"scheduled_syncs\": [], \"_id\": {\"$oid\": \"512c07a79c60ed7441002bbb\"}, \"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\": \"512c07a79c60ed7441002bbc\"}, \"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\": \"51474f254964c84cd4fd58b0\"}, \"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:30:15-04:00\", \"scheduled_syncs\": [], \"_id\": {\"$oid\": \"51474f254964c84cd4fd58b1\"}, \"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\": \"51474f254964c84cd4fd58b2\"}, \"config\": {\"http\": true, \"relative_url\": \"/path\", \"https\": true}, \"id\": \"b86c63d6f339447d6865\"}]}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:54:09 GMT
recorded_at: Mon, 18 Mar 2013 17:30:23 GMT
- request:
method: get
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer_support/bindings/integration_test_id/4055684a29f75f6f3014/
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer_support/bindings/integration_test_id/b86c63d6f339447d6865/
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:
- "2611"
Date:
- Tue, 26 Feb 2013 00:54:09 GMT
- Mon, 18 Mar 2013 17:30:24 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "881"
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
body:
string: "{\"repo_id\": \"integration_test_id\", \"_href\": \"/pulp/api/v2/consumers/integration_test_consumer_support/bindings/integration_test_id/4055684a29f75f6f3014/integration_test_consumer_support/integration_test_id/4055684a29f75f6f3014/\", \"type_id\": \"yum_distributor\", \"consumer_actions\": [{\"action\": \"bind\", \"status\": \"failed\", \"id\": \"3b18fad9-0297-454d-ae8e-ad9b92768c0e\", \"timestamp\": 1361840042.956708}], \"_ns\": \"consumer_bindings\", \"_id\": {\"$oid\": \"512c07aa9c60ed7441002bf1\"}, \"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+UsQk8Xab5687GPJPZppwy\\n+6GsRZVfZXkw4pkor79zDjQNGH1ZTm7CcWCIKz6aa/62JcYhUSm56AMId4MDS52N\\nKI1SyP9y6LRufi+SyQZok710n0psRn/zYAgxMMtUJXJSPTfm4Uvms8+2XwYAU/8j\\nAgMBAAGjggFgMIIBXDAMBgNVHRMEBTADAQH/MAsGA1UdDwQEAwIBpjAdBgNVHSUE\\nFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwEQYJYIZIAYb4QgEBBAQDAgJEMDUGCWCG\\nSAGG+EIBDQQoFiZLYXRlbGxvIFNTTCBUb29sIEdlbmVyYXRlZCBDZXJ0aWZpY2F0\\nZTAdBgNVHQ4EFgQUApRF81Yf6a5UnuCyiQ2QCh6nEaIwgbYGA1UdIwSBrjCBq4AU\\nApRF81Yf6a5UnuCyiQ2QCh6nEaKhgYekgYQwgYExCzAJBgNVBAYTAlVTMRcwFQYD\\nVQQIEw5Ob3J0aCBDYXJvbGluYTEQMA4GA1UEBxMHUmFsZWlnaDEQMA4GA1UEChMH\\nUmVkIEhhdDERMA8GA1UECxMIQ2xvdWQgQlUxIjAgBgNVBAMTGWRoY3AyMzEtMTYu\\ncmR1LnJlZGhhdC5jb22CCQC0jJfLlltvlzANBgkqhkiG9w0BAQUFAAOCAQEAKsUh\\n502gX+aPBsbCcRX8HUSEUsYUtMRxsnrafxqbcdmnYv39sgOjowxYui016BS78x5r\\n22h43w3F7zQIIExZU1T3Vq0/6NHEtUNDhIL9wKGELS8m2tDW7a+cmwM09v+U8v6T\\nIuF07yM1typognlRQxd92DhirYHCjIzEoQZGXZhkazSNAaMN0UZUOUkINLK5PSYb\\nk8PfDs3LUPJI6EULaPZQVoeeXnWTDhCefpwqhX8A0Mw/35bSie2ZDw+4GmvE0hlk\\nD5YuIOI52O06XIKLxzDzKNWqTKEvpq0eYU4MQBQEtms4dbc8UIGXG3ouL45WbByL\\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\": \"4055684a29f75f6f3014\", \"id\": \"512c07aa9c60ed7441002bf1\"}"
encoding: US-ASCII
string: "{\"notify_agent\": true, \"repo_id\": \"integration_test_id\", \"_href\": \"/pulp/api/v2/consumers/integration_test_consumer_support/bindings/integration_test_id/b86c63d6f339447d6865/integration_test_consumer_support/integration_test_id/b86c63d6f339447d6865/\", \"type_id\": \"yum_distributor\", \"consumer_actions\": [{\"action\": \"bind\", \"status\": \"failed\", \"id\": \"809cebd7-c5a1-4084-9972-4c623b18aff5\", \"timestamp\": 1363627817.152565}], \"_ns\": \"consumer_bindings\", \"distributor_id\": \"b86c63d6f339447d6865\", \"consumer_id\": \"integration_test_consumer_support\", \"deleted\": false, \"binding_config\": null, \"details\": {\"server_name\": \"dhcp129-45.rdu.redhat.com\", \"ca_cert\": null, \"relative_path\": \"/pulp/repos//path\", \"gpg_keys\": [], \"client_cert\": null, \"protocols\": [\"http\", \"https\"], \"repo_name\": \"integration_test_id\"}, \"_id\": {\"$oid\": \"51474f284964c84cd4fd58e7\"}, \"id\": \"51474f284964c84cd4fd58e7\"}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:54:09 GMT
recorded_at: Mon, 18 Mar 2013 17:30:24 GMT
- request:
method: put
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer/
body:
encoding: US-ASCII
string: "{\"delta\":{\"description\":\"Test description\"}}"
headers:
Content-Length:
- "44"
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "44"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Content-Length:
- "1268"
Date:
- Tue, 26 Feb 2013 00:58:15 GMT
- Mon, 18 Mar 2013 17:34:16 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "1116"
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
body:
string: "{\"display_name\": \"integration_test_consumer\", \"description\": \"Test description\", \"certificate\": \"-----BEGIN CERTIFICATE-----\\nMIIClzCCAX8CAgLyMA0GCSqGSIb3DQEBBQUAMIGBMQswCQYDVQQGEwJVUzEXMBUG\\nA1UECBMOTm9ydGggQ2Fyb2xpbmExEDAOBgNVBAcTB1JhbGVpZ2gxEDAOBgNVBAoT\\nB1JlZCBIYXQxETAPBgNVBAsTCENsb3VkIEJVMSIwIAYDVQQDExlkaGNwMjMxLTE2\\nLnJkdS5yZWRoYXQuY29tMB4XDTEzMDIyNjAwNTgxNVoXDTIzMDIyNDAwNTgxNVow\\nJDEiMCAGA1UEAxQZaW50ZWdyYXRpb25fdGVzdF9jb25zdW1lcjCBnzANBgkqhkiG\\n9w0BAQEFAAOBjQAwgYkCgYEAyxsjTI/CcjbtyVoPfBnxd6NcTQoP/EJHYIVvTvVO\\nVEgtoNkzw74OEp8U/vCKDGhYoE5fLVwYwsOh6YC4ydDFNdkOaAAzBxw1HBaeVg07\\nKOddHehDKI+PcQkdB1/RM+D9kH5Cjm3fQKvEYR7SM6rYSuPSgBDvcpqG28PnIKPX\\nXr8CAwEAATANBgkqhkiG9w0BAQUFAAOCAQEAVngf9YsOdZIaFfUnOe5F4G0EW6db\\nKePk6Hr+vEcwi7HCn5bVMLC+fi9DaRyXcnPSaHHf1EUCFfU6t1Fx+x8s0Bi3GJ1r\\n90VrAW+Oybq/PWHkXrtc4c3okdDKLBQOnfcZtiL3031svSS2wX7DhAF3Ws+dPX9i\\nHr4FELClSkjidzsSSwa0XKwsxGEx6fvv4Z2ZXNMmYcMSat8VCc1719Ri31H2hwPQ\\nklx5nEe+U9XCB2GrX6dJ0HoiDGgaA9a1N8hTNfHPJyKfquN2Oi7nCl8wl3HNlnrG\\nEeszVaXgHPXGem4/vHEeqE2CFuA3aNnnvP1DH3t+wHq/3iUe9fnEo+Szdg==\\n-----END CERTIFICATE-----\", \"_ns\": \"consumers\", \"notes\": {}, \"capabilities\": {}, \"_id\": {\"$oid\": \"512c08a79c60ed7441003429\"}, \"id\": \"integration_test_consumer\", \"_href\": \"/pulp/api/v2/consumers/integration_test_consumer/\"}"
encoding: US-ASCII
string: "{\"display_name\": \"integration_test_consumer\", \"description\": \"Test description\", \"certificate\": \"-----BEGIN CERTIFICATE-----\\nMIICKTCCARECAgGfMA0GCSqGSIb3DQEBBQUAMBQxEjAQBgNVBAMTCWxvY2FsaG9z\\ndDAeFw0xMzAzMTgxNzM0MTVaFw0yMzAzMTYxNzM0MTVaMCQxIjAgBgNVBAMUGWlu\\ndGVncmF0aW9uX3Rlc3RfY29uc3VtZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJ\\nAoGBAOwg2oJ5TQHUpwTFBwoNJbzGg+Nz2FPbN70PmuJX/87sT/+LFRK83CGDPPI0\\nCdGHT+24cPd0PteOUITjWVJFh5hHiHLSswFqgr7Pjk28YaDYAIGXqH40cLgPqNmM\\nnk4MMbBBfcYvBfvjUDP2U0laQR8tESEL7ra25a3BtB8SBFVZAgMBAAEwDQYJKoZI\\nhvcNAQEFBQADggEBAANPkbNjLYkhxgp4PganD6CsnFBq4MOZoiGYtOarARqCmyZn\\ni2GCMFjU+89rnIdvEmXMg0G2vNZ3bmfUkvCd8ioHqtBBxeeHUDA54RQEMWeI3xzg\\nFy5vjxaFJ0PVJz0l3gNCJqraTO7WIwMRy+oAscsK7XJoqn7xDYHe6URee5J/Avl1\\n9sOgrAAWMBFFECRHu3K3VXbcQ0nciL9BvYncMfFQqazbN2Wo3sNZxYcFo8dr7Txv\\nGGE9T9NONEzGLfd7CpxccTpESC1lC52dauaJjkg7RUqLsZcJsq1Q4PR2fqxAN8S1\\nGwIG1BJZ5el9ecfGTKLuKBAs9hP46A9IbycfhH8=\\n-----END CERTIFICATE-----\", \"_ns\": \"consumers\", \"notes\": {}, \"capabilities\": {}, \"_id\": {\"$oid\": \"514750174964c84cd4fd6181\"}, \"id\": \"integration_test_consumer\", \"_href\": \"/pulp/api/v2/consumers/integration_test_consumer/\"}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:58:16 GMT
recorded_at: Mon, 18 Mar 2013 17:34:16 GMT
- request:
method: get
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer/
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:
- "1254"
Date:
- Tue, 26 Feb 2013 00:58:16 GMT
- Mon, 18 Mar 2013 17:34:17 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "1102"
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
body:
string: "{\"display_name\": \"integration_test_consumer\", \"description\": null, \"certificate\": \"-----BEGIN CERTIFICATE-----\\nMIIClzCCAX8CAgLzMA0GCSqGSIb3DQEBBQUAMIGBMQswCQYDVQQGEwJVUzEXMBUG\\nA1UECBMOTm9ydGggQ2Fyb2xpbmExEDAOBgNVBAcTB1JhbGVpZ2gxEDAOBgNVBAoT\\nB1JlZCBIYXQxETAPBgNVBAsTCENsb3VkIEJVMSIwIAYDVQQDExlkaGNwMjMxLTE2\\nLnJkdS5yZWRoYXQuY29tMB4XDTEzMDIyNjAwNTgxNloXDTIzMDIyNDAwNTgxNlow\\nJDEiMCAGA1UEAxQZaW50ZWdyYXRpb25fdGVzdF9jb25zdW1lcjCBnzANBgkqhkiG\\n9w0BAQEFAAOBjQAwgYkCgYEAppPOE2irtBBhGGiPLxKyYSVgcGvPsorvT3ONaNsj\\n76hkc9fFD0qmIKAvQxCZw1WV+fAJQlPGbTKVzyv2KOTssDabkZ4JBJLqsYgza0lF\\np5Jt9/ocXY+eI7/+rln8xatcD1sRLzSs5iVJSlbsVPUObN2OrK0tvFwt6t7Mz6DV\\n8LkCAwEAATANBgkqhkiG9w0BAQUFAAOCAQEAGwkpU+G94LGV6+dCoOiS3jYajZqd\\nUN2BgD8Hm3v8CmXXXt2xscqK02D8/6J8PCcZJ0rkoyn84vtjNAB1mkp1VM/4ZK+s\\nf213Hf6iLT4jwSGtLoW0Ef0htv7tpS24QxL9j8qzOTuAJANWaLA9VMCAerepGehP\\nLYlLIByYLZbMCJu4UGolEUrzNbkiVJgPxXOQzkJriS/Rr7R3W59EzcKRUzsSEPVn\\nH7LJRNSvNbkuoSdIQYjKt3+wRah0SEmp1q0JwYST8qHZbU7P/PqZ0pVX4sAlOm3K\\nm6iPRc2ZgSXgP4zpc8CJtg3s+AD7q0ApHHF/buodZ5/hX5EeOMKgiHVQMQ==\\n-----END CERTIFICATE-----\", \"_ns\": \"consumers\", \"notes\": {}, \"capabilities\": {}, \"_id\": {\"$oid\": \"512c08a89c60ed7441003446\"}, \"id\": \"integration_test_consumer\", \"_href\": \"/pulp/api/v2/consumers/integration_test_consumer/\"}"
encoding: US-ASCII
string: "{\"display_name\": \"integration_test_consumer\", \"description\": null, \"certificate\": \"-----BEGIN CERTIFICATE-----\\nMIICKTCCARECAgGhMA0GCSqGSIb3DQEBBQUAMBQxEjAQBgNVBAMTCWxvY2FsaG9z\\ndDAeFw0xMzAzMTgxNzM0MTdaFw0yMzAzMTYxNzM0MTdaMCQxIjAgBgNVBAMUGWlu\\ndGVncmF0aW9uX3Rlc3RfY29uc3VtZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJ\\nAoGBAMHl4nb0CeNvDqgZXzF0tWpPZ/CjSgjxhdm49orQ2EzWVjLsitxCGJXi9nDN\\nP39p7xlNwPj8dGaYTtt7ydFdBPnhug05l7JGfUJNuu3aAqIqWrj++N9VH0kNtoEv\\nTmb/HCbVrWDEcBZ6iP8HRfiG2Q/L+6QYdnk1jdsQyyGPgij/AgMBAAEwDQYJKoZI\\nhvcNAQEFBQADggEBADldGyW4ctB9T/bX2m0Q95hms3xjhVHPgFABDAsXMr3gwoy+\\nVYHdtvF9e0OqRrsz2cIigpherAok7fuq4vnAIB4Z9cg2fKQB5tR0ebqca2LGNwgE\\nm7FQ6Nr0Nc7a9UlXwRsSiXnHL7HLXgd9bK65KkZadxF6tHHUWPTIgt6GDNLQqtbM\\ndnAnNbDWR0NqjbxdmOS/iV4ytaEg8ZL48zwyWcAWM3UjOZ8mjGd3D3dDpMWtg7At\\nhlO+yO8BrWDbV7xhdm7Ge0OdP8fXgFlO8kkkBy7uvL/+tL+nthu0InlOFIz82fJ/\\ntq003EpEsC01dQ05sFBOdL4siLfgMx80udGlHtI=\\n-----END CERTIFICATE-----\", \"_ns\": \"consumers\", \"notes\": {}, \"capabilities\": {}, \"_id\": {\"$oid\": \"514750194964c84cd4fd61b3\"}, \"id\": \"integration_test_consumer\", \"_href\": \"/pulp/api/v2/consumers/integration_test_consumer/\"}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:58:16 GMT
recorded_at: Mon, 18 Mar 2013 17:34:17 GMT
- request:
method: get
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer/profiles/rpm//
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:
Date:
- Mon, 18 Mar 2013 17:34:19 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "399"
Date:
- Tue, 26 Feb 2013 00:58:18 GMT
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
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\": \"512c03299c60ed7441001d8c\"}, \"id\": \"512c03299c60ed7441001d8c\", \"consumer_id\": \"integration_test_consumer\"}"
encoding: US-ASCII
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\": \"513df9594964c81e445785c9\"}, \"id\": \"513df9594964c81e445785c9\", \"consumer_id\": \"integration_test_consumer\"}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:58:18 GMT
recorded_at: Mon, 18 Mar 2013 17:34:19 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/consumers/
body:
encoding: US-ASCII
string: "{\"id\":\"integration_test_consumer\",\"name\":\"boo\"}"
headers:
Content-Length:
- "47"
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "47"
User-Agent:
- Ruby
response:
status:
code: 201
message: Created
headers:
Content-Length:
- "2167"
Date:
- Tue, 26 Feb 2013 00:58:18 GMT
Content-Type:
- application/json
- Mon, 18 Mar 2013 17:34:21 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/'}"
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "2019"
Content-Type:
- application/json
body:
string: "{\"display_name\": \"integration_test_consumer\", \"description\": null, \"certificate\": \"-----BEGIN RSA PRIVATE KEY-----\\nMIICXAIBAAKBgQC2/wOVofKwHJLiMggFXRSLCu+N3xhdbPwxu4/LeFcuZOPoOVap\\nreEkKVmtATJjKM9hiuDHYmOnn6yjazCYcuenvR+5uXni2QUm2CFu+fZtZZrNkLSD\\nT447h9jjk7846qumaUTo3shWSzeLxFfW5+B+jTiaW92Gp9iDLyJiI5b2bwIDAQAB\\nAoGAWD8aB2qVkf/1hUcDPzLn2TVo2E2hfkw0QfdlHIXn5OOaVD5yYFkNnVajfB57\\nof3oI+3I/92emRMTOatTP/EJbLTSwjgLRcqGyAZy13apbLiP4Kdo9l0CDxvVz0YD\\nX0zhq76avd6/fuBQK6Ixh59H3qMaedcBlg/RTvQNDh6ie0ECQQDtK7BmCF1JNkpn\\nlA0nUtmsuIY98fdLg83PWMltrsovV3ebk/MK3y5X22rcj3NL4+cVjoVXZBxtELIS\\ny+B4IPbZAkEAxYZFDPWSu/+SS9nlz+j8ImizSf+kCpUSRRSq8zSlbCpZHe2kt1Jy\\nLsp8lLrMYzEhaBpYArqxuidgkjZpeADahwJBAJ8K6SPDACuUSJjk4103Zdk5dGwd\\n0qPFI0KkW4894z+T/BVMRXNI7p7j+OknGT4O+muuQySzcYyB4ahRJ5nnISECQGzo\\nnpQJpzE/NkPaTes4FCVIw2pOqP0oup0aSzOz2G3uX5qv2D04GTsRbGV5JY6fnULQ\\nG6zNkYcJhSa5F6gSGGsCQHqtxSXwKI8RCuC5nE67Vme+jbwo3SVr9TYfKt7K81JM\\n500bltPQoQC8L3njVITZFuffUnE9jLTfBioqN1LWacE=\\n-----END RSA PRIVATE KEY-----\\n-----BEGIN CERTIFICATE-----\\nMIIClzCCAX8CAgL1MA0GCSqGSIb3DQEBBQUAMIGBMQswCQYDVQQGEwJVUzEXMBUG\\nA1UECBMOTm9ydGggQ2Fyb2xpbmExEDAOBgNVBAcTB1JhbGVpZ2gxEDAOBgNVBAoT\\nB1JlZCBIYXQxETAPBgNVBAsTCENsb3VkIEJVMSIwIAYDVQQDExlkaGNwMjMxLTE2\\nLnJkdS5yZWRoYXQuY29tMB4XDTEzMDIyNjAwNTgxOFoXDTIzMDIyNDAwNTgxOFow\\nJDEiMCAGA1UEAxQZaW50ZWdyYXRpb25fdGVzdF9jb25zdW1lcjCBnzANBgkqhkiG\\n9w0BAQEFAAOBjQAwgYkCgYEAtv8DlaHysByS4jIIBV0Uiwrvjd8YXWz8MbuPy3hX\\nLmTj6DlWqa3hJClZrQEyYyjPYYrgx2Jjp5+so2swmHLnp70fubl54tkFJtghbvn2\\nbWWazZC0g0+OO4fY45O/OOqrpmlE6N7IVks3i8RX1ufgfo04mlvdhqfYgy8iYiOW\\n9m8CAwEAATANBgkqhkiG9w0BAQUFAAOCAQEAJeScnFN8hmqaIf0mNn2LkknDh4iF\\ngZ8nyg+IgcKdvS9QnTX6C0TBeP6KxB/JHaEdo4JQdcwL4wwLwTGSAqkF1mdlpelF\\nuwcxCF8pLKTf0tm1/Vz3tPn6L3PhvA7i1zJwaq/p0rGR48iNDk7liduLSC5vV7wZ\\nPcHNSNCqPDnM60+kpKONTbAFlTHEEZZdSKVQ53bUJpJgS6gij0hthbwmqhLPh+S3\\nz6Ss1DP7KEt5C5/2OTanDIymZQuRPdCQl3TMNDZfssjZhZoCU76n7ReTWG/A2CR6\\njpktX26GTSUURSPUt/yowVJv0HHss3ev0/bef7oem+u/xD5aI43rRTOVSg==\\n-----END CERTIFICATE-----\", \"_ns\": \"consumers\", \"notes\": {}, \"capabilities\": {}, \"_id\": {\"$oid\": \"512c08aa9c60ed744100347a\"}, \"id\": \"integration_test_consumer\", \"_href\": {\"_href\": \"/pulp/api/v2/consumers/integration_test_consumer/\"}}"
encoding: US-ASCII
string: "{\"display_name\": \"integration_test_consumer\", \"description\": null, \"certificate\": \"-----BEGIN RSA PRIVATE KEY-----\\nMIICXgIBAAKBgQDv4AB9+oM3IyWrg1xgnM4Hk+3M8aorwFUedXsOoJ2YJo33W+/y\\ngI5P30zFVhgDs62w4m+CJ2ohYAcse6IXiZcB1tqQaLMhZiZbe5FXtKH8c/MUyHe8\\ntHyA+7PEpnDOFuRjj+fvKVqpx4ljwR8QU+z711mdDvIsfnWJfvt8Lpsv5wIDAQAB\\nAoGADLgQ7p0g5gSME8sUU98coZQ7cLmDr2w0VzgdfUoQ8SdiMbKDR5V/dka92FzX\\nSyL028M17G3Ql9Jyru4jSyI1in4jv3J5Q+nXXbB2qCZQU31A8IVVEUeBRkyOvC0W\\n/JTsX2anYlqjU3aNQlIgPp2lQBqbqtFJyNSVs9xWEf/E2AkCQQD9Zh6bt9SVgtbw\\nN7kjUA28FYlfPsrqjbutPBzL1K7DxTR9NH0tssIpjVKwacJFcq4N3ohQyBeoEfTR\\nnu4kdZ3jAkEA8lZYJcYn+P0iSEklYluY/5ZlmUj1k9GcuitHzWk9wbPS/Bmyg/eb\\nc8rwU+0qQvCihFKIHKMvQegUHy9x1hMFLQJBAL6LiN6teGTJE1llfYlJTFqvkzIU\\n5L9FvufAeSLpFlXON+8ihjLT5d8bDx/rFxPj7XAuczDTlb5jakYqjYbLDuMCQQCj\\n0ejOyFDXSc+2C/SAtCkOho3x/Fc+8RFA7OciHgXIfxaeo4SBH45vzX1/TrEmBWPn\\njZ9DtLDKneeUWU9cBwmVAkEA6Ij29mjV2rRlh14JRGRbTMr21D3W7Prw6go71qiE\\nAbDWWvpfEA5Ori6lhbh15XEtzRNJ616Iezhp/hvPDPlTLQ==\\n-----END RSA PRIVATE KEY-----\\n-----BEGIN CERTIFICATE-----\\nMIICKTCCARECAgGkMA0GCSqGSIb3DQEBBQUAMBQxEjAQBgNVBAMTCWxvY2FsaG9z\\ndDAeFw0xMzAzMTgxNzM0MjFaFw0yMzAzMTYxNzM0MjFaMCQxIjAgBgNVBAMUGWlu\\ndGVncmF0aW9uX3Rlc3RfY29uc3VtZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJ\\nAoGBAO/gAH36gzcjJauDXGCczgeT7czxqivAVR51ew6gnZgmjfdb7/KAjk/fTMVW\\nGAOzrbDib4InaiFgByx7oheJlwHW2pBosyFmJlt7kVe0ofxz8xTId7y0fID7s8Sm\\ncM4W5GOP5+8pWqnHiWPBHxBT7PvXWZ0O8ix+dYl++3wumy/nAgMBAAEwDQYJKoZI\\nhvcNAQEFBQADggEBABy4l+mQm/9OAca0h2Nk3QQRJWpqa57gtYl/qyRYBZdSi01H\\nRErYRlNMItpiTJwo/FVmkQuGq+499H3MSAjrzil8Dz5aYeSoRiOU6DmJ6RUKl7pO\\nxcRrgj4U6VVQTL1RbwADwIdwjGSFwVKGBAZOryjt5bH1nO5ReiHkbCij5QlsQhSq\\neO1vcrWOMdt/V7K2CgXWQ24mtJcGw4rgheYXNck4lzVJp9wWLpiE8uaxwbOFHMbJ\\nHDNFXT8/yw5jkTWFuz5Wy3cIpd5KmD4CCCL3N/fJ0KDkr2LfqUBoTiUh8VpN1swp\\nEvaQNnimo9eJ/D/nSIiJMsjm845w6/f5oTboI/g=\\n-----END CERTIFICATE-----\", \"_ns\": \"consumers\", \"notes\": {}, \"capabilities\": {}, \"_id\": {\"$oid\": \"5147501d4964c84cd4fd61fc\"}, \"id\": \"integration_test_consumer\", \"_href\": {\"_href\": \"/pulp/api/v2/consumers/integration_test_consumer/\"}}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:58:18 GMT
recorded_at: Mon, 18 Mar 2013 17:34:21 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer/profiles//
body:
string: "{\"content_type\":\"rpm\",\"profile\":[{\"arch\":\"noarch\",\"release\":\"0.8\",\"version\":\"0.3\",\"vendor\":\"FedoraHosted\",\"name\":\"elephant\"}]}"
encoding: US-ASCII
string: "{\"content_type\":\"rpm\",\"profile\":[{\"vendor\":\"FedoraHosted\",\"name\":\"elephant\",\"version\":\"0.3\",\"release\":\"0.8\",\"arch\":\"noarch\"}]}"
headers:
Content-Length:
- "126"
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "126"
User-Agent:
- Ruby
response:
status:
code: 201
message: Created
headers:
Date:
- Mon, 18 Mar 2013 17:34:21 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Location:
- /pulp/api/v2/consumers/integration_test_consumer/profiles/integration_test_consumer/rpm/
Content-Length:
- "395"
Date:
- Tue, 26 Feb 2013 00:58:18 GMT
Content-Type:
- application/json
Location:
- /pulp/api/v2/consumers/integration_test_consumer/profiles/integration_test_consumer/rpm/
Server:
- Apache/2.2.22 (Fedora)
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\": \"512c03299c60ed7441001d8c\"}, \"id\": \"512c03299c60ed7441001d8c\", \"_href\": \"/pulp/api/v2/consumers/integration_test_consumer/profiles/integration_test_consumer/rpm/\"}"
encoding: US-ASCII
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\": \"513df9594964c81e445785c9\"}, \"id\": \"513df9594964c81e445785c9\", \"_href\": \"/pulp/api/v2/consumers/integration_test_consumer/profiles/integration_test_consumer/rpm/\"}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:58:19 GMT
recorded_at: Mon, 18 Mar 2013 17:34:21 GMT
- request:
method: delete
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer/
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:
Date:
- Mon, 18 Mar 2013 17:34:21 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "4"
Date:
- Tue, 26 Feb 2013 00:58:19 GMT
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
body:
encoding: US-ASCII
string: "null"
http_version:
recorded_at: Tue, 26 Feb 2013 00:58:19 GMT
recorded_with: VCR 2.3.0
recorded_at: Mon, 18 Mar 2013 17:34:22 GMT
recorded_with: VCR 2.4.0
test/fixtures/vcr_cassettes/consumer_group.yml
method: get
uri: https://admin:admin@localhost/pulp/api/v2/consumer_groups/integration_test_consumer_group/
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:
Date:
- Mon, 18 Mar 2013 17:29:14 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "298"
Date:
- Tue, 26 Feb 2013 00:53:29 GMT
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
body:
string: "{\"scratchpad\": null, \"display_name\": \"foo\", \"description\": \"Test description.\", \"_ns\": \"consumer_groups\", \"notes\": {}, \"consumer_ids\": [], \"_id\": {\"$oid\": \"512c07899c60ed74410028e8\"}, \"id\": \"integration_test_consumer_group\", \"_href\": \"/pulp/api/v2/consumer_groups/integration_test_consumer_group/\"}"
encoding: US-ASCII
string: "{\"scratchpad\": null, \"display_name\": \"foo\", \"description\": \"Test description.\", \"_ns\": \"consumer_groups\", \"notes\": {}, \"consumer_ids\": [], \"_id\": {\"$oid\": \"51474eea4964c84cd4fd5415\"}, \"id\": \"integration_test_consumer_group\", \"_href\": \"/pulp/api/v2/consumer_groups/integration_test_consumer_group/\"}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:53:29 GMT
recorded_at: Mon, 18 Mar 2013 17:29:15 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/consumer_groups/integration_test_consumer_group/actions/content/install//
uri: https://admin:admin@localhost/pulp/api/v2/consumer_groups/integration_test_consumer_group/actions/content/install/
body:
string: "{\"options\":{},\"units\":{\"units\":[{\"unit_key\":{\"name\":\"zsh\"}}]}}"
encoding: US-ASCII
string: "{\"units\":{\"units\":[{\"unit_key\":{\"name\":\"zsh\"}}]},\"options\":{}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "62"
User-Agent:
- Ruby
response:
status:
code: 202
message: Accepted
headers:
Date:
- Mon, 18 Mar 2013 17:29:58 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:
- "670"
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/3ac93a70-0181-4582-a73c-03ce644b1831/\", \"task_id\": \"3ac93a70-0181-4582-a73c-03ce644b1831\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:action:unit_install\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:action:unit_install\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"3ac93a70-0181-4582-a73c-03ce644b1831\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
http_version:
recorded_at: Mon, 18 Mar 2013 17:29:58 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/consumer_groups/integration_test_consumer_group/actions/content/uninstall/
body:
encoding: US-ASCII
string: "{\"units\":{\"units\":[{\"unit_key\":{\"name\":\"zsh\"}}]},\"options\":{}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "62"
User-Agent:
- Ruby
response:
status:
code: 202
message: Accepted
headers:
Content-Length:
- "516"
Date:
- Tue, 26 Feb 2013 00:53:51 GMT
Content-Type:
- application/json
- Mon, 18 Mar 2013 17:30: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
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "674"
Content-Type:
- application/json
body:
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/67f45500-26ef-47c6-bc84-cced7da90d29/\", \"task_id\": \"67f45500-26ef-47c6-bc84-cced7da90d29\", \"call_request_tags\": [], \"reasons\": [], \"start_time\": null, \"tags\": [], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"67f45500-26ef-47c6-bc84-cced7da90d29\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
encoding: US-ASCII
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/122b29d5-80f9-4fdc-a6cf-2d90039995e8/\", \"task_id\": \"122b29d5-80f9-4fdc-a6cf-2d90039995e8\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:action:unit_uninstall\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:action:unit_uninstall\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"122b29d5-80f9-4fdc-a6cf-2d90039995e8\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:53:51 GMT
recorded_at: Mon, 18 Mar 2013 17:30:02 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/consumer_groups/integration_test_consumer_group/actions/content/update//
method: get
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/?details=true
body:
string: "{\"options\":{},\"units\":{\"units\":[{\"unit_key\":{\"name\":\"zsh\"}}]}}"
encoding: US-ASCII
string: ""
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 18 Mar 2013 17:30:04 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "62"
- "1071"
Content-Type:
- application/json
body:
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\": \"51474f114964c84cd4fd572d\"}, \"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:29:55-04:00\", \"scheduled_syncs\": [], \"_id\": {\"$oid\": \"51474f114964c84cd4fd572e\"}, \"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\": \"51474f114964c84cd4fd572f\"}, \"config\": {\"http\": true, \"relative_url\": \"/path\", \"https\": true}, \"id\": \"b86c63d6f339447d6865\"}]}"
http_version:
recorded_at: Mon, 18 Mar 2013 17:30:05 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer_support/bindings//
body:
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:
Content-Length:
- "516"
Date:
- Tue, 26 Feb 2013 00:53:51 GMT
Content-Type:
- application/json
- Mon, 18 Mar 2013 17:30: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:
- "1836"
Content-Type:
- application/json
body:
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/22e472f7-9af8-4134-a39c-821f9dcfed32/\", \"task_id\": \"22e472f7-9af8-4134-a39c-821f9dcfed32\", \"call_request_tags\": [], \"reasons\": [], \"start_time\": null, \"tags\": [], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"22e472f7-9af8-4134-a39c-821f9dcfed32\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
encoding: US-ASCII
string: "[{\"task_group_id\": \"72b93f1d-7db8-448c-909e-bcc7ab14bf6a\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/72b93f1d-7db8-448c-909e-bcc7ab14bf6a/\", \"task_id\": \"0b99793f-3714-4e37-b4ca-29230c51de12\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:b86c63d6f339447d6865\", \"pulp:action:bind\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_support\", \"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\": \"72b93f1d-7db8-448c-909e-bcc7ab14bf6a\", \"call_request_id\": \"0b99793f-3714-4e37-b4ca-29230c51de12\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}, {\"task_group_id\": \"72b93f1d-7db8-448c-909e-bcc7ab14bf6a\", \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/task_groups/72b93f1d-7db8-448c-909e-bcc7ab14bf6a/\", \"task_id\": \"1fe8cbbb-59ed-404d-9333-7f95fa0691a9\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:repository:integration_test_id\", \"pulp:repository_distributor:b86c63d6f339447d6865\", \"pulp:action:agent_bind\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_support\", \"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\": \"72b93f1d-7db8-448c-909e-bcc7ab14bf6a\", \"call_request_id\": \"1fe8cbbb-59ed-404d-9333-7f95fa0691a9\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}]"
http_version:
recorded_at: Tue, 26 Feb 2013 00:53:52 GMT
recorded_at: Mon, 18 Mar 2013 17:30:05 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/consumer_groups/integration_test_consumer_group/actions/content/uninstall//
uri: https://admin:admin@localhost/pulp/api/v2/consumer_groups/integration_test_consumer_group/actions/content/update/
body:
string: "{\"options\":{},\"units\":{\"units\":[{\"unit_key\":{\"name\":\"zsh\"}}]}}"
encoding: US-ASCII
string: "{\"units\":{\"units\":[{\"unit_key\":{\"name\":\"zsh\"}}]},\"options\":{}}"
headers:
Content-Length:
- "62"
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "62"
User-Agent:
- Ruby
response:
status:
code: 202
message: Accepted
headers:
Content-Length:
- "516"
Date:
- Tue, 26 Feb 2013 00:53:52 GMT
Content-Type:
- application/json
- Mon, 18 Mar 2013 17:30: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:
- "668"
Content-Type:
- application/json
body:
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/2f338caa-2c6d-4e81-a6b2-ca81efa737b6/\", \"task_id\": \"2f338caa-2c6d-4e81-a6b2-ca81efa737b6\", \"call_request_tags\": [], \"reasons\": [], \"start_time\": null, \"tags\": [], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"2f338caa-2c6d-4e81-a6b2-ca81efa737b6\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
encoding: US-ASCII
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/ec395bec-375b-413f-91a5-c83297d7aafa/\", \"task_id\": \"ec395bec-375b-413f-91a5-c83297d7aafa\", \"call_request_tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:action:unit_update\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:consumer:integration_test_consumer_support\", \"pulp:action:unit_update\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"ec395bec-375b-413f-91a5-c83297d7aafa\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:53:52 GMT
recorded_at: Mon, 18 Mar 2013 17:30:05 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/consumer_groups/
body:
string: "{\"description\":\"Test description.\",\"id\":\"integration_test_consumer_group\",\"display_name\":\"foo\",\"consumer_ids\":[]}"
encoding: US-ASCII
string: "{\"id\":\"integration_test_consumer_group\",\"display_name\":\"foo\",\"description\":\"Test description.\",\"consumer_ids\":[]}"
headers:
Content-Length:
- "113"
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "113"
User-Agent:
- Ruby
response:
status:
code: 201
message: Created
headers:
Date:
- Mon, 18 Mar 2013 17:30:09 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Location:
- /pulp/api/v2/consumer_groups/integration_test_consumer_group/
Content-Length:
- "298"
Date:
- Tue, 26 Feb 2013 00:53:55 GMT
Content-Type:
- application/json
Location:
- /pulp/api/v2/consumer_groups/integration_test_consumer_group/
Server:
- Apache/2.2.22 (Fedora)
body:
string: "{\"scratchpad\": null, \"display_name\": \"foo\", \"description\": \"Test description.\", \"_ns\": \"consumer_groups\", \"notes\": {}, \"consumer_ids\": [], \"_id\": {\"$oid\": \"512c07a39c60ed7441002b69\"}, \"id\": \"integration_test_consumer_group\", \"_href\": \"/pulp/api/v2/consumer_groups/integration_test_consumer_group/\"}"
encoding: US-ASCII
string: "{\"scratchpad\": null, \"display_name\": \"foo\", \"description\": \"Test description.\", \"_ns\": \"consumer_groups\", \"notes\": {}, \"consumer_ids\": [], \"_id\": {\"$oid\": \"51474f214964c84cd4fd585f\"}, \"id\": \"integration_test_consumer_group\", \"_href\": \"/pulp/api/v2/consumer_groups/integration_test_consumer_group/\"}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:53:55 GMT
recorded_at: Mon, 18 Mar 2013 17:30:09 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/consumer_groups/integration_test_consumer_group/actions/associate/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"filters\":{\"id\":{\"$in\":[\"integration_test_consumer_support\"]}}}}"
headers:
Content-Length:
- "77"
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "77"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 18 Mar 2013 17:30:10 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "37"
Date:
- Tue, 26 Feb 2013 00:53:56 GMT
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
body:
encoding: US-ASCII
string: "[\"integration_test_consumer_support\"]"
http_version:
recorded_at: Tue, 26 Feb 2013 00:53:56 GMT
recorded_at: Mon, 18 Mar 2013 17:30:10 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/consumer_groups/integration_test_consumer_group/actions/unassociate/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"filters\":{\"id\":{\"$in\":[\"integration_test_consumer_support\"]}}}}"
headers:
Content-Length:
- "77"
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "77"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 18 Mar 2013 17:30:10 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "37"
Date:
- Tue, 26 Feb 2013 00:53:56 GMT
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
body:
encoding: US-ASCII
string: "[\"integration_test_consumer_support\"]"
http_version:
recorded_at: Tue, 26 Feb 2013 00:53:56 GMT
recorded_at: Mon, 18 Mar 2013 17:30:11 GMT
- request:
method: delete
uri: https://admin:admin@localhost/pulp/api/v2/consumer_groups/integration_test_consumer_group/
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:
Date:
- Mon, 18 Mar 2013 17:30:11 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "4"
Date:
- Tue, 26 Feb 2013 00:53:57 GMT
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
body:
encoding: US-ASCII
string: "null"
http_version:
recorded_at: Tue, 26 Feb 2013 00:53:57 GMT
recorded_with: VCR 2.3.0
recorded_at: Mon, 18 Mar 2013 17:30:11 GMT
recorded_with: VCR 2.4.0
test/fixtures/vcr_cassettes/consumer_group_support.yml
method: post
uri: https://admin:admin@localhost/pulp/api/v2/consumer_groups/
body:
encoding: US-ASCII
string: "{\"id\":\"integration_test_consumer_group_support\"}"
headers:
Content-Length:
- "48"
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "48"
User-Agent:
- Ruby
response:
status:
code: 201
message: Created
headers:
Date:
- Mon, 18 Mar 2013 17:29:48 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Location:
- /pulp/api/v2/consumer_groups/integration_test_consumer_group_support/
Content-Length:
- "298"
Date:
- Tue, 26 Feb 2013 00:53:45 GMT
Content-Type:
- application/json
Location:
- /pulp/api/v2/consumer_groups/integration_test_consumer_group_support/
Server:
- Apache/2.2.22 (Fedora)
body:
string: "{\"scratchpad\": null, \"display_name\": null, \"description\": null, \"_ns\": \"consumer_groups\", \"notes\": {}, \"consumer_ids\": [], \"_id\": {\"$oid\": \"512c07999c60ed7441002ab3\"}, \"id\": \"integration_test_consumer_group_support\", \"_href\": \"/pulp/api/v2/consumer_groups/integration_test_consumer_group_support/\"}"
encoding: US-ASCII
string: "{\"scratchpad\": null, \"display_name\": null, \"description\": null, \"_ns\": \"consumer_groups\", \"notes\": {}, \"consumer_ids\": [], \"_id\": {\"$oid\": \"51474f0c4964c84cd4fd56cf\"}, \"id\": \"integration_test_consumer_group_support\", \"_href\": \"/pulp/api/v2/consumer_groups/integration_test_consumer_group_support/\"}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:53:45 GMT
recorded_at: Mon, 18 Mar 2013 17:29:48 GMT
- request:
method: delete
uri: https://admin:admin@localhost/pulp/api/v2/consumer_groups/integration_test_consumer_group_support/
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:
Date:
- Mon, 18 Mar 2013 17:29:50 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "4"
Date:
- Tue, 26 Feb 2013 00:53:46 GMT
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
body:
encoding: US-ASCII
string: "null"
http_version:
recorded_at: Tue, 26 Feb 2013 00:53:47 GMT
recorded_with: VCR 2.3.0
recorded_at: Mon, 18 Mar 2013 17:29:51 GMT
recorded_with: VCR 2.4.0
test/fixtures/vcr_cassettes/consumer_support.yml
method: delete
uri: https://admin:admin@localhost/pulp/api/v2/consumers/integration_test_consumer_support/
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:
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff