deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@apache.org
Subject [3/15] git commit: Gogrid tests: use credentials from config file
Date Tue, 28 Aug 2012 00:16:54 GMT
Gogrid tests: use credentials from config file

The tests are now set up so that it doesn't matter what credentials are
used with prerecorded tests. This also obviates the need to manipulate
time.

Also rerecorded the tests.


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/f6778198
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/f6778198
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/f6778198

Branch: refs/heads/master
Commit: f677819895c6ce66d614644b8ad54c8be076b0f5
Parents: 00b2815
Author: David Lutterkort <lutter@redhat.com>
Authored: Fri Aug 24 17:41:29 2012 -0700
Committer: David Lutterkort <lutter@redhat.com>
Committed: Mon Aug 27 14:47:17 2012 -0700

----------------------------------------------------------------------
 server/tests/drivers/gogrid/common.rb              |   47 +-
 .../fixtures/instances_create_test_instance.yml    |   70 +
 .../fixtures/instances_destroy_test_instance.yml   |   36 +
 .../gogrid/fixtures/instances_test_class-10.yml    |   70 +
 .../gogrid/fixtures/instances_test_class-5.yml     |   69 +
 .../gogrid/fixtures/instances_test_class-6.yml     |   70 +
 .../gogrid/fixtures/instances_test_class-7.yml     |   70 +
 .../gogrid/fixtures/instances_test_class-8.yml     |   70 +
 .../gogrid/fixtures/instances_test_class-9.yml     |   70 +
 ...001_must_throw_error_when_wrong_credentials.yml |  321 +-
 ..._0002_must_return_list_of_hardware_profiles.yml |  570 +-
 .../test_0002_must_return_list_of_images.yml       |10729 +--------------
 .../test_0002_must_return_list_of_instances.yml    |  220 +-
 .../test_0002_must_return_list_of_realms.yml       |  128 +-
 ...0003_must_allow_to_filter_hardware_profiles.yml |  895 +-
 .../test_0003_must_allow_to_filter_images.yml      | 2020 +---
 .../test_0003_must_allow_to_filter_instances.yml   |  697 +-
 .../test_0003_must_allow_to_filter_realms.yml      |  372 +-
 ...t_allow_to_retrieve_single_hardware_profile.yml |  734 +-
 ...st_0004_must_allow_to_retrieve_single_image.yml |  367 -
 ...0004_must_allow_to_retrieve_single_instance.yml |  543 +-
 ...st_0004_must_allow_to_retrieve_single_realm.yml |  311 +-
 ...return_an_empty_array_for_nonexistent_image.yml |   37 +
 ...st_0005_must_allow_to_retrieve_single_image.yml |   71 +
 ..._when_retrieving_a_single_nonexistent_image.yml |   37 +
 .../tests/drivers/gogrid/hardware_profiles_test.rb |    1 -
 server/tests/drivers/gogrid/images_test.rb         |   32 +-
 server/tests/drivers/gogrid/instances_test.rb      |   71 +-
 server/tests/drivers/gogrid/realms_test.rb         |    1 -
 29 files changed, 2042 insertions(+), 16687 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/f6778198/server/tests/drivers/gogrid/common.rb
----------------------------------------------------------------------
diff --git a/server/tests/drivers/gogrid/common.rb b/server/tests/drivers/gogrid/common.rb
index c7b38ca..affc1a5 100644
--- a/server/tests/drivers/gogrid/common.rb
+++ b/server/tests/drivers/gogrid/common.rb
@@ -3,49 +3,22 @@ require 'vcr'
 require_relative '../../test_helper.rb'
 
 def credentials
-  {
-    :user => '9bbf139b8b57d967',
-    :password => 'gogridtest'
-  }
+  Deltacloud::Test::config.credentials("gogrid")
 end
 
-unless Time.respond_to? :be
-  require 'time'
-
-  # This code was originally copied from:
-  # https://github.com/jtrupiano/timecop/issues/8#issuecomment-1396047
-  #
-  # Since 'timecop' gem has broken 'timezone' support, this small monkey-patching
-  # on Time object seems to fix this issue.
-
-  unless Time.respond_to? :be
-    class Time
-      module TimeMock
-        attr_accessor :mock_time
-
-        def mock_now
-          @mock_time || Time.original_now
-        end
-
-        def be(a_time)
-          @mock_time = Time.parse(a_time)
-        end
-
-      end
-
-      class << self
-        include TimeMock
-        alias_method :original_now, :now
-        alias_method :now, :mock_now
-      end
-    end
-  end
+def fixed_image_id
+  # A fixed image we use throughout the tests; if GoGrid ever removes it
+  # we need to change it here
+  "9928"
 end
 
 VCR.configure do |c|
   # NOTE: Empty this directory before re-recording
   c.cassette_library_dir = File.join(File.dirname(__FILE__), 'fixtures')
   c.hook_into :webmock
-  # Set this to :new_episodes when you want to 're-record'
-  c.default_cassette_options = { :record => :new_episodes }
+  matcher = VCR.request_matchers.uri_without_param("api_key", "sig")
+  c.register_request_matcher(:gogrid_matcher, &matcher)
+  # Set this to :new_episodes to rerecord
+  c.default_cassette_options[:record] =:none
+  c.default_cassette_options[:match_requests_on] = [:method, :gogrid_matcher]
 end

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/f6778198/server/tests/drivers/gogrid/fixtures/instances_create_test_instance.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/gogrid/fixtures/instances_create_test_instance.yml b/server/tests/drivers/gogrid/fixtures/instances_create_test_instance.yml
new file mode 100644
index 0000000..ad27cfd
--- /dev/null
+++ b/server/tests/drivers/gogrid/fixtures/instances_create_test_instance.yml
@@ -0,0 +1,70 @@
+--- 
+recorded_with: VCR 2.2.4
+http_interactions: 
+- request: 
+    method: get
+    uri: https://api.gogrid.com/api/grid/server/get?api_key=b5e87458eb2d3297&format=json&name=test-instance&sig=10055ef8d027f40d112419af6a70c5a6&v=1.9
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
+      code: 400
+      message: Bad Request
+    headers: 
+      Content-Length: 
+      - "222"
+      Accept-Ranges: 
+      - bytes
+      Server: 
+      - Apache-Coyote/1.1
+      Content-Type: 
+      - text/html
+      Connection: 
+      - close
+      - close
+      Date: 
+      - Sat, 25 Aug 2012 00:34:56 GMT
+      Set-Cookie: 
+      - JSESSIONID=A01065586D4A395144DDBCFC9E9CD101; Path=/api; Secure
+      X-Mashery-Responder: 
+      - mashery-web1-lax.mashery.com
+    body: 
+      string: "{\"summary\":{\"total\":1,\"start\":0,\"returned\":1},\"status\":\"failure\",\"method\":\"/grid/server/get\",\"list\":[{\"message\":\"No object found that matches your input criteria.\",\"object\":\"error\",\"errorcode\":\"IllegalArgumentException\"}]}"
+    http_version: 
+  recorded_at: Sat, 25 Aug 2012 00:34:56 GMT
+- request: 
+    method: get
+    uri: https://api.gogrid.com/api/grid/server/list?api_key=b5e87458eb2d3297&format=json&sig=10055ef8d027f40d112419af6a70c5a6&v=1.9
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Content-Length: 
+      - "2726"
+      Accept-Ranges: 
+      - bytes
+      Server: 
+      - Apache-Coyote/1.1
+      Content-Type: 
+      - text/html
+      Connection: 
+      - close
+      Date: 
+      - Sat, 25 Aug 2012 00:34:57 GMT
+      Set-Cookie: 
+      - JSESSIONID=FF169A4C5E0460DCA446D9F796F40BF3; Path=/api; Secure
+      X-Mashery-Responder: 
+      - mashery-web4-lax.mashery.com
+    body: 
+      string: "{\"summary\":{\"total\":1,\"start\":0,\"numpages\":0,\"returned\":1},\"status\":\"success\",\"method\":\"/grid/server/list\",\"list\":[{\"os\":{\"id\":73,\"description\":\"CentOS 5.6 (32-bit)\",\"name\":\"CentOS 5.6 (32-bit)\",\"object\":\"option\"},\"ram\":{\"id\":1,\"description\":\"Server with 512MB RAM\",\"name\":\"512MB\",\"object\":\"option\"},\"name\":\"test-instance\",\"state\":{\"id\":3,\"description\":null,\"name\":\"Off\",\"object\":\"option\"},\"isSandbox\":false,\"image\":{\"os\":{\"id\":73,\"description\":\"CentOS 5.6 (32-bit)\",\"name\":\"CentOS 5.6 (32-bit)\",\"object\":\"option\"},\"datacenterlist\":[{\"state\":{\"id\":2,\"description\":\"Image is available for adds\",\"name\":\"Available\",\"object\":\"option\"},\"datacenter\":{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},\"object\":\"image_datacenter_state\",\"updatedTime\":1294198799000},{\"state\":{\"id\":2,\"description\":\"Image is available for
  adds\",\"name\":\"Available\",\"object\":\"option\"},\"datacenter\":{\"id\":2,\"description\":\"US East 1 Datacenter\",\"name\":\"US-East-1\",\"object\":\"option\"},\"object\":\"image_datacenter_state\",\"updatedTime\":1294198799000},{\"state\":{\"id\":2,\"description\":\"Image is available for adds\",\"name\":\"Available\",\"object\":\"option\"},\"datacenter\":{\"id\":3,\"description\":\"EU-West-1 Datacenter\",\"name\":\"EU-West-1\",\"object\":\"option\"},\"object\":\"image_datacenter_state\",\"updatedTime\":1294198799000}],\"location\":\"gogrid/GSI-840b854e-4862-49d4-8c83-4768ae48fa3b.img\",\"state\":{\"id\":2,\"description\":\"Image is available for adds\",\"name\":\"Available\",\"object\":\"option\"},\"friendlyName\":\"CentOS 5.6 (32-bit) w/ None\",\"object\":\"serverimage\",\"architecture\":{\"id\":1,\"description\":\"32 bit OS\",\"name\":\"32-bit\",\"object\":\"option\"},\"isPublic\":true,\"billingtokens\":[{\"id\":73,\"price\":0,\"name\":\"CentOS 5.6 (32-bit)\",\"object\":\"
 billingtoken\"}],\"type\":{\"id\":1,\"description\":\"Web or Application Server\",\"name\":\"Web Server\",\"object\":\"option\"},\"id\":9928,\"isActive\":true,\"gsitype\":{\"id\":1,\"description\":\"Image produced and certified by GoGrid\",\"name\":\"baseGSI\",\"object\":\"option\"},\"price\":0,\"description\":\"CentOS 5.6 (32-bit) w/ None\",\"name\":\"centos5.6_32_base\",\"owner\":{\"id\":-1,\"name\":\"GoGrid\",\"object\":\"customer\"},\"updatedTime\":1294198799000,\"minram\":{\"id\":1,\"description\":\"Server with 512MB RAM\",\"name\":\"512MB\",\"object\":\"option\"}},\"datacenter\":{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},\"object\":\"server\",\"type\":{\"id\":1,\"description\":\"Web or Application Server\",\"name\":\"Web Server\",\"object\":\"option\"},\"ip\":{\"id\":1107369,\"subnet\":\"173.1.167.112/255.255.255.240\",\"state\":{\"id\":2,\"description\":\"IP is reserved or in use\",\"name\":\"Assigned\",\"object\":\"option
 \"},\"datacenter\":{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},\"object\":\"ip\",\"public\":true,\"ip\":\"173.1.167.116\"}}]}"
+    http_version: 
+  recorded_at: Sat, 25 Aug 2012 00:34:57 GMT

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/f6778198/server/tests/drivers/gogrid/fixtures/instances_destroy_test_instance.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/gogrid/fixtures/instances_destroy_test_instance.yml b/server/tests/drivers/gogrid/fixtures/instances_destroy_test_instance.yml
new file mode 100644
index 0000000..c1fd000
--- /dev/null
+++ b/server/tests/drivers/gogrid/fixtures/instances_destroy_test_instance.yml
@@ -0,0 +1,36 @@
+--- 
+recorded_with: VCR 2.2.4
+http_interactions: 
+- request: 
+    method: get
+    uri: https://api.gogrid.com/api/grid/server/delete?api_key=b5e87458eb2d3297&format=json&name=test-instance&sig=1f8b512b79cf733e61c37c0a6128cd7e&v=1.9
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Content-Length: 
+      - "2792"
+      Accept-Ranges: 
+      - bytes
+      Server: 
+      - Apache-Coyote/1.1
+      Content-Type: 
+      - text/html
+      Connection: 
+      - close
+      Date: 
+      - Sat, 25 Aug 2012 00:36:39 GMT
+      Set-Cookie: 
+      - JSESSIONID=535DC9FE0BC3F2BA3C082162B89291DF; Path=/api; Secure
+      X-Mashery-Responder: 
+      - mashery-web4-lax.mashery.com
+    body: 
+      string: "{\"summary\":{\"total\":1,\"start\":0,\"numpages\":0,\"returned\":1},\"status\":\"success\",\"method\":\"/grid/server/delete\",\"list\":[{\"os\":{\"id\":73,\"description\":\"CentOS 5.6 (32-bit)\",\"name\":\"CentOS 5.6 (32-bit)\",\"object\":\"option\"},\"state\":{\"id\":1,\"description\":\"Server is in active state.\",\"name\":\"On\",\"object\":\"option\"},\"image\":{\"os\":{\"id\":73,\"description\":\"CentOS 5.6 (32-bit)\",\"name\":\"CentOS 5.6 (32-bit)\",\"object\":\"option\"},\"datacenterlist\":[{\"state\":{\"id\":2,\"description\":\"Image is available for adds\",\"name\":\"Available\",\"object\":\"option\"},\"datacenter\":{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},\"object\":\"image_datacenter_state\",\"updatedTime\":1294198799000},{\"state\":{\"id\":2,\"description\":\"Image is available for adds\",\"name\":\"Available\",\"object\":\"option\"},\"datacenter\":{\"id\":2,\"description\":\"US East 1 Datacenter\",\"
 name\":\"US-East-1\",\"object\":\"option\"},\"object\":\"image_datacenter_state\",\"updatedTime\":1294198799000},{\"state\":{\"id\":2,\"description\":\"Image is available for adds\",\"name\":\"Available\",\"object\":\"option\"},\"datacenter\":{\"id\":3,\"description\":\"EU-West-1 Datacenter\",\"name\":\"EU-West-1\",\"object\":\"option\"},\"object\":\"image_datacenter_state\",\"updatedTime\":1294198799000}],\"location\":\"gogrid/GSI-840b854e-4862-49d4-8c83-4768ae48fa3b.img\",\"state\":{\"id\":2,\"description\":\"Image is available for adds\",\"name\":\"Available\",\"object\":\"option\"},\"friendlyName\":\"CentOS 5.6 (32-bit) w/ None\",\"object\":\"serverimage\",\"architecture\":{\"id\":1,\"description\":\"32 bit OS\",\"name\":\"32-bit\",\"object\":\"option\"},\"isPublic\":true,\"billingtokens\":[{\"id\":73,\"price\":0,\"name\":\"CentOS 5.6 (32-bit)\",\"object\":\"billingtoken\"}],\"type\":{\"id\":1,\"description\":\"Web or Application Server\",\"name\":\"Web Server\",\"object\":\"opt
 ion\"},\"id\":9928,\"isActive\":true,\"gsitype\":{\"id\":1,\"description\":\"Image produced and certified by GoGrid\",\"name\":\"baseGSI\",\"object\":\"option\"},\"price\":0,\"description\":\"CentOS 5.6 (32-bit) w/ None\",\"name\":\"centos5.6_32_base\",\"owner\":{\"id\":-1,\"name\":\"GoGrid\",\"object\":\"customer\"},\"updatedTime\":1294198799000,\"minram\":{\"id\":1,\"description\":\"Server with 512MB RAM\",\"name\":\"512MB\",\"object\":\"option\"}},\"datacenter\":{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},\"object\":\"server\",\"type\":{\"id\":1,\"description\":\"Web or Application Server\",\"name\":\"Web Server\",\"object\":\"option\"},\"cores\":0.5,\"ip\":{\"id\":1107369,\"subnet\":\"173.1.167.112/255.255.255.240\",\"state\":{\"id\":2,\"description\":\"IP is reserved or in use\",\"name\":\"Assigned\",\"object\":\"option\"},\"datacenter\":{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"op
 tion\"},\"object\":\"ip\",\"public\":true,\"ip\":\"173.1.167.116\"},\"id\":386946,\"ram\":{\"id\":1,\"description\":\"Server with 512MB RAM\",\"name\":\"512MB\",\"object\":\"option\"},\"name\":\"test-instance\",\"isSandbox\":false,\"diskSize\":25600}]}"
+    http_version: 
+  recorded_at: Sat, 25 Aug 2012 00:36:40 GMT

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/f6778198/server/tests/drivers/gogrid/fixtures/instances_test_class-10.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/gogrid/fixtures/instances_test_class-10.yml b/server/tests/drivers/gogrid/fixtures/instances_test_class-10.yml
new file mode 100644
index 0000000..7078a68
--- /dev/null
+++ b/server/tests/drivers/gogrid/fixtures/instances_test_class-10.yml
@@ -0,0 +1,70 @@
+--- 
+recorded_with: VCR 2.2.4
+http_interactions: 
+- request: 
+    method: get
+    uri: https://api.gogrid.com/api/grid/server/get?api_key=b5e87458eb2d3297&format=json&name=test-instance&sig=a06a8ddc77cef893f61c800ebe34691e&v=1.9
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
+      code: 400
+      message: Bad Request
+    headers: 
+      Content-Length: 
+      - "222"
+      Accept-Ranges: 
+      - bytes
+      Server: 
+      - Apache-Coyote/1.1
+      Content-Type: 
+      - text/html
+      Connection: 
+      - close
+      - close
+      Date: 
+      - Sat, 25 Aug 2012 00:35:42 GMT
+      Set-Cookie: 
+      - JSESSIONID=C1B4FACA9B3FE53F440E17647949E018; Path=/api; Secure
+      X-Mashery-Responder: 
+      - mashery-web2-lax.mashery.com
+    body: 
+      string: "{\"summary\":{\"total\":1,\"start\":0,\"returned\":1},\"status\":\"failure\",\"method\":\"/grid/server/get\",\"list\":[{\"message\":\"No object found that matches your input criteria.\",\"object\":\"error\",\"errorcode\":\"IllegalArgumentException\"}]}"
+    http_version: 
+  recorded_at: Sat, 25 Aug 2012 00:35:42 GMT
+- request: 
+    method: get
+    uri: https://api.gogrid.com/api/grid/server/list?api_key=b5e87458eb2d3297&format=json&sig=ee296199ced37057161c453b40654833&v=1.9
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Content-Length: 
+      - "2726"
+      Accept-Ranges: 
+      - bytes
+      Server: 
+      - Apache-Coyote/1.1
+      Content-Type: 
+      - text/html
+      Connection: 
+      - close
+      Date: 
+      - Sat, 25 Aug 2012 00:35:42 GMT
+      Set-Cookie: 
+      - JSESSIONID=3AD278266864F33E74FAD81F85FD6EE1; Path=/api; Secure
+      X-Mashery-Responder: 
+      - mashery-web1-lax.mashery.com
+    body: 
+      string: "{\"summary\":{\"total\":1,\"start\":0,\"numpages\":0,\"returned\":1},\"status\":\"success\",\"method\":\"/grid/server/list\",\"list\":[{\"os\":{\"id\":73,\"description\":\"CentOS 5.6 (32-bit)\",\"name\":\"CentOS 5.6 (32-bit)\",\"object\":\"option\"},\"ram\":{\"id\":1,\"description\":\"Server with 512MB RAM\",\"name\":\"512MB\",\"object\":\"option\"},\"name\":\"test-instance\",\"state\":{\"id\":3,\"description\":null,\"name\":\"Off\",\"object\":\"option\"},\"isSandbox\":false,\"image\":{\"os\":{\"id\":73,\"description\":\"CentOS 5.6 (32-bit)\",\"name\":\"CentOS 5.6 (32-bit)\",\"object\":\"option\"},\"datacenterlist\":[{\"state\":{\"id\":2,\"description\":\"Image is available for adds\",\"name\":\"Available\",\"object\":\"option\"},\"datacenter\":{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},\"object\":\"image_datacenter_state\",\"updatedTime\":1294198799000},{\"state\":{\"id\":2,\"description\":\"Image is available for
  adds\",\"name\":\"Available\",\"object\":\"option\"},\"datacenter\":{\"id\":2,\"description\":\"US East 1 Datacenter\",\"name\":\"US-East-1\",\"object\":\"option\"},\"object\":\"image_datacenter_state\",\"updatedTime\":1294198799000},{\"state\":{\"id\":2,\"description\":\"Image is available for adds\",\"name\":\"Available\",\"object\":\"option\"},\"datacenter\":{\"id\":3,\"description\":\"EU-West-1 Datacenter\",\"name\":\"EU-West-1\",\"object\":\"option\"},\"object\":\"image_datacenter_state\",\"updatedTime\":1294198799000}],\"location\":\"gogrid/GSI-840b854e-4862-49d4-8c83-4768ae48fa3b.img\",\"state\":{\"id\":2,\"description\":\"Image is available for adds\",\"name\":\"Available\",\"object\":\"option\"},\"friendlyName\":\"CentOS 5.6 (32-bit) w/ None\",\"object\":\"serverimage\",\"architecture\":{\"id\":1,\"description\":\"32 bit OS\",\"name\":\"32-bit\",\"object\":\"option\"},\"isPublic\":true,\"billingtokens\":[{\"id\":73,\"price\":0,\"name\":\"CentOS 5.6 (32-bit)\",\"object\":\"
 billingtoken\"}],\"type\":{\"id\":1,\"description\":\"Web or Application Server\",\"name\":\"Web Server\",\"object\":\"option\"},\"id\":9928,\"isActive\":true,\"gsitype\":{\"id\":1,\"description\":\"Image produced and certified by GoGrid\",\"name\":\"baseGSI\",\"object\":\"option\"},\"price\":0,\"description\":\"CentOS 5.6 (32-bit) w/ None\",\"name\":\"centos5.6_32_base\",\"owner\":{\"id\":-1,\"name\":\"GoGrid\",\"object\":\"customer\"},\"updatedTime\":1294198799000,\"minram\":{\"id\":1,\"description\":\"Server with 512MB RAM\",\"name\":\"512MB\",\"object\":\"option\"}},\"datacenter\":{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},\"object\":\"server\",\"type\":{\"id\":1,\"description\":\"Web or Application Server\",\"name\":\"Web Server\",\"object\":\"option\"},\"ip\":{\"id\":1107369,\"subnet\":\"173.1.167.112/255.255.255.240\",\"state\":{\"id\":2,\"description\":\"IP is reserved or in use\",\"name\":\"Assigned\",\"object\":\"option
 \"},\"datacenter\":{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},\"object\":\"ip\",\"public\":true,\"ip\":\"173.1.167.116\"}}]}"
+    http_version: 
+  recorded_at: Sat, 25 Aug 2012 00:35:43 GMT

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/f6778198/server/tests/drivers/gogrid/fixtures/instances_test_class-5.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/gogrid/fixtures/instances_test_class-5.yml b/server/tests/drivers/gogrid/fixtures/instances_test_class-5.yml
new file mode 100644
index 0000000..085ddf3
--- /dev/null
+++ b/server/tests/drivers/gogrid/fixtures/instances_test_class-5.yml
@@ -0,0 +1,69 @@
+--- 
+recorded_with: VCR 2.2.4
+http_interactions: 
+- request: 
+    method: get
+    uri: https://api.gogrid.com/api/grid/server/get?api_key=b5e87458eb2d3297&format=json&name=test-instance&sig=7a647b484cf429bc3b9e9117b39a3e3d&v=1.9
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Content-Length: 
+      - "2789"
+      Accept-Ranges: 
+      - bytes
+      Server: 
+      - Apache-Coyote/1.1
+      Content-Type: 
+      - text/html
+      Connection: 
+      - close
+      Date: 
+      - Sat, 25 Aug 2012 00:36:37 GMT
+      Set-Cookie: 
+      - JSESSIONID=9E55A29E3BE70B2FD26A6D85E95974FB; Path=/api; Secure
+      X-Mashery-Responder: 
+      - mashery-web1-lax.mashery.com
+    body: 
+      string: "{\"summary\":{\"total\":1,\"start\":0,\"numpages\":0,\"returned\":1},\"status\":\"success\",\"method\":\"/grid/server/get\",\"list\":[{\"os\":{\"id\":73,\"description\":\"CentOS 5.6 (32-bit)\",\"name\":\"CentOS 5.6 (32-bit)\",\"object\":\"option\"},\"state\":{\"id\":1,\"description\":\"Server is in active state.\",\"name\":\"On\",\"object\":\"option\"},\"image\":{\"os\":{\"id\":73,\"description\":\"CentOS 5.6 (32-bit)\",\"name\":\"CentOS 5.6 (32-bit)\",\"object\":\"option\"},\"datacenterlist\":[{\"state\":{\"id\":2,\"description\":\"Image is available for adds\",\"name\":\"Available\",\"object\":\"option\"},\"datacenter\":{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},\"object\":\"image_datacenter_state\",\"updatedTime\":1294198799000},{\"state\":{\"id\":2,\"description\":\"Image is available for adds\",\"name\":\"Available\",\"object\":\"option\"},\"datacenter\":{\"id\":2,\"description\":\"US East 1 Datacenter\",\"nam
 e\":\"US-East-1\",\"object\":\"option\"},\"object\":\"image_datacenter_state\",\"updatedTime\":1294198799000},{\"state\":{\"id\":2,\"description\":\"Image is available for adds\",\"name\":\"Available\",\"object\":\"option\"},\"datacenter\":{\"id\":3,\"description\":\"EU-West-1 Datacenter\",\"name\":\"EU-West-1\",\"object\":\"option\"},\"object\":\"image_datacenter_state\",\"updatedTime\":1294198799000}],\"location\":\"gogrid/GSI-840b854e-4862-49d4-8c83-4768ae48fa3b.img\",\"state\":{\"id\":2,\"description\":\"Image is available for adds\",\"name\":\"Available\",\"object\":\"option\"},\"friendlyName\":\"CentOS 5.6 (32-bit) w/ None\",\"object\":\"serverimage\",\"architecture\":{\"id\":1,\"description\":\"32 bit OS\",\"name\":\"32-bit\",\"object\":\"option\"},\"isPublic\":true,\"billingtokens\":[{\"id\":73,\"price\":0,\"name\":\"CentOS 5.6 (32-bit)\",\"object\":\"billingtoken\"}],\"type\":{\"id\":1,\"description\":\"Web or Application Server\",\"name\":\"Web Server\",\"object\":\"option
 \"},\"id\":9928,\"isActive\":true,\"gsitype\":{\"id\":1,\"description\":\"Image produced and certified by GoGrid\",\"name\":\"baseGSI\",\"object\":\"option\"},\"price\":0,\"description\":\"CentOS 5.6 (32-bit) w/ None\",\"name\":\"centos5.6_32_base\",\"owner\":{\"id\":-1,\"name\":\"GoGrid\",\"object\":\"customer\"},\"updatedTime\":1294198799000,\"minram\":{\"id\":1,\"description\":\"Server with 512MB RAM\",\"name\":\"512MB\",\"object\":\"option\"}},\"datacenter\":{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},\"object\":\"server\",\"type\":{\"id\":1,\"description\":\"Web or Application Server\",\"name\":\"Web Server\",\"object\":\"option\"},\"cores\":0.5,\"ip\":{\"id\":1107369,\"subnet\":\"173.1.167.112/255.255.255.240\",\"state\":{\"id\":2,\"description\":\"IP is reserved or in use\",\"name\":\"Assigned\",\"object\":\"option\"},\"datacenter\":{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"optio
 n\"},\"object\":\"ip\",\"public\":true,\"ip\":\"173.1.167.116\"},\"id\":386946,\"ram\":{\"id\":1,\"description\":\"Server with 512MB RAM\",\"name\":\"512MB\",\"object\":\"option\"},\"name\":\"test-instance\",\"isSandbox\":false,\"diskSize\":25600}]}"
+    http_version: 
+  recorded_at: Sat, 25 Aug 2012 00:36:39 GMT
+- request: 
+    method: get
+    uri: https://api.gogrid.com/api/support/password/list?api_key=b5e87458eb2d3297&format=json&sig=d26fdc1c34eef0fe390eb5fcde82cc00&v=1.9
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Content-Length: 
+      - "2903"
+      Accept-Ranges: 
+      - bytes
+      Server: 
+      - Apache-Coyote/1.1
+      Content-Type: 
+      - text/html
+      Connection: 
+      - close
+      Date: 
+      - Sat, 25 Aug 2012 00:36:39 GMT
+      Set-Cookie: 
+      - JSESSIONID=8CE2C7619D35370BDF8BB16738EAA4ED; Path=/api; Secure
+      X-Mashery-Responder: 
+      - mashery-web4-lax.mashery.com
+    body: 
+      string: "{\"summary\":{\"total\":1,\"start\":0,\"numpages\":0,\"returned\":1},\"status\":\"success\",\"method\":\"/support/password/list\",\"list\":[{\"id\":400107,\"username\":\"root\",\"applicationtype\":\"os\",\"server\":{\"os\":{\"id\":73,\"description\":\"CentOS 5.6 (32-bit)\",\"name\":\"CentOS 5.6 (32-bit)\",\"object\":\"option\"},\"state\":{\"id\":1,\"description\":\"Server is in active state.\",\"name\":\"On\",\"object\":\"option\"},\"image\":{\"os\":{\"id\":73,\"description\":\"CentOS 5.6 (32-bit)\",\"name\":\"CentOS 5.6 (32-bit)\",\"object\":\"option\"},\"datacenterlist\":[{\"state\":{\"id\":2,\"description\":\"Image is available for adds\",\"name\":\"Available\",\"object\":\"option\"},\"datacenter\":{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},\"object\":\"image_datacenter_state\",\"updatedTime\":1294198799000},{\"state\":{\"id\":2,\"description\":\"Image is available for adds\",\"name\":\"Available\",\"object\":\"
 option\"},\"datacenter\":{\"id\":2,\"description\":\"US East 1 Datacenter\",\"name\":\"US-East-1\",\"object\":\"option\"},\"object\":\"image_datacenter_state\",\"updatedTime\":1294198799000},{\"state\":{\"id\":2,\"description\":\"Image is available for adds\",\"name\":\"Available\",\"object\":\"option\"},\"datacenter\":{\"id\":3,\"description\":\"EU-West-1 Datacenter\",\"name\":\"EU-West-1\",\"object\":\"option\"},\"object\":\"image_datacenter_state\",\"updatedTime\":1294198799000}],\"location\":\"gogrid/GSI-840b854e-4862-49d4-8c83-4768ae48fa3b.img\",\"state\":{\"id\":2,\"description\":\"Image is available for adds\",\"name\":\"Available\",\"object\":\"option\"},\"friendlyName\":\"CentOS 5.6 (32-bit) w/ None\",\"object\":\"serverimage\",\"architecture\":{\"id\":1,\"description\":\"32 bit OS\",\"name\":\"32-bit\",\"object\":\"option\"},\"isPublic\":true,\"billingtokens\":[{\"id\":73,\"price\":0,\"name\":\"CentOS 5.6 (32-bit)\",\"object\":\"billingtoken\"}],\"type\":{\"id\":1,\"descri
 ption\":\"Web or Application Server\",\"name\":\"Web Server\",\"object\":\"option\"},\"id\":9928,\"isActive\":true,\"gsitype\":{\"id\":1,\"description\":\"Image produced and certified by GoGrid\",\"name\":\"baseGSI\",\"object\":\"option\"},\"price\":0,\"description\":\"CentOS 5.6 (32-bit) w/ None\",\"name\":\"centos5.6_32_base\",\"owner\":{\"id\":-1,\"name\":\"GoGrid\",\"object\":\"customer\"},\"updatedTime\":1294198799000,\"minram\":{\"id\":1,\"description\":\"Server with 512MB RAM\",\"name\":\"512MB\",\"object\":\"option\"}},\"datacenter\":{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},\"object\":\"server\",\"type\":{\"id\":1,\"description\":\"Web or Application Server\",\"name\":\"Web Server\",\"object\":\"option\"},\"cores\":0.5,\"ip\":{\"id\":1107369,\"subnet\":\"173.1.167.112/255.255.255.240\",\"state\":{\"id\":2,\"description\":\"IP is reserved or in use\",\"name\":\"Assigned\",\"object\":\"option\"},\"datacenter\":{\"id\":1,\
 "description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},\"object\":\"ip\",\"public\":true,\"ip\":\"173.1.167.116\"},\"id\":386946,\"ram\":{\"id\":1,\"description\":\"Server with 512MB RAM\",\"name\":\"512MB\",\"object\":\"option\"},\"name\":\"test-instance\",\"isSandbox\":false,\"diskSize\":25600},\"object\":\"password\",\"password\":\"ppzTXRcDoT\"}]}"
+    http_version: 
+  recorded_at: Sat, 25 Aug 2012 00:36:39 GMT

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/f6778198/server/tests/drivers/gogrid/fixtures/instances_test_class-6.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/gogrid/fixtures/instances_test_class-6.yml b/server/tests/drivers/gogrid/fixtures/instances_test_class-6.yml
new file mode 100644
index 0000000..b7680c0
--- /dev/null
+++ b/server/tests/drivers/gogrid/fixtures/instances_test_class-6.yml
@@ -0,0 +1,70 @@
+--- 
+recorded_with: VCR 2.2.4
+http_interactions: 
+- request: 
+    method: get
+    uri: https://api.gogrid.com/api/grid/server/get?api_key=b5e87458eb2d3297&format=json&name=test-instance&sig=b6a4343a3dfc7845011f852e2933b3b7&v=1.9
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
+      code: 400
+      message: Bad Request
+    headers: 
+      Content-Length: 
+      - "222"
+      Accept-Ranges: 
+      - bytes
+      Server: 
+      - Apache-Coyote/1.1
+      Content-Type: 
+      - text/html
+      Connection: 
+      - close
+      - close
+      Date: 
+      - Sat, 25 Aug 2012 00:36:27 GMT
+      Set-Cookie: 
+      - JSESSIONID=56E47CE852FEA36411277930DC24D15E; Path=/api; Secure
+      X-Mashery-Responder: 
+      - mashery-web4-lax.mashery.com
+    body: 
+      string: "{\"summary\":{\"total\":1,\"start\":0,\"returned\":1},\"status\":\"failure\",\"method\":\"/grid/server/get\",\"list\":[{\"message\":\"No object found that matches your input criteria.\",\"object\":\"error\",\"errorcode\":\"IllegalArgumentException\"}]}"
+    http_version: 
+  recorded_at: Sat, 25 Aug 2012 00:36:27 GMT
+- request: 
+    method: get
+    uri: https://api.gogrid.com/api/grid/server/list?api_key=b5e87458eb2d3297&format=json&sig=ee0366a3b4f301d3aa9d315efef0f3a7&v=1.9
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Content-Length: 
+      - "2726"
+      Accept-Ranges: 
+      - bytes
+      Server: 
+      - Apache-Coyote/1.1
+      Content-Type: 
+      - text/html
+      Connection: 
+      - close
+      Date: 
+      - Sat, 25 Aug 2012 00:36:27 GMT
+      Set-Cookie: 
+      - JSESSIONID=82AEAA2BDBF172DE4EBAC720CF6DF3CF; Path=/api; Secure
+      X-Mashery-Responder: 
+      - mashery-web1-lax.mashery.com
+    body: 
+      string: "{\"summary\":{\"total\":1,\"start\":0,\"numpages\":0,\"returned\":1},\"status\":\"success\",\"method\":\"/grid/server/list\",\"list\":[{\"os\":{\"id\":73,\"description\":\"CentOS 5.6 (32-bit)\",\"name\":\"CentOS 5.6 (32-bit)\",\"object\":\"option\"},\"ram\":{\"id\":1,\"description\":\"Server with 512MB RAM\",\"name\":\"512MB\",\"object\":\"option\"},\"name\":\"test-instance\",\"state\":{\"id\":3,\"description\":null,\"name\":\"Off\",\"object\":\"option\"},\"isSandbox\":false,\"image\":{\"os\":{\"id\":73,\"description\":\"CentOS 5.6 (32-bit)\",\"name\":\"CentOS 5.6 (32-bit)\",\"object\":\"option\"},\"datacenterlist\":[{\"state\":{\"id\":2,\"description\":\"Image is available for adds\",\"name\":\"Available\",\"object\":\"option\"},\"datacenter\":{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},\"object\":\"image_datacenter_state\",\"updatedTime\":1294198799000},{\"state\":{\"id\":2,\"description\":\"Image is available for
  adds\",\"name\":\"Available\",\"object\":\"option\"},\"datacenter\":{\"id\":2,\"description\":\"US East 1 Datacenter\",\"name\":\"US-East-1\",\"object\":\"option\"},\"object\":\"image_datacenter_state\",\"updatedTime\":1294198799000},{\"state\":{\"id\":2,\"description\":\"Image is available for adds\",\"name\":\"Available\",\"object\":\"option\"},\"datacenter\":{\"id\":3,\"description\":\"EU-West-1 Datacenter\",\"name\":\"EU-West-1\",\"object\":\"option\"},\"object\":\"image_datacenter_state\",\"updatedTime\":1294198799000}],\"location\":\"gogrid/GSI-840b854e-4862-49d4-8c83-4768ae48fa3b.img\",\"state\":{\"id\":2,\"description\":\"Image is available for adds\",\"name\":\"Available\",\"object\":\"option\"},\"friendlyName\":\"CentOS 5.6 (32-bit) w/ None\",\"object\":\"serverimage\",\"architecture\":{\"id\":1,\"description\":\"32 bit OS\",\"name\":\"32-bit\",\"object\":\"option\"},\"isPublic\":true,\"billingtokens\":[{\"id\":73,\"price\":0,\"name\":\"CentOS 5.6 (32-bit)\",\"object\":\"
 billingtoken\"}],\"type\":{\"id\":1,\"description\":\"Web or Application Server\",\"name\":\"Web Server\",\"object\":\"option\"},\"id\":9928,\"isActive\":true,\"gsitype\":{\"id\":1,\"description\":\"Image produced and certified by GoGrid\",\"name\":\"baseGSI\",\"object\":\"option\"},\"price\":0,\"description\":\"CentOS 5.6 (32-bit) w/ None\",\"name\":\"centos5.6_32_base\",\"owner\":{\"id\":-1,\"name\":\"GoGrid\",\"object\":\"customer\"},\"updatedTime\":1294198799000,\"minram\":{\"id\":1,\"description\":\"Server with 512MB RAM\",\"name\":\"512MB\",\"object\":\"option\"}},\"datacenter\":{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},\"object\":\"server\",\"type\":{\"id\":1,\"description\":\"Web or Application Server\",\"name\":\"Web Server\",\"object\":\"option\"},\"ip\":{\"id\":1107369,\"subnet\":\"173.1.167.112/255.255.255.240\",\"state\":{\"id\":2,\"description\":\"IP is reserved or in use\",\"name\":\"Assigned\",\"object\":\"option
 \"},\"datacenter\":{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},\"object\":\"ip\",\"public\":true,\"ip\":\"173.1.167.116\"}}]}"
+    http_version: 
+  recorded_at: Sat, 25 Aug 2012 00:36:28 GMT

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/f6778198/server/tests/drivers/gogrid/fixtures/instances_test_class-7.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/gogrid/fixtures/instances_test_class-7.yml b/server/tests/drivers/gogrid/fixtures/instances_test_class-7.yml
new file mode 100644
index 0000000..ca8632d
--- /dev/null
+++ b/server/tests/drivers/gogrid/fixtures/instances_test_class-7.yml
@@ -0,0 +1,70 @@
+--- 
+recorded_with: VCR 2.2.4
+http_interactions: 
+- request: 
+    method: get
+    uri: https://api.gogrid.com/api/grid/server/get?api_key=b5e87458eb2d3297&format=json&name=test-instance&sig=6844844541395df6e4fb78605c284c23&v=1.9
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
+      code: 400
+      message: Bad Request
+    headers: 
+      Content-Length: 
+      - "222"
+      Accept-Ranges: 
+      - bytes
+      Server: 
+      - Apache-Coyote/1.1
+      Content-Type: 
+      - text/html
+      Connection: 
+      - close
+      - close
+      Date: 
+      - Sat, 25 Aug 2012 00:36:16 GMT
+      Set-Cookie: 
+      - JSESSIONID=FF75555A19BDA4DA623DF19AE629C4B9; Path=/api; Secure
+      X-Mashery-Responder: 
+      - mashery-web3-lax.mashery.com
+    body: 
+      string: "{\"summary\":{\"total\":1,\"start\":0,\"returned\":1},\"status\":\"failure\",\"method\":\"/grid/server/get\",\"list\":[{\"message\":\"No object found that matches your input criteria.\",\"object\":\"error\",\"errorcode\":\"IllegalArgumentException\"}]}"
+    http_version: 
+  recorded_at: Sat, 25 Aug 2012 00:36:16 GMT
+- request: 
+    method: get
+    uri: https://api.gogrid.com/api/grid/server/list?api_key=b5e87458eb2d3297&format=json&sig=6844844541395df6e4fb78605c284c23&v=1.9
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Content-Length: 
+      - "2726"
+      Accept-Ranges: 
+      - bytes
+      Server: 
+      - Apache-Coyote/1.1
+      Content-Type: 
+      - text/html
+      Connection: 
+      - close
+      Date: 
+      - Sat, 25 Aug 2012 00:36:16 GMT
+      Set-Cookie: 
+      - JSESSIONID=FDC4842C470BAEEF3DEB824FFBE81501; Path=/api; Secure
+      X-Mashery-Responder: 
+      - mashery-web1-lax.mashery.com
+    body: 
+      string: "{\"summary\":{\"total\":1,\"start\":0,\"numpages\":0,\"returned\":1},\"status\":\"success\",\"method\":\"/grid/server/list\",\"list\":[{\"os\":{\"id\":73,\"description\":\"CentOS 5.6 (32-bit)\",\"name\":\"CentOS 5.6 (32-bit)\",\"object\":\"option\"},\"ram\":{\"id\":1,\"description\":\"Server with 512MB RAM\",\"name\":\"512MB\",\"object\":\"option\"},\"name\":\"test-instance\",\"state\":{\"id\":3,\"description\":null,\"name\":\"Off\",\"object\":\"option\"},\"isSandbox\":false,\"image\":{\"os\":{\"id\":73,\"description\":\"CentOS 5.6 (32-bit)\",\"name\":\"CentOS 5.6 (32-bit)\",\"object\":\"option\"},\"datacenterlist\":[{\"state\":{\"id\":2,\"description\":\"Image is available for adds\",\"name\":\"Available\",\"object\":\"option\"},\"datacenter\":{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},\"object\":\"image_datacenter_state\",\"updatedTime\":1294198799000},{\"state\":{\"id\":2,\"description\":\"Image is available for
  adds\",\"name\":\"Available\",\"object\":\"option\"},\"datacenter\":{\"id\":2,\"description\":\"US East 1 Datacenter\",\"name\":\"US-East-1\",\"object\":\"option\"},\"object\":\"image_datacenter_state\",\"updatedTime\":1294198799000},{\"state\":{\"id\":2,\"description\":\"Image is available for adds\",\"name\":\"Available\",\"object\":\"option\"},\"datacenter\":{\"id\":3,\"description\":\"EU-West-1 Datacenter\",\"name\":\"EU-West-1\",\"object\":\"option\"},\"object\":\"image_datacenter_state\",\"updatedTime\":1294198799000}],\"location\":\"gogrid/GSI-840b854e-4862-49d4-8c83-4768ae48fa3b.img\",\"state\":{\"id\":2,\"description\":\"Image is available for adds\",\"name\":\"Available\",\"object\":\"option\"},\"friendlyName\":\"CentOS 5.6 (32-bit) w/ None\",\"object\":\"serverimage\",\"architecture\":{\"id\":1,\"description\":\"32 bit OS\",\"name\":\"32-bit\",\"object\":\"option\"},\"isPublic\":true,\"billingtokens\":[{\"id\":73,\"price\":0,\"name\":\"CentOS 5.6 (32-bit)\",\"object\":\"
 billingtoken\"}],\"type\":{\"id\":1,\"description\":\"Web or Application Server\",\"name\":\"Web Server\",\"object\":\"option\"},\"id\":9928,\"isActive\":true,\"gsitype\":{\"id\":1,\"description\":\"Image produced and certified by GoGrid\",\"name\":\"baseGSI\",\"object\":\"option\"},\"price\":0,\"description\":\"CentOS 5.6 (32-bit) w/ None\",\"name\":\"centos5.6_32_base\",\"owner\":{\"id\":-1,\"name\":\"GoGrid\",\"object\":\"customer\"},\"updatedTime\":1294198799000,\"minram\":{\"id\":1,\"description\":\"Server with 512MB RAM\",\"name\":\"512MB\",\"object\":\"option\"}},\"datacenter\":{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},\"object\":\"server\",\"type\":{\"id\":1,\"description\":\"Web or Application Server\",\"name\":\"Web Server\",\"object\":\"option\"},\"ip\":{\"id\":1107369,\"subnet\":\"173.1.167.112/255.255.255.240\",\"state\":{\"id\":2,\"description\":\"IP is reserved or in use\",\"name\":\"Assigned\",\"object\":\"option
 \"},\"datacenter\":{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},\"object\":\"ip\",\"public\":true,\"ip\":\"173.1.167.116\"}}]}"
+    http_version: 
+  recorded_at: Sat, 25 Aug 2012 00:36:17 GMT

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/f6778198/server/tests/drivers/gogrid/fixtures/instances_test_class-8.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/gogrid/fixtures/instances_test_class-8.yml b/server/tests/drivers/gogrid/fixtures/instances_test_class-8.yml
new file mode 100644
index 0000000..7f98dc9
--- /dev/null
+++ b/server/tests/drivers/gogrid/fixtures/instances_test_class-8.yml
@@ -0,0 +1,70 @@
+--- 
+recorded_with: VCR 2.2.4
+http_interactions: 
+- request: 
+    method: get
+    uri: https://api.gogrid.com/api/grid/server/get?api_key=b5e87458eb2d3297&format=json&name=test-instance&sig=874fd50b2f5eec2694ee9fb6d23e9187&v=1.9
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
+      code: 400
+      message: Bad Request
+    headers: 
+      Content-Length: 
+      - "222"
+      Accept-Ranges: 
+      - bytes
+      Server: 
+      - Apache-Coyote/1.1
+      Content-Type: 
+      - text/html
+      Connection: 
+      - close
+      - close
+      Date: 
+      - Sat, 25 Aug 2012 00:36:05 GMT
+      Set-Cookie: 
+      - JSESSIONID=9CA5422D8AB1025DBB8FE5C4564C09FC; Path=/api; Secure
+      X-Mashery-Responder: 
+      - mashery-web2-lax.mashery.com
+    body: 
+      string: "{\"summary\":{\"total\":1,\"start\":0,\"returned\":1},\"status\":\"failure\",\"method\":\"/grid/server/get\",\"list\":[{\"message\":\"No object found that matches your input criteria.\",\"object\":\"error\",\"errorcode\":\"IllegalArgumentException\"}]}"
+    http_version: 
+  recorded_at: Sat, 25 Aug 2012 00:36:05 GMT
+- request: 
+    method: get
+    uri: https://api.gogrid.com/api/grid/server/list?api_key=b5e87458eb2d3297&format=json&sig=874fd50b2f5eec2694ee9fb6d23e9187&v=1.9
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Content-Length: 
+      - "2726"
+      Accept-Ranges: 
+      - bytes
+      Server: 
+      - Apache-Coyote/1.1
+      Content-Type: 
+      - text/html
+      Connection: 
+      - close
+      Date: 
+      - Sat, 25 Aug 2012 00:36:05 GMT
+      Set-Cookie: 
+      - JSESSIONID=84368E84D68275C74C8A5115870F04E8; Path=/api; Secure
+      X-Mashery-Responder: 
+      - mashery-web4-lax.mashery.com
+    body: 
+      string: "{\"summary\":{\"total\":1,\"start\":0,\"numpages\":0,\"returned\":1},\"status\":\"success\",\"method\":\"/grid/server/list\",\"list\":[{\"os\":{\"id\":73,\"description\":\"CentOS 5.6 (32-bit)\",\"name\":\"CentOS 5.6 (32-bit)\",\"object\":\"option\"},\"ram\":{\"id\":1,\"description\":\"Server with 512MB RAM\",\"name\":\"512MB\",\"object\":\"option\"},\"name\":\"test-instance\",\"state\":{\"id\":3,\"description\":null,\"name\":\"Off\",\"object\":\"option\"},\"isSandbox\":false,\"image\":{\"os\":{\"id\":73,\"description\":\"CentOS 5.6 (32-bit)\",\"name\":\"CentOS 5.6 (32-bit)\",\"object\":\"option\"},\"datacenterlist\":[{\"state\":{\"id\":2,\"description\":\"Image is available for adds\",\"name\":\"Available\",\"object\":\"option\"},\"datacenter\":{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},\"object\":\"image_datacenter_state\",\"updatedTime\":1294198799000},{\"state\":{\"id\":2,\"description\":\"Image is available for
  adds\",\"name\":\"Available\",\"object\":\"option\"},\"datacenter\":{\"id\":2,\"description\":\"US East 1 Datacenter\",\"name\":\"US-East-1\",\"object\":\"option\"},\"object\":\"image_datacenter_state\",\"updatedTime\":1294198799000},{\"state\":{\"id\":2,\"description\":\"Image is available for adds\",\"name\":\"Available\",\"object\":\"option\"},\"datacenter\":{\"id\":3,\"description\":\"EU-West-1 Datacenter\",\"name\":\"EU-West-1\",\"object\":\"option\"},\"object\":\"image_datacenter_state\",\"updatedTime\":1294198799000}],\"location\":\"gogrid/GSI-840b854e-4862-49d4-8c83-4768ae48fa3b.img\",\"state\":{\"id\":2,\"description\":\"Image is available for adds\",\"name\":\"Available\",\"object\":\"option\"},\"friendlyName\":\"CentOS 5.6 (32-bit) w/ None\",\"object\":\"serverimage\",\"architecture\":{\"id\":1,\"description\":\"32 bit OS\",\"name\":\"32-bit\",\"object\":\"option\"},\"isPublic\":true,\"billingtokens\":[{\"id\":73,\"price\":0,\"name\":\"CentOS 5.6 (32-bit)\",\"object\":\"
 billingtoken\"}],\"type\":{\"id\":1,\"description\":\"Web or Application Server\",\"name\":\"Web Server\",\"object\":\"option\"},\"id\":9928,\"isActive\":true,\"gsitype\":{\"id\":1,\"description\":\"Image produced and certified by GoGrid\",\"name\":\"baseGSI\",\"object\":\"option\"},\"price\":0,\"description\":\"CentOS 5.6 (32-bit) w/ None\",\"name\":\"centos5.6_32_base\",\"owner\":{\"id\":-1,\"name\":\"GoGrid\",\"object\":\"customer\"},\"updatedTime\":1294198799000,\"minram\":{\"id\":1,\"description\":\"Server with 512MB RAM\",\"name\":\"512MB\",\"object\":\"option\"}},\"datacenter\":{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},\"object\":\"server\",\"type\":{\"id\":1,\"description\":\"Web or Application Server\",\"name\":\"Web Server\",\"object\":\"option\"},\"ip\":{\"id\":1107369,\"subnet\":\"173.1.167.112/255.255.255.240\",\"state\":{\"id\":2,\"description\":\"IP is reserved or in use\",\"name\":\"Assigned\",\"object\":\"option
 \"},\"datacenter\":{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},\"object\":\"ip\",\"public\":true,\"ip\":\"173.1.167.116\"}}]}"
+    http_version: 
+  recorded_at: Sat, 25 Aug 2012 00:36:06 GMT

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/f6778198/server/tests/drivers/gogrid/fixtures/instances_test_class-9.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/gogrid/fixtures/instances_test_class-9.yml b/server/tests/drivers/gogrid/fixtures/instances_test_class-9.yml
new file mode 100644
index 0000000..e3ab0de
--- /dev/null
+++ b/server/tests/drivers/gogrid/fixtures/instances_test_class-9.yml
@@ -0,0 +1,70 @@
+--- 
+recorded_with: VCR 2.2.4
+http_interactions: 
+- request: 
+    method: get
+    uri: https://api.gogrid.com/api/grid/server/get?api_key=b5e87458eb2d3297&format=json&name=test-instance&sig=2b7947b4cdf25bdec07cb13fb78a2de6&v=1.9
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
+      code: 400
+      message: Bad Request
+    headers: 
+      Content-Length: 
+      - "222"
+      Accept-Ranges: 
+      - bytes
+      Server: 
+      - Apache-Coyote/1.1
+      Content-Type: 
+      - text/html
+      Connection: 
+      - close
+      - close
+      Date: 
+      - Sat, 25 Aug 2012 00:35:53 GMT
+      Set-Cookie: 
+      - JSESSIONID=D5BD5E2109BE1420633820D3885B0198; Path=/api; Secure
+      X-Mashery-Responder: 
+      - mashery-web2-lax.mashery.com
+    body: 
+      string: "{\"summary\":{\"total\":1,\"start\":0,\"returned\":1},\"status\":\"failure\",\"method\":\"/grid/server/get\",\"list\":[{\"message\":\"No object found that matches your input criteria.\",\"object\":\"error\",\"errorcode\":\"IllegalArgumentException\"}]}"
+    http_version: 
+  recorded_at: Sat, 25 Aug 2012 00:35:53 GMT
+- request: 
+    method: get
+    uri: https://api.gogrid.com/api/grid/server/list?api_key=b5e87458eb2d3297&format=json&sig=37aa0e6911190739d0eed91507d97000&v=1.9
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Content-Length: 
+      - "2726"
+      Accept-Ranges: 
+      - bytes
+      Server: 
+      - Apache-Coyote/1.1
+      Content-Type: 
+      - text/html
+      Connection: 
+      - close
+      Date: 
+      - Sat, 25 Aug 2012 00:35:53 GMT
+      Set-Cookie: 
+      - JSESSIONID=51EBF75F187109D8CE2B7F17FED56478; Path=/api; Secure
+      X-Mashery-Responder: 
+      - mashery-web2-lax.mashery.com
+    body: 
+      string: "{\"summary\":{\"total\":1,\"start\":0,\"numpages\":0,\"returned\":1},\"status\":\"success\",\"method\":\"/grid/server/list\",\"list\":[{\"os\":{\"id\":73,\"description\":\"CentOS 5.6 (32-bit)\",\"name\":\"CentOS 5.6 (32-bit)\",\"object\":\"option\"},\"ram\":{\"id\":1,\"description\":\"Server with 512MB RAM\",\"name\":\"512MB\",\"object\":\"option\"},\"name\":\"test-instance\",\"state\":{\"id\":3,\"description\":null,\"name\":\"Off\",\"object\":\"option\"},\"isSandbox\":false,\"image\":{\"os\":{\"id\":73,\"description\":\"CentOS 5.6 (32-bit)\",\"name\":\"CentOS 5.6 (32-bit)\",\"object\":\"option\"},\"datacenterlist\":[{\"state\":{\"id\":2,\"description\":\"Image is available for adds\",\"name\":\"Available\",\"object\":\"option\"},\"datacenter\":{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},\"object\":\"image_datacenter_state\",\"updatedTime\":1294198799000},{\"state\":{\"id\":2,\"description\":\"Image is available for
  adds\",\"name\":\"Available\",\"object\":\"option\"},\"datacenter\":{\"id\":2,\"description\":\"US East 1 Datacenter\",\"name\":\"US-East-1\",\"object\":\"option\"},\"object\":\"image_datacenter_state\",\"updatedTime\":1294198799000},{\"state\":{\"id\":2,\"description\":\"Image is available for adds\",\"name\":\"Available\",\"object\":\"option\"},\"datacenter\":{\"id\":3,\"description\":\"EU-West-1 Datacenter\",\"name\":\"EU-West-1\",\"object\":\"option\"},\"object\":\"image_datacenter_state\",\"updatedTime\":1294198799000}],\"location\":\"gogrid/GSI-840b854e-4862-49d4-8c83-4768ae48fa3b.img\",\"state\":{\"id\":2,\"description\":\"Image is available for adds\",\"name\":\"Available\",\"object\":\"option\"},\"friendlyName\":\"CentOS 5.6 (32-bit) w/ None\",\"object\":\"serverimage\",\"architecture\":{\"id\":1,\"description\":\"32 bit OS\",\"name\":\"32-bit\",\"object\":\"option\"},\"isPublic\":true,\"billingtokens\":[{\"id\":73,\"price\":0,\"name\":\"CentOS 5.6 (32-bit)\",\"object\":\"
 billingtoken\"}],\"type\":{\"id\":1,\"description\":\"Web or Application Server\",\"name\":\"Web Server\",\"object\":\"option\"},\"id\":9928,\"isActive\":true,\"gsitype\":{\"id\":1,\"description\":\"Image produced and certified by GoGrid\",\"name\":\"baseGSI\",\"object\":\"option\"},\"price\":0,\"description\":\"CentOS 5.6 (32-bit) w/ None\",\"name\":\"centos5.6_32_base\",\"owner\":{\"id\":-1,\"name\":\"GoGrid\",\"object\":\"customer\"},\"updatedTime\":1294198799000,\"minram\":{\"id\":1,\"description\":\"Server with 512MB RAM\",\"name\":\"512MB\",\"object\":\"option\"}},\"datacenter\":{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},\"object\":\"server\",\"type\":{\"id\":1,\"description\":\"Web or Application Server\",\"name\":\"Web Server\",\"object\":\"option\"},\"ip\":{\"id\":1107369,\"subnet\":\"173.1.167.112/255.255.255.240\",\"state\":{\"id\":2,\"description\":\"IP is reserved or in use\",\"name\":\"Assigned\",\"object\":\"option
 \"},\"datacenter\":{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},\"object\":\"ip\",\"public\":true,\"ip\":\"173.1.167.116\"}}]}"
+    http_version: 
+  recorded_at: Sat, 25 Aug 2012 00:35:54 GMT

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/f6778198/server/tests/drivers/gogrid/fixtures/test_0001_must_throw_error_when_wrong_credentials.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/gogrid/fixtures/test_0001_must_throw_error_when_wrong_credentials.yml b/server/tests/drivers/gogrid/fixtures/test_0001_must_throw_error_when_wrong_credentials.yml
index d7d7769..f095dc8 100644
--- a/server/tests/drivers/gogrid/fixtures/test_0001_must_throw_error_when_wrong_credentials.yml
+++ b/server/tests/drivers/gogrid/fixtures/test_0001_must_throw_error_when_wrong_credentials.yml
@@ -1,292 +1,69 @@
----
-http_interactions:
-- request:
+--- 
+recorded_with: VCR 2.2.4
+http_interactions: 
+- request: 
     method: get
-    uri: https://api.gogrid.com/api/common/lookup/list?api_key=unknown&format=json&lookup=ip.datacenter&sig=e18fc4cbbff04e5a41821d9d91112690&v=1.9
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - Ruby
-  response:
-    status:
+    uri: https://api.gogrid.com/api/common/lookup/list?api_key=unknown&format=json&lookup=ip.datacenter&sig=5f91b8f2892191bfc1cddfd1da980cde&v=1.9
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
       code: 403
       message: Forbidden
-    headers:
-      Connection:
-      - close
-      X-Mashery-Responder:
-      - mashery-web1-lax.mashery.com
-      X-Mashery-Error-Code:
+    headers: 
+      X-Mashery-Error-Code: 
       - ERR_403_NOT_AUTHORIZED
-      Content-Type:
-      - text/xml
-      Accept-Ranges:
+      Content-Length: 
+      - "27"
+      Accept-Ranges: 
       - bytes
-      Content-Length:
-      - '27'
-      Date:
-      - Thu, 23 Aug 2012 11:31:56 GMT
-      Server:
+      Server: 
       - Mashery Proxy
-    body:
-      encoding: US-ASCII
-      string: <h1>403 Not Authorized</h1>
-    http_version: 
-  recorded_at: Thu, 23 Aug 2012 11:30:00 GMT
-- request:
-    method: get
-    uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=unknown&Action=DescribeImages&Filter.1.Name=image-type&Filter.1.Value.1=machine&Owner.1=amazon&Signature=HWVZgMxHm4JfqFvLRBmTq5Uct57scdFvQeTMzVbYCvA=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-08-23T11:30:00.000Z&Version=2010-08-31
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - ''
-  response:
-    status:
-      code: 401
-      message: Unauthorized
-    headers:
-      Transfer-Encoding:
-      - chunked
-      Date:
-      - Thu, 23 Aug 2012 11:33:37 GMT
-      Server:
-      - AmazonEC2
-    body:
-      encoding: US-ASCII
-      string: ! '<?xml version="1.0" encoding="UTF-8"?>
-
-        <Response><Errors><Error><Code>AuthFailure</Code><Message>AWS was not able
-        to validate the provided access credentials</Message></Error></Errors><RequestID>25821fcd-a85c-48ad-9314-127ae241cefd</RequestID></Response>'
-    http_version: 
-  recorded_at: Thu, 23 Aug 2012 11:30:00 GMT
-- request:
-    method: get
-    uri: https://api.gogrid.com/api/grid/image/list?api_key=unknown&format=json&sig=e18fc4cbbff04e5a41821d9d91112690&state=Available&v=1.9
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - Ruby
-  response:
-    status:
-      code: 403
-      message: Forbidden
-    headers:
-      Connection:
-      - close
-      X-Mashery-Responder:
-      - mashery-web2-lax.mashery.com
-      X-Mashery-Error-Code:
-      - ERR_403_NOT_AUTHORIZED
-      Content-Type:
+      Content-Type: 
       - text/xml
-      Accept-Ranges:
-      - bytes
-      Content-Length:
-      - '27'
-      Date:
-      - Thu, 23 Aug 2012 11:34:19 GMT
-      Server:
-      - Mashery Proxy
-    body:
-      encoding: US-ASCII
-      string: <h1>403 Not Authorized</h1>
-    http_version: 
-  recorded_at: Thu, 23 Aug 2012 11:30:00 GMT
-- request:
-    method: get
-    uri: https://api.gogrid.com/api/grid/image/list?api_key=unknown&format=json&sig=ace59cffd8c2b98c79005eeb57010d2a&state=Available&v=1.9
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - Ruby
-  response:
-    status:
-      code: 403
-      message: Forbidden
-    headers:
-      Connection:
+      Connection: 
       - close
-      X-Mashery-Responder:
-      - mashery-web1-lax.mashery.com
-      X-Mashery-Error-Code:
-      - ERR_403_NOT_AUTHORIZED
-      Content-Type:
-      - text/xml
-      Accept-Ranges:
-      - bytes
-      Content-Length:
-      - '27'
-      Date:
-      - Thu, 23 Aug 2012 11:37:19 GMT
-      Server:
-      - Mashery Proxy
-    body:
-      encoding: US-ASCII
-      string: <h1>403 Not Authorized</h1>
-    http_version: 
-  recorded_at: Thu, 23 Aug 2012 11:38:00 GMT
-- request:
-    method: get
-    uri: https://api.gogrid.com/api/grid/image/list?api_key=unknown&format=json&sig=75785293c8f411896c81565ad5f48903&state=Available&v=1.9
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - Ruby
-  response:
-    status:
-      code: 403
-      message: Forbidden
-    headers:
-      Connection:
-      - close
-      X-Mashery-Responder:
-      - mashery-web1-lax.mashery.com
-      X-Mashery-Error-Code:
-      - ERR_403_NOT_AUTHORIZED
-      Content-Type:
-      - text/xml
-      Accept-Ranges:
-      - bytes
-      Content-Length:
-      - '27'
-      Date:
-      - Thu, 23 Aug 2012 11:44:24 GMT
-      Server:
-      - Mashery Proxy
-    body:
-      encoding: US-ASCII
+      Date: 
+      - Sat, 25 Aug 2012 00:34:58 GMT
+      X-Mashery-Responder: 
+      - mashery-web2-lax.mashery.com
+    body: 
       string: <h1>403 Not Authorized</h1>
     http_version: 
-  recorded_at: Thu, 23 Aug 2012 11:45:00 GMT
-- request:
+  recorded_at: Sat, 25 Aug 2012 00:34:58 GMT
+- request: 
     method: get
-    uri: https://api.gogrid.com/api/common/lookup/list?api_key=unknown&format=json&lookup=ip.datacenter&sig=340a2a7887d9f620e56617985a328e57&v=1.9
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - Ruby
-  response:
-    status:
+    uri: https://api.gogrid.com/api/grid/image/list?api_key=unknown&format=json&sig=59e4f575811e0a95ca74ad6401f7d730&state=Available&v=1.9
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
       code: 403
       message: Forbidden
-    headers:
-      Connection:
-      - close
-      X-Mashery-Responder:
-      - mashery-web1-lax.mashery.com
-      X-Mashery-Error-Code:
+    headers: 
+      X-Mashery-Error-Code: 
       - ERR_403_NOT_AUTHORIZED
-      Content-Type:
-      - text/xml
-      Accept-Ranges:
+      Content-Length: 
+      - "27"
+      Accept-Ranges: 
       - bytes
-      Content-Length:
-      - '27'
-      Date:
-      - Thu, 23 Aug 2012 11:50:46 GMT
-      Server:
+      Server: 
       - Mashery Proxy
-    body:
-      encoding: US-ASCII
-      string: <h1>403 Not Authorized</h1>
-    http_version: 
-  recorded_at: Thu, 23 Aug 2012 11:51:00 GMT
-- request:
-    method: get
-    uri: https://api.gogrid.com/api/common/lookup/list?api_key=unknown&format=json&lookup=ip.datacenter&sig=95bb2be4c895eff3f685cc949a13c756&v=1.9
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - Ruby
-  response:
-    status:
-      code: 403
-      message: Forbidden
-    headers:
-      Connection:
-      - close
-      X-Mashery-Responder:
-      - mashery-web1-lax.mashery.com
-      X-Mashery-Error-Code:
-      - ERR_403_NOT_AUTHORIZED
-      Content-Type:
+      Content-Type: 
       - text/xml
-      Accept-Ranges:
-      - bytes
-      Content-Length:
-      - '27'
-      Date:
-      - Thu, 23 Aug 2012 11:57:40 GMT
-      Server:
-      - Mashery Proxy
-    body:
-      encoding: US-ASCII
-      string: <h1>403 Not Authorized</h1>
-    http_version: 
-  recorded_at: Thu, 23 Aug 2012 11:58:00 GMT
-- request:
-    method: get
-    uri: https://api.gogrid.com/api/grid/image/list?api_key=unknown&format=json&sig=3ec97cd3dba2ac6101469b100a3d888d&state=Available&v=1.9
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - Ruby
-  response:
-    status:
-      code: 403
-      message: Forbidden
-    headers:
-      Connection:
+      Connection: 
       - close
-      X-Mashery-Responder:
-      - mashery-web1-lax.mashery.com
-      X-Mashery-Error-Code:
-      - ERR_403_NOT_AUTHORIZED
-      Content-Type:
-      - text/xml
-      Accept-Ranges:
-      - bytes
-      Content-Length:
-      - '27'
-      Date:
-      - Thu, 23 Aug 2012 12:11:47 GMT
-      Server:
-      - Mashery Proxy
-    body:
-      encoding: US-ASCII
+      Date: 
+      - Sat, 25 Aug 2012 00:35:21 GMT
+      X-Mashery-Responder: 
+      - mashery-web2-lax.mashery.com
+    body: 
       string: <h1>403 Not Authorized</h1>
     http_version: 
-  recorded_at: Thu, 23 Aug 2012 12:12:00 GMT
-recorded_with: VCR 2.2.4
+  recorded_at: Sat, 25 Aug 2012 00:35:21 GMT

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/f6778198/server/tests/drivers/gogrid/fixtures/test_0002_must_return_list_of_hardware_profiles.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/gogrid/fixtures/test_0002_must_return_list_of_hardware_profiles.yml b/server/tests/drivers/gogrid/fixtures/test_0002_must_return_list_of_hardware_profiles.yml
index da3cff6..5a7facd 100644
--- a/server/tests/drivers/gogrid/fixtures/test_0002_must_return_list_of_hardware_profiles.yml
+++ b/server/tests/drivers/gogrid/fixtures/test_0002_must_return_list_of_hardware_profiles.yml
@@ -1,501 +1,135 @@
----
-http_interactions:
-- request:
+--- 
+recorded_with: VCR 2.2.4
+http_interactions: 
+- request: 
     method: get
-    uri: https://api.gogrid.com/api/common/lookup/list?api_key=9bbf139b8b57d967&format=json&lookup=server.type&sig=f9872e632cd2f7a5363b6b545629cc33&v=1.9
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - Ruby
-  response:
-    status:
+    uri: https://api.gogrid.com/api/common/lookup/list?api_key=b5e87458eb2d3297&format=json&lookup=server.type&sig=e5077e7143890a7f839f77e7c181bab0&v=1.9
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Connection:
-      - close
-      X-Mashery-Responder:
-      - mashery-web3-lax.mashery.com
-      Server:
-      - Apache-Coyote/1.1
-      Set-Cookie:
-      - JSESSIONID=62145B61DD1CA039956E769F0884C2D4; Path=/api; Secure
-      Date:
-      - Thu, 23 Aug 2012 11:50:27 GMT
-      Accept-Ranges:
+    headers: 
+      Content-Length: 
+      - "291"
+      Accept-Ranges: 
       - bytes
-      Content-Length:
-      - '291'
-      Content-Type:
-      - text/html
-    body:
-      encoding: US-ASCII
-      string: ! '{"summary":{"total":2,"start":0,"numpages":0,"returned":2},"status":"success","method":"/common/lookup/list","list":[{"id":1,"description":"Web
-        or Application Server","name":"Web Server","object":"option"},{"id":2,"description":"Database
-        Server","name":"Database Server","object":"option"}]}'
-    http_version: 
-  recorded_at: Thu, 23 Aug 2012 11:51:00 GMT
-- request:
-    method: get
-    uri: https://api.gogrid.com/api/common/lookup/list?api_key=9bbf139b8b57d967&format=json&lookup=server.ram&sig=f9872e632cd2f7a5363b6b545629cc33&v=1.9
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - Ruby
-  response:
-    status:
-      code: 200
-      message: OK
-    headers:
-      Connection:
-      - close
-      X-Mashery-Responder:
-      - mashery-web3-lax.mashery.com
-      Server:
+      Server: 
       - Apache-Coyote/1.1
-      Set-Cookie:
-      - JSESSIONID=818BD4F3219C6F4C48632A3CBF7FBE4F; Path=/api; Secure
-      Date:
-      - Thu, 23 Aug 2012 11:50:28 GMT
-      Accept-Ranges:
-      - bytes
-      Content-Length:
-      - '658'
-      Content-Type:
+      Content-Type: 
       - text/html
-    body:
-      encoding: US-ASCII
-      string: ! '{"summary":{"total":7,"start":0,"numpages":0,"returned":7},"status":"success","method":"/common/lookup/list","list":[{"id":1,"description":"Server
-        with 512MB RAM","name":"512MB","object":"option"},{"id":2,"description":"Server
-        with 1GB RAM","name":"1GB","object":"option"},{"id":3,"description":"Server
-        with 2GB RAM","name":"2GB","object":"option"},{"id":4,"description":"Server
-        with 4GB RAM","name":"4GB","object":"option"},{"id":5,"description":"Server
-        with 8GB RAM","name":"8GB","object":"option"},{"id":8,"description":"Server
-        with 16GB RAM","name":"16GB","object":"option"},{"id":9,"description":"Server
-        with 24GB RAM","name":"24GB","object":"option"}]}'
-    http_version: 
-  recorded_at: Thu, 23 Aug 2012 11:51:00 GMT
-- request:
-    method: get
-    uri: https://api.gogrid.com/api/common/lookup/list?api_key=9bbf139b8b57d967&format=json&lookup=server.type&sig=f9872e632cd2f7a5363b6b545629cc33&v=1.9
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - Ruby
-  response:
-    status:
-      code: 200
-      message: OK
-    headers:
-      Connection:
+      Connection: 
       - close
-      X-Mashery-Responder:
-      - mashery-web1-lax.mashery.com
-      Server:
-      - Apache-Coyote/1.1
-      Set-Cookie:
-      - JSESSIONID=D1BF8C27D44D107275762A75C8797957; Path=/api; Secure
-      Date:
-      - Thu, 23 Aug 2012 11:50:29 GMT
-      Accept-Ranges:
-      - bytes
-      Content-Length:
-      - '291'
-      Content-Type:
-      - text/html
-    body:
-      encoding: US-ASCII
-      string: ! '{"summary":{"total":2,"start":0,"numpages":0,"returned":2},"status":"success","method":"/common/lookup/list","list":[{"id":1,"description":"Web
-        or Application Server","name":"Web Server","object":"option"},{"id":2,"description":"Database
-        Server","name":"Database Server","object":"option"}]}'
+      Date: 
+      - Sat, 25 Aug 2012 00:34:57 GMT
+      Set-Cookie: 
+      - JSESSIONID=5E714DD5983776867D3955A382D678F1; Path=/api; Secure
+      X-Mashery-Responder: 
+      - mashery-web2-lax.mashery.com
+    body: 
+      string: "{\"summary\":{\"total\":2,\"start\":0,\"numpages\":0,\"returned\":2},\"status\":\"success\",\"method\":\"/common/lookup/list\",\"list\":[{\"id\":1,\"description\":\"Web or Application Server\",\"name\":\"Web Server\",\"object\":\"option\"},{\"id\":2,\"description\":\"Database Server\",\"name\":\"Database Server\",\"object\":\"option\"}]}"
     http_version: 
-  recorded_at: Thu, 23 Aug 2012 11:51:00 GMT
-- request:
+  recorded_at: Sat, 25 Aug 2012 00:34:58 GMT
+- request: 
     method: get
-    uri: https://api.gogrid.com/api/common/lookup/list?api_key=9bbf139b8b57d967&format=json&lookup=server.ram&sig=f9872e632cd2f7a5363b6b545629cc33&v=1.9
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - Ruby
-  response:
-    status:
+    uri: https://api.gogrid.com/api/common/lookup/list?api_key=b5e87458eb2d3297&format=json&lookup=server.ram&sig=e5077e7143890a7f839f77e7c181bab0&v=1.9
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Connection:
-      - close
-      X-Mashery-Responder:
-      - mashery-web2-lax.mashery.com
-      Server:
-      - Apache-Coyote/1.1
-      Set-Cookie:
-      - JSESSIONID=9256FBE8EE792E1F187561EC4263627F; Path=/api; Secure
-      Date:
-      - Thu, 23 Aug 2012 11:50:32 GMT
-      Accept-Ranges:
+    headers: 
+      Content-Length: 
+      - "658"
+      Accept-Ranges: 
       - bytes
-      Content-Length:
-      - '658'
-      Content-Type:
+      Server: 
+      - Apache-Coyote/1.1
+      Content-Type: 
       - text/html
-    body:
-      encoding: US-ASCII
-      string: ! '{"summary":{"total":7,"start":0,"numpages":0,"returned":7},"status":"success","method":"/common/lookup/list","list":[{"id":1,"description":"Server
-        with 512MB RAM","name":"512MB","object":"option"},{"id":2,"description":"Server
-        with 1GB RAM","name":"1GB","object":"option"},{"id":3,"description":"Server
-        with 2GB RAM","name":"2GB","object":"option"},{"id":4,"description":"Server
-        with 4GB RAM","name":"4GB","object":"option"},{"id":5,"description":"Server
-        with 8GB RAM","name":"8GB","object":"option"},{"id":8,"description":"Server
-        with 16GB RAM","name":"16GB","object":"option"},{"id":9,"description":"Server
-        with 24GB RAM","name":"24GB","object":"option"}]}'
-    http_version: 
-  recorded_at: Thu, 23 Aug 2012 11:51:00 GMT
-- request:
-    method: get
-    uri: https://api.gogrid.com/api/common/lookup/list?api_key=9bbf139b8b57d967&format=json&lookup=server.type&sig=f9872e632cd2f7a5363b6b545629cc33&v=1.9
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - Ruby
-  response:
-    status:
-      code: 200
-      message: OK
-    headers:
-      Connection:
+      Connection: 
       - close
-      X-Mashery-Responder:
+      Date: 
+      - Sat, 25 Aug 2012 00:34:57 GMT
+      Set-Cookie: 
+      - JSESSIONID=40944CBC9B195F05CAD410E30D75F429; Path=/api; Secure
+      X-Mashery-Responder: 
       - mashery-web1-lax.mashery.com
-      Server:
-      - Apache-Coyote/1.1
-      Set-Cookie:
-      - JSESSIONID=36E0F1D6303D9D4A6D93BF02B8FD6167; Path=/api; Secure
-      Date:
-      - Thu, 23 Aug 2012 11:50:33 GMT
-      Accept-Ranges:
-      - bytes
-      Content-Length:
-      - '291'
-      Content-Type:
-      - text/html
-    body:
-      encoding: US-ASCII
-      string: ! '{"summary":{"total":2,"start":0,"numpages":0,"returned":2},"status":"success","method":"/common/lookup/list","list":[{"id":1,"description":"Web
-        or Application Server","name":"Web Server","object":"option"},{"id":2,"description":"Database
-        Server","name":"Database Server","object":"option"}]}'
+    body: 
+      string: "{\"summary\":{\"total\":7,\"start\":0,\"numpages\":0,\"returned\":7},\"status\":\"success\",\"method\":\"/common/lookup/list\",\"list\":[{\"id\":1,\"description\":\"Server with 512MB RAM\",\"name\":\"512MB\",\"object\":\"option\"},{\"id\":2,\"description\":\"Server with 1GB RAM\",\"name\":\"1GB\",\"object\":\"option\"},{\"id\":3,\"description\":\"Server with 2GB RAM\",\"name\":\"2GB\",\"object\":\"option\"},{\"id\":4,\"description\":\"Server with 4GB RAM\",\"name\":\"4GB\",\"object\":\"option\"},{\"id\":5,\"description\":\"Server with 8GB RAM\",\"name\":\"8GB\",\"object\":\"option\"},{\"id\":8,\"description\":\"Server with 16GB RAM\",\"name\":\"16GB\",\"object\":\"option\"},{\"id\":9,\"description\":\"Server with 24GB RAM\",\"name\":\"24GB\",\"object\":\"option\"}]}"
     http_version: 
-  recorded_at: Thu, 23 Aug 2012 11:51:00 GMT
-- request:
+  recorded_at: Sat, 25 Aug 2012 00:34:58 GMT
+- request: 
     method: get
-    uri: https://api.gogrid.com/api/common/lookup/list?api_key=9bbf139b8b57d967&format=json&lookup=server.ram&sig=f9872e632cd2f7a5363b6b545629cc33&v=1.9
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - Ruby
-  response:
-    status:
+    uri: https://api.gogrid.com/api/common/lookup/list?api_key=b5e87458eb2d3297&format=json&lookup=server.type&sig=4ed2bedf133693f578b16b82293f155c&v=1.9
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Connection:
-      - close
-      X-Mashery-Responder:
-      - mashery-web2-lax.mashery.com
-      Server:
-      - Apache-Coyote/1.1
-      Set-Cookie:
-      - JSESSIONID=C4461CED9155A76C8017643D310F2F56; Path=/api; Secure
-      Date:
-      - Thu, 23 Aug 2012 11:50:34 GMT
-      Accept-Ranges:
+    headers: 
+      Content-Length: 
+      - "291"
+      Accept-Ranges: 
       - bytes
-      Content-Length:
-      - '658'
-      Content-Type:
-      - text/html
-    body:
-      encoding: US-ASCII
-      string: ! '{"summary":{"total":7,"start":0,"numpages":0,"returned":7},"status":"success","method":"/common/lookup/list","list":[{"id":1,"description":"Server
-        with 512MB RAM","name":"512MB","object":"option"},{"id":2,"description":"Server
-        with 1GB RAM","name":"1GB","object":"option"},{"id":3,"description":"Server
-        with 2GB RAM","name":"2GB","object":"option"},{"id":4,"description":"Server
-        with 4GB RAM","name":"4GB","object":"option"},{"id":5,"description":"Server
-        with 8GB RAM","name":"8GB","object":"option"},{"id":8,"description":"Server
-        with 16GB RAM","name":"16GB","object":"option"},{"id":9,"description":"Server
-        with 24GB RAM","name":"24GB","object":"option"}]}'
-    http_version: 
-  recorded_at: Thu, 23 Aug 2012 11:51:00 GMT
-- request:
-    method: get
-    uri: https://api.gogrid.com/api/common/lookup/list?api_key=9bbf139b8b57d967&format=json&lookup=server.type&sig=52eca28707f013e583b8e28e936ee587&v=1.9
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - Ruby
-  response:
-    status:
-      code: 200
-      message: OK
-    headers:
-      Connection:
-      - close
-      X-Mashery-Responder:
-      - mashery-web2-lax.mashery.com
-      Server:
+      Server: 
       - Apache-Coyote/1.1
-      Set-Cookie:
-      - JSESSIONID=6B18056BD107A9F66EB3076D5C1A2997; Path=/api; Secure
-      Date:
-      - Thu, 23 Aug 2012 11:57:31 GMT
-      Accept-Ranges:
-      - bytes
-      Content-Length:
-      - '291'
-      Content-Type:
+      Content-Type: 
       - text/html
-    body:
-      encoding: US-ASCII
-      string: ! '{"summary":{"total":2,"start":0,"numpages":0,"returned":2},"status":"success","method":"/common/lookup/list","list":[{"id":1,"description":"Web
-        or Application Server","name":"Web Server","object":"option"},{"id":2,"description":"Database
-        Server","name":"Database Server","object":"option"}]}'
-    http_version: 
-  recorded_at: Thu, 23 Aug 2012 11:58:00 GMT
-- request:
-    method: get
-    uri: https://api.gogrid.com/api/common/lookup/list?api_key=9bbf139b8b57d967&format=json&lookup=server.ram&sig=52eca28707f013e583b8e28e936ee587&v=1.9
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - Ruby
-  response:
-    status:
-      code: 200
-      message: OK
-    headers:
-      Connection:
+      Connection: 
       - close
-      X-Mashery-Responder:
+      Date: 
+      - Sat, 25 Aug 2012 00:34:59 GMT
+      Set-Cookie: 
+      - JSESSIONID=482E430332CD235AEE963EC907CB3A9D; Path=/api; Secure
+      X-Mashery-Responder: 
       - mashery-web3-lax.mashery.com
-      Server:
-      - Apache-Coyote/1.1
-      Set-Cookie:
-      - JSESSIONID=D2313B208B5DF057AF94B3AEDAC63EDD; Path=/api; Secure
-      Date:
-      - Thu, 23 Aug 2012 11:57:33 GMT
-      Accept-Ranges:
-      - bytes
-      Content-Length:
-      - '658'
-      Content-Type:
-      - text/html
-    body:
-      encoding: US-ASCII
-      string: ! '{"summary":{"total":7,"start":0,"numpages":0,"returned":7},"status":"success","method":"/common/lookup/list","list":[{"id":1,"description":"Server
-        with 512MB RAM","name":"512MB","object":"option"},{"id":2,"description":"Server
-        with 1GB RAM","name":"1GB","object":"option"},{"id":3,"description":"Server
-        with 2GB RAM","name":"2GB","object":"option"},{"id":4,"description":"Server
-        with 4GB RAM","name":"4GB","object":"option"},{"id":5,"description":"Server
-        with 8GB RAM","name":"8GB","object":"option"},{"id":8,"description":"Server
-        with 16GB RAM","name":"16GB","object":"option"},{"id":9,"description":"Server
-        with 24GB RAM","name":"24GB","object":"option"}]}'
+    body: 
+      string: "{\"summary\":{\"total\":2,\"start\":0,\"numpages\":0,\"returned\":2},\"status\":\"success\",\"method\":\"/common/lookup/list\",\"list\":[{\"id\":1,\"description\":\"Web or Application Server\",\"name\":\"Web Server\",\"object\":\"option\"},{\"id\":2,\"description\":\"Database Server\",\"name\":\"Database Server\",\"object\":\"option\"}]}"
     http_version: 
-  recorded_at: Thu, 23 Aug 2012 11:58:00 GMT
-- request:
+  recorded_at: Sat, 25 Aug 2012 00:34:59 GMT
+- request: 
     method: get
-    uri: https://api.gogrid.com/api/common/lookup/list?api_key=9bbf139b8b57d967&format=json&lookup=server.type&sig=52eca28707f013e583b8e28e936ee587&v=1.9
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - Ruby
-  response:
-    status:
+    uri: https://api.gogrid.com/api/common/lookup/list?api_key=b5e87458eb2d3297&format=json&lookup=server.ram&sig=4ed2bedf133693f578b16b82293f155c&v=1.9
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Connection:
-      - close
-      X-Mashery-Responder:
-      - mashery-web2-lax.mashery.com
-      Server:
-      - Apache-Coyote/1.1
-      Set-Cookie:
-      - JSESSIONID=2E1C7730A4DD81C2AAE2795A1D8CD6BE; Path=/api; Secure
-      Date:
-      - Thu, 23 Aug 2012 11:57:34 GMT
-      Accept-Ranges:
-      - bytes
-      Content-Length:
-      - '291'
-      Content-Type:
-      - text/html
-    body:
-      encoding: US-ASCII
-      string: ! '{"summary":{"total":2,"start":0,"numpages":0,"returned":2},"status":"success","method":"/common/lookup/list","list":[{"id":1,"description":"Web
-        or Application Server","name":"Web Server","object":"option"},{"id":2,"description":"Database
-        Server","name":"Database Server","object":"option"}]}'
-    http_version: 
-  recorded_at: Thu, 23 Aug 2012 11:58:00 GMT
-- request:
-    method: get
-    uri: https://api.gogrid.com/api/common/lookup/list?api_key=9bbf139b8b57d967&format=json&lookup=server.ram&sig=52eca28707f013e583b8e28e936ee587&v=1.9
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - Ruby
-  response:
-    status:
-      code: 200
-      message: OK
-    headers:
-      Connection:
-      - close
-      X-Mashery-Responder:
-      - mashery-web2-lax.mashery.com
-      Server:
-      - Apache-Coyote/1.1
-      Set-Cookie:
-      - JSESSIONID=2B1672E6C718CF6BD118EB1252DE24F2; Path=/api; Secure
-      Date:
-      - Thu, 23 Aug 2012 11:57:36 GMT
-      Accept-Ranges:
+    headers: 
+      Content-Length: 
+      - "658"
+      Accept-Ranges: 
       - bytes
-      Content-Length:
-      - '658'
-      Content-Type:
-      - text/html
-    body:
-      encoding: US-ASCII
-      string: ! '{"summary":{"total":7,"start":0,"numpages":0,"returned":7},"status":"success","method":"/common/lookup/list","list":[{"id":1,"description":"Server
-        with 512MB RAM","name":"512MB","object":"option"},{"id":2,"description":"Server
-        with 1GB RAM","name":"1GB","object":"option"},{"id":3,"description":"Server
-        with 2GB RAM","name":"2GB","object":"option"},{"id":4,"description":"Server
-        with 4GB RAM","name":"4GB","object":"option"},{"id":5,"description":"Server
-        with 8GB RAM","name":"8GB","object":"option"},{"id":8,"description":"Server
-        with 16GB RAM","name":"16GB","object":"option"},{"id":9,"description":"Server
-        with 24GB RAM","name":"24GB","object":"option"}]}'
-    http_version: 
-  recorded_at: Thu, 23 Aug 2012 11:58:00 GMT
-- request:
-    method: get
-    uri: https://api.gogrid.com/api/common/lookup/list?api_key=9bbf139b8b57d967&format=json&lookup=server.type&sig=52eca28707f013e583b8e28e936ee587&v=1.9
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - Ruby
-  response:
-    status:
-      code: 200
-      message: OK
-    headers:
-      Connection:
-      - close
-      X-Mashery-Responder:
-      - mashery-web1-lax.mashery.com
-      Server:
+      Server: 
       - Apache-Coyote/1.1
-      Set-Cookie:
-      - JSESSIONID=426B7D4ED00829378EC4FE2936C9CEDF; Path=/api; Secure
-      Date:
-      - Thu, 23 Aug 2012 11:57:37 GMT
-      Accept-Ranges:
-      - bytes
-      Content-Length:
-      - '291'
-      Content-Type:
+      Content-Type: 
       - text/html
-    body:
-      encoding: US-ASCII
-      string: ! '{"summary":{"total":2,"start":0,"numpages":0,"returned":2},"status":"success","method":"/common/lookup/list","list":[{"id":1,"description":"Web
-        or Application Server","name":"Web Server","object":"option"},{"id":2,"description":"Database
-        Server","name":"Database Server","object":"option"}]}'
-    http_version: 
-  recorded_at: Thu, 23 Aug 2012 11:58:00 GMT
-- request:
-    method: get
-    uri: https://api.gogrid.com/api/common/lookup/list?api_key=9bbf139b8b57d967&format=json&lookup=server.ram&sig=52eca28707f013e583b8e28e936ee587&v=1.9
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - Ruby
-  response:
-    status:
-      code: 200
-      message: OK
-    headers:
-      Connection:
+      Connection: 
       - close
-      X-Mashery-Responder:
-      - mashery-web1-lax.mashery.com
-      Server:
-      - Apache-Coyote/1.1
-      Set-Cookie:
-      - JSESSIONID=41AEEB72AC966F476354076BC79F2424; Path=/api; Secure
-      Date:
-      - Thu, 23 Aug 2012 11:57:38 GMT
-      Accept-Ranges:
-      - bytes
-      Content-Length:
-      - '658'
-      Content-Type:
-      - text/html
-    body:
-      encoding: US-ASCII
-      string: ! '{"summary":{"total":7,"start":0,"numpages":0,"returned":7},"status":"success","method":"/common/lookup/list","list":[{"id":1,"description":"Server
-        with 512MB RAM","name":"512MB","object":"option"},{"id":2,"description":"Server
-        with 1GB RAM","name":"1GB","object":"option"},{"id":3,"description":"Server
-        with 2GB RAM","name":"2GB","object":"option"},{"id":4,"description":"Server
-        with 4GB RAM","name":"4GB","object":"option"},{"id":5,"description":"Server
-        with 8GB RAM","name":"8GB","object":"option"},{"id":8,"description":"Server
-        with 16GB RAM","name":"16GB","object":"option"},{"id":9,"description":"Server
-        with 24GB RAM","name":"24GB","object":"option"}]}'
+      Date: 
+      - Sat, 25 Aug 2012 00:34:59 GMT
+      Set-Cookie: 
+      - JSESSIONID=557E2BE1E73B232041D0CAC2EE48F5D2; Path=/api; Secure
+      X-Mashery-Responder: 
+      - mashery-web2-lax.mashery.com
+    body: 
+      string: "{\"summary\":{\"total\":7,\"start\":0,\"numpages\":0,\"returned\":7},\"status\":\"success\",\"method\":\"/common/lookup/list\",\"list\":[{\"id\":1,\"description\":\"Server with 512MB RAM\",\"name\":\"512MB\",\"object\":\"option\"},{\"id\":2,\"description\":\"Server with 1GB RAM\",\"name\":\"1GB\",\"object\":\"option\"},{\"id\":3,\"description\":\"Server with 2GB RAM\",\"name\":\"2GB\",\"object\":\"option\"},{\"id\":4,\"description\":\"Server with 4GB RAM\",\"name\":\"4GB\",\"object\":\"option\"},{\"id\":5,\"description\":\"Server with 8GB RAM\",\"name\":\"8GB\",\"object\":\"option\"},{\"id\":8,\"description\":\"Server with 16GB RAM\",\"name\":\"16GB\",\"object\":\"option\"},{\"id\":9,\"description\":\"Server with 24GB RAM\",\"name\":\"24GB\",\"object\":\"option\"}]}"
     http_version: 
-  recorded_at: Thu, 23 Aug 2012 11:58:00 GMT
-recorded_with: VCR 2.2.4
+  recorded_at: Sat, 25 Aug 2012 00:34:59 GMT


Mime
View raw message