deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject [7/34] Fixed RHEV-M fixtures to work under Ruby 1.8
Date Fri, 09 Nov 2012 09:06:25 GMT
http://git-wip-us.apache.org/repos/asf/deltacloud/blob/34f04026/server/tests/drivers/rhevm/fixtures/test_0003_must_switch_realms_when_switching_between_different_clusters.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/rhevm/fixtures/test_0003_must_switch_realms_when_switching_between_different_clusters.yml
b/server/tests/drivers/rhevm/fixtures/test_0003_must_switch_realms_when_switching_between_different_clusters.yml
index 1cc6624..26ba427 100644
--- a/server/tests/drivers/rhevm/fixtures/test_0003_must_switch_realms_when_switching_between_different_clusters.yml
+++ b/server/tests/drivers/rhevm/fixtures/test_0003_must_switch_realms_when_switching_between_different_clusters.yml
@@ -1,461 +1,463 @@
----
-http_interactions:
-- request:
+--- 
+http_interactions: 
+- request: 
     method: get
     uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/datacenters?search=
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - application/xml
-      Accept-Encoding:
+    body: 
+      string: ""
+    headers: 
+      Accept-Encoding: 
       - gzip, deflate
-      Content-Type:
+      Accept: 
+      - application/xml
+      Content-Type: 
       - application/xml
-      User-Agent:
-      - Ruby
-  response:
-    status:
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:16:52 GMT
-      Pragma:
-      - No-cache
-      Cache-Control:
+    headers: 
+      Cache-Control: 
       - no-cache
-      Expires:
+      Set-Cookie: 
+      - JSESSIONID=7I8Js3lRyvAfGJ8vGED0PGvE; Path=/api; Secure
+      Expires: 
       - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=Lx48WcOnTVPxzmjdXse16MHr; Path=/api; Secure
-      Content-Type:
-      - application/xml
-      Content-Length:
-      - '923'
-      Connection:
+      Date: 
+      - Fri, 09 Nov 2012 08:55:01 GMT
+      Connection: 
       - close
-    body:
-      encoding: US-ASCII
-      string: !ruby/string
-        str: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<data_centers>\n
-          \   <data_center href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a\"
-          id=\"9df72b84-0234-11e2-9b87-9386d9b09d4a\">\n        <name>Default</name>\n
-          \       <description>The default Data Center</description>\n      
 <link
-          href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/storagedomains\"
-          rel=\"storagedomains\"/>\n        <link href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/permissions\"
-          rel=\"permissions\"/>\n        <link href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/quotas\"
-          rel=\"quotas\"/>\n        <storage_type>nfs</storage_type>\n   
    <storage_format>v3</storage_format>\n
-          \       <version major=\"3\" minor=\"1\"/>\n        <supported_versions>\n
-          \           <version major=\"3\" minor=\"1\"/>\n        </supported_versions>\n
-          \       <status>\n            <state>up</state>\n        </status>\n
   </data_center>\n</data_centers>\n"
-        net_http_res: &34330360 !ruby/object:Net::HTTPOK
-          http_version: '1.0'
-          code: '200'
-          message: OK
-          header:
-            date:
-            - Wed, 07 Nov 2012 15:16:52 GMT
-            pragma:
-            - No-cache
-            cache-control:
-            - no-cache
-            expires:
-            - Thu, 01 Jan 1970 01:00:00 CET
-            set-cookie:
-            - JSESSIONID=Lx48WcOnTVPxzmjdXse16MHr; Path=/api; Secure
-            content-type:
-            - application/xml
-            content-length:
-            - '923'
-            connection:
-            - close
-          body: !ruby/string
-            str: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<data_centers>\n
-              \   <data_center href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a\"
-              id=\"9df72b84-0234-11e2-9b87-9386d9b09d4a\">\n        <name>Default</name>\n
-              \       <description>The default Data Center</description>\n  
     <link
-              href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/storagedomains\"
-              rel=\"storagedomains\"/>\n        <link href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/permissions\"
-              rel=\"permissions\"/>\n        <link href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/quotas\"
-              rel=\"quotas\"/>\n        <storage_type>nfs</storage_type>\n
       <storage_format>v3</storage_format>\n
-              \       <version major=\"3\" minor=\"1\"/>\n        <supported_versions>\n
-              \           <version major=\"3\" minor=\"1\"/>\n        </supported_versions>\n
-              \       <status>\n            <state>up</state>\n       
</status>\n
-              \   </data_center>\n</data_centers>\n"
-            net_http_res: *34330360
-            args: &33511140
-              :method: :get
-              :url: https://dell-per610-02.lab.eng.brq.redhat.com/api/datacenters?search=
-              :headers:
-                :content_type: application/xml
-                :accept: application/xml
-                :authorization: Basic YWRtaW5AaW50ZXJuYWw6cmVkaGF0
-            code: 200
-          read: true
-          __read_body_previously_called: true
-        args: *33511140
-        code: 200
+      Content-Length: 
+      - "923"
+      Pragma: 
+      - No-cache
+      Content-Type: 
+      - application/xml
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+        <data_centers>
+            <data_center href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a"
id="9df72b84-0234-11e2-9b87-9386d9b09d4a">
+                <name>Default</name>
+                <description>The default Data Center</description>
+                <link href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/storagedomains"
rel="storagedomains"/>
+                <link href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/permissions"
rel="permissions"/>
+                <link href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/quotas"
rel="quotas"/>
+                <storage_type>nfs</storage_type>
+                <storage_format>v3</storage_format>
+                <version major="3" minor="1"/>
+                <supported_versions>
+                    <version major="3" minor="1"/>
+                </supported_versions>
+                <status>
+                    <state>up</state>
+                </status>
+            </data_center>
+        </data_centers>
+
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:16:54 GMT
-- request:
+  recorded_at: Fri, 09 Nov 2012 08:55:02 GMT
+- request: 
     method: get
     uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/datacenters?search=
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - application/xml
-      Accept-Encoding:
+    body: 
+      string: ""
+    headers: 
+      Accept-Encoding: 
       - gzip, deflate
-      Content-Type:
+      Accept: 
+      - application/xml
+      Content-Type: 
       - application/xml
-      User-Agent:
-      - Ruby
-  response:
-    status:
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:17:45 GMT
-      Pragma:
-      - No-cache
-      Cache-Control:
+    headers: 
+      Cache-Control: 
       - no-cache
-      Expires:
+      Set-Cookie: 
+      - JSESSIONID=phR55Gz6IscqRu2+uzs2yBcu; Path=/api; Secure
+      Expires: 
       - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=UT2mIQWBMD4K1XEOK5NqrBlB; Path=/api; Secure
-      Content-Type:
-      - application/xml
-      Content-Length:
-      - '923'
-      Connection:
+      Date: 
+      - Fri, 09 Nov 2012 08:55:01 GMT
+      Connection: 
       - close
-    body:
-      encoding: US-ASCII
-      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<data_centers>\n
-        \   <data_center href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a\"
-        id=\"9df72b84-0234-11e2-9b87-9386d9b09d4a\">\n        <name>Default</name>\n
-        \       <description>The default Data Center</description>\n        <link
-        href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/storagedomains\"
-        rel=\"storagedomains\"/>\n        <link href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/permissions\"
-        rel=\"permissions\"/>\n        <link href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/quotas\"
-        rel=\"quotas\"/>\n        <storage_type>nfs</storage_type>\n     
  <storage_format>v3</storage_format>\n
-        \       <version major=\"3\" minor=\"1\"/>\n        <supported_versions>\n
-        \           <version major=\"3\" minor=\"1\"/>\n        </supported_versions>\n
-        \       <status>\n            <state>up</state>\n        </status>\n
   </data_center>\n</data_centers>\n"
+      Content-Length: 
+      - "923"
+      Pragma: 
+      - No-cache
+      Content-Type: 
+      - application/xml
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+        <data_centers>
+            <data_center href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a"
id="9df72b84-0234-11e2-9b87-9386d9b09d4a">
+                <name>Default</name>
+                <description>The default Data Center</description>
+                <link href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/storagedomains"
rel="storagedomains"/>
+                <link href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/permissions"
rel="permissions"/>
+                <link href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/quotas"
rel="quotas"/>
+                <storage_type>nfs</storage_type>
+                <storage_format>v3</storage_format>
+                <version major="3" minor="1"/>
+                <supported_versions>
+                    <version major="3" minor="1"/>
+                </supported_versions>
+                <status>
+                    <state>up</state>
+                </status>
+            </data_center>
+        </data_centers>
+
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:17:46 GMT
-- request:
+  recorded_at: Fri, 09 Nov 2012 08:55:02 GMT
+- request: 
     method: get
     uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - application/xml
-      Accept-Encoding:
+    body: 
+      string: ""
+    headers: 
+      Accept-Encoding: 
       - gzip, deflate
-      Content-Type:
+      Accept: 
+      - application/xml
+      Content-Type: 
       - application/xml
-      User-Agent:
-      - Ruby
-  response:
-    status:
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:17:45 GMT
-      Pragma:
-      - No-cache
-      Cache-Control:
+    headers: 
+      Cache-Control: 
       - no-cache
-      Expires:
+      Set-Cookie: 
+      - JSESSIONID=i2tkBc5kcSRrVgCTVRKfwoZx; Path=/api; Secure
+      Expires: 
       - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=YJm39BPHvq9evheSgdV3Vb79; Path=/api; Secure
-      Content-Type:
-      - application/xml
-      Content-Length:
-      - '828'
-      Connection:
+      Date: 
+      - Fri, 09 Nov 2012 08:55:01 GMT
+      Connection: 
       - close
-    body:
-      encoding: US-ASCII
-      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<data_center
-        href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a\" id=\"9df72b84-0234-11e2-9b87-9386d9b09d4a\">\n
-        \   <name>Default</name>\n    <description>The default Data Center</description>\n
-        \   <link href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/storagedomains\"
-        rel=\"storagedomains\"/>\n    <link href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/permissions\"
-        rel=\"permissions\"/>\n    <link href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/quotas\"
-        rel=\"quotas\"/>\n    <storage_type>nfs</storage_type>\n    <storage_format>v3</storage_format>\n
-        \   <version major=\"3\" minor=\"1\"/>\n    <supported_versions>\n  
     <version
-        major=\"3\" minor=\"1\"/>\n    </supported_versions>\n    <status>\n
       <state>up</state>\n
-        \   </status>\n</data_center>\n"
+      Content-Length: 
+      - "828"
+      Pragma: 
+      - No-cache
+      Content-Type: 
+      - application/xml
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+        <data_center href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a" id="9df72b84-0234-11e2-9b87-9386d9b09d4a">
+            <name>Default</name>
+            <description>The default Data Center</description>
+            <link href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/storagedomains"
rel="storagedomains"/>
+            <link href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/permissions"
rel="permissions"/>
+            <link href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/quotas"
rel="quotas"/>
+            <storage_type>nfs</storage_type>
+            <storage_format>v3</storage_format>
+            <version major="3" minor="1"/>
+            <supported_versions>
+                <version major="3" minor="1"/>
+            </supported_versions>
+            <status>
+                <state>up</state>
+            </status>
+        </data_center>
+
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:17:46 GMT
-- request:
+  recorded_at: Fri, 09 Nov 2012 08:55:02 GMT
+- request: 
     method: get
     uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/clusters?search=datacenter=Default
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - application/xml
-      Accept-Encoding:
+    body: 
+      string: ""
+    headers: 
+      Accept-Encoding: 
       - gzip, deflate
-      Content-Type:
+      Accept: 
+      - application/xml
+      Content-Type: 
       - application/xml
-      User-Agent:
-      - Ruby
-  response:
-    status:
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:17:46 GMT
-      Pragma:
-      - No-cache
-      Cache-Control:
+    headers: 
+      Cache-Control: 
       - no-cache
-      Expires:
+      Set-Cookie: 
+      - JSESSIONID=ofw828HameEu9l5cpRI91P0w; Path=/api; Secure
+      Expires: 
       - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=9+ND-8on+R3gNKueZTnBEG4u; Path=/api; Secure
-      Content-Type:
-      - application/xml
-      Content-Length:
-      - '1232'
-      Connection:
+      Date: 
+      - Fri, 09 Nov 2012 08:55:02 GMT
+      Connection: 
       - close
-    body:
-      encoding: US-ASCII
-      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<clusters>\n
-        \   <cluster href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95\" id=\"99408929-82cf-4dc7-a532-9d998063fa95\">\n
-        \       <name>Default</name>\n        <description>The default
server cluster</description>\n
-        \       <link href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/networks\"
-        rel=\"networks\"/>\n        <link href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/permissions\"
-        rel=\"permissions\"/>\n        <link href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/glustervolumes\"
-        rel=\"glustervolumes\"/>\n        <cpu id=\"Intel Westmere Family\"/>\n
       <data_center
-        href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a\" id=\"9df72b84-0234-11e2-9b87-9386d9b09d4a\"/>\n
-        \       <memory_policy>\n            <overcommit percent=\"150\"/>\n
           <transparent_hugepages>\n
-        \               <enabled>true</enabled>\n            </transparent_hugepages>\n
-        \       </memory_policy>\n        <scheduling_policy/>\n        <version
major=\"3\"
-        minor=\"1\"/>\n        <error_handling>\n            <on_error>migrate</on_error>\n
-        \       </error_handling>\n        <virt_service>true</virt_service>\n
       <gluster_service>false</gluster_service>\n
-        \   </cluster>\n</clusters>\n"
+      Content-Length: 
+      - "1232"
+      Pragma: 
+      - No-cache
+      Content-Type: 
+      - application/xml
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+        <clusters>
+            <cluster href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95" id="99408929-82cf-4dc7-a532-9d998063fa95">
+                <name>Default</name>
+                <description>The default server cluster</description>
+                <link href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/networks"
rel="networks"/>
+                <link href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/permissions"
rel="permissions"/>
+                <link href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/glustervolumes"
rel="glustervolumes"/>
+                <cpu id="Intel Westmere Family"/>
+                <data_center href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a"
id="9df72b84-0234-11e2-9b87-9386d9b09d4a"/>
+                <memory_policy>
+                    <overcommit percent="150"/>
+                    <transparent_hugepages>
+                        <enabled>true</enabled>
+                    </transparent_hugepages>
+                </memory_policy>
+                <scheduling_policy/>
+                <version major="3" minor="1"/>
+                <error_handling>
+                    <on_error>migrate</on_error>
+                </error_handling>
+                <virt_service>true</virt_service>
+                <gluster_service>false</gluster_service>
+            </cluster>
+        </clusters>
+
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:17:47 GMT
-- request:
+  recorded_at: Fri, 09 Nov 2012 08:55:03 GMT
+- request: 
     method: get
     uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - application/xml
-      Accept-Encoding:
+    body: 
+      string: ""
+    headers: 
+      Accept-Encoding: 
       - gzip, deflate
-      Content-Type:
+      Accept: 
+      - application/xml
+      Content-Type: 
       - application/xml
-      User-Agent:
-      - Ruby
-  response:
-    status:
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:17:51 GMT
-      Pragma:
-      - No-cache
-      Cache-Control:
+    headers: 
+      Cache-Control: 
       - no-cache
-      Expires:
+      Set-Cookie: 
+      - JSESSIONID=OyPgNpDu5i+-MD0ltc3duUme; Path=/api; Secure
+      Expires: 
       - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=d52rOHxz1-OottKsf5VgCtek; Path=/api; Secure
-      Content-Type:
-      - application/xml
-      Content-Length:
-      - '828'
-      Connection:
+      Date: 
+      - Fri, 09 Nov 2012 08:55:02 GMT
+      Connection: 
       - close
-    body:
-      encoding: US-ASCII
-      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<data_center
-        href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a\" id=\"9df72b84-0234-11e2-9b87-9386d9b09d4a\">\n
-        \   <name>Default</name>\n    <description>The default Data Center</description>\n
-        \   <link href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/storagedomains\"
-        rel=\"storagedomains\"/>\n    <link href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/permissions\"
-        rel=\"permissions\"/>\n    <link href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/quotas\"
-        rel=\"quotas\"/>\n    <storage_type>nfs</storage_type>\n    <storage_format>v3</storage_format>\n
-        \   <version major=\"3\" minor=\"1\"/>\n    <supported_versions>\n  
     <version
-        major=\"3\" minor=\"1\"/>\n    </supported_versions>\n    <status>\n
       <state>up</state>\n
-        \   </status>\n</data_center>\n"
+      Content-Length: 
+      - "828"
+      Pragma: 
+      - No-cache
+      Content-Type: 
+      - application/xml
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+        <data_center href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a" id="9df72b84-0234-11e2-9b87-9386d9b09d4a">
+            <name>Default</name>
+            <description>The default Data Center</description>
+            <link href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/storagedomains"
rel="storagedomains"/>
+            <link href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/permissions"
rel="permissions"/>
+            <link href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/quotas"
rel="quotas"/>
+            <storage_type>nfs</storage_type>
+            <storage_format>v3</storage_format>
+            <version major="3" minor="1"/>
+            <supported_versions>
+                <version major="3" minor="1"/>
+            </supported_versions>
+            <status>
+                <state>up</state>
+            </status>
+        </data_center>
+
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:17:52 GMT
-- request:
+  recorded_at: Fri, 09 Nov 2012 08:55:03 GMT
+- request: 
     method: get
     uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - application/xml
-      Accept-Encoding:
+    body: 
+      string: ""
+    headers: 
+      Accept-Encoding: 
       - gzip, deflate
-      Content-Type:
+      Accept: 
+      - application/xml
+      Content-Type: 
       - application/xml
-      User-Agent:
-      - Ruby
-  response:
-    status:
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:17:52 GMT
-      Pragma:
-      - No-cache
-      Cache-Control:
+    headers: 
+      Cache-Control: 
       - no-cache
-      Expires:
+      Set-Cookie: 
+      - JSESSIONID=vUxfKOB8Ws0naBZLX3Vu1tM3; Path=/api; Secure
+      Expires: 
       - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=Tk+nO+d8IRhRs7ogL3u7XcX1; Path=/api; Secure
-      Content-Type:
-      - application/xml
-      Content-Length:
-      - '828'
-      Connection:
+      Date: 
+      - Fri, 09 Nov 2012 08:55:02 GMT
+      Connection: 
       - close
-    body:
-      encoding: US-ASCII
-      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<data_center
-        href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a\" id=\"9df72b84-0234-11e2-9b87-9386d9b09d4a\">\n
-        \   <name>Default</name>\n    <description>The default Data Center</description>\n
-        \   <link href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/storagedomains\"
-        rel=\"storagedomains\"/>\n    <link href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/permissions\"
-        rel=\"permissions\"/>\n    <link href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/quotas\"
-        rel=\"quotas\"/>\n    <storage_type>nfs</storage_type>\n    <storage_format>v3</storage_format>\n
-        \   <version major=\"3\" minor=\"1\"/>\n    <supported_versions>\n  
     <version
-        major=\"3\" minor=\"1\"/>\n    </supported_versions>\n    <status>\n
       <state>up</state>\n
-        \   </status>\n</data_center>\n"
+      Content-Length: 
+      - "828"
+      Pragma: 
+      - No-cache
+      Content-Type: 
+      - application/xml
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+        <data_center href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a" id="9df72b84-0234-11e2-9b87-9386d9b09d4a">
+            <name>Default</name>
+            <description>The default Data Center</description>
+            <link href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/storagedomains"
rel="storagedomains"/>
+            <link href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/permissions"
rel="permissions"/>
+            <link href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/quotas"
rel="quotas"/>
+            <storage_type>nfs</storage_type>
+            <storage_format>v3</storage_format>
+            <version major="3" minor="1"/>
+            <supported_versions>
+                <version major="3" minor="1"/>
+            </supported_versions>
+            <status>
+                <state>up</state>
+            </status>
+        </data_center>
+
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:17:53 GMT
-- request:
+  recorded_at: Fri, 09 Nov 2012 08:55:03 GMT
+- request: 
     method: get
     uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/clusters?search=datacenter=Default
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - application/xml
-      Accept-Encoding:
+    body: 
+      string: ""
+    headers: 
+      Accept-Encoding: 
       - gzip, deflate
-      Content-Type:
+      Accept: 
+      - application/xml
+      Content-Type: 
       - application/xml
-      User-Agent:
-      - Ruby
-  response:
-    status:
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:17:52 GMT
-      Pragma:
-      - No-cache
-      Cache-Control:
+    headers: 
+      Cache-Control: 
       - no-cache
-      Expires:
+      Set-Cookie: 
+      - JSESSIONID=y1oEQctjb-T8-hnltA+Pvqm4; Path=/api; Secure
+      Expires: 
       - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=od4zFU3pjWLkRTcsMziDlWJz; Path=/api; Secure
-      Content-Type:
-      - application/xml
-      Content-Length:
-      - '1232'
-      Connection:
+      Date: 
+      - Fri, 09 Nov 2012 08:55:03 GMT
+      Connection: 
       - close
-    body:
-      encoding: US-ASCII
-      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<clusters>\n
-        \   <cluster href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95\" id=\"99408929-82cf-4dc7-a532-9d998063fa95\">\n
-        \       <name>Default</name>\n        <description>The default
server cluster</description>\n
-        \       <link href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/networks\"
-        rel=\"networks\"/>\n        <link href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/permissions\"
-        rel=\"permissions\"/>\n        <link href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/glustervolumes\"
-        rel=\"glustervolumes\"/>\n        <cpu id=\"Intel Westmere Family\"/>\n
       <data_center
-        href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a\" id=\"9df72b84-0234-11e2-9b87-9386d9b09d4a\"/>\n
-        \       <memory_policy>\n            <overcommit percent=\"150\"/>\n
           <transparent_hugepages>\n
-        \               <enabled>true</enabled>\n            </transparent_hugepages>\n
-        \       </memory_policy>\n        <scheduling_policy/>\n        <version
major=\"3\"
-        minor=\"1\"/>\n        <error_handling>\n            <on_error>migrate</on_error>\n
-        \       </error_handling>\n        <virt_service>true</virt_service>\n
       <gluster_service>false</gluster_service>\n
-        \   </cluster>\n</clusters>\n"
+      Content-Length: 
+      - "1232"
+      Pragma: 
+      - No-cache
+      Content-Type: 
+      - application/xml
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+        <clusters>
+            <cluster href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95" id="99408929-82cf-4dc7-a532-9d998063fa95">
+                <name>Default</name>
+                <description>The default server cluster</description>
+                <link href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/networks"
rel="networks"/>
+                <link href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/permissions"
rel="permissions"/>
+                <link href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/glustervolumes"
rel="glustervolumes"/>
+                <cpu id="Intel Westmere Family"/>
+                <data_center href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a"
id="9df72b84-0234-11e2-9b87-9386d9b09d4a"/>
+                <memory_policy>
+                    <overcommit percent="150"/>
+                    <transparent_hugepages>
+                        <enabled>true</enabled>
+                    </transparent_hugepages>
+                </memory_policy>
+                <scheduling_policy/>
+                <version major="3" minor="1"/>
+                <error_handling>
+                    <on_error>migrate</on_error>
+                </error_handling>
+                <virt_service>true</virt_service>
+                <gluster_service>false</gluster_service>
+            </cluster>
+        </clusters>
+
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:17:53 GMT
-- request:
+  recorded_at: Fri, 09 Nov 2012 08:55:04 GMT
+- request: 
     method: get
     uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - application/xml
-      Accept-Encoding:
+    body: 
+      string: ""
+    headers: 
+      Accept-Encoding: 
       - gzip, deflate
-      Content-Type:
+      Accept: 
+      - application/xml
+      Content-Type: 
       - application/xml
-      User-Agent:
-      - Ruby
-  response:
-    status:
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:17:52 GMT
-      Pragma:
-      - No-cache
-      Cache-Control:
+    headers: 
+      Cache-Control: 
       - no-cache
-      Expires:
+      Set-Cookie: 
+      - JSESSIONID=HsLOTTbEN4skgq5c3es32wzb; Path=/api; Secure
+      Expires: 
       - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=euRGWEg4ZVOfXxcBiqwBQKit; Path=/api; Secure
-      Content-Type:
-      - application/xml
-      Content-Length:
-      - '828'
-      Connection:
+      Date: 
+      - Fri, 09 Nov 2012 08:55:03 GMT
+      Connection: 
       - close
-    body:
-      encoding: US-ASCII
-      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<data_center
-        href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a\" id=\"9df72b84-0234-11e2-9b87-9386d9b09d4a\">\n
-        \   <name>Default</name>\n    <description>The default Data Center</description>\n
-        \   <link href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/storagedomains\"
-        rel=\"storagedomains\"/>\n    <link href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/permissions\"
-        rel=\"permissions\"/>\n    <link href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/quotas\"
-        rel=\"quotas\"/>\n    <storage_type>nfs</storage_type>\n    <storage_format>v3</storage_format>\n
-        \   <version major=\"3\" minor=\"1\"/>\n    <supported_versions>\n  
     <version
-        major=\"3\" minor=\"1\"/>\n    </supported_versions>\n    <status>\n
       <state>up</state>\n
-        \   </status>\n</data_center>\n"
+      Content-Length: 
+      - "828"
+      Pragma: 
+      - No-cache
+      Content-Type: 
+      - application/xml
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+        <data_center href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a" id="9df72b84-0234-11e2-9b87-9386d9b09d4a">
+            <name>Default</name>
+            <description>The default Data Center</description>
+            <link href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/storagedomains"
rel="storagedomains"/>
+            <link href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/permissions"
rel="permissions"/>
+            <link href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/quotas"
rel="quotas"/>
+            <storage_type>nfs</storage_type>
+            <storage_format>v3</storage_format>
+            <version major="3" minor="1"/>
+            <supported_versions>
+                <version major="3" minor="1"/>
+            </supported_versions>
+            <status>
+                <state>up</state>
+            </status>
+        </data_center>
+
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:17:54 GMT
+  recorded_at: Fri, 09 Nov 2012 08:55:04 GMT
 recorded_with: VCR 2.2.5

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/34f04026/server/tests/drivers/rhevm/fixtures/test_0004_must_allow_to_retrieve_single_image.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/rhevm/fixtures/test_0004_must_allow_to_retrieve_single_image.yml
b/server/tests/drivers/rhevm/fixtures/test_0004_must_allow_to_retrieve_single_image.yml
index cc4f2c6..3654b54 100644
--- a/server/tests/drivers/rhevm/fixtures/test_0004_must_allow_to_retrieve_single_image.yml
+++ b/server/tests/drivers/rhevm/fixtures/test_0004_must_allow_to_retrieve_single_image.yml
@@ -2,49 +2,6 @@
 http_interactions:
 - request:
     method: get
-    uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - application/xml
-      Accept-Encoding:
-      - gzip, deflate
-      Content-Type:
-      - application/xml
-      User-Agent:
-      - Ruby
-  response:
-    status:
-      code: 404
-      message: Not Found
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:11:38 GMT
-      Content-Type:
-      - text/html;charset=utf-8
-      Content-Length:
-      - '976'
-      Connection:
-      - close
-    body:
-      encoding: US-ASCII
-      string: ! '<html><head><title>JBoss Web/7.0.16..Final-redhat-1 -
Error report</title><style><!--H1
-        {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
-        H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
-        H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
-        BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
-        B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
-        P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
-        {color : black;}A.name {color : black;}HR {color : #525D76;}--></style>
</head><body><h1>HTTP
-        Status 404 - </h1><HR size="1" noshade="noshade"><p><b>type</b>
Status report</p><p><b>message</b>
-        <u></u></p><p><b>description</b> <u>The
requested resource () is not available.</u></p><HR
-        size="1" noshade="noshade"><h3>JBoss Web/7.0.16..Final-redhat-1</h3></body></html>'
-    http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:11:39 GMT
-- request:
-    method: get
     uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5
     body:
       encoding: US-ASCII
@@ -64,7 +21,7 @@ http_interactions:
       message: OK
     headers:
       Date:
-      - Wed, 07 Nov 2012 15:13:32 GMT
+      - Fri, 09 Nov 2012 09:04:10 GMT
       Pragma:
       - No-cache
       Cache-Control:
@@ -72,7 +29,7 @@ http_interactions:
       Expires:
       - Thu, 01 Jan 1970 01:00:00 CET
       Set-Cookie:
-      - JSESSIONID=LY95ttAqsqEazqPRBWrsTWMb; Path=/api; Secure
+      - JSESSIONID=u++bAxgPuAQmvGu6ahAWlqln; Path=/api; Secure
       Content-Type:
       - application/xml
       Content-Length:
@@ -101,7 +58,7 @@ http_interactions:
         \   </display>\n    <stateless>false</stateless>\n    <usb>\n
       <enabled>false</enabled>\n
         \   </usb>\n</template>\n"
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:13:33 GMT
+  recorded_at: Fri, 09 Nov 2012 09:04:11 GMT
 - request:
     method: get
     uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5
@@ -123,7 +80,7 @@ http_interactions:
       message: OK
     headers:
       Date:
-      - Wed, 07 Nov 2012 15:13:32 GMT
+      - Fri, 09 Nov 2012 09:04:10 GMT
       Pragma:
       - No-cache
       Cache-Control:
@@ -131,7 +88,7 @@ http_interactions:
       Expires:
       - Thu, 01 Jan 1970 01:00:00 CET
       Set-Cookie:
-      - JSESSIONID=Ty4FAoqOQsqlXkCqWeYCPrKh; Path=/api; Secure
+      - JSESSIONID=nDEHBz081vRQA6AxrscXgll5; Path=/api; Secure
       Content-Type:
       - application/xml
       Content-Length:
@@ -160,7 +117,7 @@ http_interactions:
         \   </display>\n    <stateless>false</stateless>\n    <usb>\n
       <enabled>false</enabled>\n
         \   </usb>\n</template>\n"
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:13:33 GMT
+  recorded_at: Fri, 09 Nov 2012 09:04:11 GMT
 - request:
     method: get
     uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5
@@ -182,7 +139,7 @@ http_interactions:
       message: OK
     headers:
       Date:
-      - Wed, 07 Nov 2012 15:13:32 GMT
+      - Fri, 09 Nov 2012 09:04:10 GMT
       Pragma:
       - No-cache
       Cache-Control:
@@ -190,7 +147,7 @@ http_interactions:
       Expires:
       - Thu, 01 Jan 1970 01:00:00 CET
       Set-Cookie:
-      - JSESSIONID=QHa9eUHGg0TizejmWW6KykoM; Path=/api; Secure
+      - JSESSIONID=HMw1S5GoFxrCHdnRAOjUQTC2; Path=/api; Secure
       Content-Type:
       - application/xml
       Content-Length:
@@ -219,7 +176,7 @@ http_interactions:
         \   </display>\n    <stateless>false</stateless>\n    <usb>\n
       <enabled>false</enabled>\n
         \   </usb>\n</template>\n"
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:13:34 GMT
+  recorded_at: Fri, 09 Nov 2012 09:04:11 GMT
 - request:
     method: get
     uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/templates/ami-aaaaaaaa
@@ -241,7 +198,7 @@ http_interactions:
       message: Not Found
     headers:
       Date:
-      - Wed, 07 Nov 2012 15:13:33 GMT
+      - Fri, 09 Nov 2012 09:04:10 GMT
       Content-Type:
       - text/html;charset=utf-8
       Content-Length:
@@ -262,7 +219,7 @@ http_interactions:
         <u></u></p><p><b>description</b> <u>The
requested resource () is not available.</u></p><HR
         size="1" noshade="noshade"><h3>JBoss Web/7.0.16..Final-redhat-1</h3></body></html>'
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:13:34 GMT
+  recorded_at: Fri, 09 Nov 2012 09:04:11 GMT
 - request:
     method: get
     uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/templates/unknown
@@ -284,7 +241,7 @@ http_interactions:
       message: Not Found
     headers:
       Date:
-      - Wed, 07 Nov 2012 15:13:33 GMT
+      - Fri, 09 Nov 2012 09:04:11 GMT
       Content-Type:
       - text/html;charset=utf-8
       Content-Length:
@@ -305,5 +262,5 @@ http_interactions:
         <u></u></p><p><b>description</b> <u>The
requested resource () is not available.</u></p><HR
         size="1" noshade="noshade"><h3>JBoss Web/7.0.16..Final-redhat-1</h3></body></html>'
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:13:34 GMT
+  recorded_at: Fri, 09 Nov 2012 09:04:12 GMT
 recorded_with: VCR 2.2.5


Mime
View raw message