deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@apache.org
Subject [7/15] Gogrid tests: use credentials from config file
Date Tue, 28 Aug 2012 00:16:54 GMT
http://git-wip-us.apache.org/repos/asf/deltacloud/blob/f6778198/server/tests/drivers/gogrid/fixtures/test_0003_must_allow_to_filter_instances.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/gogrid/fixtures/test_0003_must_allow_to_filter_instances.yml b/server/tests/drivers/gogrid/fixtures/test_0003_must_allow_to_filter_instances.yml
index 808893c..2a3980f 100644
--- a/server/tests/drivers/gogrid/fixtures/test_0003_must_allow_to_filter_instances.yml
+++ b/server/tests/drivers/gogrid/fixtures/test_0003_must_allow_to_filter_instances.yml
@@ -1,605 +1,170 @@
----
-http_interactions:
-- request:
+--- 
+recorded_with: VCR 2.2.4
+http_interactions: 
+- request: 
     method: get
-    uri: https://api.gogrid.com/api/grid/server/get?api_key=9bbf139b8b57d967&format=json&name=test&sig=65def4a564c4fabc70570d1bf8a8f07d&v=1.9
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - Ruby
-  response:
-    status:
+    uri: https://api.gogrid.com/api/grid/server/get?api_key=b5e87458eb2d3297&format=json&name=test-instance&sig=627faa5e6c400788c690532f7f54f42e&v=1.9
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
       code: 400
       message: Bad Request
-    headers:
-      Connection:
-      - close
-      - close
-      X-Mashery-Responder:
-      - mashery-web2-lax.mashery.com
-      Server:
-      - Apache-Coyote/1.1
-      Set-Cookie:
-      - JSESSIONID=E249CA49F723BC9FCBB8EC0622D65F30; Path=/api; Secure
-      Date:
-      - Thu, 23 Aug 2012 12:12:51 GMT
-      Accept-Ranges:
+    headers: 
+      Content-Length: 
+      - "222"
+      Accept-Ranges: 
       - bytes
-      Content-Length:
-      - '222'
-      Content-Type:
-      - text/html
-    body:
-      encoding: US-ASCII
-      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: Thu, 23 Aug 2012 12:12:00 GMT
-- request:
-    method: get
-    uri: https://api.gogrid.com/api/grid/server/list?api_key=9bbf139b8b57d967&format=json&sig=65def4a564c4fabc70570d1bf8a8f07d&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=CA63FF8832B5C3F3F1803225FA1F47D1; Path=/api; Secure
-      Date:
-      - Thu, 23 Aug 2012 12:12:52 GMT
-      Accept-Ranges:
-      - bytes
-      Content-Length:
-      - '2744'
-      Content-Type:
+      Content-Type: 
       - text/html
-    body:
-      encoding: US-ASCII
-      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"},"description":"testdesc","name":"test","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":1656767,"subnet":"173.204.26.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.204.26.114"}}]}'
-    http_version: 
-  recorded_at: Thu, 23 Aug 2012 12:12:00 GMT
-- request:
-    method: get
-    uri: https://api.gogrid.com/api/grid/server/get?api_key=9bbf139b8b57d967&format=json&name=test&sig=65def4a564c4fabc70570d1bf8a8f07d&v=1.9
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - Ruby
-  response:
-    status:
-      code: 400
-      message: Bad Request
-    headers:
-      Connection:
+      Connection: 
       - close
       - close
-      X-Mashery-Responder:
-      - mashery-web4-lax.mashery.com
-      Server:
-      - Apache-Coyote/1.1
-      Set-Cookie:
-      - JSESSIONID=97D1CFF4141134F083A2313B07131C26; Path=/api; Secure
-      Date:
-      - Thu, 23 Aug 2012 12:12:53 GMT
-      Accept-Ranges:
-      - bytes
-      Content-Length:
-      - '222'
-      Content-Type:
-      - text/html
-    body:
-      encoding: US-ASCII
-      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"}]}'
+      Date: 
+      - Sat, 25 Aug 2012 00:35:25 GMT
+      Set-Cookie: 
+      - JSESSIONID=24551DCD361D7828B346E9778319254C; 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: Thu, 23 Aug 2012 12:12:00 GMT
-- request:
+  recorded_at: Sat, 25 Aug 2012 00:35:26 GMT
+- request: 
     method: get
-    uri: https://api.gogrid.com/api/grid/server/list?api_key=9bbf139b8b57d967&format=json&sig=65def4a564c4fabc70570d1bf8a8f07d&v=1.9
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - Ruby
-  response:
-    status:
+    uri: https://api.gogrid.com/api/grid/server/list?api_key=b5e87458eb2d3297&format=json&sig=627faa5e6c400788c690532f7f54f42e&v=1.9
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Connection:
-      - close
-      X-Mashery-Responder:
-      - mashery-web1-lax.mashery.com
-      Server:
-      - Apache-Coyote/1.1
-      Set-Cookie:
-      - JSESSIONID=E9ECC12EC528F7E1B131D5C5EF46F924; Path=/api; Secure
-      Date:
-      - Thu, 23 Aug 2012 12:12:55 GMT
-      Accept-Ranges:
+    headers: 
+      Content-Length: 
+      - "2726"
+      Accept-Ranges: 
       - bytes
-      Content-Length:
-      - '2744'
-      Content-Type:
-      - text/html
-    body:
-      encoding: US-ASCII
-      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"},"description":"testdesc","name":"test","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":1656767,"subnet":"173.204.26.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.204.26.114"}}]}'
-    http_version: 
-  recorded_at: Thu, 23 Aug 2012 12:12:00 GMT
-- request:
-    method: get
-    uri: https://api.gogrid.com/api/grid/server/get?api_key=9bbf139b8b57d967&format=json&name=test&sig=65def4a564c4fabc70570d1bf8a8f07d&v=1.9
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - Ruby
-  response:
-    status:
-      code: 400
-      message: Bad Request
-    headers:
-      Connection:
-      - close
-      - close
-      X-Mashery-Responder:
-      - mashery-web4-lax.mashery.com
-      Server:
+      Server: 
       - Apache-Coyote/1.1
-      Set-Cookie:
-      - JSESSIONID=F2ABA041386A54971485549E912FE679; Path=/api; Secure
-      Date:
-      - Thu, 23 Aug 2012 12:12:56 GMT
-      Accept-Ranges:
-      - bytes
-      Content-Length:
-      - '222'
-      Content-Type:
+      Content-Type: 
       - text/html
-    body:
-      encoding: US-ASCII
-      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"}]}'
+      Connection: 
+      - close
+      Date: 
+      - Sat, 25 Aug 2012 00:35:27 GMT
+      Set-Cookie: 
+      - JSESSIONID=07CA48198C2356435A934773F1A76561; 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: Thu, 23 Aug 2012 12:12:00 GMT
-- request:
+  recorded_at: Sat, 25 Aug 2012 00:35:28 GMT
+- request: 
     method: get
-    uri: https://api.gogrid.com/api/grid/server/list?api_key=9bbf139b8b57d967&format=json&sig=65def4a564c4fabc70570d1bf8a8f07d&v=1.9
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - Ruby
-  response:
-    status:
+    uri: https://api.gogrid.com/api/grid/server/list?api_key=b5e87458eb2d3297&format=json&sig=5649a684bb95149586af0e31a67d4d31&v=1.9
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Connection:
-      - close
-      X-Mashery-Responder:
-      - mashery-web4-lax.mashery.com
-      Server:
-      - Apache-Coyote/1.1
-      Set-Cookie:
-      - JSESSIONID=F388350646018A526ACDC406D03080C7; Path=/api; Secure
-      Date:
-      - Thu, 23 Aug 2012 12:12:57 GMT
-      Accept-Ranges:
+    headers: 
+      Content-Length: 
+      - "2726"
+      Accept-Ranges: 
       - bytes
-      Content-Length:
-      - '2744'
-      Content-Type:
+      Server: 
+      - Apache-Coyote/1.1
+      Content-Type: 
       - text/html
-    body:
-      encoding: US-ASCII
-      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"},"description":"testdesc","name":"test","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":1656767,"subnet":"173.204.26.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.204.26.114"}}]}'
+      Connection: 
+      - close
+      Date: 
+      - Sat, 25 Aug 2012 00:35:29 GMT
+      Set-Cookie: 
+      - JSESSIONID=375448C88000D3DEAA8B5A7D7B0919DC; 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: Thu, 23 Aug 2012 12:12:00 GMT
-- request:
+  recorded_at: Sat, 25 Aug 2012 00:35:29 GMT
+- request: 
     method: get
-    uri: https://api.gogrid.com/api/grid/server/get?api_key=9bbf139b8b57d967&format=json&name=test&sig=65def4a564c4fabc70570d1bf8a8f07d&v=1.9
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - Ruby
-  response:
-    status:
+    uri: https://api.gogrid.com/api/grid/server/get?api_key=b5e87458eb2d3297&format=json&name=unknown&sig=1ca54dea1649a4c7fe3e8d3b81a207d4&v=1.9
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
       code: 400
       message: Bad Request
-    headers:
-      Connection:
-      - close
-      - close
-      X-Mashery-Responder:
-      - mashery-web1-lax.mashery.com
-      Server:
-      - Apache-Coyote/1.1
-      Set-Cookie:
-      - JSESSIONID=05C544282D3F3E93CA2412CCA14EA262; Path=/api; Secure
-      Date:
-      - Thu, 23 Aug 2012 12:12:58 GMT
-      Accept-Ranges:
+    headers: 
+      Content-Length: 
+      - "222"
+      Accept-Ranges: 
       - bytes
-      Content-Length:
-      - '222'
-      Content-Type:
-      - text/html
-    body:
-      encoding: US-ASCII
-      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: Thu, 23 Aug 2012 12:12:00 GMT
-- request:
-    method: get
-    uri: https://api.gogrid.com/api/grid/server/list?api_key=9bbf139b8b57d967&format=json&sig=65def4a564c4fabc70570d1bf8a8f07d&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=B0D6D32EBF5C55E6EBF9ACFCA37E3772; Path=/api; Secure
-      Date:
-      - Thu, 23 Aug 2012 12:13:00 GMT
-      Accept-Ranges:
-      - bytes
-      Content-Length:
-      - '2744'
-      Content-Type:
+      Content-Type: 
       - text/html
-    body:
-      encoding: US-ASCII
-      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"},"description":"testdesc","name":"test","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":1656767,"subnet":"173.204.26.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.204.26.114"}}]}'
-    http_version: 
-  recorded_at: Thu, 23 Aug 2012 12:12:00 GMT
-- request:
-    method: get
-    uri: https://api.gogrid.com/api/grid/server/list?api_key=9bbf139b8b57d967&format=json&sig=65def4a564c4fabc70570d1bf8a8f07d&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-web2-lax.mashery.com
-      Server:
-      - Apache-Coyote/1.1
-      Set-Cookie:
-      - JSESSIONID=06AD4E88FE22E6F815922BD15B16FAF2; Path=/api; Secure
-      Date:
-      - Thu, 23 Aug 2012 12:13:44 GMT
-      Accept-Ranges:
-      - bytes
-      Content-Length:
-      - '2744'
-      Content-Type:
-      - text/html
-    body:
-      encoding: US-ASCII
-      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"},"description":"testdesc","name":"test","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":1656767,"subnet":"173.204.26.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.204.26.114"}}]}'
+      - close
+      Date: 
+      - Sat, 25 Aug 2012 00:35:30 GMT
+      Set-Cookie: 
+      - JSESSIONID=ADFD1B23DF5881700D25B65D0AD0BF9E; 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: Thu, 23 Aug 2012 12:12:00 GMT
-- request:
+  recorded_at: Sat, 25 Aug 2012 00:35:30 GMT
+- request: 
     method: get
-    uri: https://api.gogrid.com/api/grid/server/list?api_key=9bbf139b8b57d967&format=json&sig=65def4a564c4fabc70570d1bf8a8f07d&v=1.9
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - Ruby
-  response:
-    status:
+    uri: https://api.gogrid.com/api/grid/server/list?api_key=b5e87458eb2d3297&format=json&sig=1ca54dea1649a4c7fe3e8d3b81a207d4&v=1.9
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Connection:
-      - close
-      X-Mashery-Responder:
-      - mashery-web1-lax.mashery.com
-      Server:
-      - Apache-Coyote/1.1
-      Set-Cookie:
-      - JSESSIONID=3D71559BAEE0622F083C7632194CACB3; Path=/api; Secure
-      Date:
-      - Thu, 23 Aug 2012 12:13:45 GMT
-      Accept-Ranges:
+    headers: 
+      Content-Length: 
+      - "2726"
+      Accept-Ranges: 
       - bytes
-      Content-Length:
-      - '2744'
-      Content-Type:
-      - text/html
-    body:
-      encoding: US-ASCII
-      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"},"description":"testdesc","name":"test","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":1656767,"subnet":"173.204.26.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.204.26.114"}}]}'
-    http_version: 
-  recorded_at: Thu, 23 Aug 2012 12:12:00 GMT
-- request:
-    method: get
-    uri: https://api.gogrid.com/api/grid/server/get?api_key=9bbf139b8b57d967&format=json&name=unknown&sig=65def4a564c4fabc70570d1bf8a8f07d&v=1.9
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - Ruby
-  response:
-    status:
-      code: 400
-      message: Bad Request
-    headers:
-      Connection:
-      - close
-      - close
-      X-Mashery-Responder:
-      - mashery-web2-lax.mashery.com
-      Server:
+      Server: 
       - Apache-Coyote/1.1
-      Set-Cookie:
-      - JSESSIONID=48782C472765C4F133DD73E174110263; Path=/api; Secure
-      Date:
-      - Thu, 23 Aug 2012 12:13:47 GMT
-      Accept-Ranges:
-      - bytes
-      Content-Length:
-      - '222'
-      Content-Type:
+      Content-Type: 
       - text/html
-    body:
-      encoding: US-ASCII
-      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: Thu, 23 Aug 2012 12:12:00 GMT
-- request:
-    method: get
-    uri: https://api.gogrid.com/api/grid/server/list?api_key=9bbf139b8b57d967&format=json&sig=65def4a564c4fabc70570d1bf8a8f07d&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:35:30 GMT
+      Set-Cookie: 
+      - JSESSIONID=6F8966730A9B6D967E1D66CE272F12B2; Path=/api; Secure
+      X-Mashery-Responder: 
       - mashery-web1-lax.mashery.com
-      Server:
-      - Apache-Coyote/1.1
-      Set-Cookie:
-      - JSESSIONID=64C73A31EF6EA5B97F3FB744D28550EC; Path=/api; Secure
-      Date:
-      - Thu, 23 Aug 2012 12:13:49 GMT
-      Accept-Ranges:
-      - bytes
-      Content-Length:
-      - '2808'
-      Content-Type:
-      - text/html
-    body:
-      encoding: US-ASCII
-      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"},"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":"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":1656767,"subnet":"173.204.26.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.204.26.114"},"id":386143,"ram":{"id":1,"description":"Server
-        with 512MB RAM","name":"512MB","object":"option"},"description":"testdesc","name":"test","isSandbox":false,"diskSize":25600}]}'
+    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: Thu, 23 Aug 2012 12:12:00 GMT
-recorded_with: VCR 2.2.4
+  recorded_at: Sat, 25 Aug 2012 00:35:31 GMT

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/f6778198/server/tests/drivers/gogrid/fixtures/test_0003_must_allow_to_filter_realms.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/gogrid/fixtures/test_0003_must_allow_to_filter_realms.yml b/server/tests/drivers/gogrid/fixtures/test_0003_must_allow_to_filter_realms.yml
index 54c0b3c..881b360 100644
--- a/server/tests/drivers/gogrid/fixtures/test_0003_must_allow_to_filter_realms.yml
+++ b/server/tests/drivers/gogrid/fixtures/test_0003_must_allow_to_filter_realms.yml
@@ -1,243 +1,201 @@
----
-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=ip.datacenter&sig=87793253b9792183251c078d84eaef1c&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=ip.datacenter&sig=7f563f3e54a3a3edad906c128c486d10&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=87A459B42A77DC20FBC140BCD534F88B; Path=/api; Secure
-      Date:
-      - Thu, 23 Aug 2012 11:31:56 GMT
-      Accept-Ranges:
+    headers: 
+      Content-Length: 
+      - "367"
+      Accept-Ranges: 
       - bytes
-      Content-Length:
-      - '367'
-      Content-Type:
+      Server: 
+      - Apache-Coyote/1.1
+      Content-Type: 
       - text/html
-    body:
-      encoding: US-ASCII
-      string: ! '{"summary":{"total":3,"start":0,"numpages":0,"returned":3},"status":"success","method":"/common/lookup/list","list":[{"id":1,"description":"US
-        West 1 Datacenter","name":"US-West-1","object":"option"},{"id":2,"description":"US
-        East 1 Datacenter","name":"US-East-1","object":"option"},{"id":3,"description":"EU-West-1
-        Datacenter","name":"EU-West-1","object":"option"}]}'
+      Connection: 
+      - close
+      Date: 
+      - Sat, 25 Aug 2012 00:35:40 GMT
+      Set-Cookie: 
+      - JSESSIONID=FECD9B7256B8D69B61B69D4E74BB1649; Path=/api; Secure
+      X-Mashery-Responder: 
+      - mashery-web3-lax.mashery.com
+    body: 
+      string: "{\"summary\":{\"total\":3,\"start\":0,\"numpages\":0,\"returned\":3},\"status\":\"success\",\"method\":\"/common/lookup/list\",\"list\":[{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},{\"id\":2,\"description\":\"US East 1 Datacenter\",\"name\":\"US-East-1\",\"object\":\"option\"},{\"id\":3,\"description\":\"EU-West-1 Datacenter\",\"name\":\"EU-West-1\",\"object\":\"option\"}]}"
     http_version: 
-  recorded_at: Thu, 23 Aug 2012 11:30:00 GMT
-- request:
+  recorded_at: Sat, 25 Aug 2012 00:35:40 GMT
+- request: 
     method: get
-    uri: https://api.gogrid.com/api/common/lookup/list?api_key=9bbf139b8b57d967&format=json&lookup=ip.datacenter&sig=87793253b9792183251c078d84eaef1c&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=ip.datacenter&sig=7f563f3e54a3a3edad906c128c486d10&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=BD487E1A0FC60197BD19AF400F45559D; Path=/api; Secure
-      Date:
-      - Thu, 23 Aug 2012 11:31:58 GMT
-      Accept-Ranges:
+    headers: 
+      Content-Length: 
+      - "367"
+      Accept-Ranges: 
       - bytes
-      Content-Length:
-      - '367'
-      Content-Type:
+      Server: 
+      - Apache-Coyote/1.1
+      Content-Type: 
       - text/html
-    body:
-      encoding: US-ASCII
-      string: ! '{"summary":{"total":3,"start":0,"numpages":0,"returned":3},"status":"success","method":"/common/lookup/list","list":[{"id":1,"description":"US
-        West 1 Datacenter","name":"US-West-1","object":"option"},{"id":2,"description":"US
-        East 1 Datacenter","name":"US-East-1","object":"option"},{"id":3,"description":"EU-West-1
-        Datacenter","name":"EU-West-1","object":"option"}]}'
+      Connection: 
+      - close
+      Date: 
+      - Sat, 25 Aug 2012 00:35:40 GMT
+      Set-Cookie: 
+      - JSESSIONID=E98202AB7F15D9D6DBF617BE61B416DB; Path=/api; Secure
+      X-Mashery-Responder: 
+      - mashery-web1-lax.mashery.com
+    body: 
+      string: "{\"summary\":{\"total\":3,\"start\":0,\"numpages\":0,\"returned\":3},\"status\":\"success\",\"method\":\"/common/lookup/list\",\"list\":[{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},{\"id\":2,\"description\":\"US East 1 Datacenter\",\"name\":\"US-East-1\",\"object\":\"option\"},{\"id\":3,\"description\":\"EU-West-1 Datacenter\",\"name\":\"EU-West-1\",\"object\":\"option\"}]}"
     http_version: 
-  recorded_at: Thu, 23 Aug 2012 11:30:00 GMT
-- request:
+  recorded_at: Sat, 25 Aug 2012 00:35:40 GMT
+- request: 
     method: get
-    uri: https://api.gogrid.com/api/common/lookup/list?api_key=9bbf139b8b57d967&format=json&lookup=ip.datacenter&sig=87793253b9792183251c078d84eaef1c&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=ip.datacenter&sig=258b684edb894625c558da66fab6ab0c&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=CD7452BF9BBD9FAE2DA8ABCAF574D67D; Path=/api; Secure
-      Date:
-      - Thu, 23 Aug 2012 11:31:59 GMT
-      Accept-Ranges:
+    headers: 
+      Content-Length: 
+      - "367"
+      Accept-Ranges: 
       - bytes
-      Content-Length:
-      - '367'
-      Content-Type:
+      Server: 
+      - Apache-Coyote/1.1
+      Content-Type: 
       - text/html
-    body:
-      encoding: US-ASCII
-      string: ! '{"summary":{"total":3,"start":0,"numpages":0,"returned":3},"status":"success","method":"/common/lookup/list","list":[{"id":1,"description":"US
-        West 1 Datacenter","name":"US-West-1","object":"option"},{"id":2,"description":"US
-        East 1 Datacenter","name":"US-East-1","object":"option"},{"id":3,"description":"EU-West-1
-        Datacenter","name":"EU-West-1","object":"option"}]}'
+      Connection: 
+      - close
+      Date: 
+      - Sat, 25 Aug 2012 00:35:40 GMT
+      Set-Cookie: 
+      - JSESSIONID=E286A15A41C1E4F65FFE2F8FBC3DCE19; Path=/api; Secure
+      X-Mashery-Responder: 
+      - mashery-web2-lax.mashery.com
+    body: 
+      string: "{\"summary\":{\"total\":3,\"start\":0,\"numpages\":0,\"returned\":3},\"status\":\"success\",\"method\":\"/common/lookup/list\",\"list\":[{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},{\"id\":2,\"description\":\"US East 1 Datacenter\",\"name\":\"US-East-1\",\"object\":\"option\"},{\"id\":3,\"description\":\"EU-West-1 Datacenter\",\"name\":\"EU-West-1\",\"object\":\"option\"}]}"
     http_version: 
-  recorded_at: Thu, 23 Aug 2012 11:30:00 GMT
-- request:
+  recorded_at: Sat, 25 Aug 2012 00:35:40 GMT
+- request: 
     method: get
-    uri: https://api.gogrid.com/api/common/lookup/list?api_key=9bbf139b8b57d967&format=json&lookup=ip.datacenter&sig=87793253b9792183251c078d84eaef1c&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=ip.datacenter&sig=258b684edb894625c558da66fab6ab0c&v=1.9
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Connection:
-      - close
-      X-Mashery-Responder:
-      - mashery-web1-lax.mashery.com
-      Server:
-      - Apache-Coyote/1.1
-      Set-Cookie:
-      - JSESSIONID=7132D28B26D640FEC06CCA6DADAEAC61; Path=/api; Secure
-      Date:
-      - Thu, 23 Aug 2012 11:32:00 GMT
-      Accept-Ranges:
+    headers: 
+      Content-Length: 
+      - "367"
+      Accept-Ranges: 
       - bytes
-      Content-Length:
-      - '367'
-      Content-Type:
+      Server: 
+      - Apache-Coyote/1.1
+      Content-Type: 
       - text/html
-    body:
-      encoding: US-ASCII
-      string: ! '{"summary":{"total":3,"start":0,"numpages":0,"returned":3},"status":"success","method":"/common/lookup/list","list":[{"id":1,"description":"US
-        West 1 Datacenter","name":"US-West-1","object":"option"},{"id":2,"description":"US
-        East 1 Datacenter","name":"US-East-1","object":"option"},{"id":3,"description":"EU-West-1
-        Datacenter","name":"EU-West-1","object":"option"}]}'
+      Connection: 
+      - close
+      Date: 
+      - Sat, 25 Aug 2012 00:35:41 GMT
+      Set-Cookie: 
+      - JSESSIONID=6F638A658FF9B4508CEEB92E5DDE7E36; Path=/api; Secure
+      X-Mashery-Responder: 
+      - mashery-web2-lax.mashery.com
+    body: 
+      string: "{\"summary\":{\"total\":3,\"start\":0,\"numpages\":0,\"returned\":3},\"status\":\"success\",\"method\":\"/common/lookup/list\",\"list\":[{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},{\"id\":2,\"description\":\"US East 1 Datacenter\",\"name\":\"US-East-1\",\"object\":\"option\"},{\"id\":3,\"description\":\"EU-West-1 Datacenter\",\"name\":\"EU-West-1\",\"object\":\"option\"}]}"
     http_version: 
-  recorded_at: Thu, 23 Aug 2012 11:30:00 GMT
-- request:
+  recorded_at: Sat, 25 Aug 2012 00:35:41 GMT
+- request: 
     method: get
-    uri: https://api.gogrid.com/api/common/lookup/list?api_key=9bbf139b8b57d967&format=json&lookup=ip.datacenter&sig=87793253b9792183251c078d84eaef1c&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=ip.datacenter&sig=258b684edb894625c558da66fab6ab0c&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=588EFEE4070AE5F4F1A128B95AFE5EEB; Path=/api; Secure
-      Date:
-      - Thu, 23 Aug 2012 11:32:02 GMT
-      Accept-Ranges:
+    headers: 
+      Content-Length: 
+      - "367"
+      Accept-Ranges: 
       - bytes
-      Content-Length:
-      - '367'
-      Content-Type:
+      Server: 
+      - Apache-Coyote/1.1
+      Content-Type: 
       - text/html
-    body:
-      encoding: US-ASCII
-      string: ! '{"summary":{"total":3,"start":0,"numpages":0,"returned":3},"status":"success","method":"/common/lookup/list","list":[{"id":1,"description":"US
-        West 1 Datacenter","name":"US-West-1","object":"option"},{"id":2,"description":"US
-        East 1 Datacenter","name":"US-East-1","object":"option"},{"id":3,"description":"EU-West-1
-        Datacenter","name":"EU-West-1","object":"option"}]}'
+      Connection: 
+      - close
+      Date: 
+      - Sat, 25 Aug 2012 00:35:41 GMT
+      Set-Cookie: 
+      - JSESSIONID=2FCFE0A34C94EA98060B16C246C5F42B; Path=/api; Secure
+      X-Mashery-Responder: 
+      - mashery-web1-lax.mashery.com
+    body: 
+      string: "{\"summary\":{\"total\":3,\"start\":0,\"numpages\":0,\"returned\":3},\"status\":\"success\",\"method\":\"/common/lookup/list\",\"list\":[{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},{\"id\":2,\"description\":\"US East 1 Datacenter\",\"name\":\"US-East-1\",\"object\":\"option\"},{\"id\":3,\"description\":\"EU-West-1 Datacenter\",\"name\":\"EU-West-1\",\"object\":\"option\"}]}"
     http_version: 
-  recorded_at: Thu, 23 Aug 2012 11:30:00 GMT
-- request:
+  recorded_at: Sat, 25 Aug 2012 00:35:41 GMT
+- request: 
     method: get
-    uri: https://api.gogrid.com/api/common/lookup/list?api_key=9bbf139b8b57d967&format=json&lookup=ip.datacenter&sig=87793253b9792183251c078d84eaef1c&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=ip.datacenter&sig=a06a8ddc77cef893f61c800ebe34691e&v=1.9
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Connection:
-      - close
-      X-Mashery-Responder:
-      - mashery-web1-lax.mashery.com
-      Server:
-      - Apache-Coyote/1.1
-      Set-Cookie:
-      - JSESSIONID=29F64E3F091EF32E93433262E565E042; Path=/api; Secure
-      Date:
-      - Thu, 23 Aug 2012 11:32:04 GMT
-      Accept-Ranges:
+    headers: 
+      Content-Length: 
+      - "367"
+      Accept-Ranges: 
       - bytes
-      Content-Length:
-      - '367'
-      Content-Type:
+      Server: 
+      - Apache-Coyote/1.1
+      Content-Type: 
       - text/html
-    body:
-      encoding: US-ASCII
-      string: ! '{"summary":{"total":3,"start":0,"numpages":0,"returned":3},"status":"success","method":"/common/lookup/list","list":[{"id":1,"description":"US
-        West 1 Datacenter","name":"US-West-1","object":"option"},{"id":2,"description":"US
-        East 1 Datacenter","name":"US-East-1","object":"option"},{"id":3,"description":"EU-West-1
-        Datacenter","name":"EU-West-1","object":"option"}]}'
+      Connection: 
+      - close
+      Date: 
+      - Sat, 25 Aug 2012 00:35:42 GMT
+      Set-Cookie: 
+      - JSESSIONID=736BBBEA4B5793545BDF45FABE8C6986; Path=/api; Secure
+      X-Mashery-Responder: 
+      - mashery-web4-lax.mashery.com
+    body: 
+      string: "{\"summary\":{\"total\":3,\"start\":0,\"numpages\":0,\"returned\":3},\"status\":\"success\",\"method\":\"/common/lookup/list\",\"list\":[{\"id\":1,\"description\":\"US West 1 Datacenter\",\"name\":\"US-West-1\",\"object\":\"option\"},{\"id\":2,\"description\":\"US East 1 Datacenter\",\"name\":\"US-East-1\",\"object\":\"option\"},{\"id\":3,\"description\":\"EU-West-1 Datacenter\",\"name\":\"EU-West-1\",\"object\":\"option\"}]}"
     http_version: 
-  recorded_at: Thu, 23 Aug 2012 11:30:00 GMT
-recorded_with: VCR 2.2.4
+  recorded_at: Sat, 25 Aug 2012 00:35:42 GMT


Mime
View raw message