deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject [49/54] [partial] Core: Removed deprecated tests from server/tests directory
Date Mon, 20 Aug 2012 08:53:46 GMT
http://git-wip-us.apache.org/repos/asf/deltacloud/blob/73b5c596/server/tests/deprecated/drivers/mock/instances_test.rb
----------------------------------------------------------------------
diff --git a/server/tests/deprecated/drivers/mock/instances_test.rb b/server/tests/deprecated/drivers/mock/instances_test.rb
deleted file mode 100644
index d30fb3f..0000000
--- a/server/tests/deprecated/drivers/mock/instances_test.rb
+++ /dev/null
@@ -1,343 +0,0 @@
-$:.unshift File.join(File.dirname(__FILE__), '..', '..', '..')
-require 'tests/drivers/mock/common'
-
-describe 'Deltacloud API instances' do
-  include Deltacloud::Test
-
-  it 'must advertise have the instances collection in API entrypoint' do
-    get root_url
-    (xml_response/'api/link[@rel=instances]').wont_be_empty
-  end
-
-  it 'must require authentication to access the "instance" collection' do
-    get collection_url(:instances)
-    last_response.status.must_equal 401
-  end
-
-  it 'should respond with HTTP_OK when accessing the :instances collection with authentication' do
-    authenticate
-    get collection_url(:instances)
-    last_response.status.must_equal 200
-  end
-
-  it 'should support the JSON media type' do
-    authenticate
-    header 'Accept', 'application/json'
-    get collection_url(:instances)
-    last_response.status.must_equal 200
-    last_response.headers['Content-Type'].must_equal 'application/json'
-  end
-
-  it 'must include the ETag in HTTP headers' do
-    authenticate
-    get collection_url(:instances)
-    last_response.headers['ETag'].wont_be_nil
-  end
-
-  it 'must have the "instances" element on top level' do
-    authenticate
-    get collection_url(:instances)
-    xml_response.root.name.must_equal 'instances'
-  end
-
-  it 'must have some "instance" elements inside "instances"' do
-    authenticate
-    get collection_url(:instances)
-    (xml_response/'instances/instance').wont_be_empty
-  end
-
-  it 'must provide the :id attribute for each instance in collection' do
-    authenticate
-    get collection_url(:instances)
-    (xml_response/'instances/instance').each do |r|
-      r[:id].wont_be_nil
-    end
-  end
-
-  it 'must include the :href attribute for each "instance" element in collection' do
-    authenticate
-    get collection_url(:instances)
-    (xml_response/'instances/instance').each do |r|
-      r[:href].wont_be_nil
-    end
-  end
-
-  it 'must use the absolute URL in each :href attribute' do
-    authenticate
-    get collection_url(:instances)
-    (xml_response/'instances/instance').each do |r|
-      r[:href].must_match /^http/
-    end
-  end
-
-  it 'must have the URL ending with the :id of the instance' do
-    authenticate
-    get collection_url(:instances)
-    (xml_response/'instances/instance').each do |r|
-      r[:href].must_match /#{r[:id]}$/
-    end
-  end
-
-  it 'must return the list of valid parameters for the :index action' do
-    authenticate
-    options collection_url(:instances) + '/index'
-    last_response.headers['Allow'].wont_be_nil
-  end
-
-  it 'must have the "name" element defined for each instance in collection' do
-    authenticate
-    get collection_url(:instances)
-    (xml_response/'instances/instance').each do |r|
-      (r/'name').wont_be_empty
-    end
-  end
-
-  it 'must have the "state" element defined for each instance in collection' do
-    authenticate
-    get collection_url(:instances)
-    (xml_response/'instances/instance').each do |r|
-      (r/'state').wont_be_empty
-      (r/'state').first.must_match /(RUNNING|STOPPED|PENDING)/
-    end
-  end
-
-  it 'must return the full "instance" when following the URL in instance element' do
-    authenticate
-    get collection_url(:instances)
-    (xml_response/'instances/instance').each do |r|
-      get collection_url(:instances) + '/' + r[:id]
-      last_response.status.must_equal 200
-    end
-  end
-
-  it 'must have the "name" element for the instance and it should match with the one in collection' do
-    authenticate
-    get collection_url(:instances)
-    (xml_response/'instances/instance').each do |r|
-      get collection_url(:instances) + '/' + r[:id]
-      (xml_response/'name').wont_be_empty
-      (xml_response/'name').first.text.must_equal((r/'name').first.text)
-    end
-  end
-
-  it 'must have the "name" element for the instance and it should match with the one in collection' do
-    authenticate
-    get collection_url(:instances)
-    (xml_response/'instances/instance').each do |r|
-      get collection_url(:instances) + '/' + r[:id]
-      (xml_response/'state').wont_be_empty
-      (xml_response/'state').first.text.must_equal((r/'state').first.text)
-    end
-  end
-
-  it 'must have the "owner_id" element for the instance and it should match with the one in collection' do
-    authenticate
-    get collection_url(:instances)
-    (xml_response/'instances/instance').each do |r|
-      get collection_url(:instances) + '/' + r[:id]
-      (xml_response/'owner_id').wont_be_empty
-      (xml_response/'owner_id').first.text.must_equal((r/'owner_id').first.text)
-    end
-  end
-
-  it 'must link to the realm that was used to during instance creation' do
-    authenticate
-    get collection_url(:instances)
-    (xml_response/'instances/instance').each do |r|
-      get collection_url(:instances) + '/' + r[:id]
-      (xml_response/'realm').wont_be_empty
-      (xml_response/'realm').size.must_equal 1
-      (xml_response/'realm').first[:id].wont_be_nil
-      (xml_response/'realm').first[:href].wont_be_nil
-      (xml_response/'realm').first[:href].must_match /\/#{(xml_response/'realm').first[:id]}$/
-    end
-  end
-
-  it 'must link to the image that was used to during instance creation' do
-    authenticate
-    get collection_url(:instances)
-    (xml_response/'instances/instance').each do |r|
-      get collection_url(:instances) + '/' + r[:id]
-      (xml_response/'image').wont_be_empty
-      (xml_response/'image').size.must_equal 1
-      (xml_response/'image').first[:id].wont_be_nil
-      (xml_response/'image').first[:href].wont_be_nil
-      (xml_response/'image').first[:href].must_match /\/#{(xml_response/'image').first[:id]}$/
-    end
-  end
-
-  it 'must link to the hardware_profile that was used to during instance creation' do
-    authenticate
-    get collection_url(:instances)
-    (xml_response/'instances/instance').each do |r|
-      get collection_url(:instances) + '/' + r[:id]
-      (xml_response/'hardware_profile').wont_be_empty
-      (xml_response/'hardware_profile').size.must_equal 1
-      (xml_response/'hardware_profile').first[:id].wont_be_nil
-      (xml_response/'hardware_profile').first[:href].wont_be_nil
-      (xml_response/'hardware_profile').first[:href].must_match /\/#{(xml_response/'hardware_profile').first[:id]}$/
-    end
-  end
-
-  it 'should advertise the public and private addresses of the instance' do
-    authenticate
-    get collection_url(:instances)
-    (xml_response/'instances/instance').each do |r|
-      get collection_url(:instances) + '/' + r[:id]
-      (xml_response/'public_addresses').wont_be_empty
-      (xml_response/'public_addresses').size.must_equal 1
-      (xml_response/'public_addresses/address').each do |a|
-        a[:type].wont_be_nil
-        a.text.strip.wont_be_empty
-      end
-      (xml_response/'private_addresses').wont_be_empty
-      (xml_response/'private_addresses').size.must_equal 1
-      (xml_response/'private_addresses/address').each do |a|
-        a[:type].wont_be_nil
-        a.text.strip.wont_be_empty
-      end
-    end
-  end
-
-  it 'should advertise the storage volumes used by the instance' do
-    authenticate
-    get collection_url(:instances)
-    (xml_response/'instances/instance').each do |r|
-      get collection_url(:instances) + '/' + r[:id]
-      (xml_response/'storage_volumes').wont_be_empty
-    end
-  end
-
-  it 'should advertise the list of actions that can be executed for each instance' do
-    authenticate
-    get collection_url(:instances)
-    (xml_response/'instances/instance').each do |r|
-      get collection_url(:instances) + '/' + r[:id]
-      (xml_response/'actions/link').wont_be_empty
-      (xml_response/'actions/link').each do |l|
-        l[:href].wont_be_nil
-        l[:href].must_match /^http/
-        l[:method].wont_be_nil
-        l[:rel].wont_be_nil
-      end
-    end
-  end
-
-  it 'should allow to create and destroy new instance using the first available image without realm' do
-    authenticate
-    get collection_url(:images)
-    image_id = (xml_response/'images/image').first[:id]
-    image_id.wont_be_nil
-    post collection_url(:instances), {
-      :image_id => image_id
-    }
-    last_response.status.must_equal 201 # HTTP_CREATED
-    last_response.headers['Location'].wont_be_nil # Location header must be set, pointing to new the instance
-    instance_id = last_response.headers['Location'].split('/').last
-    # Get the instance and check if ID and image is set correctly
-    get collection_url(:instances) + '/' + instance_id
-    last_response.status.must_equal 200 # HTTP_OK
-    (xml_response/'instance').first[:id].must_equal instance_id
-    (xml_response/'instance/image').first[:id].must_equal image_id
-    # If instance is RUNNING then stop it
-    if (xml_response/'instance/state').first.text == 'RUNNING'
-      post collection_url(:instances) + '/' + instance_id + '/stop'
-      last_response.status.must_equal 202 # HTTP_NO_CONTENT
-    end
-    # Delete created instance
-    delete collection_url(:instances) + '/' + instance_id
-    last_response.status.must_equal 204 # HTTP_NO_CONTENT
-  end
-
-  it 'should allow to create and destroy new instance using the first available image within first realm' do
-    authenticate
-    get collection_url(:images)
-    image_id = (xml_response/'images/image').first[:id]
-    get collection_url(:realms)
-    realm_id = (xml_response/'realms/realm').first[:id]
-    image_id.wont_be_nil
-    realm_id.wont_be_nil
-    post collection_url(:instances), {
-      :image_id => image_id,
-      :realm_id => realm_id,
-    }
-    last_response.status.must_equal 201 # HTTP_CREATED
-    last_response.headers['Location'].wont_be_nil # Location header must be set, pointing to new the instance
-    instance_id = last_response.headers['Location'].split('/').last
-    # Get the instance and check if ID and image is set correctly
-    get collection_url(:instances) + '/' + instance_id
-    last_response.status.must_equal 200 # HTTP_OK
-    (xml_response/'instance').first[:id].must_equal instance_id
-    (xml_response/'instance/image').first[:id].must_equal image_id
-    (xml_response/'instance/realm').first[:id].must_equal realm_id
-    # If instance is RUNNING then stop it
-    if (xml_response/'instance/state').first.text == 'RUNNING'
-      post collection_url(:instances) + '/' + instance_id + '/stop'
-      last_response.status.must_equal 202 # HTTP_NO_CONTENT
-    end
-    # Delete created instance
-    delete collection_url(:instances) + '/' + instance_id
-    last_response.status.must_equal 204 # HTTP_NO_CONTENT
-  end
-
-  it 'should allow to create and destroy new instance using the first available image with user defined name' do
-    authenticate
-    get collection_url(:images)
-    image_id = (xml_response/'images/image').first[:id]
-    image_id.wont_be_nil
-    name = "i#{Time.now.to_i}"
-    post collection_url(:instances), {
-      :image_id => image_id,
-      :name => name
-    }
-    last_response.status.must_equal 201 # HTTP_CREATED
-    last_response.headers['Location'].wont_be_nil # Location header must be set, pointing to new the instance
-    instance_id = last_response.headers['Location'].split('/').last
-    # Get the instance and check if ID and image is set correctly
-    get collection_url(:instances) + '/' + instance_id
-    last_response.status.must_equal 200 # HTTP_OK
-    (xml_response/'instance').first[:id].must_equal instance_id
-    (xml_response/'instance/image').first[:id].must_equal image_id
-    (xml_response/'instance/name').first.text.must_equal name
-    # If instance is RUNNING then stop it
-    if (xml_response/'instance/state').first.text == 'RUNNING'
-      post collection_url(:instances) + '/' + instance_id + '/stop'
-      last_response.status.must_equal 202 # HTTP_NO_CONTENT
-    end
-    # Delete created instance
-    delete collection_url(:instances) + '/' + instance_id
-    last_response.status.must_equal 204 # HTTP_NO_CONTENT
-  end
-
-  it 'should allow to create and destroy new instance using the first available image and first hardware_profile' do
-    authenticate
-    get collection_url(:images)
-    image_id = (xml_response/'images/image').first[:id]
-    get collection_url(:hardware_profiles)
-    hwp_id = (xml_response/'hardware_profiles/hardware_profile').first[:id]
-    image_id.wont_be_nil
-    name = "i#{Time.now.to_i}"
-    post collection_url(:instances), {
-      :image_id => image_id,
-      :hwp_id => hwp_id
-    }
-    last_response.status.must_equal 201 # HTTP_CREATED
-    last_response.headers['Location'].wont_be_nil # Location header must be set, pointing to new the instance
-    instance_id = last_response.headers['Location'].split('/').last
-    # Get the instance and check if ID and image is set correctly
-    get collection_url(:instances) + '/' + instance_id
-    last_response.status.must_equal 200 # HTTP_OK
-    (xml_response/'instance').first[:id].must_equal instance_id
-    (xml_response/'instance/image').first[:id].must_equal image_id
-    (xml_response/'instance/hardware_profile').first[:id].must_equal hwp_id
-    # If instance is RUNNING then stop it
-    if (xml_response/'instance/state').first.text == 'RUNNING'
-      post collection_url(:instances) + '/' + instance_id + '/stop'
-      last_response.status.must_equal 202 # HTTP_NO_CONTENT
-    end
-    # Delete created instance
-    delete collection_url(:instances) + '/' + instance_id
-    last_response.status.must_equal 204 # HTTP_NO_CONTENT
-  end
-
-end

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/73b5c596/server/tests/deprecated/drivers/mock/keys_test.rb
----------------------------------------------------------------------
diff --git a/server/tests/deprecated/drivers/mock/keys_test.rb b/server/tests/deprecated/drivers/mock/keys_test.rb
deleted file mode 100644
index ed7354f..0000000
--- a/server/tests/deprecated/drivers/mock/keys_test.rb
+++ /dev/null
@@ -1,161 +0,0 @@
-$:.unshift File.join(File.dirname(__FILE__), '..', '..', '..')
-require 'tests/drivers/mock/common'
-
-describe 'Deltacloud API Keys' do
-  include Deltacloud::Test
-
-  it 'must advertise have the keys collection in API entrypoint' do
-    get root_url
-    (xml_response/'api/link[@rel=keys]').wont_be_empty
-  end
-
-  it 'must require authentication to access the "key" collection' do
-    get collection_url(:keys)
-    last_response.status.must_equal 401
-  end
-
-  it 'should respond with HTTP_OK when accessing the :keys collection with authentication' do
-    authenticate
-    get collection_url(:keys)
-    last_response.status.must_equal 200
-  end
-
-  it 'should support the JSON media type' do
-    authenticate
-    header 'Accept', 'application/json'
-    get collection_url(:keys)
-    last_response.status.must_equal 200
-    last_response.headers['Content-Type'].must_equal 'application/json'
-  end
-
-  it 'must include the ETag in HTTP headers' do
-    authenticate
-    get collection_url(:keys)
-    last_response.headers['ETag'].wont_be_nil
-  end
-
-  it 'must have the "keys" element on top level' do
-    authenticate
-    get collection_url(:keys)
-    xml_response.root.name.must_equal 'keys'
-  end
-
-  it 'must have some "key" elements inside "keys"' do
-    authenticate
-    get collection_url(:keys)
-    (xml_response/'keys/key').wont_be_empty
-  end
-
-  it 'must tell the kind of "key" elements inside "keys"' do
-    authenticate
-    get collection_url(:keys)
-    (xml_response/'keys/key').each do |k|
-      k[:type].must_match /(key|password)/
-    end
-  end
-
-  it 'must provide the :id attribute for each key in collection' do
-    authenticate
-    get collection_url(:keys)
-    (xml_response/'keys/key').each do |r|
-      r[:id].wont_be_nil
-    end
-  end
-
-  it 'must include the :href attribute for each "key" element in collection' do
-    authenticate
-    get collection_url(:keys)
-    (xml_response/'keys/key').each do |r|
-      r[:href].wont_be_nil
-    end
-  end
-
-  it 'must use the absolute URL in each :href attribute' do
-    authenticate
-    get collection_url(:keys)
-    (xml_response/'keys/key').each do |r|
-      r[:href].must_match /^http/
-    end
-  end
-
-  it 'must have the URL ending with the :id of the key' do
-    authenticate
-    get collection_url(:keys)
-    (xml_response/'keys/key').each do |r|
-      r[:href].must_match /#{r[:id]}$/
-    end
-  end
-
-  it 'must return the list of valid parameters for the :index action' do
-    authenticate
-    options collection_url(:keys) + '/index'
-    last_response.headers['Allow'].wont_be_nil
-  end
-
-  it 'must have the "name" element defined for each key in collection' do
-    authenticate
-    get collection_url(:keys)
-    (xml_response/'keys/key').each do |r|
-      (r/'name').wont_be_empty
-    end
-  end
-
-
-  it 'must return the full "key" when following the URL in key element' do
-    authenticate
-    get collection_url(:keys)
-    (xml_response/'keys/key').each do |r|
-      get collection_url(:keys) + '/' + r[:id]
-      last_response.status.must_equal 200
-    end
-  end
-
-  it 'must have the "name" element for the key and it should match with the one in collection' do
-    authenticate
-    get collection_url(:keys)
-    (xml_response/'keys/key').each do |r|
-      get collection_url(:keys) + '/' + r[:id]
-      (xml_response/'name').wont_be_empty
-      (xml_response/'name').first.text.must_equal((r/'name').first.text)
-    end
-  end
-
-  it 'must have the "name" element for the key and it should match with the one in collection' do
-    authenticate
-    get collection_url(:keys)
-    (xml_response/'keys/key').each do |r|
-      get collection_url(:keys) + '/' + r[:id]
-      (xml_response/'state').wont_be_empty
-      (xml_response/'state').first.text.must_equal((r/'state').first.text)
-    end
-  end
-
-  it 'should advertise the list of actions that can be executed for each key' do
-    authenticate
-    get collection_url(:keys)
-    (xml_response/'keys/key').each do |r|
-      get collection_url(:keys) + '/' + r[:id]
-      (xml_response/'actions/link').wont_be_empty
-      (xml_response/'actions/link').each do |l|
-        l[:href].wont_be_nil
-        l[:href].must_match /^http/
-        l[:method].wont_be_nil
-        l[:rel].wont_be_nil
-      end
-    end
-  end
-
-  it 'should allow to create a new key and then remove it' do
-    authenticate
-    key_name = Time.now.to_i.to_s
-    post collection_url(:keys), {
-      :name => 'test_key_'+key_name
-    }
-    last_response.status.must_equal 201 # HTTP_CREATED
-    get collection_url(:keys) + '/' + 'test_key_'+key_name
-    last_response.status.must_equal 200 # HTTP_OK
-    delete collection_url(:keys) + '/' + 'test_key_'+key_name
-    last_response.status.must_equal 204 # HTTP_NO_CONTENT
-  end
-
-end

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/73b5c596/server/tests/deprecated/drivers/mock/realms_test.rb
----------------------------------------------------------------------
diff --git a/server/tests/deprecated/drivers/mock/realms_test.rb b/server/tests/deprecated/drivers/mock/realms_test.rb
deleted file mode 100644
index 0c254dd..0000000
--- a/server/tests/deprecated/drivers/mock/realms_test.rb
+++ /dev/null
@@ -1,132 +0,0 @@
-$:.unshift File.join(File.dirname(__FILE__), '..', '..', '..')
-require 'tests/drivers/mock/common'
-
-describe 'Deltacloud API Realms' do
-  include Deltacloud::Test
-
-  it 'must advertise have the realms collection in API entrypoint' do
-    get root_url
-    (xml_response/'api/link[@rel=realms]').wont_be_empty
-  end
-
-  it 'must require authentication to access the "realm" collection' do
-    get collection_url(:realms)
-    last_response.status.must_equal 401
-  end
-
-  it 'should respond with HTTP_OK when accessing the :realms collection with authentication' do
-    authenticate
-    get collection_url(:realms)
-    last_response.status.must_equal 200
-  end
-
-  it 'should support the JSON media type' do
-    authenticate
-    header 'Accept', 'application/json'
-    get collection_url(:realms)
-    last_response.status.must_equal 200
-    last_response.headers['Content-Type'].must_equal 'application/json'
-  end
-
-  it 'must include the ETag in HTTP headers' do
-    authenticate
-    get collection_url(:realms)
-    last_response.headers['ETag'].wont_be_nil
-  end
-
-  it 'must have the "realms" element on top level' do
-    authenticate
-    get collection_url(:realms)
-    xml_response.root.name.must_equal 'realms'
-  end
-
-  it 'must have some "realm" elements inside "realms"' do
-    authenticate
-    get collection_url(:realms)
-    (xml_response/'realms/realm').wont_be_empty
-  end
-
-  it 'must provide the :id attribute for each realm in collection' do
-    authenticate
-    get collection_url(:realms)
-    (xml_response/'realms/realm').each do |r|
-      r[:id].wont_be_nil
-    end
-  end
-
-  it 'must include the :href attribute for each "realm" element in collection' do
-    authenticate
-    get collection_url(:realms)
-    (xml_response/'realms/realm').each do |r|
-      r[:href].wont_be_nil
-    end
-  end
-
-  it 'must use the absolute URL in each :href attribute' do
-    authenticate
-    get collection_url(:realms)
-    (xml_response/'realms/realm').each do |r|
-      r[:href].must_match /^http/
-    end
-  end
-
-  it 'must have the URL ending with the :id of the realm' do
-    authenticate
-    get collection_url(:realms)
-    (xml_response/'realms/realm').each do |r|
-      r[:href].must_match /#{r[:id]}$/
-    end
-  end
-
-  it 'must return the list of valid parameters for the :index action' do
-    authenticate
-    options collection_url(:realms) + '/index'
-    last_response.headers['Allow'].wont_be_nil
-  end
-
-  it 'must have the "name" element defined for each realm in collection' do
-    authenticate
-    get collection_url(:realms)
-    (xml_response/'realms/realm').each do |r|
-      (r/'name').wont_be_empty
-    end
-  end
-
-  it 'must have the "state" element defined for each realm in collection' do
-    authenticate
-    get collection_url(:realms)
-    (xml_response/'realms/realm').each do |r|
-      (r/'state').wont_be_empty
-    end
-  end
-
-  it 'must return the full "realm" when following the URL in realm element' do
-    authenticate
-    get collection_url(:realms)
-    (xml_response/'realms/realm').each do |r|
-      get collection_url(:realms) + '/' + r[:id]
-      last_response.status.must_equal 200
-    end
-  end
-
-  it 'must have the "name" element for the realm and it should match with the one in collection' do
-    authenticate
-    get collection_url(:realms)
-    (xml_response/'realms/realm').each do |r|
-      get collection_url(:realms) + '/' + r[:id]
-      (xml_response/'name').wont_be_empty
-      (xml_response/'name').first.text.must_equal((r/'name').first.text)
-    end
-  end
-
-  it 'must have the "state" element for the realm and it should match with the one in collection' do
-    authenticate
-    get collection_url(:realms)
-    (xml_response/'realms/realm').each do |r|
-      get collection_url(:realms) + '/' + r[:id]
-      (xml_response/'state').wont_be_empty
-      (xml_response/'state').first.text.must_equal((r/'state').first.text)
-    end
-  end
-
-end

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/73b5c596/server/tests/deprecated/drivers/mock/storage_snapshots_test.rb
----------------------------------------------------------------------
diff --git a/server/tests/deprecated/drivers/mock/storage_snapshots_test.rb b/server/tests/deprecated/drivers/mock/storage_snapshots_test.rb
deleted file mode 100644
index 957e500..0000000
--- a/server/tests/deprecated/drivers/mock/storage_snapshots_test.rb
+++ /dev/null
@@ -1,114 +0,0 @@
-$:.unshift File.join(File.dirname(__FILE__), '..', '..', '..')
-require 'tests/drivers/mock/common'
-
-describe 'Deltacloud API storage_snapshots' do
-  include Deltacloud::Test
-
-  it 'must advertise have the storage_snapshots collection in API entrypoint' do
-    get root_url
-    (xml_response/'api/link[@rel=storage_snapshots]').wont_be_empty
-  end
-
-  it 'must require authentication to access the "storage_snapshot" collection' do
-    get collection_url(:storage_snapshots)
-    last_response.status.must_equal 401
-  end
-
-  it 'should respond with HTTP_OK when accessing the :storage_snapshots collection with authentication' do
-    authenticate
-    get collection_url(:storage_snapshots)
-    last_response.status.must_equal 200
-  end
-
-  it 'should support the JSON media type' do
-    authenticate
-    header 'Accept', 'application/json'
-    get collection_url(:storage_snapshots)
-    last_response.status.must_equal 200
-    last_response.headers['Content-Type'].must_equal 'application/json'
-  end
-
-  it 'must include the ETag in HTTP headers' do
-    authenticate
-    get collection_url(:storage_snapshots)
-    last_response.headers['ETag'].wont_be_nil
-  end
-
-  it 'must have the "storage_snapshots" element on top level' do
-    authenticate
-    get collection_url(:storage_snapshots)
-    xml_response.root.name.must_equal 'storage_snapshots'
-  end
-
-  it 'must have some "storage_snapshot" elements inside "storage_snapshots"' do
-    authenticate
-    get collection_url(:storage_snapshots)
-    (xml_response/'storage_snapshots/storage_snapshot').wont_be_empty
-  end
-
-  it 'must provide the :id attribute for each storage_snapshot in collection' do
-    authenticate
-    get collection_url(:storage_snapshots)
-    (xml_response/'storage_snapshots/storage_snapshot').each do |r|
-      r[:id].wont_be_nil
-    end
-  end
-
-  it 'must include the :href attribute for each "storage_snapshot" element in collection' do
-    authenticate
-    get collection_url(:storage_snapshots)
-    (xml_response/'storage_snapshots/storage_snapshot').each do |r|
-      r[:href].wont_be_nil
-    end
-  end
-
-  it 'must use the absolute URL in each :href attribute' do
-    authenticate
-    get collection_url(:storage_snapshots)
-    (xml_response/'storage_snapshots/storage_snapshot').each do |r|
-      r[:href].must_match /^http/
-    end
-  end
-
-  it 'must have the URL ending with the :id of the storage_snapshot' do
-    authenticate
-    get collection_url(:storage_snapshots)
-    (xml_response/'storage_snapshots/storage_snapshot').each do |r|
-      r[:href].must_match /#{r[:id]}$/
-    end
-  end
-
-  it 'must return the list of valid parameters for the :index action' do
-    authenticate
-    options collection_url(:storage_snapshots) + '/index'
-    last_response.headers['Allow'].wont_be_nil
-  end
-
-  it 'must have the "name" element defined for each storage_snapshot in collection' do
-    authenticate
-    get collection_url(:storage_snapshots)
-    (xml_response/'storage_snapshots/storage_snapshot').each do |r|
-      (r/'name').wont_be_empty
-    end
-  end
-
-  it 'must return the full "storage_snapshot" when following the URL in storage_snapshot element' do
-    authenticate
-    get collection_url(:storage_snapshots)
-    (xml_response/'storage_snapshots/storage_snapshot').each do |r|
-      get collection_url(:storage_snapshots) + '/' + r[:id]
-      last_response.status.must_equal 200
-    end
-  end
-
-  it 'must have the "name" element for the storage_snapshot and it should match with the one in collection' do
-    authenticate
-    get collection_url(:storage_snapshots)
-    (xml_response/'storage_snapshots/storage_snapshot').each do |r|
-      get collection_url(:storage_snapshots) + '/' + r[:id]
-      (xml_response/'name').wont_be_empty
-      (xml_response/'name').first.text.must_equal((r/'name').first.text)
-    end
-  end
-
-end

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/73b5c596/server/tests/deprecated/drivers/mock/storage_volumes_test.rb
----------------------------------------------------------------------
diff --git a/server/tests/deprecated/drivers/mock/storage_volumes_test.rb b/server/tests/deprecated/drivers/mock/storage_volumes_test.rb
deleted file mode 100644
index 98682ad..0000000
--- a/server/tests/deprecated/drivers/mock/storage_volumes_test.rb
+++ /dev/null
@@ -1,122 +0,0 @@
-$:.unshift File.join(File.dirname(__FILE__), '..', '..', '..')
-require 'tests/drivers/mock/common'
-
-describe 'Deltacloud API storage_volumes' do
-  include Deltacloud::Test
-
-  it 'must advertise have the storage_volumes collection in API entrypoint' do
-    get root_url
-    (xml_response/'api/link[@rel=storage_volumes]').wont_be_empty
-  end
-
-  it 'must require authentication to access the "storage_volume" collection' do
-    get collection_url(:storage_volumes)
-    last_response.status.must_equal 401
-  end
-
-  it 'should respond with HTTP_OK when accessing the :storage_volumes collection with authentication' do
-    authenticate
-    get collection_url(:storage_volumes)
-    last_response.status.must_equal 200
-  end
-
-  it 'should support the JSON media type' do
-    authenticate
-    header 'Accept', 'application/json'
-    get collection_url(:storage_volumes)
-    last_response.status.must_equal 200
-    last_response.headers['Content-Type'].must_equal 'application/json'
-  end
-
-  it 'must include the ETag in HTTP headers' do
-    authenticate
-    get collection_url(:storage_volumes)
-    last_response.headers['ETag'].wont_be_nil
-  end
-
-  it 'must have the "storage_volumes" element on top level' do
-    authenticate
-    get collection_url(:storage_volumes)
-    xml_response.root.name.must_equal 'storage_volumes'
-  end
-
-  it 'must have some "storage_volume" elements inside "storage_volumes"' do
-    authenticate
-    get collection_url(:storage_volumes)
-    (xml_response/'storage_volumes/storage_volume').wont_be_empty
-  end
-
-  it 'must provide the :id attribute for each storage_volume in collection' do
-    authenticate
-    get collection_url(:storage_volumes)
-    (xml_response/'storage_volumes/storage_volume').each do |r|
-      r[:id].wont_be_nil
-    end
-  end
-
-  it 'must include the :href attribute for each "storage_volume" element in collection' do
-    authenticate
-    get collection_url(:storage_volumes)
-    (xml_response/'storage_volumes/storage_volume').each do |r|
-      r[:href].wont_be_nil
-    end
-  end
-
-  it 'must use the absolute URL in each :href attribute' do
-    authenticate
-    get collection_url(:storage_volumes)
-    (xml_response/'storage_volumes/storage_volume').each do |r|
-      r[:href].must_match /^http/
-    end
-  end
-
-  it 'must have the URL ending with the :id of the storage_volume' do
-    authenticate
-    get collection_url(:storage_volumes)
-    (xml_response/'storage_volumes/storage_volume').each do |r|
-      r[:href].must_match /#{r[:id]}$/
-    end
-  end
-
-  it 'must return the list of valid parameters for the :index action' do
-    authenticate
-    options collection_url(:storage_volumes) + '/index'
-    last_response.headers['Allow'].wont_be_nil
-  end
-
-  it 'must have the "name" element defined for each storage_volume in collection' do
-    authenticate
-    get collection_url(:storage_volumes)
-    (xml_response/'storage_volumes/storage_volume').each do |r|
-      (r/'name').wont_be_empty
-    end
-  end
-
-  it 'must have the "state" element defined for each storage_volume in collection' do
-    authenticate
-    get collection_url(:storage_volumes)
-    (xml_response/'storage_volumes/storage_volume').each do |r|
-      (r/'state').wont_be_empty
-    end
-  end
-
-  it 'must return the full "storage_volume" when following the URL in storage_volume element' do
-    authenticate
-    get collection_url(:storage_volumes)
-    (xml_response/'storage_volumes/storage_volume').each do |r|
-      get collection_url(:storage_volumes) + '/' + r[:id]
-      last_response.status.must_equal 200
-    end
-  end
-
-  it 'must have the "name" element for the storage_volume and it should match with the one in collection' do
-    authenticate
-    get collection_url(:storage_volumes)
-    (xml_response/'storage_volumes/storage_volume').each do |r|
-      get collection_url(:storage_volumes) + '/' + r[:id]
-      (xml_response/'name').wont_be_empty
-      (xml_response/'name').first.text.must_equal((r/'name').first.text)
-    end
-  end
-
-end

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/73b5c596/server/tests/deprecated/drivers/openstack/api_test.rb
----------------------------------------------------------------------
diff --git a/server/tests/deprecated/drivers/openstack/api_test.rb b/server/tests/deprecated/drivers/openstack/api_test.rb
deleted file mode 100644
index e254060..0000000
--- a/server/tests/deprecated/drivers/openstack/api_test.rb
+++ /dev/null
@@ -1,46 +0,0 @@
-$:.unshift File.join(File.dirname(__FILE__), '..', '..', '..')
-require 'tests/drivers/openstack/common'
-
-module OpenstackTest
-
-  class ApiTest < Test::Unit::TestCase
-    include Rack::Test::Methods
-
-    def app
-      Rack::Builder.new {
-        map '/' do
-          use Rack::Static, :urls => ["/stylesheets", "/javascripts"], :root => "public"
-          run Rack::Cascade.new([Deltacloud::API])
-        end
-      }
-    end
-
-    def test_01_it_returns_entry_points
-      get_auth_url '/api;driver=openstack/?force_auth=1'
-      (last_xml_response/'/api').first[:driver].should == 'openstack'
-      (last_xml_response/'/api/link').length.should > 0
-    end
-
-    def test_02_it_has_openstack_features
-      get_url '/api;driver=openstack'
-      features = (last_xml_response/'/api/link[@rel="instances"]/feature').collect { |f| f[:name] }
-      features.include?('user_name').should == true
-      features.include?('authentication_password').should == true
-      features.include?('user_files').should == true
-      features.length.should == 3
-    end
-
-    def test_03_it_has_openstack_collections
-      get_url '/api;driver=openstack'
-      collections = (last_xml_response/'/api/link').collect { |f| f[:rel] }
-      collections.include?('instance_states').should == true
-      collections.include?('instances').should == true
-      collections.include?('images').should == true
-      collections.include?('buckets').should == true # NOT YET IMPLEMENTED FOR V2 driver
-      collections.include?('realms').should == true
-      collections.include?('hardware_profiles').should == true
-      collections.length.should == 7
-    end
-
-  end
-end

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/73b5c596/server/tests/deprecated/drivers/openstack/common.rb
----------------------------------------------------------------------
diff --git a/server/tests/deprecated/drivers/openstack/common.rb b/server/tests/deprecated/drivers/openstack/common.rb
deleted file mode 100644
index 595eed7..0000000
--- a/server/tests/deprecated/drivers/openstack/common.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-ENV['API_DRIVER']   = "openstack"
-ENV['API_USER']     = 'foo@bar.com+foo@bar.com-default-tenant'
-ENV['API_PASSWORD'] = 'Not_a_real_password!1'
-ENV['API_PROVIDER'] = 'https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/'
-
-load File.join(File.dirname(__FILE__), '..', '..', 'common.rb')
-require 'vcr'
-
-DeltacloudTestCommon::record!
-
-VCR.config do |c|
-  c.cassette_library_dir = File.join(File.dirname(__FILE__), 'fixtures')
-  c.stub_with :webmock
-  c.default_cassette_options = { :record => :none }
-end
-
-class WebMock::Config
-  def net_http_connect_on_start
-    true
-  end
-end

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/73b5c596/server/tests/deprecated/drivers/openstack/fixtures/get-03188c338fe30b163c22600f148827d5cf593041.yml
----------------------------------------------------------------------
diff --git a/server/tests/deprecated/drivers/openstack/fixtures/get-03188c338fe30b163c22600f148827d5cf593041.yml b/server/tests/deprecated/drivers/openstack/fixtures/get-03188c338fe30b163c22600f148827d5cf593041.yml
deleted file mode 100644
index 7fd0e79..0000000
--- a/server/tests/deprecated/drivers/openstack/fixtures/get-03188c338fe30b163c22600f148827d5cf593041.yml
+++ /dev/null
@@ -1,176 +0,0 @@
---- 
-- !ruby/struct:VCR::HTTPInteraction 
-  request: !ruby/struct:VCR::Request 
-    method: :post
-    uri: https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/tokens
-    body: "{\"auth\":{\"passwordCredentials\":{\"password\":\"Not_a_real_password!1\",\"username\":\"foo@bar.com\"},\"tenantName\":\"foo@bar.com-default-tenant\"}}"
-    headers: 
-      content-type: 
-      - application/json
-  response: !ruby/struct:VCR::Response 
-    status: !ruby/struct:VCR::ResponseStatus 
-      code: 200
-      message: OK
-    headers: 
-      expires: 
-      - "-1"
-      pragma: 
-      - no-cache
-      cache-control: 
-      - no-cache
-      server: 
-      - Apache-Coyote/1.1
-      date: 
-      - Tue, 03 Apr 2012 11:48:11 GMT
-      content-length: 
-      - "3683"
-      content-type: 
-      - application/json
-    body: |-
-      {"access": {
-        "token": {
-          "expires": "2012-04-03T23:48:11.770Z",
-          "id": "HPAuth_4f7ab57ce4b0dfd6b763ca55",
-          "tenant": {
-            "id": "46871569847393",
-            "name": "foo@bar.com-default-tenant"
-          }
-        },
-        "user": {
-          "id": "90338821550656",
-          "name": "foo@bar.com",
-          "roles": [
-            {
-              "id": "00000000004024",
-              "serviceId": "140",
-              "name": "user",
-              "tenantId": "46871569847393"
-            },
-            {
-              "id": "00000000004022",
-              "serviceId": "110",
-              "name": "Admin",
-              "tenantId": "46871569847393"
-            },
-            {
-              "id": "00000000004025",
-              "serviceId": "120",
-              "name": "sysadmin",
-              "tenantId": "46871569847393"
-            },
-            {
-              "id": "00000000004003",
-              "serviceId": "100",
-              "name": "domainadmin"
-            },
-            {
-              "id": "00000000004016",
-              "serviceId": "120",
-              "name": "netadmin",
-              "tenantId": "46871569847393"
-            },
-            {
-              "id": "00000000004004",
-              "serviceId": "100",
-              "name": "domainuser"
-            },
-            {
-              "id": "00000000004013",
-              "serviceId": "130",
-              "name": "block-admin",
-              "tenantId": "46871569847393"
-            }
-          ]
-        },
-        "serviceCatalog": [
-          {
-            "name": "Object Storage",
-            "type": "object-store",
-            "endpoints": [{
-              "tenantId": "46871569847393",
-              "adminURL": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1.0\/",
-              "publicURL": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1.0\/46871569847393",
-              "region": "region-a.geo-1",
-              "versionId": "1.0",
-              "versionInfo": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1.0\/",
-              "versionList": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com"
-            }]
-          },
-          {
-            "name": "Identity",
-            "type": "identity",
-            "endpoints": [{
-              "publicURL": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
-              "region": "region-a.geo-1",
-              "versionId": "2.0",
-              "versionInfo": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
-              "versionList": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357"
-            }]
-          },
-          {
-            "name": "Image Management",
-            "type": "image",
-            "endpoints": [{
-              "tenantId": "46871569847393",
-              "publicURL": "https:\/\/glance2.uswest.hpcloud.net:9292\/v1.0",
-              "region": "az-2.region-a.geo-1",
-              "versionId": "1.0",
-              "versionInfo": "https:\/\/glance2.uswest.hpcloud.net:9292\/v1.0\/",
-              "versionList": "https:\/\/glance2.uswest.hpcloud.net:9292"
-            }]
-          },
-          {
-            "name": "Block Storage",
-            "type": "hpext:blockstore",
-            "endpoints": [{
-              "tenantId": "46871569847393",
-              "publicURL": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/46871569847393",
-              "region": "az-2.region-a.geo-1",
-              "versionId": "1.1",
-              "versionInfo": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/",
-              "versionList": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com"
-            }]
-          },
-          {
-            "name": "Compute",
-            "type": "compute",
-            "endpoints": [{
-              "tenantId": "46871569847393",
-              "publicURL": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/46871569847393",
-              "publicURL2": "https:\/\/az-2.region-a.geo-1.ec2-compute.hpcloudsvc.com\/services\/Cloud",
-              "region": "az-2.region-a.geo-1",
-              "versionId": "1.1",
-              "versionInfo": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/",
-              "versionList": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com"
-            }]
-          }
-        ]
-      }}
-    http_version: "1.1"
-- !ruby/struct:VCR::HTTPInteraction 
-  request: !ruby/struct:VCR::Request 
-    method: :get
-    uri: https://az-2.region-a.geo-1.compute.hpcloudsvc.com:443/v1.1/46871569847393/servers/71940
-    body: 
-    headers: 
-      x-auth-token: 
-      - HPAuth_4f7ab57ce4b0dfd6b763ca55
-      user-agent: 
-      - OpenStack::Compute Ruby API 1.1.7
-      accept: 
-      - application/json
-      content-type: 
-      - application/json
-  response: !ruby/struct:VCR::Response 
-    status: !ruby/struct:VCR::ResponseStatus 
-      code: 200
-      message: OK
-    headers: 
-      date: 
-      - Tue, 03 Apr 2012 11:48:13 GMT
-      content-length: 
-      - "1027"
-      content-type: 
-      - application/json; charset=UTF-8
-    body: "{\"server\": {\"status\": \"BUILD(spawning)\", \"updated\": \"2012-04-03T11:47:54Z\", \"hostId\": \"89c1c18fee8b55b5e5c0c547e8181744c6fb144a8217ba2473804f5f\", \"user_id\": \"90338821550656\", \"name\": \"Tue Apr 03 14:47:27 +0300 2012\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/46871569847393/servers/71940\", \"rel\": \"self\"}, {\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/46871569847393/servers/71940\", \"rel\": \"bookmark\"}], \"addresses\": {\"private\": [{\"version\": 4, \"addr\": \"10.6.45.200\"}]}, \"tenant_id\": \"46871569847393\", \"image\": {\"id\": \"417\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/46871569847393/images/417\", \"rel\": \"bookmark\"}]}, \"created\": \"2012-04-03T11:47:43Z\", \"uuid\": \"2c84201d-1aaf-4f10-a9a7-e4a755de1068\", \"accessIPv4\": \"\", \"accessIPv6\": \"\", \"key_name\": null, \"flavor\": {\"id\": \"100\", \"links\": [{\"href\": \"https://az-
 2.region-a.geo-1.compute.hpcloudsvc.com/46871569847393/flavors/100\", \"rel\": \"bookmark\"}]}, \"config_drive\": \"\", \"id\": 71940, \"metadata\": {}}}"
-    http_version: "1.1"

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/73b5c596/server/tests/deprecated/drivers/openstack/fixtures/get-0675e161550489f2bd14f86597deab140e8c990e.yml
----------------------------------------------------------------------
diff --git a/server/tests/deprecated/drivers/openstack/fixtures/get-0675e161550489f2bd14f86597deab140e8c990e.yml b/server/tests/deprecated/drivers/openstack/fixtures/get-0675e161550489f2bd14f86597deab140e8c990e.yml
deleted file mode 100644
index b15eb29..0000000
--- a/server/tests/deprecated/drivers/openstack/fixtures/get-0675e161550489f2bd14f86597deab140e8c990e.yml
+++ /dev/null
@@ -1,174 +0,0 @@
---- 
-- !ruby/struct:VCR::HTTPInteraction 
-  request: !ruby/struct:VCR::Request 
-    method: :post
-    uri: https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/tokens
-    body: "{\"auth\":{\"passwordCredentials\":{\"password\":\"Not_a_real_password!1\",\"username\":\"foo@bar.com\"},\"tenantName\":\"foo@bar.com-default-tenant\"}}"
-    headers: 
-      content-type: 
-      - application/json
-  response: !ruby/struct:VCR::Response 
-    status: !ruby/struct:VCR::ResponseStatus 
-      code: 200
-      message: OK
-    headers: 
-      expires: 
-      - "-1"
-      pragma: 
-      - no-cache
-      cache-control: 
-      - no-cache
-      server: 
-      - Apache-Coyote/1.1
-      date: 
-      - Tue, 03 Apr 2012 11:53:08 GMT
-      content-length: 
-      - "3683"
-      content-type: 
-      - application/json
-    body: |-
-      {"access": {
-        "token": {
-          "expires": "2012-04-03T23:53:08.690Z",
-          "id": "HPAuth_4f7ab57ce4b0dfd6b763ca55",
-          "tenant": {
-            "id": "46871569847393",
-            "name": "foo@bar.com-default-tenant"
-          }
-        },
-        "user": {
-          "id": "90338821550656",
-          "name": "foo@bar.com",
-          "roles": [
-            {
-              "id": "00000000004024",
-              "serviceId": "140",
-              "name": "user",
-              "tenantId": "46871569847393"
-            },
-            {
-              "id": "00000000004022",
-              "serviceId": "110",
-              "name": "Admin",
-              "tenantId": "46871569847393"
-            },
-            {
-              "id": "00000000004025",
-              "serviceId": "120",
-              "name": "sysadmin",
-              "tenantId": "46871569847393"
-            },
-            {
-              "id": "00000000004003",
-              "serviceId": "100",
-              "name": "domainadmin"
-            },
-            {
-              "id": "00000000004016",
-              "serviceId": "120",
-              "name": "netadmin",
-              "tenantId": "46871569847393"
-            },
-            {
-              "id": "00000000004004",
-              "serviceId": "100",
-              "name": "domainuser"
-            },
-            {
-              "id": "00000000004013",
-              "serviceId": "130",
-              "name": "block-admin",
-              "tenantId": "46871569847393"
-            }
-          ]
-        },
-        "serviceCatalog": [
-          {
-            "name": "Object Storage",
-            "type": "object-store",
-            "endpoints": [{
-              "tenantId": "46871569847393",
-              "adminURL": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1.0\/",
-              "publicURL": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1.0\/46871569847393",
-              "region": "region-a.geo-1",
-              "versionId": "1.0",
-              "versionInfo": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1.0\/",
-              "versionList": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com"
-            }]
-          },
-          {
-            "name": "Identity",
-            "type": "identity",
-            "endpoints": [{
-              "publicURL": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
-              "region": "region-a.geo-1",
-              "versionId": "2.0",
-              "versionInfo": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
-              "versionList": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357"
-            }]
-          },
-          {
-            "name": "Image Management",
-            "type": "image",
-            "endpoints": [{
-              "tenantId": "46871569847393",
-              "publicURL": "https:\/\/glance2.uswest.hpcloud.net:9292\/v1.0",
-              "region": "az-2.region-a.geo-1",
-              "versionId": "1.0",
-              "versionInfo": "https:\/\/glance2.uswest.hpcloud.net:9292\/v1.0\/",
-              "versionList": "https:\/\/glance2.uswest.hpcloud.net:9292"
-            }]
-          },
-          {
-            "name": "Block Storage",
-            "type": "hpext:blockstore",
-            "endpoints": [{
-              "tenantId": "46871569847393",
-              "publicURL": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/46871569847393",
-              "region": "az-2.region-a.geo-1",
-              "versionId": "1.1",
-              "versionInfo": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/",
-              "versionList": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com"
-            }]
-          },
-          {
-            "name": "Compute",
-            "type": "compute",
-            "endpoints": [{
-              "tenantId": "46871569847393",
-              "publicURL": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/46871569847393",
-              "publicURL2": "https:\/\/az-2.region-a.geo-1.ec2-compute.hpcloudsvc.com\/services\/Cloud",
-              "region": "az-2.region-a.geo-1",
-              "versionId": "1.1",
-              "versionInfo": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/",
-              "versionList": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com"
-            }]
-          }
-        ]
-      }}
-    http_version: "1.1"
-- !ruby/struct:VCR::HTTPInteraction 
-  request: !ruby/struct:VCR::Request 
-    method: :get
-    uri: https://az-2.region-a.geo-1.compute.hpcloudsvc.com:443/v1.1/46871569847393/limits
-    body: 
-    headers: 
-      x-auth-token: 
-      - HPAuth_4f7ab57ce4b0dfd6b763ca55
-      user-agent: 
-      - OpenStack::Compute Ruby API 1.1.7
-      accept: 
-      - application/json
-  response: !ruby/struct:VCR::Response 
-    status: !ruby/struct:VCR::ResponseStatus 
-      code: 200
-      message: OK
-    headers: 
-      date: 
-      - Tue, 03 Apr 2012 11:53:10 GMT
-      content-length: 
-      - "877"
-      content-type: 
-      - application/json; charset=UTF-8
-    body: "{\"limits\": {\"rate\": [{\"regex\": \".*\", \"limit\": [{\"next-available\": \"2012-04-03T11:28:39Z\", \"unit\": \"MINUTE\", \"verb\": \"POST\", \"remaining\": 9, \"value\": 10}, {\"next-available\": \"2012-04-03T11:53:10Z\", \"unit\": \"MINUTE\", \"verb\": \"PUT\", \"remaining\": 10, \"value\": 10}, {\"next-available\": \"2012-04-03T11:52:30Z\", \"unit\": \"MINUTE\", \"verb\": \"DELETE\", \"remaining\": 99, \"value\": 100}], \"uri\": \"*\"}, {\"regex\": \"^/servers\", \"limit\": [{\"next-available\": \"2012-04-03T11:53:10Z\", \"unit\": \"DAY\", \"verb\": \"POST\", \"remaining\": 50, \"value\": 50}], \"uri\": \"*/servers\"}, {\"regex\": \".*changes-since.*\", \"limit\": [{\"next-available\": \"2012-04-03T11:53:10Z\", \"unit\": \"MINUTE\", \"verb\": \"GET\", \"remaining\": 3, \"value\": 3}], \"uri\": \"*changes-since*\"}], \"absolute\": {\"maxServerMeta\": 50, \"maxPersonality\": 5, \"maxImageMeta\": 50, \"maxPersonalitySize\": 10240, \"maxTotalInstances\": 20, \"maxTotal
 RAMSize\": 20480}}}"
-    http_version: "1.1"

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/73b5c596/server/tests/deprecated/drivers/openstack/fixtures/get-12fe2cc26e2a51ba3fd943e6481e86c1278d76f7.yml
----------------------------------------------------------------------
diff --git a/server/tests/deprecated/drivers/openstack/fixtures/get-12fe2cc26e2a51ba3fd943e6481e86c1278d76f7.yml b/server/tests/deprecated/drivers/openstack/fixtures/get-12fe2cc26e2a51ba3fd943e6481e86c1278d76f7.yml
deleted file mode 100644
index 8375938..0000000
--- a/server/tests/deprecated/drivers/openstack/fixtures/get-12fe2cc26e2a51ba3fd943e6481e86c1278d76f7.yml
+++ /dev/null
@@ -1,174 +0,0 @@
---- 
-- !ruby/struct:VCR::HTTPInteraction 
-  request: !ruby/struct:VCR::Request 
-    method: :post
-    uri: https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/tokens
-    body: "{\"auth\":{\"passwordCredentials\":{\"password\":\"Not_a_real_password!1\",\"username\":\"foo@bar.com\"},\"tenantName\":\"foo@bar.com-default-tenant\"}}"
-    headers: 
-      content-type: 
-      - application/json
-  response: !ruby/struct:VCR::Response 
-    status: !ruby/struct:VCR::ResponseStatus 
-      code: 200
-      message: OK
-    headers: 
-      expires: 
-      - "-1"
-      pragma: 
-      - no-cache
-      cache-control: 
-      - no-cache
-      server: 
-      - Apache-Coyote/1.1
-      date: 
-      - Tue, 03 Apr 2012 11:46:20 GMT
-      content-length: 
-      - "3683"
-      content-type: 
-      - application/json
-    body: |-
-      {"access": {
-        "token": {
-          "expires": "2012-04-03T23:46:20.033Z",
-          "id": "HPAuth_4f7ab57ce4b0dfd6b763ca55",
-          "tenant": {
-            "id": "46871569847393",
-            "name": "foo@bar.com-default-tenant"
-          }
-        },
-        "user": {
-          "id": "90338821550656",
-          "name": "foo@bar.com",
-          "roles": [
-            {
-              "id": "00000000004024",
-              "serviceId": "140",
-              "name": "user",
-              "tenantId": "46871569847393"
-            },
-            {
-              "id": "00000000004022",
-              "serviceId": "110",
-              "name": "Admin",
-              "tenantId": "46871569847393"
-            },
-            {
-              "id": "00000000004025",
-              "serviceId": "120",
-              "name": "sysadmin",
-              "tenantId": "46871569847393"
-            },
-            {
-              "id": "00000000004003",
-              "serviceId": "100",
-              "name": "domainadmin"
-            },
-            {
-              "id": "00000000004016",
-              "serviceId": "120",
-              "name": "netadmin",
-              "tenantId": "46871569847393"
-            },
-            {
-              "id": "00000000004004",
-              "serviceId": "100",
-              "name": "domainuser"
-            },
-            {
-              "id": "00000000004013",
-              "serviceId": "130",
-              "name": "block-admin",
-              "tenantId": "46871569847393"
-            }
-          ]
-        },
-        "serviceCatalog": [
-          {
-            "name": "Object Storage",
-            "type": "object-store",
-            "endpoints": [{
-              "tenantId": "46871569847393",
-              "adminURL": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1.0\/",
-              "publicURL": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1.0\/46871569847393",
-              "region": "region-a.geo-1",
-              "versionId": "1.0",
-              "versionInfo": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1.0\/",
-              "versionList": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com"
-            }]
-          },
-          {
-            "name": "Identity",
-            "type": "identity",
-            "endpoints": [{
-              "publicURL": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
-              "region": "region-a.geo-1",
-              "versionId": "2.0",
-              "versionInfo": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
-              "versionList": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357"
-            }]
-          },
-          {
-            "name": "Image Management",
-            "type": "image",
-            "endpoints": [{
-              "tenantId": "46871569847393",
-              "publicURL": "https:\/\/glance2.uswest.hpcloud.net:9292\/v1.0",
-              "region": "az-2.region-a.geo-1",
-              "versionId": "1.0",
-              "versionInfo": "https:\/\/glance2.uswest.hpcloud.net:9292\/v1.0\/",
-              "versionList": "https:\/\/glance2.uswest.hpcloud.net:9292"
-            }]
-          },
-          {
-            "name": "Block Storage",
-            "type": "hpext:blockstore",
-            "endpoints": [{
-              "tenantId": "46871569847393",
-              "publicURL": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/46871569847393",
-              "region": "az-2.region-a.geo-1",
-              "versionId": "1.1",
-              "versionInfo": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/",
-              "versionList": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com"
-            }]
-          },
-          {
-            "name": "Compute",
-            "type": "compute",
-            "endpoints": [{
-              "tenantId": "46871569847393",
-              "publicURL": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/46871569847393",
-              "publicURL2": "https:\/\/az-2.region-a.geo-1.ec2-compute.hpcloudsvc.com\/services\/Cloud",
-              "region": "az-2.region-a.geo-1",
-              "versionId": "1.1",
-              "versionInfo": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/",
-              "versionList": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com"
-            }]
-          }
-        ]
-      }}
-    http_version: "1.1"
-- !ruby/struct:VCR::HTTPInteraction 
-  request: !ruby/struct:VCR::Request 
-    method: :get
-    uri: https://az-2.region-a.geo-1.compute.hpcloudsvc.com:443/v1.1/46871569847393/flavors/100
-    body: 
-    headers: 
-      x-auth-token: 
-      - HPAuth_4f7ab57ce4b0dfd6b763ca55
-      user-agent: 
-      - OpenStack::Compute Ruby API 1.1.7
-      accept: 
-      - application/json
-  response: !ruby/struct:VCR::Response 
-    status: !ruby/struct:VCR::ResponseStatus 
-      code: 200
-      message: OK
-    headers: 
-      date: 
-      - Tue, 03 Apr 2012 11:46:23 GMT
-      content-length: 
-      - "362"
-      content-type: 
-      - application/json; charset=UTF-8
-    body: "{\"flavor\": {\"rxtx_quota\": 0, \"name\": \"standard.xsmall\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/46871569847393/flavors/100\", \"rel\": \"self\"}, {\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/46871569847393/flavors/100\", \"rel\": \"bookmark\"}], \"ram\": 1024, \"vcpus\": 1, \"rxtx_cap\": 0, \"swap\": 0, \"disk\": 30, \"id\": 100}}"
-    http_version: "1.1"

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/73b5c596/server/tests/deprecated/drivers/openstack/fixtures/get-16296a365c236d0d433c3bc8debad1482dee8c41.yml
----------------------------------------------------------------------
diff --git a/server/tests/deprecated/drivers/openstack/fixtures/get-16296a365c236d0d433c3bc8debad1482dee8c41.yml b/server/tests/deprecated/drivers/openstack/fixtures/get-16296a365c236d0d433c3bc8debad1482dee8c41.yml
deleted file mode 100644
index 22863ee..0000000
--- a/server/tests/deprecated/drivers/openstack/fixtures/get-16296a365c236d0d433c3bc8debad1482dee8c41.yml
+++ /dev/null
@@ -1,349 +0,0 @@
---- 
-- !ruby/struct:VCR::HTTPInteraction 
-  request: !ruby/struct:VCR::Request 
-    method: :post
-    uri: https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/tokens
-    body: "{\"auth\":{\"passwordCredentials\":{\"password\":\"Not_a_real_password!1\",\"username\":\"foo@bar.com\"},\"tenantName\":\"foo@bar.com-default-tenant\"}}"
-    headers: 
-      content-type: 
-      - application/json
-  response: !ruby/struct:VCR::Response 
-    status: !ruby/struct:VCR::ResponseStatus 
-      code: 200
-      message: OK
-    headers: 
-      expires: 
-      - "-1"
-      pragma: 
-      - no-cache
-      cache-control: 
-      - no-cache
-      server: 
-      - Apache-Coyote/1.1
-      date: 
-      - Tue, 03 Apr 2012 11:47:07 GMT
-      content-length: 
-      - "3683"
-      content-type: 
-      - application/json
-    body: |-
-      {"access": {
-        "token": {
-          "expires": "2012-04-03T23:47:07.581Z",
-          "id": "HPAuth_4f7ab57ce4b0dfd6b763ca55",
-          "tenant": {
-            "id": "46871569847393",
-            "name": "foo@bar.com-default-tenant"
-          }
-        },
-        "user": {
-          "id": "90338821550656",
-          "name": "foo@bar.com",
-          "roles": [
-            {
-              "id": "00000000004024",
-              "serviceId": "140",
-              "name": "user",
-              "tenantId": "46871569847393"
-            },
-            {
-              "id": "00000000004022",
-              "serviceId": "110",
-              "name": "Admin",
-              "tenantId": "46871569847393"
-            },
-            {
-              "id": "00000000004025",
-              "serviceId": "120",
-              "name": "sysadmin",
-              "tenantId": "46871569847393"
-            },
-            {
-              "id": "00000000004003",
-              "serviceId": "100",
-              "name": "domainadmin"
-            },
-            {
-              "id": "00000000004016",
-              "serviceId": "120",
-              "name": "netadmin",
-              "tenantId": "46871569847393"
-            },
-            {
-              "id": "00000000004004",
-              "serviceId": "100",
-              "name": "domainuser"
-            },
-            {
-              "id": "00000000004013",
-              "serviceId": "130",
-              "name": "block-admin",
-              "tenantId": "46871569847393"
-            }
-          ]
-        },
-        "serviceCatalog": [
-          {
-            "name": "Object Storage",
-            "type": "object-store",
-            "endpoints": [{
-              "tenantId": "46871569847393",
-              "adminURL": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1.0\/",
-              "publicURL": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1.0\/46871569847393",
-              "region": "region-a.geo-1",
-              "versionId": "1.0",
-              "versionInfo": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1.0\/",
-              "versionList": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com"
-            }]
-          },
-          {
-            "name": "Identity",
-            "type": "identity",
-            "endpoints": [{
-              "publicURL": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
-              "region": "region-a.geo-1",
-              "versionId": "2.0",
-              "versionInfo": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
-              "versionList": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357"
-            }]
-          },
-          {
-            "name": "Image Management",
-            "type": "image",
-            "endpoints": [{
-              "tenantId": "46871569847393",
-              "publicURL": "https:\/\/glance2.uswest.hpcloud.net:9292\/v1.0",
-              "region": "az-2.region-a.geo-1",
-              "versionId": "1.0",
-              "versionInfo": "https:\/\/glance2.uswest.hpcloud.net:9292\/v1.0\/",
-              "versionList": "https:\/\/glance2.uswest.hpcloud.net:9292"
-            }]
-          },
-          {
-            "name": "Block Storage",
-            "type": "hpext:blockstore",
-            "endpoints": [{
-              "tenantId": "46871569847393",
-              "publicURL": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/46871569847393",
-              "region": "az-2.region-a.geo-1",
-              "versionId": "1.1",
-              "versionInfo": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/",
-              "versionList": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com"
-            }]
-          },
-          {
-            "name": "Compute",
-            "type": "compute",
-            "endpoints": [{
-              "tenantId": "46871569847393",
-              "publicURL": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/46871569847393",
-              "publicURL2": "https:\/\/az-2.region-a.geo-1.ec2-compute.hpcloudsvc.com\/services\/Cloud",
-              "region": "az-2.region-a.geo-1",
-              "versionId": "1.1",
-              "versionInfo": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/",
-              "versionList": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com"
-            }]
-          }
-        ]
-      }}
-    http_version: "1.1"
-- !ruby/struct:VCR::HTTPInteraction 
-  request: !ruby/struct:VCR::Request 
-    method: :post
-    uri: https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/tokens
-    body: "{\"auth\":{\"passwordCredentials\":{\"password\":\"Not_a_real_password!1\",\"username\":\"foo@bar.com\"},\"tenantName\":\"foo@bar.com-default-tenant\"}}"
-    headers: 
-      content-type: 
-      - application/json
-  response: !ruby/struct:VCR::Response 
-    status: !ruby/struct:VCR::ResponseStatus 
-      code: 200
-      message: OK
-    headers: 
-      expires: 
-      - "-1"
-      pragma: 
-      - no-cache
-      cache-control: 
-      - no-cache
-      server: 
-      - Apache-Coyote/1.1
-      date: 
-      - Tue, 03 Apr 2012 11:47:09 GMT
-      content-length: 
-      - "3683"
-      content-type: 
-      - application/json
-    body: |-
-      {"access": {
-        "token": {
-          "expires": "2012-04-03T23:47:09.186Z",
-          "id": "HPAuth_4f7ab57ce4b0dfd6b763ca55",
-          "tenant": {
-            "id": "46871569847393",
-            "name": "foo@bar.com-default-tenant"
-          }
-        },
-        "user": {
-          "id": "90338821550656",
-          "name": "foo@bar.com",
-          "roles": [
-            {
-              "id": "00000000004024",
-              "serviceId": "140",
-              "name": "user",
-              "tenantId": "46871569847393"
-            },
-            {
-              "id": "00000000004022",
-              "serviceId": "110",
-              "name": "Admin",
-              "tenantId": "46871569847393"
-            },
-            {
-              "id": "00000000004025",
-              "serviceId": "120",
-              "name": "sysadmin",
-              "tenantId": "46871569847393"
-            },
-            {
-              "id": "00000000004003",
-              "serviceId": "100",
-              "name": "domainadmin"
-            },
-            {
-              "id": "00000000004016",
-              "serviceId": "120",
-              "name": "netadmin",
-              "tenantId": "46871569847393"
-            },
-            {
-              "id": "00000000004004",
-              "serviceId": "100",
-              "name": "domainuser"
-            },
-            {
-              "id": "00000000004013",
-              "serviceId": "130",
-              "name": "block-admin",
-              "tenantId": "46871569847393"
-            }
-          ]
-        },
-        "serviceCatalog": [
-          {
-            "name": "Object Storage",
-            "type": "object-store",
-            "endpoints": [{
-              "tenantId": "46871569847393",
-              "adminURL": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1.0\/",
-              "publicURL": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1.0\/46871569847393",
-              "region": "region-a.geo-1",
-              "versionId": "1.0",
-              "versionInfo": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1.0\/",
-              "versionList": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com"
-            }]
-          },
-          {
-            "name": "Identity",
-            "type": "identity",
-            "endpoints": [{
-              "publicURL": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
-              "region": "region-a.geo-1",
-              "versionId": "2.0",
-              "versionInfo": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
-              "versionList": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357"
-            }]
-          },
-          {
-            "name": "Image Management",
-            "type": "image",
-            "endpoints": [{
-              "tenantId": "46871569847393",
-              "publicURL": "https:\/\/glance2.uswest.hpcloud.net:9292\/v1.0",
-              "region": "az-2.region-a.geo-1",
-              "versionId": "1.0",
-              "versionInfo": "https:\/\/glance2.uswest.hpcloud.net:9292\/v1.0\/",
-              "versionList": "https:\/\/glance2.uswest.hpcloud.net:9292"
-            }]
-          },
-          {
-            "name": "Block Storage",
-            "type": "hpext:blockstore",
-            "endpoints": [{
-              "tenantId": "46871569847393",
-              "publicURL": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/46871569847393",
-              "region": "az-2.region-a.geo-1",
-              "versionId": "1.1",
-              "versionInfo": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/",
-              "versionList": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com"
-            }]
-          },
-          {
-            "name": "Compute",
-            "type": "compute",
-            "endpoints": [{
-              "tenantId": "46871569847393",
-              "publicURL": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/46871569847393",
-              "publicURL2": "https:\/\/az-2.region-a.geo-1.ec2-compute.hpcloudsvc.com\/services\/Cloud",
-              "region": "az-2.region-a.geo-1",
-              "versionId": "1.1",
-              "versionInfo": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/",
-              "versionList": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com"
-            }]
-          }
-        ]
-      }}
-    http_version: "1.1"
-- !ruby/struct:VCR::HTTPInteraction 
-  request: !ruby/struct:VCR::Request 
-    method: :get
-    uri: https://az-2.region-a.geo-1.compute.hpcloudsvc.com:443/v1.1/46871569847393/flavors/detail
-    body: 
-    headers: 
-      x-auth-token: 
-      - HPAuth_4f7ab57ce4b0dfd6b763ca55
-      user-agent: 
-      - OpenStack::Compute Ruby API 1.1.7
-      accept: 
-      - application/json
-  response: !ruby/struct:VCR::Response 
-    status: !ruby/struct:VCR::ResponseStatus 
-      code: 200
-      message: OK
-    headers: 
-      date: 
-      - Tue, 03 Apr 2012 11:47:19 GMT
-      content-length: 
-      - "2130"
-      content-type: 
-      - application/json; charset=UTF-8
-    body: "{\"flavors\": [{\"rxtx_quota\": 0, \"name\": \"standard.xsmall\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/46871569847393/flavors/100\", \"rel\": \"self\"}, {\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/46871569847393/flavors/100\", \"rel\": \"bookmark\"}], \"ram\": 1024, \"vcpus\": 1, \"rxtx_cap\": 0, \"swap\": 0, \"disk\": 30, \"id\": 100}, {\"rxtx_quota\": 0, \"name\": \"standard.small\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/46871569847393/flavors/101\", \"rel\": \"self\"}, {\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/46871569847393/flavors/101\", \"rel\": \"bookmark\"}], \"ram\": 2048, \"vcpus\": 2, \"rxtx_cap\": 0, \"swap\": 0, \"disk\": 60, \"id\": 101}, {\"rxtx_quota\": 0, \"name\": \"standard.2xlarge\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/46871569847393/flavors/105\", \"rel\": \"self\"}, {\"href\": \"
 https://az-2.region-a.geo-1.compute.hpcloudsvc.com/46871569847393/flavors/105\", \"rel\": \"bookmark\"}], \"ram\": 32768, \"vcpus\": 8, \"rxtx_cap\": 0, \"swap\": 0, \"disk\": 960, \"id\": 105}, {\"rxtx_quota\": 0, \"name\": \"standard.large\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/46871569847393/flavors/103\", \"rel\": \"self\"}, {\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/46871569847393/flavors/103\", \"rel\": \"bookmark\"}], \"ram\": 8192, \"vcpus\": 4, \"rxtx_cap\": 0, \"swap\": 0, \"disk\": 240, \"id\": 103}, {\"rxtx_quota\": 0, \"name\": \"standard.medium\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/46871569847393/flavors/102\", \"rel\": \"self\"}, {\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/46871569847393/flavors/102\", \"rel\": \"bookmark\"}], \"ram\": 4096, \"vcpus\": 2, \"rxtx_cap\": 0, \"swap\": 0, \"disk\": 120, \"id\": 102}, {\"rxtx_quota\": 0, \"nam
 e\": \"standard.xlarge\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/46871569847393/flavors/104\", \"rel\": \"self\"}, {\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/46871569847393/flavors/104\", \"rel\": \"bookmark\"}], \"ram\": 16384, \"vcpus\": 4, \"rxtx_cap\": 0, \"swap\": 0, \"disk\": 480, \"id\": 104}]}"
-    http_version: "1.1"
-- !ruby/struct:VCR::HTTPInteraction 
-  request: !ruby/struct:VCR::Request 
-    method: :get
-    uri: https://az-2.region-a.geo-1.compute.hpcloudsvc.com:443/v1.1/46871569847393/images/417
-    body: 
-    headers: 
-      x-auth-token: 
-      - HPAuth_4f7ab57ce4b0dfd6b763ca55
-      user-agent: 
-      - OpenStack::Compute Ruby API 1.1.7
-      accept: 
-      - application/json
-      content-type: 
-      - application/json
-  response: !ruby/struct:VCR::Response 
-    status: !ruby/struct:VCR::ResponseStatus 
-      code: 200
-      message: OK
-    headers: 
-      date: 
-      - Tue, 03 Apr 2012 11:47:21 GMT
-      content-length: 
-      - "786"
-      content-type: 
-      - application/json; charset=UTF-8
-    body: "{\"image\": {\"status\": \"ACTIVE\", \"updated\": \"2012-03-12T07:58:10Z\", \"name\": \"Debian Squeeze 6.0.3 Server 64-bit 20120123\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/46871569847393/images/417\", \"rel\": \"self\"}, {\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/46871569847393/images/417\", \"rel\": \"bookmark\"}], \"created\": \"2012-02-21T14:15:52Z\", \"progress\": 100, \"id\": \"417\", \"metadata\": {\"hp_image_type\": \"machine\", \"image_location\": \"local\", \"image_state\": \"available\", \"project_id\": \"None\", \"hp_md_version\": \"1\", \"kernel_id\": \"415\", \"min_ram\": \"0\", \"ramdisk_id\": \"416\", \"hp_image_id\": \"c89dee3bca7a62103f7d88d2a02f4dc8\", \"owner\": null, \"hp_image_builddate\": \"20120123\", \"architecture\": \"amd64\", \"min_disk\": \"0\", \"hp_image_version\": \"1hp1.1\"}}}"
-    http_version: "1.1"

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/73b5c596/server/tests/deprecated/drivers/openstack/fixtures/get-2154c99183066a5ada7ec35a6dad561b4dc38e32.yml
----------------------------------------------------------------------
diff --git a/server/tests/deprecated/drivers/openstack/fixtures/get-2154c99183066a5ada7ec35a6dad561b4dc38e32.yml b/server/tests/deprecated/drivers/openstack/fixtures/get-2154c99183066a5ada7ec35a6dad561b4dc38e32.yml
deleted file mode 100644
index 70cbfe4..0000000
--- a/server/tests/deprecated/drivers/openstack/fixtures/get-2154c99183066a5ada7ec35a6dad561b4dc38e32.yml
+++ /dev/null
@@ -1,176 +0,0 @@
---- 
-- !ruby/struct:VCR::HTTPInteraction 
-  request: !ruby/struct:VCR::Request 
-    method: :post
-    uri: https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/tokens
-    body: "{\"auth\":{\"passwordCredentials\":{\"password\":\"Not_a_real_password!1\",\"username\":\"foo@bar.com\"},\"tenantName\":\"foo@bar.com-default-tenant\"}}"
-    headers: 
-      content-type: 
-      - application/json
-  response: !ruby/struct:VCR::Response 
-    status: !ruby/struct:VCR::ResponseStatus 
-      code: 200
-      message: OK
-    headers: 
-      expires: 
-      - "-1"
-      pragma: 
-      - no-cache
-      cache-control: 
-      - no-cache
-      server: 
-      - Apache-Coyote/1.1
-      date: 
-      - Tue, 03 Apr 2012 11:48:42 GMT
-      content-length: 
-      - "3683"
-      content-type: 
-      - application/json
-    body: |-
-      {"access": {
-        "token": {
-          "expires": "2012-04-03T23:48:42.580Z",
-          "id": "HPAuth_4f7ab57ce4b0dfd6b763ca55",
-          "tenant": {
-            "id": "46871569847393",
-            "name": "foo@bar.com-default-tenant"
-          }
-        },
-        "user": {
-          "id": "90338821550656",
-          "name": "foo@bar.com",
-          "roles": [
-            {
-              "id": "00000000004024",
-              "serviceId": "140",
-              "name": "user",
-              "tenantId": "46871569847393"
-            },
-            {
-              "id": "00000000004022",
-              "serviceId": "110",
-              "name": "Admin",
-              "tenantId": "46871569847393"
-            },
-            {
-              "id": "00000000004025",
-              "serviceId": "120",
-              "name": "sysadmin",
-              "tenantId": "46871569847393"
-            },
-            {
-              "id": "00000000004003",
-              "serviceId": "100",
-              "name": "domainadmin"
-            },
-            {
-              "id": "00000000004016",
-              "serviceId": "120",
-              "name": "netadmin",
-              "tenantId": "46871569847393"
-            },
-            {
-              "id": "00000000004004",
-              "serviceId": "100",
-              "name": "domainuser"
-            },
-            {
-              "id": "00000000004013",
-              "serviceId": "130",
-              "name": "block-admin",
-              "tenantId": "46871569847393"
-            }
-          ]
-        },
-        "serviceCatalog": [
-          {
-            "name": "Object Storage",
-            "type": "object-store",
-            "endpoints": [{
-              "tenantId": "46871569847393",
-              "adminURL": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1.0\/",
-              "publicURL": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1.0\/46871569847393",
-              "region": "region-a.geo-1",
-              "versionId": "1.0",
-              "versionInfo": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1.0\/",
-              "versionList": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com"
-            }]
-          },
-          {
-            "name": "Identity",
-            "type": "identity",
-            "endpoints": [{
-              "publicURL": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
-              "region": "region-a.geo-1",
-              "versionId": "2.0",
-              "versionInfo": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
-              "versionList": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357"
-            }]
-          },
-          {
-            "name": "Image Management",
-            "type": "image",
-            "endpoints": [{
-              "tenantId": "46871569847393",
-              "publicURL": "https:\/\/glance2.uswest.hpcloud.net:9292\/v1.0",
-              "region": "az-2.region-a.geo-1",
-              "versionId": "1.0",
-              "versionInfo": "https:\/\/glance2.uswest.hpcloud.net:9292\/v1.0\/",
-              "versionList": "https:\/\/glance2.uswest.hpcloud.net:9292"
-            }]
-          },
-          {
-            "name": "Block Storage",
-            "type": "hpext:blockstore",
-            "endpoints": [{
-              "tenantId": "46871569847393",
-              "publicURL": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/46871569847393",
-              "region": "az-2.region-a.geo-1",
-              "versionId": "1.1",
-              "versionInfo": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/",
-              "versionList": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com"
-            }]
-          },
-          {
-            "name": "Compute",
-            "type": "compute",
-            "endpoints": [{
-              "tenantId": "46871569847393",
-              "publicURL": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/46871569847393",
-              "publicURL2": "https:\/\/az-2.region-a.geo-1.ec2-compute.hpcloudsvc.com\/services\/Cloud",
-              "region": "az-2.region-a.geo-1",
-              "versionId": "1.1",
-              "versionInfo": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/",
-              "versionList": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com"
-            }]
-          }
-        ]
-      }}
-    http_version: "1.1"
-- !ruby/struct:VCR::HTTPInteraction 
-  request: !ruby/struct:VCR::Request 
-    method: :get
-    uri: https://az-2.region-a.geo-1.compute.hpcloudsvc.com:443/v1.1/46871569847393/servers/71941
-    body: 
-    headers: 
-      x-auth-token: 
-      - HPAuth_4f7ab57ce4b0dfd6b763ca55
-      user-agent: 
-      - OpenStack::Compute Ruby API 1.1.7
-      accept: 
-      - application/json
-      content-type: 
-      - application/json
-  response: !ruby/struct:VCR::Response 
-    status: !ruby/struct:VCR::ResponseStatus 
-      code: 200
-      message: OK
-    headers: 
-      date: 
-      - Tue, 03 Apr 2012 11:48:44 GMT
-      content-length: 
-      - "1027"
-      content-type: 
-      - application/json; charset=UTF-8
-    body: "{\"server\": {\"status\": \"BUILD(spawning)\", \"updated\": \"2012-04-03T11:48:04Z\", \"hostId\": \"bc7ddd1393483e03bb9cd30d461df9d0bd1b5616a823223ba2443cef\", \"user_id\": \"90338821550656\", \"name\": \"Tue Apr 03 14:47:48 +0300 2012\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/46871569847393/servers/71941\", \"rel\": \"self\"}, {\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/46871569847393/servers/71941\", \"rel\": \"bookmark\"}], \"addresses\": {\"private\": [{\"version\": 4, \"addr\": \"10.6.45.205\"}]}, \"tenant_id\": \"46871569847393\", \"image\": {\"id\": \"417\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/46871569847393/images/417\", \"rel\": \"bookmark\"}]}, \"created\": \"2012-04-03T11:47:53Z\", \"uuid\": \"a9028b37-1392-4207-a346-458e3dd5c24f\", \"accessIPv4\": \"\", \"accessIPv6\": \"\", \"key_name\": null, \"flavor\": {\"id\": \"100\", \"links\": [{\"href\": \"https://az-
 2.region-a.geo-1.compute.hpcloudsvc.com/46871569847393/flavors/100\", \"rel\": \"bookmark\"}]}, \"config_drive\": \"\", \"id\": 71941, \"metadata\": {}}}"
-    http_version: "1.1"


Mime
View raw message