You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by dk...@apache.org on 2013/02/18 13:54:26 UTC

[2/4] FGCP: added unit tests for provider & realms, incl. VCR recordings and fixed error with unknown id

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/2a9e21a0/server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_retrieve_single_hardware_profile.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_retrieve_single_hardware_profile.yml b/server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_retrieve_single_hardware_profile.yml
deleted file mode 100644
index adf9df3..0000000
--- a/server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_retrieve_single_hardware_profile.yml
+++ /dev/null
@@ -1,249 +0,0 @@
---- 
-recorded_with: VCR 2.4.0
-http_interactions: 
-- request: 
-    method: get
-    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTgyODEzMDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListServerType&Locale=en&Signature=kJGIiMl/6omZwPkKktZtNOn9DJtKvT6DeynCh1wiDD4vSHEMkDY4dBVuIsNz%0AFQExauwDrtyUaGuTgVBxjw+7JiTWp3wTPLRCT+FQXuXfaWVIAYPEn7qHuex2%0AdDqmKjAUv9pFLXMueVti7+gTAlFgJPc4WzMi20bpfMu+vaXAq9Z0jVX9RPUY%0AuYUWaqeD+1WmsBh3FJykvG4EoO3jPH0fVbOMvpiPiQSvoZFKRyk18GJ1DmSn%0AT7qs0nqYTpu+UmeC2vRCQqYeaV6NHn7Dr+Q5WajAvBbnmmSZBL4r1253paXK%0A5lT65YijC2sNXoVauQieFDIuBixOcVbbYxmq3ddURQ==%0A&Version=2011-01-31&diskImageId=dummy
-    body: 
-      string: ""
-    headers: 
-      Accept: 
-      - text/xml
-      User-Agent: 
-      - OViSS-API-CLIENT
-  response: 
-    status: 
-      code: 200
-      message: OK
-    headers: 
-      Date: 
-      - Mon, 18 Feb 2013 10:20:13 GMT
-      Transfer-Encoding: 
-      - chunked
-      Set-Cookie: 
-      - JSESSIONID=853EF81D669710246E58A208E398C8B5; Path=/ovisspxy; Secure
-      Content-Type: 
-      - text/xml;charset=UTF-8
-      Connection: 
-      - close
-    body: 
-      string: |
-        <?xml version="1.0" encoding="UTF-8"?>
-        <ListServerTypeResponse xmlns="http://apioviss.jp.fujitsu.com">
-          <responseMessage>Processing was completed.</responseMessage>
-          <responseStatus>SUCCESS</responseStatus>
-          <servertypes>
-            <servertype>
-              <chargeType>amount</chargeType>
-              <cpu>
-                <cpuArch>IA</cpuArch>
-                <cpuPerf>4.0</cpuPerf>
-                <numOfCpu>1</numOfCpu>
-              </cpu>
-              <expectedUsage>744</expectedUsage>
-              <id>islanda-cbrm_144</id>
-              <memory>
-                <memorySize>7.5</memorySize>
-              </memory>
-              <name>advanced</name>
-              <price>0.4949</price>
-              <productId>AUS-VM-0001-0003</productId>
-              <productName>Advanced VM</productName>
-            </servertype>
-            <servertype>
-              <chargeType>amount</chargeType>
-              <cpu>
-                <cpuArch>IA</cpuArch>
-                <cpuPerf>1.0</cpuPerf>
-                <numOfCpu>1</numOfCpu>
-              </cpu>
-              <expectedUsage>744</expectedUsage>
-              <id>islanda-cbrm_140</id>
-              <memory>
-                <memorySize>1.7</memorySize>
-              </memory>
-              <name>economy</name>
-              <price>0.1237</price>
-              <productId>AUS-VM-0001-0001</productId>
-              <productName>Economy VM</productName>
-            </servertype>
-            <servertype>
-              <chargeType>amount</chargeType>
-              <cpu>
-                <cpuArch>IA</cpuArch>
-                <cpuPerf>4.0</cpuPerf>
-                <numOfCpu>2</numOfCpu>
-              </cpu>
-              <expectedUsage>744</expectedUsage>
-              <id>islanda-cbrm_146</id>
-              <memory>
-                <memorySize>15.0</memorySize>
-              </memory>
-              <name>high_performance</name>
-              <price>0.9898</price>
-              <productId>AUS-VM-0001-0004</productId>
-              <productName>High-Performance VM</productName>
-            </servertype>
-            <servertype>
-              <chargeType>amount</chargeType>
-              <cpu>
-                <cpuArch>IA</cpuArch>
-                <cpuPerf>2.0</cpuPerf>
-                <numOfCpu>1</numOfCpu>
-              </cpu>
-              <expectedUsage>744</expectedUsage>
-              <id>islanda-cbrm_142</id>
-              <memory>
-                <memorySize>3.4</memorySize>
-              </memory>
-              <name>standard</name>
-              <price>0.2474</price>
-              <productId>AUS-VM-0001-0002</productId>
-              <productName>Standard VM</productName>
-            </servertype>
-            <servertype>
-              <chargeType>amount</chargeType>
-              <cpu>
-                <cpuArch>IA</cpuArch>
-                <cpuPerf>4.0</cpuPerf>
-                <numOfCpu>4</numOfCpu>
-              </cpu>
-              <expectedUsage>744</expectedUsage>
-              <id>islanda-cbrm_146337</id>
-              <memory>
-                <memorySize>30.0</memorySize>
-              </memory>
-              <name>w_high</name>
-              <price>1.9796</price>
-              <productId>AUS-VM-0001-0011</productId>
-              <productName>Double-High Performance VM</productName>
-            </servertype>
-          </servertypes>
-        </ListServerTypeResponse>
-        
-
-    http_version: 
-  recorded_at: Mon, 18 Feb 2013 10:20:13 GMT
-- request: 
-    method: get
-    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTgyODEzMDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListServerType&Locale=en&Signature=kJGIiMl/6omZwPkKktZtNOn9DJtKvT6DeynCh1wiDD4vSHEMkDY4dBVuIsNz%0AFQExauwDrtyUaGuTgVBxjw+7JiTWp3wTPLRCT+FQXuXfaWVIAYPEn7qHuex2%0AdDqmKjAUv9pFLXMueVti7+gTAlFgJPc4WzMi20bpfMu+vaXAq9Z0jVX9RPUY%0AuYUWaqeD+1WmsBh3FJykvG4EoO3jPH0fVbOMvpiPiQSvoZFKRyk18GJ1DmSn%0AT7qs0nqYTpu+UmeC2vRCQqYeaV6NHn7Dr+Q5WajAvBbnmmSZBL4r1253paXK%0A5lT65YijC2sNXoVauQieFDIuBixOcVbbYxmq3ddURQ==%0A&Version=2011-01-31&diskImageId=dummy
-    body: 
-      string: ""
-    headers: 
-      Accept: 
-      - text/xml
-      User-Agent: 
-      - OViSS-API-CLIENT
-  response: 
-    status: 
-      code: 200
-      message: OK
-    headers: 
-      Date: 
-      - Mon, 18 Feb 2013 10:20:14 GMT
-      Transfer-Encoding: 
-      - chunked
-      Set-Cookie: 
-      - JSESSIONID=342A9999CFF112DC95B848979A756AE5; Path=/ovisspxy; Secure
-      Content-Type: 
-      - text/xml;charset=UTF-8
-      Connection: 
-      - close
-    body: 
-      string: |
-        <?xml version="1.0" encoding="UTF-8"?>
-        <ListServerTypeResponse xmlns="http://apioviss.jp.fujitsu.com">
-          <responseMessage>Processing was completed.</responseMessage>
-          <responseStatus>SUCCESS</responseStatus>
-          <servertypes>
-            <servertype>
-              <chargeType>amount</chargeType>
-              <cpu>
-                <cpuArch>IA</cpuArch>
-                <cpuPerf>4.0</cpuPerf>
-                <numOfCpu>1</numOfCpu>
-              </cpu>
-              <expectedUsage>744</expectedUsage>
-              <id>islanda-cbrm_144</id>
-              <memory>
-                <memorySize>7.5</memorySize>
-              </memory>
-              <name>advanced</name>
-              <price>0.4949</price>
-              <productId>AUS-VM-0001-0003</productId>
-              <productName>Advanced VM</productName>
-            </servertype>
-            <servertype>
-              <chargeType>amount</chargeType>
-              <cpu>
-                <cpuArch>IA</cpuArch>
-                <cpuPerf>1.0</cpuPerf>
-                <numOfCpu>1</numOfCpu>
-              </cpu>
-              <expectedUsage>744</expectedUsage>
-              <id>islanda-cbrm_140</id>
-              <memory>
-                <memorySize>1.7</memorySize>
-              </memory>
-              <name>economy</name>
-              <price>0.1237</price>
-              <productId>AUS-VM-0001-0001</productId>
-              <productName>Economy VM</productName>
-            </servertype>
-            <servertype>
-              <chargeType>amount</chargeType>
-              <cpu>
-                <cpuArch>IA</cpuArch>
-                <cpuPerf>4.0</cpuPerf>
-                <numOfCpu>2</numOfCpu>
-              </cpu>
-              <expectedUsage>744</expectedUsage>
-              <id>islanda-cbrm_146</id>
-              <memory>
-                <memorySize>15.0</memorySize>
-              </memory>
-              <name>high_performance</name>
-              <price>0.9898</price>
-              <productId>AUS-VM-0001-0004</productId>
-              <productName>High-Performance VM</productName>
-            </servertype>
-            <servertype>
-              <chargeType>amount</chargeType>
-              <cpu>
-                <cpuArch>IA</cpuArch>
-                <cpuPerf>2.0</cpuPerf>
-                <numOfCpu>1</numOfCpu>
-              </cpu>
-              <expectedUsage>744</expectedUsage>
-              <id>islanda-cbrm_142</id>
-              <memory>
-                <memorySize>3.4</memorySize>
-              </memory>
-              <name>standard</name>
-              <price>0.2474</price>
-              <productId>AUS-VM-0001-0002</productId>
-              <productName>Standard VM</productName>
-            </servertype>
-            <servertype>
-              <chargeType>amount</chargeType>
-              <cpu>
-                <cpuArch>IA</cpuArch>
-                <cpuPerf>4.0</cpuPerf>
-                <numOfCpu>4</numOfCpu>
-              </cpu>
-              <expectedUsage>744</expectedUsage>
-              <id>islanda-cbrm_146337</id>
-              <memory>
-                <memorySize>30.0</memorySize>
-              </memory>
-              <name>w_high</name>
-              <price>1.9796</price>
-              <productId>AUS-VM-0001-0011</productId>
-              <productName>Double-High Performance VM</productName>
-            </servertype>
-          </servertypes>
-        </ListServerTypeResponse>
-        
-
-    http_version: 
-  recorded_at: Mon, 18 Feb 2013 10:20:14 GMT

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/2a9e21a0/server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_retrieve_single_image.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_retrieve_single_image.yml b/server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_retrieve_single_image.yml
deleted file mode 100644
index 16c70c1..0000000
--- a/server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_retrieve_single_image.yml
+++ /dev/null
@@ -1,679 +0,0 @@
---- 
-recorded_with: VCR 2.4.0
-http_interactions: 
-- request: 
-    method: get
-    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTgyODE2MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListDiskImage&Locale=en&Signature=ibeQka9hTGWcqEHtFX0djGvGJsKOuNaIZRD3F+lvMUrMX3nyXA+KnIWxG371%0AuXxk9SyWCJhu4z2ZZ0frzi0FE5aUqeF0ssYIvJ7eBc4gopDZMUe8YpbXgSmI%0A7LCrQILI2sCqfZ7t6jH3SlI+hEn/PT/GdU/zWXmGUozc13tZyopoN5N0LIV7%0AOYTQcGIKg8e+3C4g9GIU9Tqml1ixdHUefZvQ0umVk3qmvLRc1E2QdlaAGmQC%0AcpU4M0k3qxaET+LmYtjQC9ZN+m52sVrOnIofnX/Blq4TJ4yo6+OQpY5z+G88%0AWC0fV9ynAr0JVRxW1NL3SpAuY2g+As1rMYV7+HQjkQ==%0A&Version=2011-01-31
-    body: 
-      string: ""
-    headers: 
-      Accept: 
-      - text/xml
-      User-Agent: 
-      - OViSS-API-CLIENT
-  response: 
-    status: 
-      code: 200
-      message: OK
-    headers: 
-      Date: 
-      - Mon, 18 Feb 2013 10:20:17 GMT
-      Transfer-Encoding: 
-      - chunked
-      Set-Cookie: 
-      - JSESSIONID=D5EF3EAEA45CFC5E8A6A692894A41265; Path=/ovisspxy; Secure
-      Content-Type: 
-      - text/xml;charset=UTF-8
-      Connection: 
-      - close
-    body: 
-      string: |
-        <?xml version="1.0" encoding="UTF-8"?>
-        <ListDiskImageResponse xmlns="http://apioviss.jp.fujitsu.com">
-          <diskimages>
-            <diskimage>
-              <creatorName>UZXC0GRT</creatorName>
-              <description />
-              <diskimageId>IMG0001_RHEL5_8EN64_v1_24x7SPT</diskimageId>
-              <diskimageName>RHEL5.8 64bit(EN) wSPT</diskimageName>
-              <licenseInfo>Included</licenseInfo>
-              <osName>Red Hat Enterprise Linux 5.8 64bit</osName>
-              <osType>hvm</osType>
-              <registrant>UZXC0GRT</registrant>
-              <size>40.0</size>
-            </diskimage>
-            <diskimage>
-              <creatorName>UZXC0GRT</creatorName>
-              <description />
-              <diskimageId>IMG0002_RHEL5_8EN64_v1_NoSPT</diskimageId>
-              <diskimageName>RHEL5.8 64bit(EN)</diskimageName>
-              <licenseInfo>Included</licenseInfo>
-              <osName>Red Hat Enterprise Linux 5.8 64bit</osName>
-              <osType>hvm</osType>
-              <registrant>UZXC0GRT</registrant>
-              <size>40.0</size>
-            </diskimage>
-            <diskimage>
-              <creatorName>UZXC0GRT</creatorName>
-              <description />
-              <diskimageId>IMG0003_RHEL6_3EN64_v1_24x7SPT</diskimageId>
-              <diskimageName>RHEL6.3 64bit(EN) wSPT</diskimageName>
-              <licenseInfo>Included</licenseInfo>
-              <osName>Red Hat Enterprise Linux 6.3 64bit</osName>
-              <osType>hvm</osType>
-              <registrant>UZXC0GRT</registrant>
-              <size>40.0</size>
-            </diskimage>
-            <diskimage>
-              <creatorName>UZXC0GRT</creatorName>
-              <description />
-              <diskimageId>IMG0004_RHEL6_3EN64_v1_NoSPT</diskimageId>
-              <diskimageName>RHEL6.3 64bit(EN)</diskimageName>
-              <licenseInfo>Included</licenseInfo>
-              <osName>Red Hat Enterprise Linux 6.3 64bit</osName>
-              <osType>hvm</osType>
-              <registrant>UZXC0GRT</registrant>
-              <size>40.0</size>
-            </diskimage>
-            <diskimage>
-              <creatorName>UZXC0GRT</creatorName>
-              <description />
-              <diskimageId>IMG_3c9820_21VKHA77OO</diskimageId>
-              <diskimageName>CentOS 5.6 32bit(EN)</diskimageName>
-              <licenseInfo />
-              <osName>CentOS 5.6 32bit (English)</osName>
-              <osType>pv</osType>
-              <registrant>UZXC0GRT</registrant>
-              <size>10.0</size>
-            </diskimage>
-            <diskimage>
-              <creatorName>UZXC0GRT</creatorName>
-              <description />
-              <diskimageId>IMG_3c9820_D30U8UNY6I9S</diskimageId>
-              <diskimageName>CentOS 6.2 32bit(EN)</diskimageName>
-              <licenseInfo />
-              <osName>CentOS 6.2 32bit (English)</osName>
-              <osType>pv</osType>
-              <registrant>UZXC0GRT</registrant>
-              <size>10.0</size>
-            </diskimage>
-            <diskimage>
-              <creatorName>UZXC0GRT</creatorName>
-              <description />
-              <diskimageId>IMG_3c9820_D30Y0LNN4WE8</diskimageId>
-              <diskimageName>W2k8R2EESP1(EN)</diskimageName>
-              <licenseInfo>Included</licenseInfo>
-              <osName>Windows Server 2008 R2 EE 64bit SP1 (English)</osName>
-              <osType>hvm</osType>
-              <registrant>UZXC0GRT</registrant>
-              <size>40.0</size>
-            </diskimage>
-            <diskimage>
-              <creatorName>UZXC0GRT</creatorName>
-              <description />
-              <diskimageId>IMG_3c9820_FBV3QFG44MPS</diskimageId>
-              <diskimageName>CentOS 5.6 64bit(EN)</diskimageName>
-              <licenseInfo />
-              <osName>CentOS 5.6 64bit (English)</osName>
-              <osType>pv</osType>
-              <registrant>UZXC0GRT</registrant>
-              <size>10.0</size>
-            </diskimage>
-            <diskimage>
-              <creatorName>UZXC0GRT</creatorName>
-              <description />
-              <diskimageId>IMG_3c9820_J55YW6UE101DS</diskimageId>
-              <diskimageName>CentOS 5.4 32bit(EN)</diskimageName>
-              <licenseInfo />
-              <osName>CentOS 5.4 32bit (English)</osName>
-              <osType>pv</osType>
-              <registrant>UZXC0GRT</registrant>
-              <size>10.0</size>
-            </diskimage>
-            <diskimage>
-              <creatorName>UZXC0GRT</creatorName>
-              <description />
-              <diskimageId>IMG_3c9820_J56Y5PS4FJO5C</diskimageId>
-              <diskimageName>W2k8R2SE/SQL2k8R2(EN)</diskimageName>
-              <licenseInfo>Included</licenseInfo>
-              <osName>Windows Server 2008 R2 SE 64bit (English)</osName>
-              <osType>hvm</osType>
-              <registrant>UZXC0GRT</registrant>
-              <size>40.0</size>
-              <softwares>
-                <software>
-                  <license>Included</license>
-                  <name>SQLServer 2008 R2 SE (English)</name>
-                </software>
-              </softwares>
-            </diskimage>
-            <diskimage>
-              <creatorName>UZXC0GRT</creatorName>
-              <description />
-              <diskimageId>IMG_3c9820_LKNVW2TH31A0W</diskimageId>
-              <diskimageName>CentOS 5.4 64bit(EN)</diskimageName>
-              <licenseInfo />
-              <osName>CentOS 5.4 64bit (English)</osName>
-              <osType>pv</osType>
-              <registrant>UZXC0GRT</registrant>
-              <size>10.0</size>
-            </diskimage>
-            <diskimage>
-              <creatorName>UZXC0GRT</creatorName>
-              <description />
-              <diskimageId>IMG_3c9820_LLIPQ3UJ43RWG</diskimageId>
-              <diskimageName>W2k8R2SESP1(EN)</diskimageName>
-              <licenseInfo>Included</licenseInfo>
-              <osName>Windows Server 2008 R2 SE 64bit SP1 (English)</osName>
-              <osType>hvm</osType>
-              <registrant>UZXC0GRT</registrant>
-              <size>40.0</size>
-            </diskimage>
-            <diskimage>
-              <creatorName>UZXC0GRT</creatorName>
-              <description />
-              <diskimageId>IMG_3c9820_QIEWLLNIF7IF40</diskimageId>
-              <diskimageName>W2k8R2SE/IIS(EN)</diskimageName>
-              <licenseInfo>Included</licenseInfo>
-              <osName>Windows Server 2008 R2 SE 64bit (English)</osName>
-              <osType>hvm</osType>
-              <registrant>UZXC0GRT</registrant>
-              <size>40.0</size>
-              <softwares>
-                <software>
-                  <license />
-                  <name>Internet Information Server 7.5</name>
-                </software>
-              </softwares>
-            </diskimage>
-            <diskimage>
-              <creatorName>UZXC0GRT</creatorName>
-              <description />
-              <diskimageId>IMG_3c9820_S24FWXU0Q9VH0JK</diskimageId>
-              <diskimageName>CentOS 6.2 64bit(EN)</diskimageName>
-              <licenseInfo />
-              <osName>CentOS 6.2 64bit (English)</osName>
-              <osType>pv</osType>
-              <registrant>UZXC0GRT</registrant>
-              <size>10.0</size>
-            </diskimage>
-            <diskimage>
-              <creatorName>UZXC0GRT</creatorName>
-              <description />
-              <diskimageId>IMG_3c9820_X1W13YQIDAYQ2SQO</diskimageId>
-              <diskimageName>RHEL5.7 64bit wSPT</diskimageName>
-              <licenseInfo>Included</licenseInfo>
-              <osName>Red Hat Enterprise Linux 5.7 64bit (English) with Support</osName>
-              <osType>hvm</osType>
-              <registrant>UZXC0GRT</registrant>
-              <size>40.0</size>
-            </diskimage>
-          </diskimages>
-          <responseMessage>Processing was completed.</responseMessage>
-          <responseStatus>SUCCESS</responseStatus>
-        </ListDiskImageResponse>
-        
-
-    http_version: 
-  recorded_at: Mon, 18 Feb 2013 10:20:18 GMT
-- request: 
-    method: get
-    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTgyODE4MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListServerType&Locale=en&Signature=C+m5bymEH7RO/D6zaqRj6+1rIpsmhhUlX+ExbXmu+LXP3gxuZ06TD3RBaipG%0A+ANdJ39dUW50orvzshVBdbgBFPcqIfYuaeCRq7U1GeZh/qlMJB6GFRLwW9It%0AW/4G2mB7sck518DT8qWBu1nIXCEs9C9dzI/aRW7pBDJpF+YYfZEqL8gZk9p4%0ASPVovSZygwzEOyiM8NdaCvgXRXSwiPqi5GpZjqMwLVfUjyuDWryTnST7prQ6%0AUDSbImF5qqxMYjUDG4o/HBVL8mJucdaZHMCtKzQYxvPJKCsmm3UY0VzD27cQ%0AB77ArCM1BuEreJ09ahR0NEw2h95qgTwShROHmgWSUA==%0A&Version=2011-01-31&diskImageId=dummy
-    body: 
-      string: ""
-    headers: 
-      Accept: 
-      - text/xml
-      User-Agent: 
-      - OViSS-API-CLIENT
-  response: 
-    status: 
-      code: 200
-      message: OK
-    headers: 
-      Date: 
-      - Mon, 18 Feb 2013 10:20:19 GMT
-      Transfer-Encoding: 
-      - chunked
-      Set-Cookie: 
-      - JSESSIONID=72A3B8DFDBA4E527F86A2299C1D8B7B6; Path=/ovisspxy; Secure
-      Content-Type: 
-      - text/xml;charset=UTF-8
-      Connection: 
-      - close
-    body: 
-      string: |
-        <?xml version="1.0" encoding="UTF-8"?>
-        <ListServerTypeResponse xmlns="http://apioviss.jp.fujitsu.com">
-          <responseMessage>Processing was completed.</responseMessage>
-          <responseStatus>SUCCESS</responseStatus>
-          <servertypes>
-            <servertype>
-              <chargeType>amount</chargeType>
-              <cpu>
-                <cpuArch>IA</cpuArch>
-                <cpuPerf>4.0</cpuPerf>
-                <numOfCpu>1</numOfCpu>
-              </cpu>
-              <expectedUsage>744</expectedUsage>
-              <id>islanda-cbrm_144</id>
-              <memory>
-                <memorySize>7.5</memorySize>
-              </memory>
-              <name>advanced</name>
-              <price>0.4949</price>
-              <productId>AUS-VM-0001-0003</productId>
-              <productName>Advanced VM</productName>
-            </servertype>
-            <servertype>
-              <chargeType>amount</chargeType>
-              <cpu>
-                <cpuArch>IA</cpuArch>
-                <cpuPerf>1.0</cpuPerf>
-                <numOfCpu>1</numOfCpu>
-              </cpu>
-              <expectedUsage>744</expectedUsage>
-              <id>islanda-cbrm_140</id>
-              <memory>
-                <memorySize>1.7</memorySize>
-              </memory>
-              <name>economy</name>
-              <price>0.1237</price>
-              <productId>AUS-VM-0001-0001</productId>
-              <productName>Economy VM</productName>
-            </servertype>
-            <servertype>
-              <chargeType>amount</chargeType>
-              <cpu>
-                <cpuArch>IA</cpuArch>
-                <cpuPerf>4.0</cpuPerf>
-                <numOfCpu>2</numOfCpu>
-              </cpu>
-              <expectedUsage>744</expectedUsage>
-              <id>islanda-cbrm_146</id>
-              <memory>
-                <memorySize>15.0</memorySize>
-              </memory>
-              <name>high_performance</name>
-              <price>0.9898</price>
-              <productId>AUS-VM-0001-0004</productId>
-              <productName>High-Performance VM</productName>
-            </servertype>
-            <servertype>
-              <chargeType>amount</chargeType>
-              <cpu>
-                <cpuArch>IA</cpuArch>
-                <cpuPerf>2.0</cpuPerf>
-                <numOfCpu>1</numOfCpu>
-              </cpu>
-              <expectedUsage>744</expectedUsage>
-              <id>islanda-cbrm_142</id>
-              <memory>
-                <memorySize>3.4</memorySize>
-              </memory>
-              <name>standard</name>
-              <price>0.2474</price>
-              <productId>AUS-VM-0001-0002</productId>
-              <productName>Standard VM</productName>
-            </servertype>
-            <servertype>
-              <chargeType>amount</chargeType>
-              <cpu>
-                <cpuArch>IA</cpuArch>
-                <cpuPerf>4.0</cpuPerf>
-                <numOfCpu>4</numOfCpu>
-              </cpu>
-              <expectedUsage>744</expectedUsage>
-              <id>islanda-cbrm_146337</id>
-              <memory>
-                <memorySize>30.0</memorySize>
-              </memory>
-              <name>w_high</name>
-              <price>1.9796</price>
-              <productId>AUS-VM-0001-0011</productId>
-              <productName>Double-High Performance VM</productName>
-            </servertype>
-          </servertypes>
-        </ListServerTypeResponse>
-        
-
-    http_version: 
-  recorded_at: Mon, 18 Feb 2013 10:20:19 GMT
-- request: 
-    method: get
-    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTgyODE5MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListDiskImage&Locale=en&Signature=ceSgDqn1q5Ct0WxTVKUWQYJmOf2OjqrolahzWhFGKaPsG5t8uJdwb2AVSjNG%0AHDv4EZLp6qAZBW/kFj5VwvCqLL2nG3KtCrViBe92X339AaL/YEPRPJYbgEiN%0AA+0v0zjN16rEz8LUlho/bU6DTumN8Lto2hSX0YMydki0xCkeiG/vndksxEqq%0AOamGMUaHQesXRdqOjvlSLeKzAhCb76bJp7M/8UF3urGpbuiM2AhoQsb+3kBY%0AU4YoIxowCyUkYXZ3hg5LFDjkdooX83gJTy17LEC6+tu3jCUawVI0BHobyk4W%0A9Mj1vazJbMJuw1zlcVr0IFif2UbzO8S0eLNc5YtrMw==%0A&Version=2011-01-31
-    body: 
-      string: ""
-    headers: 
-      Accept: 
-      - text/xml
-      User-Agent: 
-      - OViSS-API-CLIENT
-  response: 
-    status: 
-      code: 200
-      message: OK
-    headers: 
-      Date: 
-      - Mon, 18 Feb 2013 10:20:20 GMT
-      Transfer-Encoding: 
-      - chunked
-      Set-Cookie: 
-      - JSESSIONID=3F554B82753EFCBF8B9996C9CE61FAC4; Path=/ovisspxy; Secure
-      Content-Type: 
-      - text/xml;charset=UTF-8
-      Connection: 
-      - close
-    body: 
-      string: |
-        <?xml version="1.0" encoding="UTF-8"?>
-        <ListDiskImageResponse xmlns="http://apioviss.jp.fujitsu.com">
-          <diskimages>
-            <diskimage>
-              <creatorName>UZXC0GRT</creatorName>
-              <description />
-              <diskimageId>IMG0001_RHEL5_8EN64_v1_24x7SPT</diskimageId>
-              <diskimageName>RHEL5.8 64bit(EN) wSPT</diskimageName>
-              <licenseInfo>Included</licenseInfo>
-              <osName>Red Hat Enterprise Linux 5.8 64bit</osName>
-              <osType>hvm</osType>
-              <registrant>UZXC0GRT</registrant>
-              <size>40.0</size>
-            </diskimage>
-            <diskimage>
-              <creatorName>UZXC0GRT</creatorName>
-              <description />
-              <diskimageId>IMG0002_RHEL5_8EN64_v1_NoSPT</diskimageId>
-              <diskimageName>RHEL5.8 64bit(EN)</diskimageName>
-              <licenseInfo>Included</licenseInfo>
-              <osName>Red Hat Enterprise Linux 5.8 64bit</osName>
-              <osType>hvm</osType>
-              <registrant>UZXC0GRT</registrant>
-              <size>40.0</size>
-            </diskimage>
-            <diskimage>
-              <creatorName>UZXC0GRT</creatorName>
-              <description />
-              <diskimageId>IMG0003_RHEL6_3EN64_v1_24x7SPT</diskimageId>
-              <diskimageName>RHEL6.3 64bit(EN) wSPT</diskimageName>
-              <licenseInfo>Included</licenseInfo>
-              <osName>Red Hat Enterprise Linux 6.3 64bit</osName>
-              <osType>hvm</osType>
-              <registrant>UZXC0GRT</registrant>
-              <size>40.0</size>
-            </diskimage>
-            <diskimage>
-              <creatorName>UZXC0GRT</creatorName>
-              <description />
-              <diskimageId>IMG0004_RHEL6_3EN64_v1_NoSPT</diskimageId>
-              <diskimageName>RHEL6.3 64bit(EN)</diskimageName>
-              <licenseInfo>Included</licenseInfo>
-              <osName>Red Hat Enterprise Linux 6.3 64bit</osName>
-              <osType>hvm</osType>
-              <registrant>UZXC0GRT</registrant>
-              <size>40.0</size>
-            </diskimage>
-            <diskimage>
-              <creatorName>UZXC0GRT</creatorName>
-              <description />
-              <diskimageId>IMG_3c9820_21VKHA77OO</diskimageId>
-              <diskimageName>CentOS 5.6 32bit(EN)</diskimageName>
-              <licenseInfo />
-              <osName>CentOS 5.6 32bit (English)</osName>
-              <osType>pv</osType>
-              <registrant>UZXC0GRT</registrant>
-              <size>10.0</size>
-            </diskimage>
-            <diskimage>
-              <creatorName>UZXC0GRT</creatorName>
-              <description />
-              <diskimageId>IMG_3c9820_D30U8UNY6I9S</diskimageId>
-              <diskimageName>CentOS 6.2 32bit(EN)</diskimageName>
-              <licenseInfo />
-              <osName>CentOS 6.2 32bit (English)</osName>
-              <osType>pv</osType>
-              <registrant>UZXC0GRT</registrant>
-              <size>10.0</size>
-            </diskimage>
-            <diskimage>
-              <creatorName>UZXC0GRT</creatorName>
-              <description />
-              <diskimageId>IMG_3c9820_D30Y0LNN4WE8</diskimageId>
-              <diskimageName>W2k8R2EESP1(EN)</diskimageName>
-              <licenseInfo>Included</licenseInfo>
-              <osName>Windows Server 2008 R2 EE 64bit SP1 (English)</osName>
-              <osType>hvm</osType>
-              <registrant>UZXC0GRT</registrant>
-              <size>40.0</size>
-            </diskimage>
-            <diskimage>
-              <creatorName>UZXC0GRT</creatorName>
-              <description />
-              <diskimageId>IMG_3c9820_FBV3QFG44MPS</diskimageId>
-              <diskimageName>CentOS 5.6 64bit(EN)</diskimageName>
-              <licenseInfo />
-              <osName>CentOS 5.6 64bit (English)</osName>
-              <osType>pv</osType>
-              <registrant>UZXC0GRT</registrant>
-              <size>10.0</size>
-            </diskimage>
-            <diskimage>
-              <creatorName>UZXC0GRT</creatorName>
-              <description />
-              <diskimageId>IMG_3c9820_J55YW6UE101DS</diskimageId>
-              <diskimageName>CentOS 5.4 32bit(EN)</diskimageName>
-              <licenseInfo />
-              <osName>CentOS 5.4 32bit (English)</osName>
-              <osType>pv</osType>
-              <registrant>UZXC0GRT</registrant>
-              <size>10.0</size>
-            </diskimage>
-            <diskimage>
-              <creatorName>UZXC0GRT</creatorName>
-              <description />
-              <diskimageId>IMG_3c9820_J56Y5PS4FJO5C</diskimageId>
-              <diskimageName>W2k8R2SE/SQL2k8R2(EN)</diskimageName>
-              <licenseInfo>Included</licenseInfo>
-              <osName>Windows Server 2008 R2 SE 64bit (English)</osName>
-              <osType>hvm</osType>
-              <registrant>UZXC0GRT</registrant>
-              <size>40.0</size>
-              <softwares>
-                <software>
-                  <license>Included</license>
-                  <name>SQLServer 2008 R2 SE (English)</name>
-                </software>
-              </softwares>
-            </diskimage>
-            <diskimage>
-              <creatorName>UZXC0GRT</creatorName>
-              <description />
-              <diskimageId>IMG_3c9820_LKNVW2TH31A0W</diskimageId>
-              <diskimageName>CentOS 5.4 64bit(EN)</diskimageName>
-              <licenseInfo />
-              <osName>CentOS 5.4 64bit (English)</osName>
-              <osType>pv</osType>
-              <registrant>UZXC0GRT</registrant>
-              <size>10.0</size>
-            </diskimage>
-            <diskimage>
-              <creatorName>UZXC0GRT</creatorName>
-              <description />
-              <diskimageId>IMG_3c9820_LLIPQ3UJ43RWG</diskimageId>
-              <diskimageName>W2k8R2SESP1(EN)</diskimageName>
-              <licenseInfo>Included</licenseInfo>
-              <osName>Windows Server 2008 R2 SE 64bit SP1 (English)</osName>
-              <osType>hvm</osType>
-              <registrant>UZXC0GRT</registrant>
-              <size>40.0</size>
-            </diskimage>
-            <diskimage>
-              <creatorName>UZXC0GRT</creatorName>
-              <description />
-              <diskimageId>IMG_3c9820_QIEWLLNIF7IF40</diskimageId>
-              <diskimageName>W2k8R2SE/IIS(EN)</diskimageName>
-              <licenseInfo>Included</licenseInfo>
-              <osName>Windows Server 2008 R2 SE 64bit (English)</osName>
-              <osType>hvm</osType>
-              <registrant>UZXC0GRT</registrant>
-              <size>40.0</size>
-              <softwares>
-                <software>
-                  <license />
-                  <name>Internet Information Server 7.5</name>
-                </software>
-              </softwares>
-            </diskimage>
-            <diskimage>
-              <creatorName>UZXC0GRT</creatorName>
-              <description />
-              <diskimageId>IMG_3c9820_S24FWXU0Q9VH0JK</diskimageId>
-              <diskimageName>CentOS 6.2 64bit(EN)</diskimageName>
-              <licenseInfo />
-              <osName>CentOS 6.2 64bit (English)</osName>
-              <osType>pv</osType>
-              <registrant>UZXC0GRT</registrant>
-              <size>10.0</size>
-            </diskimage>
-            <diskimage>
-              <creatorName>UZXC0GRT</creatorName>
-              <description />
-              <diskimageId>IMG_3c9820_X1W13YQIDAYQ2SQO</diskimageId>
-              <diskimageName>RHEL5.7 64bit wSPT</diskimageName>
-              <licenseInfo>Included</licenseInfo>
-              <osName>Red Hat Enterprise Linux 5.7 64bit (English) with Support</osName>
-              <osType>hvm</osType>
-              <registrant>UZXC0GRT</registrant>
-              <size>40.0</size>
-            </diskimage>
-          </diskimages>
-          <responseMessage>Processing was completed.</responseMessage>
-          <responseStatus>SUCCESS</responseStatus>
-        </ListDiskImageResponse>
-        
-
-    http_version: 
-  recorded_at: Mon, 18 Feb 2013 10:20:20 GMT
-- request: 
-    method: get
-    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTgyODIxMDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListServerType&Locale=en&Signature=fK8xszbGy8gCaTss4YJkGoOvWkFGvBls6vSpF02xMBBhfOnxYxB/SL1gCR+y%0AmEueWaphxDf+KjxKr46C51ZKPjg+ZWnZQjc8rsddX9FPRCBobEUZu6cDaGUC%0AWvkMLTS1MDcP0KSkgm3uogOVm/0nNdP3sh/wbRZJPDvm5EZRQw5n+lSMZVkh%0AXO+rt5rMlqjd0+et7DWmCFmOgkLiF8JQZy7qlao47QwMbY1LY1eTzBt3634t%0AvZYIqwWw2PpneXO7vQk7eKudzfUHzAezjVM6Ngv23po/f4Vrp+alQm56dEOv%0AxavVZX7nMYFwCPgfAZ2xbjd74pOt6POwyX/oAldbaA==%0A&Version=2011-01-31&diskImageId=dummy
-    body: 
-      string: ""
-    headers: 
-      Accept: 
-      - text/xml
-      User-Agent: 
-      - OViSS-API-CLIENT
-  response: 
-    status: 
-      code: 200
-      message: OK
-    headers: 
-      Date: 
-      - Mon, 18 Feb 2013 10:20:21 GMT
-      Transfer-Encoding: 
-      - chunked
-      Set-Cookie: 
-      - JSESSIONID=A2A0BFD6A522222CA052855090142AA3; Path=/ovisspxy; Secure
-      Content-Type: 
-      - text/xml;charset=UTF-8
-      Connection: 
-      - close
-    body: 
-      string: |
-        <?xml version="1.0" encoding="UTF-8"?>
-        <ListServerTypeResponse xmlns="http://apioviss.jp.fujitsu.com">
-          <responseMessage>Processing was completed.</responseMessage>
-          <responseStatus>SUCCESS</responseStatus>
-          <servertypes>
-            <servertype>
-              <chargeType>amount</chargeType>
-              <cpu>
-                <cpuArch>IA</cpuArch>
-                <cpuPerf>4.0</cpuPerf>
-                <numOfCpu>1</numOfCpu>
-              </cpu>
-              <expectedUsage>744</expectedUsage>
-              <id>islanda-cbrm_144</id>
-              <memory>
-                <memorySize>7.5</memorySize>
-              </memory>
-              <name>advanced</name>
-              <price>0.4949</price>
-              <productId>AUS-VM-0001-0003</productId>
-              <productName>Advanced VM</productName>
-            </servertype>
-            <servertype>
-              <chargeType>amount</chargeType>
-              <cpu>
-                <cpuArch>IA</cpuArch>
-                <cpuPerf>1.0</cpuPerf>
-                <numOfCpu>1</numOfCpu>
-              </cpu>
-              <expectedUsage>744</expectedUsage>
-              <id>islanda-cbrm_140</id>
-              <memory>
-                <memorySize>1.7</memorySize>
-              </memory>
-              <name>economy</name>
-              <price>0.1237</price>
-              <productId>AUS-VM-0001-0001</productId>
-              <productName>Economy VM</productName>
-            </servertype>
-            <servertype>
-              <chargeType>amount</chargeType>
-              <cpu>
-                <cpuArch>IA</cpuArch>
-                <cpuPerf>4.0</cpuPerf>
-                <numOfCpu>2</numOfCpu>
-              </cpu>
-              <expectedUsage>744</expectedUsage>
-              <id>islanda-cbrm_146</id>
-              <memory>
-                <memorySize>15.0</memorySize>
-              </memory>
-              <name>high_performance</name>
-              <price>0.9898</price>
-              <productId>AUS-VM-0001-0004</productId>
-              <productName>High-Performance VM</productName>
-            </servertype>
-            <servertype>
-              <chargeType>amount</chargeType>
-              <cpu>
-                <cpuArch>IA</cpuArch>
-                <cpuPerf>2.0</cpuPerf>
-                <numOfCpu>1</numOfCpu>
-              </cpu>
-              <expectedUsage>744</expectedUsage>
-              <id>islanda-cbrm_142</id>
-              <memory>
-                <memorySize>3.4</memorySize>
-              </memory>
-              <name>standard</name>
-              <price>0.2474</price>
-              <productId>AUS-VM-0001-0002</productId>
-              <productName>Standard VM</productName>
-            </servertype>
-            <servertype>
-              <chargeType>amount</chargeType>
-              <cpu>
-                <cpuArch>IA</cpuArch>
-                <cpuPerf>4.0</cpuPerf>
-                <numOfCpu>4</numOfCpu>
-              </cpu>
-              <expectedUsage>744</expectedUsage>
-              <id>islanda-cbrm_146337</id>
-              <memory>
-                <memorySize>30.0</memorySize>
-              </memory>
-              <name>w_high</name>
-              <price>1.9796</price>
-              <productId>AUS-VM-0001-0011</productId>
-              <productName>Double-High Performance VM</productName>
-            </servertype>
-          </servertypes>
-        </ListServerTypeResponse>
-        
-
-    http_version: 
-  recorded_at: Mon, 18 Feb 2013 10:20:21 GMT

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/2a9e21a0/server/tests/drivers/fgcp/fixtures/test_0004_must_allow_to_retrieve_single_hardware_profile.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/fgcp/fixtures/test_0004_must_allow_to_retrieve_single_hardware_profile.yml b/server/tests/drivers/fgcp/fixtures/test_0004_must_allow_to_retrieve_single_hardware_profile.yml
new file mode 100644
index 0000000..f1e48f5
--- /dev/null
+++ b/server/tests/drivers/fgcp/fixtures/test_0004_must_allow_to_retrieve_single_hardware_profile.yml
@@ -0,0 +1,249 @@
+--- 
+http_interactions: 
+- request: 
+    method: get
+    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg4ODQ0MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListServerType&Locale=en&Signature=QxDR3EGhJETta7098SeJWx3B/JxmF4hCJRvSzONHOgjpDIc7xQdvB+nVpxHU%0A+acDJ/pcFIKGBiMBkCAUtDF9nQW9lc9TSosxdyZ2GLcXXakkrR+QHUylUIbX%0A+iJ6EJ3vbMhBHf8ScBUHJ5znfCe9NCTADW+gdz5ww27/yA5tRvlRDWxbpB+v%0ArwIOAUWyb/oGBeWfkahQ1YXZd0C3KDz2vO82qValBch1SF0YxWULuoEAgpas%0AOyaRJta46jw8Ja5ZMP16iWCAAplRIXo/xdZQORAPOw49NGJ64UJcQ+xgnRKE%0Axy3jhQTc+99/1IyLldiAiSY0xr0NgUM98RvJ25z/Mw==%0A&Version=2011-01-31&diskImageId=dummy
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - text/xml
+      User-Agent: 
+      - OViSS-API-CLIENT
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Connection: 
+      - close
+      Date: 
+      - Mon, 18 Feb 2013 12:00:45 GMT
+      Transfer-Encoding: 
+      - chunked
+      Content-Type: 
+      - text/xml;charset=UTF-8
+      Set-Cookie: 
+      - JSESSIONID=021F3E9B5BA2EF6C2F7E37CEBE0726BA; Path=/ovisspxy; Secure
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8"?>
+        <ListServerTypeResponse xmlns="http://apioviss.jp.fujitsu.com">
+          <responseMessage>Processing was completed.</responseMessage>
+          <responseStatus>SUCCESS</responseStatus>
+          <servertypes>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>4.0</cpuPerf>
+                <numOfCpu>1</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_144</id>
+              <memory>
+                <memorySize>7.5</memorySize>
+              </memory>
+              <name>advanced</name>
+              <price>0.4949</price>
+              <productId>AUS-VM-0001-0003</productId>
+              <productName>Advanced VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>1.0</cpuPerf>
+                <numOfCpu>1</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_140</id>
+              <memory>
+                <memorySize>1.7</memorySize>
+              </memory>
+              <name>economy</name>
+              <price>0.1237</price>
+              <productId>AUS-VM-0001-0001</productId>
+              <productName>Economy VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>4.0</cpuPerf>
+                <numOfCpu>2</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_146</id>
+              <memory>
+                <memorySize>15.0</memorySize>
+              </memory>
+              <name>high_performance</name>
+              <price>0.9898</price>
+              <productId>AUS-VM-0001-0004</productId>
+              <productName>High-Performance VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>2.0</cpuPerf>
+                <numOfCpu>1</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_142</id>
+              <memory>
+                <memorySize>3.4</memorySize>
+              </memory>
+              <name>standard</name>
+              <price>0.2474</price>
+              <productId>AUS-VM-0001-0002</productId>
+              <productName>Standard VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>4.0</cpuPerf>
+                <numOfCpu>4</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_146337</id>
+              <memory>
+                <memorySize>30.0</memorySize>
+              </memory>
+              <name>w_high</name>
+              <price>1.9796</price>
+              <productId>AUS-VM-0001-0011</productId>
+              <productName>Double-High Performance VM</productName>
+            </servertype>
+          </servertypes>
+        </ListServerTypeResponse>
+        
+
+    http_version: 
+  recorded_at: Mon, 18 Feb 2013 12:00:45 GMT
+- request: 
+    method: get
+    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg4ODQ1MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListServerType&Locale=en&Signature=XqeycD2cNG2H8Y4R7EEV9aNaVrbx5TYaE3KH81hde4lXC1pePUkS46YxpwMy%0AVKydZiP1ulyM3isDtnFn2+91qkwaKqFl4IsVuxtMa50FFG38nj+tKNibZP74%0A9LPTiqSPH7RDGgKfVNsYAURWJ8mTP8a/j5uaGthoaZOvtxkAiHxLa7bddYfb%0AJnfSr6O4xz8yMoI2YodpAeVwuEKSDtmbNK6TA994LCbA0RqFUJ0OAY21RX6Z%0AxdO4eXUfXQESMPzYmtiV9aM3x/Zk5lOaAQjyS6MGlm1v6AwcZ4tgzELPwjfg%0AFbPxjGHFwfmhxNBU5WsNvuWN0SI7iqW+JW6oJeLuOg==%0A&Version=2011-01-31&diskImageId=dummy
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - text/xml
+      User-Agent: 
+      - OViSS-API-CLIENT
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Connection: 
+      - close
+      Date: 
+      - Mon, 18 Feb 2013 12:00:46 GMT
+      Transfer-Encoding: 
+      - chunked
+      Content-Type: 
+      - text/xml;charset=UTF-8
+      Set-Cookie: 
+      - JSESSIONID=24912D486CB679F9E447F54A9AD85839; Path=/ovisspxy; Secure
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8"?>
+        <ListServerTypeResponse xmlns="http://apioviss.jp.fujitsu.com">
+          <responseMessage>Processing was completed.</responseMessage>
+          <responseStatus>SUCCESS</responseStatus>
+          <servertypes>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>4.0</cpuPerf>
+                <numOfCpu>1</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_144</id>
+              <memory>
+                <memorySize>7.5</memorySize>
+              </memory>
+              <name>advanced</name>
+              <price>0.4949</price>
+              <productId>AUS-VM-0001-0003</productId>
+              <productName>Advanced VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>1.0</cpuPerf>
+                <numOfCpu>1</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_140</id>
+              <memory>
+                <memorySize>1.7</memorySize>
+              </memory>
+              <name>economy</name>
+              <price>0.1237</price>
+              <productId>AUS-VM-0001-0001</productId>
+              <productName>Economy VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>4.0</cpuPerf>
+                <numOfCpu>2</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_146</id>
+              <memory>
+                <memorySize>15.0</memorySize>
+              </memory>
+              <name>high_performance</name>
+              <price>0.9898</price>
+              <productId>AUS-VM-0001-0004</productId>
+              <productName>High-Performance VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>2.0</cpuPerf>
+                <numOfCpu>1</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_142</id>
+              <memory>
+                <memorySize>3.4</memorySize>
+              </memory>
+              <name>standard</name>
+              <price>0.2474</price>
+              <productId>AUS-VM-0001-0002</productId>
+              <productName>Standard VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>4.0</cpuPerf>
+                <numOfCpu>4</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_146337</id>
+              <memory>
+                <memorySize>30.0</memorySize>
+              </memory>
+              <name>w_high</name>
+              <price>1.9796</price>
+              <productId>AUS-VM-0001-0011</productId>
+              <productName>Double-High Performance VM</productName>
+            </servertype>
+          </servertypes>
+        </ListServerTypeResponse>
+        
+
+    http_version: 
+  recorded_at: Mon, 18 Feb 2013 12:00:46 GMT
+recorded_with: VCR 2.4.0

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/2a9e21a0/server/tests/drivers/fgcp/fixtures/test_0004_must_allow_to_retrieve_single_image.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/fgcp/fixtures/test_0004_must_allow_to_retrieve_single_image.yml b/server/tests/drivers/fgcp/fixtures/test_0004_must_allow_to_retrieve_single_image.yml
new file mode 100644
index 0000000..74420d2
--- /dev/null
+++ b/server/tests/drivers/fgcp/fixtures/test_0004_must_allow_to_retrieve_single_image.yml
@@ -0,0 +1,679 @@
+--- 
+http_interactions: 
+- request: 
+    method: get
+    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg4ODU2MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListDiskImage&Locale=en&Signature=iZpMqxYkw7Fkncv1U+Y7fczBFRCSXhblkSvzG4/2l8SY7CE3oE63LZ05XzJn%0ALqU/zcIyobxOrUQ0vjfF74PhRtqYEu1xOrN8XiV47UEDYv7wLbE/HjEYyp1T%0ABmS6s2okzKlp+lXAQoOFbs2ekxvLXJfXrYKxKdMR7Nw3NmFfA9W93cepkv77%0AcRfm39VmVB+B+r5wDxKVp0CduhzOlRDQfsi7MKTDtJZlJOhoSLyxNfnglIkV%0A+5ypa2XfT1gaiNOHHkrX0T5buQREkvjmQW4GIaWbUKPFnCxJVosv6a/P3T5H%0AayyW514DJn4vuwqI4tUDnBiDKdXQLCPbXF6ilUKXuw==%0A&Version=2011-01-31
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - text/xml
+      User-Agent: 
+      - OViSS-API-CLIENT
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Connection: 
+      - close
+      Date: 
+      - Mon, 18 Feb 2013 12:00:57 GMT
+      Transfer-Encoding: 
+      - chunked
+      Content-Type: 
+      - text/xml;charset=UTF-8
+      Set-Cookie: 
+      - JSESSIONID=F2CB83C2DCD07BCAEBA2076438ACD582; Path=/ovisspxy; Secure
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8"?>
+        <ListDiskImageResponse xmlns="http://apioviss.jp.fujitsu.com">
+          <diskimages>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG0001_RHEL5_8EN64_v1_24x7SPT</diskimageId>
+              <diskimageName>RHEL5.8 64bit(EN) wSPT</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Red Hat Enterprise Linux 5.8 64bit</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG0002_RHEL5_8EN64_v1_NoSPT</diskimageId>
+              <diskimageName>RHEL5.8 64bit(EN)</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Red Hat Enterprise Linux 5.8 64bit</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG0003_RHEL6_3EN64_v1_24x7SPT</diskimageId>
+              <diskimageName>RHEL6.3 64bit(EN) wSPT</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Red Hat Enterprise Linux 6.3 64bit</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG0004_RHEL6_3EN64_v1_NoSPT</diskimageId>
+              <diskimageName>RHEL6.3 64bit(EN)</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Red Hat Enterprise Linux 6.3 64bit</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_21VKHA77OO</diskimageId>
+              <diskimageName>CentOS 5.6 32bit(EN)</diskimageName>
+              <licenseInfo />
+              <osName>CentOS 5.6 32bit (English)</osName>
+              <osType>pv</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>10.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_D30U8UNY6I9S</diskimageId>
+              <diskimageName>CentOS 6.2 32bit(EN)</diskimageName>
+              <licenseInfo />
+              <osName>CentOS 6.2 32bit (English)</osName>
+              <osType>pv</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>10.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_D30Y0LNN4WE8</diskimageId>
+              <diskimageName>W2k8R2EESP1(EN)</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Windows Server 2008 R2 EE 64bit SP1 (English)</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_FBV3QFG44MPS</diskimageId>
+              <diskimageName>CentOS 5.6 64bit(EN)</diskimageName>
+              <licenseInfo />
+              <osName>CentOS 5.6 64bit (English)</osName>
+              <osType>pv</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>10.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_J55YW6UE101DS</diskimageId>
+              <diskimageName>CentOS 5.4 32bit(EN)</diskimageName>
+              <licenseInfo />
+              <osName>CentOS 5.4 32bit (English)</osName>
+              <osType>pv</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>10.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_J56Y5PS4FJO5C</diskimageId>
+              <diskimageName>W2k8R2SE/SQL2k8R2(EN)</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Windows Server 2008 R2 SE 64bit (English)</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+              <softwares>
+                <software>
+                  <license>Included</license>
+                  <name>SQLServer 2008 R2 SE (English)</name>
+                </software>
+              </softwares>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_LKNVW2TH31A0W</diskimageId>
+              <diskimageName>CentOS 5.4 64bit(EN)</diskimageName>
+              <licenseInfo />
+              <osName>CentOS 5.4 64bit (English)</osName>
+              <osType>pv</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>10.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_LLIPQ3UJ43RWG</diskimageId>
+              <diskimageName>W2k8R2SESP1(EN)</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Windows Server 2008 R2 SE 64bit SP1 (English)</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_QIEWLLNIF7IF40</diskimageId>
+              <diskimageName>W2k8R2SE/IIS(EN)</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Windows Server 2008 R2 SE 64bit (English)</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+              <softwares>
+                <software>
+                  <license />
+                  <name>Internet Information Server 7.5</name>
+                </software>
+              </softwares>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_S24FWXU0Q9VH0JK</diskimageId>
+              <diskimageName>CentOS 6.2 64bit(EN)</diskimageName>
+              <licenseInfo />
+              <osName>CentOS 6.2 64bit (English)</osName>
+              <osType>pv</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>10.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_X1W13YQIDAYQ2SQO</diskimageId>
+              <diskimageName>RHEL5.7 64bit wSPT</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Red Hat Enterprise Linux 5.7 64bit (English) with Support</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+          </diskimages>
+          <responseMessage>Processing was completed.</responseMessage>
+          <responseStatus>SUCCESS</responseStatus>
+        </ListDiskImageResponse>
+        
+
+    http_version: 
+  recorded_at: Mon, 18 Feb 2013 12:00:58 GMT
+- request: 
+    method: get
+    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg4ODU4MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListServerType&Locale=en&Signature=NnF2BrOE6KtdXhCq/vg1GLesU9+juzFQ+vxE3tnbM+qx3BSS0lKmZJOjeKL2%0A91L8OYP5uFUdpx1EmcKDKm98OAnMuKQgZZBQrX2C+A6VRj04IhagiyxXurZy%0AtSopFCG28nV4k4Sa02pXKuqGUOnr70vIyB7LDvLyQ+9LGtNMs/fWkkOpSSAs%0APxYIFNYtcOiJIm2ghX+qhZ7Imnbuiv3TqkDTy2uFM7ggWh9ZEBk9IlcSwGbt%0AoA8Ek/+UFJXncHB0o17utA8+EmNxPq/HnmUVAKeHZjWNTj6nX16SIvrsUmfo%0AusAHHhdSxVlyY+udC5vdP/Wm0u3cdQLDmMkD9Njjww==%0A&Version=2011-01-31&diskImageId=dummy
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - text/xml
+      User-Agent: 
+      - OViSS-API-CLIENT
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Connection: 
+      - close
+      Date: 
+      - Mon, 18 Feb 2013 12:00:59 GMT
+      Transfer-Encoding: 
+      - chunked
+      Content-Type: 
+      - text/xml;charset=UTF-8
+      Set-Cookie: 
+      - JSESSIONID=258FA77BC02CD2783B3D19DACF22CA8C; Path=/ovisspxy; Secure
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8"?>
+        <ListServerTypeResponse xmlns="http://apioviss.jp.fujitsu.com">
+          <responseMessage>Processing was completed.</responseMessage>
+          <responseStatus>SUCCESS</responseStatus>
+          <servertypes>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>4.0</cpuPerf>
+                <numOfCpu>1</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_144</id>
+              <memory>
+                <memorySize>7.5</memorySize>
+              </memory>
+              <name>advanced</name>
+              <price>0.4949</price>
+              <productId>AUS-VM-0001-0003</productId>
+              <productName>Advanced VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>1.0</cpuPerf>
+                <numOfCpu>1</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_140</id>
+              <memory>
+                <memorySize>1.7</memorySize>
+              </memory>
+              <name>economy</name>
+              <price>0.1237</price>
+              <productId>AUS-VM-0001-0001</productId>
+              <productName>Economy VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>4.0</cpuPerf>
+                <numOfCpu>2</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_146</id>
+              <memory>
+                <memorySize>15.0</memorySize>
+              </memory>
+              <name>high_performance</name>
+              <price>0.9898</price>
+              <productId>AUS-VM-0001-0004</productId>
+              <productName>High-Performance VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>2.0</cpuPerf>
+                <numOfCpu>1</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_142</id>
+              <memory>
+                <memorySize>3.4</memorySize>
+              </memory>
+              <name>standard</name>
+              <price>0.2474</price>
+              <productId>AUS-VM-0001-0002</productId>
+              <productName>Standard VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>4.0</cpuPerf>
+                <numOfCpu>4</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_146337</id>
+              <memory>
+                <memorySize>30.0</memorySize>
+              </memory>
+              <name>w_high</name>
+              <price>1.9796</price>
+              <productId>AUS-VM-0001-0011</productId>
+              <productName>Double-High Performance VM</productName>
+            </servertype>
+          </servertypes>
+        </ListServerTypeResponse>
+        
+
+    http_version: 
+  recorded_at: Mon, 18 Feb 2013 12:00:59 GMT
+- request: 
+    method: get
+    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg4ODU5MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListDiskImage&Locale=en&Signature=AsT+6p/OjJ3zd1E3LKERBVWTB1Paa6+TG2rbdGNtyN8wo61vIwuggvl54wEt%0ALApvl80ljsBvcM/8r1bBOuvNUxmNFxJtdrublIEAOGfY9q+vx5g+2nq2UilG%0Apmm1qmlH/W9Y3vZnNwnVFncL4pvM27uXaPupbrQ8vZO/oy4xoh11b+0uogNW%0AVMS7Tt2ZtBcXLyZ/FrB+6QWOqlmdVEyljTKZvfk0ahJ7nvpGRp4hKvChbKEd%0Ad/hsQRXCn4X6DuIneAv5ETW1xuPF9TcC1r2Go4WUp/ANe3QSCa7GvVsJP0r+%0Ah6FiIajFb4fbzaU/tcRKlChcw8QKRQ265dHDLht0Zw==%0A&Version=2011-01-31
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - text/xml
+      User-Agent: 
+      - OViSS-API-CLIENT
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Connection: 
+      - close
+      Date: 
+      - Mon, 18 Feb 2013 12:01:00 GMT
+      Transfer-Encoding: 
+      - chunked
+      Content-Type: 
+      - text/xml;charset=UTF-8
+      Set-Cookie: 
+      - JSESSIONID=2D732232EB4B924D1055C4787ABFE607; Path=/ovisspxy; Secure
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8"?>
+        <ListDiskImageResponse xmlns="http://apioviss.jp.fujitsu.com">
+          <diskimages>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG0001_RHEL5_8EN64_v1_24x7SPT</diskimageId>
+              <diskimageName>RHEL5.8 64bit(EN) wSPT</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Red Hat Enterprise Linux 5.8 64bit</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG0002_RHEL5_8EN64_v1_NoSPT</diskimageId>
+              <diskimageName>RHEL5.8 64bit(EN)</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Red Hat Enterprise Linux 5.8 64bit</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG0003_RHEL6_3EN64_v1_24x7SPT</diskimageId>
+              <diskimageName>RHEL6.3 64bit(EN) wSPT</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Red Hat Enterprise Linux 6.3 64bit</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG0004_RHEL6_3EN64_v1_NoSPT</diskimageId>
+              <diskimageName>RHEL6.3 64bit(EN)</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Red Hat Enterprise Linux 6.3 64bit</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_21VKHA77OO</diskimageId>
+              <diskimageName>CentOS 5.6 32bit(EN)</diskimageName>
+              <licenseInfo />
+              <osName>CentOS 5.6 32bit (English)</osName>
+              <osType>pv</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>10.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_D30U8UNY6I9S</diskimageId>
+              <diskimageName>CentOS 6.2 32bit(EN)</diskimageName>
+              <licenseInfo />
+              <osName>CentOS 6.2 32bit (English)</osName>
+              <osType>pv</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>10.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_D30Y0LNN4WE8</diskimageId>
+              <diskimageName>W2k8R2EESP1(EN)</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Windows Server 2008 R2 EE 64bit SP1 (English)</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_FBV3QFG44MPS</diskimageId>
+              <diskimageName>CentOS 5.6 64bit(EN)</diskimageName>
+              <licenseInfo />
+              <osName>CentOS 5.6 64bit (English)</osName>
+              <osType>pv</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>10.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_J55YW6UE101DS</diskimageId>
+              <diskimageName>CentOS 5.4 32bit(EN)</diskimageName>
+              <licenseInfo />
+              <osName>CentOS 5.4 32bit (English)</osName>
+              <osType>pv</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>10.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_J56Y5PS4FJO5C</diskimageId>
+              <diskimageName>W2k8R2SE/SQL2k8R2(EN)</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Windows Server 2008 R2 SE 64bit (English)</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+              <softwares>
+                <software>
+                  <license>Included</license>
+                  <name>SQLServer 2008 R2 SE (English)</name>
+                </software>
+              </softwares>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_LKNVW2TH31A0W</diskimageId>
+              <diskimageName>CentOS 5.4 64bit(EN)</diskimageName>
+              <licenseInfo />
+              <osName>CentOS 5.4 64bit (English)</osName>
+              <osType>pv</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>10.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_LLIPQ3UJ43RWG</diskimageId>
+              <diskimageName>W2k8R2SESP1(EN)</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Windows Server 2008 R2 SE 64bit SP1 (English)</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_QIEWLLNIF7IF40</diskimageId>
+              <diskimageName>W2k8R2SE/IIS(EN)</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Windows Server 2008 R2 SE 64bit (English)</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+              <softwares>
+                <software>
+                  <license />
+                  <name>Internet Information Server 7.5</name>
+                </software>
+              </softwares>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_S24FWXU0Q9VH0JK</diskimageId>
+              <diskimageName>CentOS 6.2 64bit(EN)</diskimageName>
+              <licenseInfo />
+              <osName>CentOS 6.2 64bit (English)</osName>
+              <osType>pv</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>10.0</size>
+            </diskimage>
+            <diskimage>
+              <creatorName>UZXC0GRT</creatorName>
+              <description />
+              <diskimageId>IMG_3c9820_X1W13YQIDAYQ2SQO</diskimageId>
+              <diskimageName>RHEL5.7 64bit wSPT</diskimageName>
+              <licenseInfo>Included</licenseInfo>
+              <osName>Red Hat Enterprise Linux 5.7 64bit (English) with Support</osName>
+              <osType>hvm</osType>
+              <registrant>UZXC0GRT</registrant>
+              <size>40.0</size>
+            </diskimage>
+          </diskimages>
+          <responseMessage>Processing was completed.</responseMessage>
+          <responseStatus>SUCCESS</responseStatus>
+        </ListDiskImageResponse>
+        
+
+    http_version: 
+  recorded_at: Mon, 18 Feb 2013 12:01:01 GMT
+- request: 
+    method: get
+    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg4ODYxMDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListServerType&Locale=en&Signature=z0tkF3HrVqoiG7hlxXEu9Om81tquWPZn4OKwhVOxEdhVqeTHUAJUPKMxcNpS%0AxHqeO+enXxzQTEoFvf9CN0nDJ5T70nG+yIexN3dhwxg6xH53BmRHfuUG3skg%0Ac+7lsxge7LU0VTSPz+EWEBQm9XBJ1GEM2q8aAGsMesyOEyopG+5DhxRboMe/%0AVvPjwo2+KPx3okfoL1TQvFzhKRpwQKMTglE9hbHbS8rr6u60u8DczZjsNXSx%0AuNVdydwbfLT88djF/HSayU5YjArErCBBkZ/ZN1Wn+QH4wzOITpPVY0+7g35D%0A9g1RjPNnRe4XofA9orbmPfhFIgOEvjqLjL5ddVXPDw==%0A&Version=2011-01-31&diskImageId=dummy
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - text/xml
+      User-Agent: 
+      - OViSS-API-CLIENT
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Connection: 
+      - close
+      Date: 
+      - Mon, 18 Feb 2013 12:01:02 GMT
+      Transfer-Encoding: 
+      - chunked
+      Content-Type: 
+      - text/xml;charset=UTF-8
+      Set-Cookie: 
+      - JSESSIONID=B933EF709E916019C702E5AE1F6977CF; Path=/ovisspxy; Secure
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8"?>
+        <ListServerTypeResponse xmlns="http://apioviss.jp.fujitsu.com">
+          <responseMessage>Processing was completed.</responseMessage>
+          <responseStatus>SUCCESS</responseStatus>
+          <servertypes>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>4.0</cpuPerf>
+                <numOfCpu>1</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_144</id>
+              <memory>
+                <memorySize>7.5</memorySize>
+              </memory>
+              <name>advanced</name>
+              <price>0.4949</price>
+              <productId>AUS-VM-0001-0003</productId>
+              <productName>Advanced VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>1.0</cpuPerf>
+                <numOfCpu>1</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_140</id>
+              <memory>
+                <memorySize>1.7</memorySize>
+              </memory>
+              <name>economy</name>
+              <price>0.1237</price>
+              <productId>AUS-VM-0001-0001</productId>
+              <productName>Economy VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>4.0</cpuPerf>
+                <numOfCpu>2</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_146</id>
+              <memory>
+                <memorySize>15.0</memorySize>
+              </memory>
+              <name>high_performance</name>
+              <price>0.9898</price>
+              <productId>AUS-VM-0001-0004</productId>
+              <productName>High-Performance VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>2.0</cpuPerf>
+                <numOfCpu>1</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_142</id>
+              <memory>
+                <memorySize>3.4</memorySize>
+              </memory>
+              <name>standard</name>
+              <price>0.2474</price>
+              <productId>AUS-VM-0001-0002</productId>
+              <productName>Standard VM</productName>
+            </servertype>
+            <servertype>
+              <chargeType>amount</chargeType>
+              <cpu>
+                <cpuArch>IA</cpuArch>
+                <cpuPerf>4.0</cpuPerf>
+                <numOfCpu>4</numOfCpu>
+              </cpu>
+              <expectedUsage>744</expectedUsage>
+              <id>islanda-cbrm_146337</id>
+              <memory>
+                <memorySize>30.0</memorySize>
+              </memory>
+              <name>w_high</name>
+              <price>1.9796</price>
+              <productId>AUS-VM-0001-0011</productId>
+              <productName>Double-High Performance VM</productName>
+            </servertype>
+          </servertypes>
+        </ListServerTypeResponse>
+        
+
+    http_version: 
+  recorded_at: Mon, 18 Feb 2013 12:01:03 GMT
+recorded_with: VCR 2.4.0

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/2a9e21a0/server/tests/drivers/fgcp/fixtures/test_0004_must_allow_to_retrieve_single_realm.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/fgcp/fixtures/test_0004_must_allow_to_retrieve_single_realm.yml b/server/tests/drivers/fgcp/fixtures/test_0004_must_allow_to_retrieve_single_realm.yml
new file mode 100644
index 0000000..4a94eba
--- /dev/null
+++ b/server/tests/drivers/fgcp/fixtures/test_0004_must_allow_to_retrieve_single_realm.yml
@@ -0,0 +1,117 @@
+--- 
+recorded_with: VCR 2.4.0
+http_interactions: 
+- request: 
+    method: get
+    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg1NDQzMDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=GetVSYSAttributes&Locale=en&Signature=PqF/rGzfk+fJSalF8TN4EilaldYT51DNnmW33Dws+Q2SwBwPbWyufm/wRsOk%0AAJpoMd5dtkcnsq4BSQhDNNG7xXaqARggtle/+oLUGWhKvVLXEboqZOrh74nf%0A8qOqO9OnDayJR73oSi79upbzM3T7YSMN3y/7kGCzJCIr8QWEFjGPsyW5vot6%0AoHa58AS7GSlJRdFjiPcdBYbi55xMCTB0Tsen0pgx71DEJFx+MFkRyH3snbse%0ArV+mYjv8eopCc+GsCLXdYI1aIrE8AF+TPdUCVwxmzVGOvrjymHVmmTc0OGQ7%0AOJttwv9zkvjW2SQOLBheaa4Pv81m6f+/tGcyT1GJOg==%0A&Version=2011-01-31&vsysId=Dies-DC
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - text/xml
+      User-Agent: 
+      - OViSS-API-CLIENT
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Connection: 
+      - close
+      Content-Type: 
+      - text/xml;charset=UTF-8
+      Set-Cookie: 
+      - JSESSIONID=17754BCD10A2CAB24196E37FBBBB725E; Path=/ovisspxy; Secure
+      Date: 
+      - Mon, 18 Feb 2013 11:04:04 GMT
+      Transfer-Encoding: 
+      - chunked
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8"?>
+        <OViSSResponse xmlns="http://apioviss.jp.fujitsu.com">
+          <responseMessage>A wrong value is set.:[vsysId]</responseMessage>
+          <responseStatus>VALIDATION_ERROR</responseStatus>
+        </OViSSResponse>
+
+    http_version: 
+  recorded_at: Mon, 18 Feb 2013 11:04:04 GMT
+- request: 
+    method: get
+    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg1ODg0MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=GetVSYSAttributes&Locale=en&Signature=JsO81XlR3IX8eXaR2VsvQ0bDS12P6wjlEr5qS4H1MVTJTp7ei8A2n6IuvPat%0AoBG+BQ9iLBC05FB8ags3ya72lE6QkijesQm/v1OgQBo45Zn/1QeUGli9ZREp%0AV0DB+1LNiksBrmAfGvYxd5bZ+oPe5T5ItzwLAVOp9h8md9uJ0ku7zIR8HMBq%0AYPK4mV14VTTksmnsTCTvZSJK0yXjDdREH8Cae3/AEANz20X1PM1P4jcT9t/4%0Av7UjoujN0RvvKupzp5Jq7MTRUMt7nLrcZA0QUDOJmeam4GXFJprHcXWOkk74%0A03LAEOeqYmPuUOVjcmLjKqoMjtJxMgrxHgoHx3/xfg==%0A&Version=2011-01-31&vsysId=UZXC0GRT-ZG8ZJCJ07
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - text/xml
+      User-Agent: 
+      - OViSS-API-CLIENT
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Connection: 
+      - close
+      Content-Type: 
+      - text/xml;charset=UTF-8
+      Set-Cookie: 
+      - JSESSIONID=AB1873038389CD3FF874DA4C6CD6CEB6; Path=/ovisspxy; Secure
+      Date: 
+      - Mon, 18 Feb 2013 11:11:24 GMT
+      Transfer-Encoding: 
+      - chunked
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8"?>
+        <GetVSYSAttributesResponse xmlns="http://apioviss.jp.fujitsu.com">
+          <responseMessage>Processing was completed.</responseMessage>
+          <responseStatus>SUCCESS</responseStatus>
+          <vsys>
+            <baseDescriptor>2-tier Skeleton</baseDescriptor>
+            <creator>UZXC0GRT</creator>
+            <description>2-tier Skeleton</description>
+            <vsysId>UZXC0GRT-ZG8ZJCJ07</vsysId>
+            <vsysName>Dies-DC-test</vsysName>
+          </vsys>
+        </GetVSYSAttributesResponse>
+        
+
+    http_version: 
+  recorded_at: Mon, 18 Feb 2013 11:11:25 GMT
+- request: 
+    method: get
+    uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg1ODg1MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=GetVSYSAttributes&Locale=en&Signature=ClsXKE5ea7FIkL3YRDtADar/JN7wsfDWzMdMDIIBPPC4rkJaOcg3/NXIOpmU%0AS5JqtToQhkDgue/gSfhTAqF8BOZK8vzkzi0hD5Qq87W4oT4qApdMJ3Po3PQZ%0AQVO4HKCjKuNZh9puERekqan+eQwoe4NdK9Br4d+c1DbPUXQCeEJO97lGcMJU%0A2uGDUW6u0mXAipx93zJ3ZTd8Qs5X2Q6SDgAKra2t9Bq/2/RjLj0TW11HOgEn%0AckyzicxXAhOqJp43nFuwt6iZUSrbv9Ag4vEBdtN+xTWCsot2HNBu8Tf1ZDsv%0A3OqehN3bqX11bJvHFfvqV23pGOXBkD9VLLVJpebOvA==%0A&Version=2011-01-31&vsysId=
+    body: 
+      string: ""
+    headers: 
+      Accept: 
+      - text/xml
+      User-Agent: 
+      - OViSS-API-CLIENT
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Connection: 
+      - close
+      Content-Type: 
+      - text/xml;charset=UTF-8
+      Set-Cookie: 
+      - JSESSIONID=594003EECCDB49F3F157E447486B61E6; Path=/ovisspxy; Secure
+      Date: 
+      - Mon, 18 Feb 2013 11:11:25 GMT
+      Transfer-Encoding: 
+      - chunked
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8"?>
+        <OViSSResponse xmlns="http://apioviss.jp.fujitsu.com">
+          <responseMessage>A wrong value is set.:[vsysId]</responseMessage>
+          <responseStatus>VALIDATION_ERROR</responseStatus>
+        </OViSSResponse>
+        
+
+    http_version: 
+  recorded_at: Mon, 18 Feb 2013 11:11:25 GMT