Return-Path: X-Original-To: apmail-deltacloud-dev-archive@www.apache.org Delivered-To: apmail-deltacloud-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AF454EB5B for ; Mon, 18 Feb 2013 12:51:53 +0000 (UTC) Received: (qmail 6921 invoked by uid 500); 18 Feb 2013 12:51:53 -0000 Delivered-To: apmail-deltacloud-dev-archive@deltacloud.apache.org Received: (qmail 6796 invoked by uid 500); 18 Feb 2013 12:51:53 -0000 Mailing-List: contact dev-help@deltacloud.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@deltacloud.apache.org Delivered-To: mailing list dev@deltacloud.apache.org Received: (qmail 6773 invoked by uid 99); 18 Feb 2013 12:51:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2013 12:51:52 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mfojtik@redhat.com designates 209.132.183.28 as permitted sender) Received: from [209.132.183.28] (HELO mx1.redhat.com) (209.132.183.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2013 12:51:43 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r1ICpKkW014638 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 18 Feb 2013 07:51:20 -0500 Received: from boosh.local (dhcp-29-246.brq.redhat.com [10.34.29.246]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r1ICpD2V020280 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 18 Feb 2013 07:51:16 -0500 Date: Mon, 18 Feb 2013 13:51:13 +0100 From: Michal Fojtik To: dev@deltacloud.apache.org Subject: Re: [PATCH] FGCP: added unit tests for provider & realms, incl. VCR recordings and fixed error with unknown id Message-ID: <20130218125113.GA6941@boosh.local> References: <1361191224-7760-1-git-send-email-diesk@fast.au.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1361191224-7760-1-git-send-email-diesk@fast.au.fujitsu.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Virus-Checked: Checked by ClamAV on apache.org On 02/18, diesk@fast.au.fujitsu.com wrote: ACK. > From: Dies Koper > > --- > server/lib/deltacloud/drivers/fgcp/fgcp_driver.rb | 8 +- > ..._0001_must_return_list_of_hardware_profiles.yml | 249 -------- > .../test_0001_must_return_list_of_images.yml | 341 ----------- > ...0002_must_allow_to_filter_hardware_profiles.yml | 249 -------- > .../test_0002_must_allow_to_filter_images.yml | 679 --------------------- > ..._0002_must_return_list_of_hardware_profiles.yml | 126 ++++ > .../test_0002_must_return_list_of_images.yml | 341 +++++++++++ > .../test_0002_must_return_list_of_realms.yml | 443 ++++++++++++++ > ...0003_must_allow_to_filter_hardware_profiles.yml | 249 ++++++++ > .../test_0003_must_allow_to_filter_images.yml | 679 +++++++++++++++++++++ > .../test_0003_must_allow_to_filter_realms.yml | 117 ++++ > ...t_allow_to_retrieve_single_hardware_profile.yml | 249 -------- > ...st_0003_must_allow_to_retrieve_single_image.yml | 679 --------------------- > ...t_allow_to_retrieve_single_hardware_profile.yml | 249 ++++++++ > ...st_0004_must_allow_to_retrieve_single_image.yml | 679 +++++++++++++++++++++ > ...st_0004_must_allow_to_retrieve_single_realm.yml | 117 ++++ > .../test_0004_must_include_correct_attributes.yml | 126 ---- > ...st_0005_must_include_at_least_four_profiles.yml | 126 ---- > .../test_0005_must_include_correct_attributes.yml | 126 ++++ > ...st_0006_must_include_at_least_four_profiles.yml | 126 ++++ > .../tests/drivers/fgcp/hardware_profiles_test.rb | 13 +- > server/tests/drivers/fgcp/images_test.rb | 8 +- > server/tests/drivers/fgcp/provider_test.rb | 27 + > server/tests/drivers/fgcp/realms_test.rb | 53 ++ > 24 files changed, 3356 insertions(+), 2703 deletions(-) > delete mode 100644 server/tests/drivers/fgcp/fixtures/test_0001_must_return_list_of_hardware_profiles.yml > delete mode 100644 server/tests/drivers/fgcp/fixtures/test_0001_must_return_list_of_images.yml > delete mode 100644 server/tests/drivers/fgcp/fixtures/test_0002_must_allow_to_filter_hardware_profiles.yml > delete mode 100644 server/tests/drivers/fgcp/fixtures/test_0002_must_allow_to_filter_images.yml > create mode 100644 server/tests/drivers/fgcp/fixtures/test_0002_must_return_list_of_hardware_profiles.yml > create mode 100644 server/tests/drivers/fgcp/fixtures/test_0002_must_return_list_of_images.yml > create mode 100644 server/tests/drivers/fgcp/fixtures/test_0002_must_return_list_of_realms.yml > create mode 100644 server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_filter_hardware_profiles.yml > create mode 100644 server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_filter_images.yml > create mode 100644 server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_filter_realms.yml > delete mode 100644 server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_retrieve_single_hardware_profile.yml > delete mode 100644 server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_retrieve_single_image.yml > create mode 100644 server/tests/drivers/fgcp/fixtures/test_0004_must_allow_to_retrieve_single_hardware_profile.yml > create mode 100644 server/tests/drivers/fgcp/fixtures/test_0004_must_allow_to_retrieve_single_image.yml > create mode 100644 server/tests/drivers/fgcp/fixtures/test_0004_must_allow_to_retrieve_single_realm.yml > delete mode 100644 server/tests/drivers/fgcp/fixtures/test_0004_must_include_correct_attributes.yml > delete mode 100644 server/tests/drivers/fgcp/fixtures/test_0005_must_include_at_least_four_profiles.yml > create mode 100644 server/tests/drivers/fgcp/fixtures/test_0005_must_include_correct_attributes.yml > create mode 100644 server/tests/drivers/fgcp/fixtures/test_0006_must_include_at_least_four_profiles.yml > create mode 100644 server/tests/drivers/fgcp/provider_test.rb > create mode 100644 server/tests/drivers/fgcp/realms_test.rb > > diff --git a/server/lib/deltacloud/drivers/fgcp/fgcp_driver.rb b/server/lib/deltacloud/drivers/fgcp/fgcp_driver.rb > index af61fe9..c8bcc7b 100644 > --- a/server/lib/deltacloud/drivers/fgcp/fgcp_driver.rb > +++ b/server/lib/deltacloud/drivers/fgcp/fgcp_driver.rb > @@ -183,7 +183,13 @@ class FgcpDriver < Deltacloud::BaseDriver > > # determine id belongs to system or network > vsys_id = client.extract_vsys_id(opts[:id]) > - vsys = client.get_vsys_attributes(vsys_id)['vsys'][0] > + begin > + vsys = client.get_vsys_attributes(vsys_id)['vsys'][0] > + rescue Exception => ex > + return [] if ex.message =~ /VALIDATION_ERROR.*A wrong value is set/ > + raise > + end > + > realm_name = vsys['vsysName'][0] > limit = '[System]' > if opts[:id] != vsys_id # network id specified > diff --git a/server/tests/drivers/fgcp/fixtures/test_0001_must_return_list_of_hardware_profiles.yml b/server/tests/drivers/fgcp/fixtures/test_0001_must_return_list_of_hardware_profiles.yml > deleted file mode 100644 > index 375db3d..0000000 > --- a/server/tests/drivers/fgcp/fixtures/test_0001_must_return_list_of_hardware_profiles.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=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTgyODE0MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListServerType&Locale=en&Signature=ZPAhBW7w0v3nMkQSGMU5kz82VEVdQeiBhhBNL9O6DfYASHXfQRjjOT7SBLG3%0AFWyiuODgwxQIUG95FNDEeM3B3EZOILyAgid91+SYVV6AgyP0HQgEuRf/bEfS%0AA6eo4fzUclYZXjCN0emtlgD2LXtWvyXyV1s1hNThtOw+M2z6M4LhA8OJBfnu%0Avc8kWrWsvSyx3Lp9fgaDsmsRdyqyZPSP+WQ87jwmrTr62nt7WtCRuXw6VZmO%0AsDpiG8p/lo3nqYSGZMsyRMDyRMXRjCpAFWdecYKMQp0HU2Vwy7U+qLBuVp71%0AVG9gPRTggZFlC8VYpcrD2+wMUqAVxYMsezmxFfmP4Q==%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:15 GMT > - Transfer-Encoding: > - - chunked > - Set-Cookie: > - - JSESSIONID=F1F21DE292B5B6E71FBC786C383F669A; Path=/ovisspxy; Secure > - Content-Type: > - - text/xml;charset=UTF-8 > - Connection: > - - close > - body: > - string: | > - > - > - Processing was completed. > - SUCCESS > - > - > - amount > - > - IA > - 4.0 > - 1 > - > - 744 > - islanda-cbrm_144 > - > - 7.5 > - > - advanced > - 0.4949 > - AUS-VM-0001-0003 > - Advanced VM > - > - > - amount > - > - IA > - 1.0 > - 1 > - > - 744 > - islanda-cbrm_140 > - > - 1.7 > - > - economy > - 0.1237 > - AUS-VM-0001-0001 > - Economy VM > - > - > - amount > - > - IA > - 4.0 > - 2 > - > - 744 > - islanda-cbrm_146 > - > - 15.0 > - > - high_performance > - 0.9898 > - AUS-VM-0001-0004 > - High-Performance VM > - > - > - amount > - > - IA > - 2.0 > - 1 > - > - 744 > - islanda-cbrm_142 > - > - 3.4 > - > - standard > - 0.2474 > - AUS-VM-0001-0002 > - Standard VM > - > - > - amount > - > - IA > - 4.0 > - 4 > - > - 744 > - islanda-cbrm_146337 > - > - 30.0 > - > - w_high > - 1.9796 > - AUS-VM-0001-0011 > - Double-High Performance VM > - > - > - > - > - > - http_version: > - recorded_at: Mon, 18 Feb 2013 10:20:15 GMT > -- request: > - method: get > - uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTgyODE1MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListServerType&Locale=en&Signature=whx93k3+lbm1vrlFzUKl3wibIxxmV/ivgEO9SyS5JUlMtdT+myMbaNMHQwuT%0A83grJL72nWUZZCesk7ZbBMFuHcdpMCaEWnmUM+6qEjQNsHKKsInE8bX/ZmK0%0AJe2BOhDLN+8v1mHE1IYIO4OmzhA1Ql2K8th9lJDyHAGSAorqOJED8K7FkdNV%0Abc22Us08422hT4Y0Gz2tDzd/hoy8kA8sFTA2KDGHB43n9SsZgdRVtyQU45Yj%0AZxnhi+/RwiZymNIA3q3aW3Lc/Zm/DnrBK/g54YoqUK2LjfN/11rUtTz7/zNL%0AzvAxl0yvspcZZ8K7NRC8nlvtlpE68A9rIl4m5/fFyw==%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:16 GMT > - Transfer-Encoding: > - - chunked > - Set-Cookie: > - - JSESSIONID=696DA083C6FBA66114C588B0B61016F3; Path=/ovisspxy; Secure > - Content-Type: > - - text/xml;charset=UTF-8 > - Connection: > - - close > - body: > - string: | > - > - > - Processing was completed. > - SUCCESS > - > - > - amount > - > - IA > - 4.0 > - 1 > - > - 744 > - islanda-cbrm_144 > - > - 7.5 > - > - advanced > - 0.4949 > - AUS-VM-0001-0003 > - Advanced VM > - > - > - amount > - > - IA > - 1.0 > - 1 > - > - 744 > - islanda-cbrm_140 > - > - 1.7 > - > - economy > - 0.1237 > - AUS-VM-0001-0001 > - Economy VM > - > - > - amount > - > - IA > - 4.0 > - 2 > - > - 744 > - islanda-cbrm_146 > - > - 15.0 > - > - high_performance > - 0.9898 > - AUS-VM-0001-0004 > - High-Performance VM > - > - > - amount > - > - IA > - 2.0 > - 1 > - > - 744 > - islanda-cbrm_142 > - > - 3.4 > - > - standard > - 0.2474 > - AUS-VM-0001-0002 > - Standard VM > - > - > - amount > - > - IA > - 4.0 > - 4 > - > - 744 > - islanda-cbrm_146337 > - > - 30.0 > - > - w_high > - 1.9796 > - AUS-VM-0001-0011 > - Double-High Performance VM > - > - > - > - > - > - http_version: > - recorded_at: Mon, 18 Feb 2013 10:20:16 GMT > diff --git a/server/tests/drivers/fgcp/fixtures/test_0001_must_return_list_of_images.yml b/server/tests/drivers/fgcp/fixtures/test_0001_must_return_list_of_images.yml > deleted file mode 100644 > index d38d2d8..0000000 > --- a/server/tests/drivers/fgcp/fixtures/test_0001_must_return_list_of_images.yml > +++ /dev/null > @@ -1,341 +0,0 @@ > ---- > -recorded_with: VCR 2.4.0 > -http_interactions: > -- request: > - method: get > - uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTgyODIyMDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListDiskImage&Locale=en&Signature=v8Xbznsd1l2SHLNgA3j+BdhFAooa3J1cdknacEbZ2f0g6vLwChbSGYjtPXmd%0Atp98I4NVFCz4s35+dR2NM9s7c1cnLzgOiv+XPJBl913jAtyfUzQBgCZy6+xG%0A/JIbWSrEgSRw93EyaPjdviwyEhfpFNLw4/J63lbtzhjICY6jU+rtGuu2jzo+%0AOEt+ooZ2M3FDpZsNv19wJ/vrW1E6SADO0kqZmL2GB8emKvH1XbuCOJzT+c7e%0AAcg7f933GqyKeCr+HJol0uOUNUbpFn13g6QJ1YQAC0Q7CoG6ipf3EhzZjmnb%0A0usnkhetiSg71y5alscARMmErrK2XkMCjY4d7ed84g==%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:22 GMT > - Transfer-Encoding: > - - chunked > - Set-Cookie: > - - JSESSIONID=7C97F13ACCE75CD4642357180FF24340; Path=/ovisspxy; Secure > - Content-Type: > - - text/xml;charset=UTF-8 > - Connection: > - - close > - body: > - string: | > - > - > - > - > - UZXC0GRT > - > - IMG0001_RHEL5_8EN64_v1_24x7SPT > - RHEL5.8 64bit(EN) wSPT > - Included > - Red Hat Enterprise Linux 5.8 64bit > - hvm > - UZXC0GRT > - 40.0 > - > - > - UZXC0GRT > - > - IMG0002_RHEL5_8EN64_v1_NoSPT > - RHEL5.8 64bit(EN) > - Included > - Red Hat Enterprise Linux 5.8 64bit > - hvm > - UZXC0GRT > - 40.0 > - > - > - UZXC0GRT > - > - IMG0003_RHEL6_3EN64_v1_24x7SPT > - RHEL6.3 64bit(EN) wSPT > - Included > - Red Hat Enterprise Linux 6.3 64bit > - hvm > - UZXC0GRT > - 40.0 > - > - > - UZXC0GRT > - > - IMG0004_RHEL6_3EN64_v1_NoSPT > - RHEL6.3 64bit(EN) > - Included > - Red Hat Enterprise Linux 6.3 64bit > - hvm > - UZXC0GRT > - 40.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_21VKHA77OO > - CentOS 5.6 32bit(EN) > - > - CentOS 5.6 32bit (English) > - pv > - UZXC0GRT > - 10.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_D30U8UNY6I9S > - CentOS 6.2 32bit(EN) > - > - CentOS 6.2 32bit (English) > - pv > - UZXC0GRT > - 10.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_D30Y0LNN4WE8 > - W2k8R2EESP1(EN) > - Included > - Windows Server 2008 R2 EE 64bit SP1 (English) > - hvm > - UZXC0GRT > - 40.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_FBV3QFG44MPS > - CentOS 5.6 64bit(EN) > - > - CentOS 5.6 64bit (English) > - pv > - UZXC0GRT > - 10.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_J55YW6UE101DS > - CentOS 5.4 32bit(EN) > - > - CentOS 5.4 32bit (English) > - pv > - UZXC0GRT > - 10.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_J56Y5PS4FJO5C > - W2k8R2SE/SQL2k8R2(EN) > - Included > - Windows Server 2008 R2 SE 64bit (English) > - hvm > - UZXC0GRT > - 40.0 > - > - > - Included > - SQLServer 2008 R2 SE (English) > - > - > - > - > - UZXC0GRT > - > - IMG_3c9820_LKNVW2TH31A0W > - CentOS 5.4 64bit(EN) > - > - CentOS 5.4 64bit (English) > - pv > - UZXC0GRT > - 10.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_LLIPQ3UJ43RWG > - W2k8R2SESP1(EN) > - Included > - Windows Server 2008 R2 SE 64bit SP1 (English) > - hvm > - UZXC0GRT > - 40.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_QIEWLLNIF7IF40 > - W2k8R2SE/IIS(EN) > - Included > - Windows Server 2008 R2 SE 64bit (English) > - hvm > - UZXC0GRT > - 40.0 > - > - > - > - Internet Information Server 7.5 > - > - > - > - > - UZXC0GRT > - > - IMG_3c9820_S24FWXU0Q9VH0JK > - CentOS 6.2 64bit(EN) > - > - CentOS 6.2 64bit (English) > - pv > - UZXC0GRT > - 10.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_X1W13YQIDAYQ2SQO > - RHEL5.7 64bit wSPT > - Included > - Red Hat Enterprise Linux 5.7 64bit (English) with Support > - hvm > - UZXC0GRT > - 40.0 > - > - > - Processing was completed. > - SUCCESS > - > - > - > - http_version: > - recorded_at: Mon, 18 Feb 2013 10:20:23 GMT > -- request: > - method: get > - uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTgyODIzMDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListServerType&Locale=en&Signature=PU8hMf3zKWKbZiRj8eVEm3L2/AjsFXbENw7nkY5jt4e6OlqdYHOT+2PdsuLT%0AmWrcJG/t6aE3Ndkzyv3pUpQ62RrriIg4scyr+gXPJztIyMpBcfflsn6W+9ks%0ApX6tfdsEm5ITW4egPw2kNEGrZOR8XPsC7v0zv0woQZ/lLSLE+SDTbOFMAE4R%0AHys1tR2yHlQieIjphegW9KfnMipRyX+QsCM+SgphXObpT4uJIvKsJHr/Eafi%0AiK7DM01brFbdVbZzvOjr1g/PqVOeIwgCAsa9xVynFJTfLdQX+GFQG3DU76oD%0AQtlBJSqXSKbxG5OuGS1DVSWrATH+I7wD1oPdXN/Akg==%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:24 GMT > - Transfer-Encoding: > - - chunked > - Set-Cookie: > - - JSESSIONID=7A7893C252855EB637B7EBE38FE31A9F; Path=/ovisspxy; Secure > - Content-Type: > - - text/xml;charset=UTF-8 > - Connection: > - - close > - body: > - string: | > - > - > - Processing was completed. > - SUCCESS > - > - > - amount > - > - IA > - 4.0 > - 1 > - > - 744 > - islanda-cbrm_144 > - > - 7.5 > - > - advanced > - 0.4949 > - AUS-VM-0001-0003 > - Advanced VM > - > - > - amount > - > - IA > - 1.0 > - 1 > - > - 744 > - islanda-cbrm_140 > - > - 1.7 > - > - economy > - 0.1237 > - AUS-VM-0001-0001 > - Economy VM > - > - > - amount > - > - IA > - 4.0 > - 2 > - > - 744 > - islanda-cbrm_146 > - > - 15.0 > - > - high_performance > - 0.9898 > - AUS-VM-0001-0004 > - High-Performance VM > - > - > - amount > - > - IA > - 2.0 > - 1 > - > - 744 > - islanda-cbrm_142 > - > - 3.4 > - > - standard > - 0.2474 > - AUS-VM-0001-0002 > - Standard VM > - > - > - amount > - > - IA > - 4.0 > - 4 > - > - 744 > - islanda-cbrm_146337 > - > - 30.0 > - > - w_high > - 1.9796 > - AUS-VM-0001-0011 > - Double-High Performance VM > - > - > - > - > - > - http_version: > - recorded_at: Mon, 18 Feb 2013 10:20:24 GMT > diff --git a/server/tests/drivers/fgcp/fixtures/test_0002_must_allow_to_filter_hardware_profiles.yml b/server/tests/drivers/fgcp/fixtures/test_0002_must_allow_to_filter_hardware_profiles.yml > deleted file mode 100644 > index 3760d77..0000000 > --- a/server/tests/drivers/fgcp/fixtures/test_0002_must_allow_to_filter_hardware_profiles.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=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTgyODEwMDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListServerType&Locale=en&Signature=trnkaYnKzTfiFzi/h1XS4BsOfG0nyH2KVwiEfJaXRvHjuHfWNm/qfuoz2R+L%0Ak+fFPJjFUENa7EO/jDBBXJDuzowk3Fr/q+EBVX30xrb43vzp5Pkt+XrbEFxM%0A7pNJkyCgpl+u+8+UZnl0cNMP8MEGybiSeTRUPkYRWP7e9sVz+B55QIuo7WTu%0AjJzzHc/WKHUm0MUo6VbzBhJeec2SBuHKtPzix2mkysr/USt+49vmq7iWdg9E%0ABUPSAZSp83oIqD9v3e0v8XR8d7CaP6xRWsc8BEMLwnCQ6Ksz3bIHmRvtbVjZ%0A8qSj4ubyGW5xpoVVNVZve9LEES2/aE1DUMUDt26pUg==%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:11 GMT > - Transfer-Encoding: > - - chunked > - Set-Cookie: > - - JSESSIONID=895B2FE83FC5342D2EDE05A2F2AB4F3E; Path=/ovisspxy; Secure > - Content-Type: > - - text/xml;charset=UTF-8 > - Connection: > - - close > - body: > - string: | > - > - > - Processing was completed. > - SUCCESS > - > - > - amount > - > - IA > - 4.0 > - 1 > - > - 744 > - islanda-cbrm_144 > - > - 7.5 > - > - advanced > - 0.4949 > - AUS-VM-0001-0003 > - Advanced VM > - > - > - amount > - > - IA > - 1.0 > - 1 > - > - 744 > - islanda-cbrm_140 > - > - 1.7 > - > - economy > - 0.1237 > - AUS-VM-0001-0001 > - Economy VM > - > - > - amount > - > - IA > - 4.0 > - 2 > - > - 744 > - islanda-cbrm_146 > - > - 15.0 > - > - high_performance > - 0.9898 > - AUS-VM-0001-0004 > - High-Performance VM > - > - > - amount > - > - IA > - 2.0 > - 1 > - > - 744 > - islanda-cbrm_142 > - > - 3.4 > - > - standard > - 0.2474 > - AUS-VM-0001-0002 > - Standard VM > - > - > - amount > - > - IA > - 4.0 > - 4 > - > - 744 > - islanda-cbrm_146337 > - > - 30.0 > - > - w_high > - 1.9796 > - AUS-VM-0001-0011 > - Double-High Performance VM > - > - > - > - > - > - http_version: > - recorded_at: Mon, 18 Feb 2013 10:20:11 GMT > -- request: > - method: get > - uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTgyODExMDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListServerType&Locale=en&Signature=HwZoQ9g9uGZafQeCnLp8HR4h0zZoKnPUAHLqu2T+85wIodVA8jKH/EfuN3FA%0A8excnXNtqLKycDxPAQygdcwrXR+ISnuvc9kTnG+FNPGMTRe7wY72ySyWoJIM%0ANhQIFepc88kU3wvstzbHrqepxbrk/Kbv8VxmiB0pmyl/MGBvolMebN541A+b%0AVMgpARRiS5Mb24ayixdAwGdrzGHqoKsLWAu8GHgRtlXgcZT/n3CLNi9tWHAd%0A31NqAbq76vugM5RGOrzEzbyZKRNFywyQZsN7CsiF/5r/qrmUw9p5W74mKgFO%0A2ETr/pfBlpc8XclH+D+IBeXJNlFgLuT+Z8TzJ6kb/w==%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:12 GMT > - Transfer-Encoding: > - - chunked > - Set-Cookie: > - - JSESSIONID=BD8ECD9238F58200DC4C6DFA2FFF045A; Path=/ovisspxy; Secure > - Content-Type: > - - text/xml;charset=UTF-8 > - Connection: > - - close > - body: > - string: | > - > - > - Processing was completed. > - SUCCESS > - > - > - amount > - > - IA > - 4.0 > - 1 > - > - 744 > - islanda-cbrm_144 > - > - 7.5 > - > - advanced > - 0.4949 > - AUS-VM-0001-0003 > - Advanced VM > - > - > - amount > - > - IA > - 1.0 > - 1 > - > - 744 > - islanda-cbrm_140 > - > - 1.7 > - > - economy > - 0.1237 > - AUS-VM-0001-0001 > - Economy VM > - > - > - amount > - > - IA > - 4.0 > - 2 > - > - 744 > - islanda-cbrm_146 > - > - 15.0 > - > - high_performance > - 0.9898 > - AUS-VM-0001-0004 > - High-Performance VM > - > - > - amount > - > - IA > - 2.0 > - 1 > - > - 744 > - islanda-cbrm_142 > - > - 3.4 > - > - standard > - 0.2474 > - AUS-VM-0001-0002 > - Standard VM > - > - > - amount > - > - IA > - 4.0 > - 4 > - > - 744 > - islanda-cbrm_146337 > - > - 30.0 > - > - w_high > - 1.9796 > - AUS-VM-0001-0011 > - Double-High Performance VM > - > - > - > - > - > - http_version: > - recorded_at: Mon, 18 Feb 2013 10:20:12 GMT > diff --git a/server/tests/drivers/fgcp/fixtures/test_0002_must_allow_to_filter_images.yml b/server/tests/drivers/fgcp/fixtures/test_0002_must_allow_to_filter_images.yml > deleted file mode 100644 > index d565612..0000000 > --- a/server/tests/drivers/fgcp/fixtures/test_0002_must_allow_to_filter_images.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=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTgyODI0MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListDiskImage&Locale=en&Signature=rUT0CKUe2YHzwS21/WvehpqGxdhaqH7AgfFPNHNaQzCVOx4NgvVDT+Z+sFpP%0AFt32i1VaBd5R++haqPtSi6H1181CMTi2u7O9Gb5vJQkqyhWE/LeaDiKxvi6V%0AbYFHyOBHxtodFwGrVqf09HDbRXMpymDAh3VPUGixCZge39Q4oGabSAtZLxem%0AahMj3/lseBTU5l/ql5K1qjfl/n+vO366tgG6uv7/ZTzV+NnSXjTAtWAEyFia%0AbgHQQBI9sZA9yoV9abmGly1RX1FRXEbjs16w9mJNUZPv5fXiAb8GAaYx1MEV%0AFwFwbe7LdrZ2m+6by6KD+oJISrtGJHf9Nkm3MsJndw==%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:25 GMT > - Transfer-Encoding: > - - chunked > - Set-Cookie: > - - JSESSIONID=C46AF488794781319EA9702917E30183; Path=/ovisspxy; Secure > - Content-Type: > - - text/xml;charset=UTF-8 > - Connection: > - - close > - body: > - string: | > - > - > - > - > - UZXC0GRT > - > - IMG0001_RHEL5_8EN64_v1_24x7SPT > - RHEL5.8 64bit(EN) wSPT > - Included > - Red Hat Enterprise Linux 5.8 64bit > - hvm > - UZXC0GRT > - 40.0 > - > - > - UZXC0GRT > - > - IMG0002_RHEL5_8EN64_v1_NoSPT > - RHEL5.8 64bit(EN) > - Included > - Red Hat Enterprise Linux 5.8 64bit > - hvm > - UZXC0GRT > - 40.0 > - > - > - UZXC0GRT > - > - IMG0003_RHEL6_3EN64_v1_24x7SPT > - RHEL6.3 64bit(EN) wSPT > - Included > - Red Hat Enterprise Linux 6.3 64bit > - hvm > - UZXC0GRT > - 40.0 > - > - > - UZXC0GRT > - > - IMG0004_RHEL6_3EN64_v1_NoSPT > - RHEL6.3 64bit(EN) > - Included > - Red Hat Enterprise Linux 6.3 64bit > - hvm > - UZXC0GRT > - 40.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_21VKHA77OO > - CentOS 5.6 32bit(EN) > - > - CentOS 5.6 32bit (English) > - pv > - UZXC0GRT > - 10.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_D30U8UNY6I9S > - CentOS 6.2 32bit(EN) > - > - CentOS 6.2 32bit (English) > - pv > - UZXC0GRT > - 10.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_D30Y0LNN4WE8 > - W2k8R2EESP1(EN) > - Included > - Windows Server 2008 R2 EE 64bit SP1 (English) > - hvm > - UZXC0GRT > - 40.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_FBV3QFG44MPS > - CentOS 5.6 64bit(EN) > - > - CentOS 5.6 64bit (English) > - pv > - UZXC0GRT > - 10.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_J55YW6UE101DS > - CentOS 5.4 32bit(EN) > - > - CentOS 5.4 32bit (English) > - pv > - UZXC0GRT > - 10.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_J56Y5PS4FJO5C > - W2k8R2SE/SQL2k8R2(EN) > - Included > - Windows Server 2008 R2 SE 64bit (English) > - hvm > - UZXC0GRT > - 40.0 > - > - > - Included > - SQLServer 2008 R2 SE (English) > - > - > - > - > - UZXC0GRT > - > - IMG_3c9820_LKNVW2TH31A0W > - CentOS 5.4 64bit(EN) > - > - CentOS 5.4 64bit (English) > - pv > - UZXC0GRT > - 10.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_LLIPQ3UJ43RWG > - W2k8R2SESP1(EN) > - Included > - Windows Server 2008 R2 SE 64bit SP1 (English) > - hvm > - UZXC0GRT > - 40.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_QIEWLLNIF7IF40 > - W2k8R2SE/IIS(EN) > - Included > - Windows Server 2008 R2 SE 64bit (English) > - hvm > - UZXC0GRT > - 40.0 > - > - > - > - Internet Information Server 7.5 > - > - > - > - > - UZXC0GRT > - > - IMG_3c9820_S24FWXU0Q9VH0JK > - CentOS 6.2 64bit(EN) > - > - CentOS 6.2 64bit (English) > - pv > - UZXC0GRT > - 10.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_X1W13YQIDAYQ2SQO > - RHEL5.7 64bit wSPT > - Included > - Red Hat Enterprise Linux 5.7 64bit (English) with Support > - hvm > - UZXC0GRT > - 40.0 > - > - > - Processing was completed. > - SUCCESS > - > - > - > - http_version: > - recorded_at: Mon, 18 Feb 2013 10:20:26 GMT > -- request: > - method: get > - uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTgyODI2MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListServerType&Locale=en&Signature=khYgVzLiWlm+pTtiNxASl4yAbm8M20elcbnJui2czpKC3YPSRWk24qr0HJD9%0A9qe4XheCQSguMhdYCQTd7U+eB1FJpJEDvk19nFBiWBmIcvjna92haBAlt3AA%0AGolou85DGTo9CVntjhQsMCau2ZNMtGfJov81F3sgdmrtEQauWNJM28i/CV2Q%0Auy23nzsbuISLXSh1SNiVIZIpK0RhTVb9SYv11jTeTJjEURY+QdDwqNHMnZTH%0AJ3Zp2JId+6ZfikOg2P9slMLXNEhodJIt4C8vK+RPo8Q9ZQIvhZy+yDa8+X6I%0A622QEK1lzECAMh/T1VX1MPTG9VyaZyVqw8kBYtLCQQ==%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:27 GMT > - Transfer-Encoding: > - - chunked > - Set-Cookie: > - - JSESSIONID=3CB1A31CD36466E41C7A928FBF639A4A; Path=/ovisspxy; Secure > - Content-Type: > - - text/xml;charset=UTF-8 > - Connection: > - - close > - body: > - string: | > - > - > - Processing was completed. > - SUCCESS > - > - > - amount > - > - IA > - 4.0 > - 1 > - > - 744 > - islanda-cbrm_144 > - > - 7.5 > - > - advanced > - 0.4949 > - AUS-VM-0001-0003 > - Advanced VM > - > - > - amount > - > - IA > - 1.0 > - 1 > - > - 744 > - islanda-cbrm_140 > - > - 1.7 > - > - economy > - 0.1237 > - AUS-VM-0001-0001 > - Economy VM > - > - > - amount > - > - IA > - 4.0 > - 2 > - > - 744 > - islanda-cbrm_146 > - > - 15.0 > - > - high_performance > - 0.9898 > - AUS-VM-0001-0004 > - High-Performance VM > - > - > - amount > - > - IA > - 2.0 > - 1 > - > - 744 > - islanda-cbrm_142 > - > - 3.4 > - > - standard > - 0.2474 > - AUS-VM-0001-0002 > - Standard VM > - > - > - amount > - > - IA > - 4.0 > - 4 > - > - 744 > - islanda-cbrm_146337 > - > - 30.0 > - > - w_high > - 1.9796 > - AUS-VM-0001-0011 > - Double-High Performance VM > - > - > - > - > - > - http_version: > - recorded_at: Mon, 18 Feb 2013 10:20:27 GMT > -- request: > - method: get > - uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTgyODI3MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListDiskImage&Locale=en&Signature=H2v6F5XT4k0naC19ZmNz7QVof1EIbkr5okJ69J08/DXWb7hKhUA9pmaKt8oB%0A0925mrF1rynp6OvmwimwZOhTuPdS+FrXQ1IkjXiQoipoAgRlJeH7K+MCeYYq%0An4wafTD8I5kCeyxa7lWE2zOZI+5BM6MsXJbDUQ6gP6ZRL2vJD0TKs/mhrvbm%0AJ+XVWyA4oA5fLxD5dUq+JecKl5hC43yKXmmaFaXOWlnUZbnrTp19ki4jmezM%0AEEhrpYe8IlgpqUFLPLiDMfyUzErJ60xr5r3tmXtEX7DsV13okNwCkfhYf7ih%0ANwNmikZQOTUawy0u7JBDiSpEkproEtx+vvnehbGehQ==%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:27 GMT > - Transfer-Encoding: > - - chunked > - Set-Cookie: > - - JSESSIONID=12E65B5611016F68D0A251E0F968382A; Path=/ovisspxy; Secure > - Content-Type: > - - text/xml;charset=UTF-8 > - Connection: > - - close > - body: > - string: | > - > - > - > - > - UZXC0GRT > - > - IMG0001_RHEL5_8EN64_v1_24x7SPT > - RHEL5.8 64bit(EN) wSPT > - Included > - Red Hat Enterprise Linux 5.8 64bit > - hvm > - UZXC0GRT > - 40.0 > - > - > - UZXC0GRT > - > - IMG0002_RHEL5_8EN64_v1_NoSPT > - RHEL5.8 64bit(EN) > - Included > - Red Hat Enterprise Linux 5.8 64bit > - hvm > - UZXC0GRT > - 40.0 > - > - > - UZXC0GRT > - > - IMG0003_RHEL6_3EN64_v1_24x7SPT > - RHEL6.3 64bit(EN) wSPT > - Included > - Red Hat Enterprise Linux 6.3 64bit > - hvm > - UZXC0GRT > - 40.0 > - > - > - UZXC0GRT > - > - IMG0004_RHEL6_3EN64_v1_NoSPT > - RHEL6.3 64bit(EN) > - Included > - Red Hat Enterprise Linux 6.3 64bit > - hvm > - UZXC0GRT > - 40.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_21VKHA77OO > - CentOS 5.6 32bit(EN) > - > - CentOS 5.6 32bit (English) > - pv > - UZXC0GRT > - 10.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_D30U8UNY6I9S > - CentOS 6.2 32bit(EN) > - > - CentOS 6.2 32bit (English) > - pv > - UZXC0GRT > - 10.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_D30Y0LNN4WE8 > - W2k8R2EESP1(EN) > - Included > - Windows Server 2008 R2 EE 64bit SP1 (English) > - hvm > - UZXC0GRT > - 40.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_FBV3QFG44MPS > - CentOS 5.6 64bit(EN) > - > - CentOS 5.6 64bit (English) > - pv > - UZXC0GRT > - 10.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_J55YW6UE101DS > - CentOS 5.4 32bit(EN) > - > - CentOS 5.4 32bit (English) > - pv > - UZXC0GRT > - 10.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_J56Y5PS4FJO5C > - W2k8R2SE/SQL2k8R2(EN) > - Included > - Windows Server 2008 R2 SE 64bit (English) > - hvm > - UZXC0GRT > - 40.0 > - > - > - Included > - SQLServer 2008 R2 SE (English) > - > - > - > - > - UZXC0GRT > - > - IMG_3c9820_LKNVW2TH31A0W > - CentOS 5.4 64bit(EN) > - > - CentOS 5.4 64bit (English) > - pv > - UZXC0GRT > - 10.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_LLIPQ3UJ43RWG > - W2k8R2SESP1(EN) > - Included > - Windows Server 2008 R2 SE 64bit SP1 (English) > - hvm > - UZXC0GRT > - 40.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_QIEWLLNIF7IF40 > - W2k8R2SE/IIS(EN) > - Included > - Windows Server 2008 R2 SE 64bit (English) > - hvm > - UZXC0GRT > - 40.0 > - > - > - > - Internet Information Server 7.5 > - > - > - > - > - UZXC0GRT > - > - IMG_3c9820_S24FWXU0Q9VH0JK > - CentOS 6.2 64bit(EN) > - > - CentOS 6.2 64bit (English) > - pv > - UZXC0GRT > - 10.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_X1W13YQIDAYQ2SQO > - RHEL5.7 64bit wSPT > - Included > - Red Hat Enterprise Linux 5.7 64bit (English) with Support > - hvm > - UZXC0GRT > - 40.0 > - > - > - Processing was completed. > - SUCCESS > - > - > - > - http_version: > - recorded_at: Mon, 18 Feb 2013 10:20:28 GMT > -- request: > - method: get > - uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTgyODI4MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListServerType&Locale=en&Signature=URN8gXp8uW5gojsDViTNobmtplrOC16HPwiRSqiyTgodD+bLciVXION75zGa%0AGlE4xSFxNNZYmhicbaSOHp+15AQz2rjF7NEfqMDrtOk4PlqHDGp5/SVxzwQD%0AsAqS9XTq8weyF+x/xJJEGOjBp8mLN2vyOtq3dcibWP0OsHVPIvOcDfivOGwb%0Af9BsuHDYaKAjIqlzvhB1wL1eD7A7dWyvknWcdlGYVfUns2KdArUtTktKaN4v%0Ax7dU0h7BBcWZn/5nOE+QCbVo60m8Ii5YcLQjDGJLHJsvl6F6r6onXFJRRebT%0AP9JKhZg/zaZdviqDNoFwhjMIUGe1nS8oNyKe6lmoBg==%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:29 GMT > - Transfer-Encoding: > - - chunked > - Set-Cookie: > - - JSESSIONID=A6CBCF3F7C6249E68EC518AACB544020; Path=/ovisspxy; Secure > - Content-Type: > - - text/xml;charset=UTF-8 > - Connection: > - - close > - body: > - string: | > - > - > - Processing was completed. > - SUCCESS > - > - > - amount > - > - IA > - 4.0 > - 1 > - > - 744 > - islanda-cbrm_144 > - > - 7.5 > - > - advanced > - 0.4949 > - AUS-VM-0001-0003 > - Advanced VM > - > - > - amount > - > - IA > - 1.0 > - 1 > - > - 744 > - islanda-cbrm_140 > - > - 1.7 > - > - economy > - 0.1237 > - AUS-VM-0001-0001 > - Economy VM > - > - > - amount > - > - IA > - 4.0 > - 2 > - > - 744 > - islanda-cbrm_146 > - > - 15.0 > - > - high_performance > - 0.9898 > - AUS-VM-0001-0004 > - High-Performance VM > - > - > - amount > - > - IA > - 2.0 > - 1 > - > - 744 > - islanda-cbrm_142 > - > - 3.4 > - > - standard > - 0.2474 > - AUS-VM-0001-0002 > - Standard VM > - > - > - amount > - > - IA > - 4.0 > - 4 > - > - 744 > - islanda-cbrm_146337 > - > - 30.0 > - > - w_high > - 1.9796 > - AUS-VM-0001-0011 > - Double-High Performance VM > - > - > - > - > - > - http_version: > - recorded_at: Mon, 18 Feb 2013 10:20:29 GMT > diff --git a/server/tests/drivers/fgcp/fixtures/test_0002_must_return_list_of_hardware_profiles.yml b/server/tests/drivers/fgcp/fixtures/test_0002_must_return_list_of_hardware_profiles.yml > new file mode 100644 > index 0000000..cccb910 > --- /dev/null > +++ b/server/tests/drivers/fgcp/fixtures/test_0002_must_return_list_of_hardware_profiles.yml > @@ -0,0 +1,126 @@ > +--- > +http_interactions: > +- request: > + method: get > + uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg4ODQyMDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListServerType&Locale=en&Signature=fzDXA+UtOl6eZ2Fj0f8QaXCLhzeotZ7MFR6X/x+y5QIOpp5pBXuNB5P2dbxz%0ASyzfiDMY1wwLQguqoSHpM+M5ZVFc37xpODQ34bM39Qh3GqoutrXIWk0fWH6T%0AaGE+2606+MwaD4A51kw2P2JhIsJWLO1SCgtEFBVUYMeZLQxSLMtrrDoBfiYk%0AVqO7yXg/HYd9GzgFtg7WfHIWjgRKqsh8/whJYx8TFiYZn7qK/p1wRRwso0po%0AhiN2b5XIWsxhKSMaporv1Nt9p8BYY6aFYf5zCo22IquQW388qX9zq+EiE5/K%0AAj24BCRP9T4sGKCKVPURp/f6JAe35+il1bBWlhPhvg==%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:43 GMT > + Transfer-Encoding: > + - chunked > + Content-Type: > + - text/xml;charset=UTF-8 > + Set-Cookie: > + - JSESSIONID=B59D07AF56831CE2C20C42F3C9F2241B; Path=/ovisspxy; Secure > + body: > + string: | > + > + > + Processing was completed. > + SUCCESS > + > + > + amount > + > + IA > + 4.0 > + 1 > + > + 744 > + islanda-cbrm_144 > + > + 7.5 > + > + advanced > + 0.4949 > + AUS-VM-0001-0003 > + Advanced VM > + > + > + amount > + > + IA > + 1.0 > + 1 > + > + 744 > + islanda-cbrm_140 > + > + 1.7 > + > + economy > + 0.1237 > + AUS-VM-0001-0001 > + Economy VM > + > + > + amount > + > + IA > + 4.0 > + 2 > + > + 744 > + islanda-cbrm_146 > + > + 15.0 > + > + high_performance > + 0.9898 > + AUS-VM-0001-0004 > + High-Performance VM > + > + > + amount > + > + IA > + 2.0 > + 1 > + > + 744 > + islanda-cbrm_142 > + > + 3.4 > + > + standard > + 0.2474 > + AUS-VM-0001-0002 > + Standard VM > + > + > + amount > + > + IA > + 4.0 > + 4 > + > + 744 > + islanda-cbrm_146337 > + > + 30.0 > + > + w_high > + 1.9796 > + AUS-VM-0001-0011 > + Double-High Performance VM > + > + > + > + > + > + http_version: > + recorded_at: Mon, 18 Feb 2013 12:00:43 GMT > +recorded_with: VCR 2.4.0 > diff --git a/server/tests/drivers/fgcp/fixtures/test_0002_must_return_list_of_images.yml b/server/tests/drivers/fgcp/fixtures/test_0002_must_return_list_of_images.yml > new file mode 100644 > index 0000000..f1d3e27 > --- /dev/null > +++ b/server/tests/drivers/fgcp/fixtures/test_0002_must_return_list_of_images.yml > @@ -0,0 +1,341 @@ > +--- > +http_interactions: > +- request: > + method: get > + uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg4ODQ3MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListDiskImage&Locale=en&Signature=gldS+HMCeZYar/Zja5HqrYHLQuu+Y/KEVLSxKOhDhttDULwM0oWwkGCsO/F6%0Aw6DZVtwtwo3a+JU70IU9f+AdL0Aj7IEXFXRkJS1HWabMP4PjnTMbFkUeTv7J%0AXaW7PpmQiA6n0UG4GHgGrTbdnXk5ukB6LEv7MqHlRo1iAsHGoc6WslCnRib1%0Ai49neV4NvJfaSVaPkC2kMMHZaPfWhQi6Q39k3OWHqpl2sV02Ti44bioGkWIE%0AStgf/2f+gNa3MuwnzkztQiAx5e7G206ARsYGKPRhep+76ubpLier6RUeOvKI%0ANdHoBnOvGqH+wdFgLQD3afJ5GypkrAALi/t04dmhhA==%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:48 GMT > + Transfer-Encoding: > + - chunked > + Content-Type: > + - text/xml;charset=UTF-8 > + Set-Cookie: > + - JSESSIONID=3768DFCD66E1B2DD9F8DEB04CC692EB7; Path=/ovisspxy; Secure > + body: > + string: | > + > + > + > + > + UZXC0GRT > + > + IMG0001_RHEL5_8EN64_v1_24x7SPT > + RHEL5.8 64bit(EN) wSPT > + Included > + Red Hat Enterprise Linux 5.8 64bit > + hvm > + UZXC0GRT > + 40.0 > + > + > + UZXC0GRT > + > + IMG0002_RHEL5_8EN64_v1_NoSPT > + RHEL5.8 64bit(EN) > + Included > + Red Hat Enterprise Linux 5.8 64bit > + hvm > + UZXC0GRT > + 40.0 > + > + > + UZXC0GRT > + > + IMG0003_RHEL6_3EN64_v1_24x7SPT > + RHEL6.3 64bit(EN) wSPT > + Included > + Red Hat Enterprise Linux 6.3 64bit > + hvm > + UZXC0GRT > + 40.0 > + > + > + UZXC0GRT > + > + IMG0004_RHEL6_3EN64_v1_NoSPT > + RHEL6.3 64bit(EN) > + Included > + Red Hat Enterprise Linux 6.3 64bit > + hvm > + UZXC0GRT > + 40.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_21VKHA77OO > + CentOS 5.6 32bit(EN) > + > + CentOS 5.6 32bit (English) > + pv > + UZXC0GRT > + 10.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_D30U8UNY6I9S > + CentOS 6.2 32bit(EN) > + > + CentOS 6.2 32bit (English) > + pv > + UZXC0GRT > + 10.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_D30Y0LNN4WE8 > + W2k8R2EESP1(EN) > + Included > + Windows Server 2008 R2 EE 64bit SP1 (English) > + hvm > + UZXC0GRT > + 40.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_FBV3QFG44MPS > + CentOS 5.6 64bit(EN) > + > + CentOS 5.6 64bit (English) > + pv > + UZXC0GRT > + 10.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_J55YW6UE101DS > + CentOS 5.4 32bit(EN) > + > + CentOS 5.4 32bit (English) > + pv > + UZXC0GRT > + 10.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_J56Y5PS4FJO5C > + W2k8R2SE/SQL2k8R2(EN) > + Included > + Windows Server 2008 R2 SE 64bit (English) > + hvm > + UZXC0GRT > + 40.0 > + > + > + Included > + SQLServer 2008 R2 SE (English) > + > + > + > + > + UZXC0GRT > + > + IMG_3c9820_LKNVW2TH31A0W > + CentOS 5.4 64bit(EN) > + > + CentOS 5.4 64bit (English) > + pv > + UZXC0GRT > + 10.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_LLIPQ3UJ43RWG > + W2k8R2SESP1(EN) > + Included > + Windows Server 2008 R2 SE 64bit SP1 (English) > + hvm > + UZXC0GRT > + 40.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_QIEWLLNIF7IF40 > + W2k8R2SE/IIS(EN) > + Included > + Windows Server 2008 R2 SE 64bit (English) > + hvm > + UZXC0GRT > + 40.0 > + > + > + > + Internet Information Server 7.5 > + > + > + > + > + UZXC0GRT > + > + IMG_3c9820_S24FWXU0Q9VH0JK > + CentOS 6.2 64bit(EN) > + > + CentOS 6.2 64bit (English) > + pv > + UZXC0GRT > + 10.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_X1W13YQIDAYQ2SQO > + RHEL5.7 64bit wSPT > + Included > + Red Hat Enterprise Linux 5.7 64bit (English) with Support > + hvm > + UZXC0GRT > + 40.0 > + > + > + Processing was completed. > + SUCCESS > + > + > + > + http_version: > + recorded_at: Mon, 18 Feb 2013 12:00:48 GMT > +- request: > + method: get > + uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg4ODQ5MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListServerType&Locale=en&Signature=LAPxOyA0e+SIDOGuSOVui2J681QfR4MbZxCG6Z9FQD1THFwa1WSmPNY7eDjf%0A88s1VArPv6Z9zxIBl4ukBgqWODyG8HYAzoJRMsXfX3Ogw/VSvC1quWNM7Ru+%0A49ODjDYLE7wBw8OU7SCBvkBae2/bK2b+MpOJLwdBpTeSq4xzNFujitPrE/vi%0AO6jTqCB1Em93ysSvSz8SFumVAayHQf+afstCdMbsc6I/N1z5IUOEjs2d0fRq%0AugVoczDBdj7D/gbDPKT2ueMEYbO9MR6dx9fra/XZR+uKZESGVGS07dMnvcj8%0Apu4I/EGZDKkWeaPjBzddSHOe280yqAFuH//TXFnVkA==%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:49 GMT > + Transfer-Encoding: > + - chunked > + Content-Type: > + - text/xml;charset=UTF-8 > + Set-Cookie: > + - JSESSIONID=E982A88A5FEDE051EA6185C75B601CCF; Path=/ovisspxy; Secure > + body: > + string: | > + > + > + Processing was completed. > + SUCCESS > + > + > + amount > + > + IA > + 4.0 > + 1 > + > + 744 > + islanda-cbrm_144 > + > + 7.5 > + > + advanced > + 0.4949 > + AUS-VM-0001-0003 > + Advanced VM > + > + > + amount > + > + IA > + 1.0 > + 1 > + > + 744 > + islanda-cbrm_140 > + > + 1.7 > + > + economy > + 0.1237 > + AUS-VM-0001-0001 > + Economy VM > + > + > + amount > + > + IA > + 4.0 > + 2 > + > + 744 > + islanda-cbrm_146 > + > + 15.0 > + > + high_performance > + 0.9898 > + AUS-VM-0001-0004 > + High-Performance VM > + > + > + amount > + > + IA > + 2.0 > + 1 > + > + 744 > + islanda-cbrm_142 > + > + 3.4 > + > + standard > + 0.2474 > + AUS-VM-0001-0002 > + Standard VM > + > + > + amount > + > + IA > + 4.0 > + 4 > + > + 744 > + islanda-cbrm_146337 > + > + 30.0 > + > + w_high > + 1.9796 > + AUS-VM-0001-0011 > + Double-High Performance VM > + > + > + > + > + > + http_version: > + recorded_at: Mon, 18 Feb 2013 12:00:49 GMT > +recorded_with: VCR 2.4.0 > diff --git a/server/tests/drivers/fgcp/fixtures/test_0002_must_return_list_of_realms.yml b/server/tests/drivers/fgcp/fixtures/test_0002_must_return_list_of_realms.yml > new file mode 100644 > index 0000000..8287933 > --- /dev/null > +++ b/server/tests/drivers/fgcp/fixtures/test_0002_must_return_list_of_realms.yml > @@ -0,0 +1,443 @@ > +--- > +recorded_with: VCR 2.4.0 > +http_interactions: > +- request: > + method: get > + uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg1NDQ0MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListVSYS&Locale=en&Signature=fy8MacmdlO4cuBEgCRHywcXJpZhPdySJ+N6PINdc0y9n+MUvMXPPauKyLuq7%0ACMQfsNl/coCcGlfRCYBatrTVJkrYbwVeWBXJyUGSKASqZuf+LcC6O9RGzuUB%0ArrervcIZZH+H299B3hXJ/Y93xr2n5ssiZ0hwwjW/RsRVfTQ2EEsVAhtlCXyD%0A2FLT7R5pOzQ4rErvMVKc3hwc50ew18yS/BnF3LDyWTom/CKaKH7TTuJscpAW%0Ai9AAQrjHney/dPwfAnUBi4w3phIIo3FIg5Xn7Tu8Qep4/z1NPMdj4awZwNK/%0AZKKmBknOb+N/o40ShRaCh8FfyV/TK925bdbXkaELGw==%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 11:04:05 GMT > + Connection: > + - close > + Transfer-Encoding: > + - chunked > + Content-Type: > + - text/xml;charset=UTF-8 > + Set-Cookie: > + - JSESSIONID=9767D0629DA8E1709F719D67356F5CB1; Path=/ovisspxy; Secure > + body: > + string: | > + > + > + Processing was completed. > + SUCCESS > + > + > + 2-tier Skeleton > + UZXC0GRT > + 2-tier Skeleton > + UZXC0GRT-ZG8ZJCJ07 > + Dies-DC-test > + > + > + > + > + http_version: > + recorded_at: Mon, 18 Feb 2013 11:04:06 GMT > +- request: > + method: get > + uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg1NDQ2MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=GetVSYSConfiguration&Locale=en&Signature=vkZT5yvg+jsOaNDL2fb6y1pvQA0lhpO1NNfEC0yIG67fFynDCvaHUZ1Fofc2%0AM8gn+Ji1mevrg2MrzWQptGfGZR05B9VVUxULBcWknt1Y/rMfm+35KhYX4Fn7%0AojAXhWdx2YaKUZsszkCU+p02flpOH2nq8yZAOsHZ8hckrpKYul/yr83ShxPJ%0AdTXlSlgc5TqylO/nf8vQ9MSjUIFNZJGV54SJ4OvJ0MbzkmrbBtHTjmG72BWa%0AZY9iPHtqQ+HLaz+lljYx/eOo15QxRmji+qPO001w+xCS/Co9UhU5hBEMpikO%0Ae5nI/jebNSP6/MR24Di4DbcWVs99sl/JJotp4pGBtA==%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: > + Date: > + - Mon, 18 Feb 2013 11:04:06 GMT > + Connection: > + - close > + Transfer-Encoding: > + - chunked > + Content-Type: > + - text/xml;charset=UTF-8 > + Set-Cookie: > + - JSESSIONID=D15CAF02A18AB179C9F770E4C42ED4E6; Path=/ovisspxy; Secure > + body: > + string: | > + > + > + Processing was completed. > + SUCCESS > + > + 2-tier Skeleton > + PUBLIC > + UZXC0GRT > + 2-tier Skeleton > + > + > +
137.172.209.220
> + IPv4 > +
> +
> + > + > + UZXC0GRT > + 10.0 > + UZXC0GRT-ZG8ZJCJ07-D-0039 > + DISK1 > + > + > + > + > + UZXC0GRT-ZG8ZJCJ07-N-DMZ > + > + > + UZXC0GRT-ZG8ZJCJ07-N-SECURE1 > + > + > + > + > + UZXC0GRT > + IMG_3c9820_C1HQIPAKLM9S > + > + > + > + UZXC0GRT-ZG8ZJCJ07-N-DMZ > + 4 > + 192.168.0.11 > + > + > + UZXC0GRT-ZG8ZJCJ07-N-SECURE1 > + 5 > + 192.168.1.11 > + > + > + UZXC0GRT-ZG8ZJCJ07-S-0001 > + Firewall > + firewall > + > + > + UZXC0GRT > + IMG_3c9820_S24FWXU0Q9VH0JK > + > + > + > + UZXC0GRT-ZG8ZJCJ07-N-DMZ > + 0 > + 192.168.0.12 > + > + > + UZXC0GRT-ZG8ZJCJ07-S-0186 > + test > + economy > + > + > + UZXC0GRT-ZG8ZJCJ07 > + Dies-DC-test > +
> +
> + > + http_version: > + recorded_at: Mon, 18 Feb 2013 11:04:06 GMT > +- request: > + method: get > + uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg1NDQ3MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListVSYS&Locale=en&Signature=PtOTqTFpcXHUrJFUcD4nHDWiciaMlxYpxJpzTEK/bblZWdcst5bjI3kGFqjD%0A9rImHQkNCvFFCU5XZtVr9hXStAqttU48NLgvZ0A0wA22y9X/+9eKt7pbrYAt%0Auojsgpb0Y2d5UtygiZH92BiqfNpqEE0moRjvChtFCUdharEchbv01JQ9ASxG%0AwoVw/UP+NPHtNLtabA2vzQqF8BQAGQL9e0YbAqoQ9XljJCXKS284bAdZ/Gzz%0AkDCPvJn7sZluqUOER5cz5AtCKTtFC8X3vMQjhom7RTi9SHpS45ZnFWTnWFu0%0AuykqddzhCvFBazAQj55kgsavtIxKp2w5b5McxnwJ4Q==%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 11:04:07 GMT > + Connection: > + - close > + Transfer-Encoding: > + - chunked > + Content-Type: > + - text/xml;charset=UTF-8 > + Set-Cookie: > + - JSESSIONID=28699F776BA30CE6AB2F0D9820B8B682; Path=/ovisspxy; Secure > + body: > + string: | > + > + > + Processing was completed. > + SUCCESS > + > + > + 2-tier Skeleton > + UZXC0GRT > + 2-tier Skeleton > + UZXC0GRT-ZG8ZJCJ07 > + Dies-DC-test > + > + > + > + > + http_version: > + recorded_at: Mon, 18 Feb 2013 11:04:08 GMT > +- request: > + method: get > + uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg1NDQ4MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=GetVSYSConfiguration&Locale=en&Signature=Nv8vgtmdoqzDl7X6mnyzgTsHGDPcFd5rcIVHV7UkNBSIDmWAm8v2iMeREqpy%0Amwqyqjd5JsWtlgDeXTk3Ad8Q+5rXyfWJdn3iR1SfMmo21fePkllQRPFiOZib%0AHbpXYlPZORPJOb9OPeYmju0E7Ok0KCQwGgtx/FK8iQ5vfmssw2Adk9BGs2d1%0AiWEcC80xkW1/4wjL+yrFFk0kEwcceADm1fZvKx5Os8nO4iREccnzvJ1dIfVa%0AJtbLARZZo9NKqfXZvjgPcSVeG0QK5WFilV8j3G3uhZFL40LsYGerB/5+bORx%0A5yEQFHnpui5AGAXRe58BRfj83iDJwlNS6zeSLbuDRA==%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: > + Date: > + - Mon, 18 Feb 2013 11:04:08 GMT > + Connection: > + - close > + Transfer-Encoding: > + - chunked > + Content-Type: > + - text/xml;charset=UTF-8 > + Set-Cookie: > + - JSESSIONID=A733DCC852991744FD4733BA7AC017D2; Path=/ovisspxy; Secure > + body: > + string: | > + > + > + Processing was completed. > + SUCCESS > + > + 2-tier Skeleton > + PUBLIC > + UZXC0GRT > + 2-tier Skeleton > + > + > +
137.172.209.220
> + IPv4 > +
> +
> + > + > + UZXC0GRT > + 10.0 > + UZXC0GRT-ZG8ZJCJ07-D-0039 > + DISK1 > + > + > + > + > + UZXC0GRT-ZG8ZJCJ07-N-DMZ > + > + > + UZXC0GRT-ZG8ZJCJ07-N-SECURE1 > + > + > + > + > + UZXC0GRT > + IMG_3c9820_C1HQIPAKLM9S > + > + > + > + UZXC0GRT-ZG8ZJCJ07-N-DMZ > + 4 > + 192.168.0.11 > + > + > + UZXC0GRT-ZG8ZJCJ07-N-SECURE1 > + 5 > + 192.168.1.11 > + > + > + UZXC0GRT-ZG8ZJCJ07-S-0001 > + Firewall > + firewall > + > + > + UZXC0GRT > + IMG_3c9820_S24FWXU0Q9VH0JK > + > + > + > + UZXC0GRT-ZG8ZJCJ07-N-DMZ > + 0 > + 192.168.0.12 > + > + > + UZXC0GRT-ZG8ZJCJ07-S-0186 > + test > + economy > + > + > + UZXC0GRT-ZG8ZJCJ07 > + Dies-DC-test > +
> +
> + > + http_version: > + recorded_at: Mon, 18 Feb 2013 11:04:09 GMT > +- request: > + method: get > + uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg2MTk1MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListVSYS&Locale=en&Signature=DPAzeGt2/zc7Cp99pnnShBknZyKB5KYs42DAqMpPHeAjr4EfLVbufOJfqe2v%0AsBq3v4ONKtOOClCV3sVlVPDE91fbF4YmG2GPO+4Fap90gp7+N6jUZsZamFep%0AGP2h39sAjoOYHzkhfVfMFTr3jwxGZMRE3aTIxR+gctv/+cmGAslm6OzNEeFJ%0A+GOOllP1XN+51APVIhujomKhtoZ8iGudovImLsT3FNXisyIz39W5hapk/JX+%0AFVAttKSy+k/aj4HkGiCvPNjNl+a1PHNpPKkLZrT+pknCBKSsxixg1yGw8Z6p%0AApCA0Cr/PHLPL4AZLVlBva/ROR5vFd1a2H8HRoezlg==%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 11:16:36 GMT > + Connection: > + - close > + Content-Type: > + - text/xml;charset=UTF-8 > + Transfer-Encoding: > + - chunked > + Set-Cookie: > + - JSESSIONID=95EEF056ECEFFDF6AD0F2F71D2808C03; Path=/ovisspxy; Secure > + body: > + string: | > + > + > + Processing was completed. > + SUCCESS > + > + > + 2-tier Skeleton > + UZXC0GRT > + 2-tier Skeleton > + UZXC0GRT-ZG8ZJCJ07 > + Dies-DC-test > + > + > + > + > + > + http_version: > + recorded_at: Mon, 18 Feb 2013 11:16:36 GMT > +- request: > + method: get > + uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg2MTk2MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=GetVSYSConfiguration&Locale=en&Signature=dvNdiM9QAC2eDJ0Q9IcStdkvJtBuImFy/GEyeOaio6M9ehGgiT+crf+tbag8%0A0AajdTL+EOoEfuWrDx5QpUTdcpGtTNRvRuRvqAtWLVeDn4cPQ24dCw3lrdDH%0AkBfZ7e1vLr5O5w7bS2IAH0kkSm6tzKCu9rsYfKd7AUn8dOYZE0q+EvqhWgrR%0AJaL0AHPotYbvOpQrlm3HVJo/tYawzudym7ADn4aBVaTVP+Kvj+LTNwdDhd9h%0ACr7TIfm/ttXuA6R2diM4ppVjjvoHy0NPLFsq38hG0gaMVK+nkqpESpoL9QkD%0Ay2tINUCOr5Bc5c2z/LLR22yYNbCFFGMeC48n2/BMIg==%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: > + Date: > + - Mon, 18 Feb 2013 11:16:36 GMT > + Connection: > + - close > + Content-Type: > + - text/xml;charset=UTF-8 > + Transfer-Encoding: > + - chunked > + Set-Cookie: > + - JSESSIONID=977B018054BECF081961096A9429DE2E; Path=/ovisspxy; Secure > + body: > + string: | > + > + > + Processing was completed. > + SUCCESS > + > + 2-tier Skeleton > + PUBLIC > + UZXC0GRT > + 2-tier Skeleton > + > + > +
137.172.209.220
> + IPv4 > +
> +
> + > + > + UZXC0GRT > + 10.0 > + UZXC0GRT-ZG8ZJCJ07-D-0039 > + DISK1 > + > + > + > + > + UZXC0GRT-ZG8ZJCJ07-N-DMZ > + > + > + UZXC0GRT-ZG8ZJCJ07-N-SECURE1 > + > + > + > + > + UZXC0GRT > + IMG_3c9820_C1HQIPAKLM9S > + > + > + > + UZXC0GRT-ZG8ZJCJ07-N-DMZ > + 4 > + 192.168.0.11 > + > + > + UZXC0GRT-ZG8ZJCJ07-N-SECURE1 > + 5 > + 192.168.1.11 > + > + > + UZXC0GRT-ZG8ZJCJ07-S-0001 > + Firewall > + firewall > + > + > + UZXC0GRT > + IMG_3c9820_S24FWXU0Q9VH0JK > + > + > + > + UZXC0GRT-ZG8ZJCJ07-N-DMZ > + 0 > + 192.168.0.12 > + > + > + UZXC0GRT-ZG8ZJCJ07-S-0186 > + test > + economy > + > + > + UZXC0GRT-ZG8ZJCJ07 > + Dies-DC-test > +
> +
> + > + > + http_version: > + recorded_at: Mon, 18 Feb 2013 11:16:36 GMT > diff --git a/server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_filter_hardware_profiles.yml b/server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_filter_hardware_profiles.yml > new file mode 100644 > index 0000000..af76736 > --- /dev/null > +++ b/server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_filter_hardware_profiles.yml > @@ -0,0 +1,249 @@ > +--- > +http_interactions: > +- request: > + method: get > + uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg4ODQwMDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListServerType&Locale=en&Signature=DoDRZcwZCbhHA1iD8LcmrgoVi3f+geC4lrBkUUfHBGiJhPuOs98I3Pcl8Ese%0A7EHxjGuFxErDH5HbyqGem0Af0jxK1OBwbTeOROt+3/z5uxRC8NsL1NZ4BV0W%0AAYH0tyPRyU4Ophe5kAP+j/8cTs7ucb9PasJb9/ywbKUBDGjhlfXeQAbgxwqt%0AckPRy3dJT44qxGu2B/thN7WyMijw1hAe2+H/mYQ4swY8RzpfNPIEaeEL2mwU%0AGU7ZvW9Cp89/IEPb03kZ8wOEduB9QLFDw1JfqlPrKqKJ7qd31/dMsbZvWA5s%0ArK7r09knYYgLy7pCBco3O8apB1/Zl7ROLETJVa3uRg==%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:41 GMT > + Transfer-Encoding: > + - chunked > + Content-Type: > + - text/xml;charset=UTF-8 > + Set-Cookie: > + - JSESSIONID=2EC39CEEB8C3444BE3F133CE41BDFC8B; Path=/ovisspxy; Secure > + body: > + string: | > + > + > + Processing was completed. > + SUCCESS > + > + > + amount > + > + IA > + 4.0 > + 1 > + > + 744 > + islanda-cbrm_144 > + > + 7.5 > + > + advanced > + 0.4949 > + AUS-VM-0001-0003 > + Advanced VM > + > + > + amount > + > + IA > + 1.0 > + 1 > + > + 744 > + islanda-cbrm_140 > + > + 1.7 > + > + economy > + 0.1237 > + AUS-VM-0001-0001 > + Economy VM > + > + > + amount > + > + IA > + 4.0 > + 2 > + > + 744 > + islanda-cbrm_146 > + > + 15.0 > + > + high_performance > + 0.9898 > + AUS-VM-0001-0004 > + High-Performance VM > + > + > + amount > + > + IA > + 2.0 > + 1 > + > + 744 > + islanda-cbrm_142 > + > + 3.4 > + > + standard > + 0.2474 > + AUS-VM-0001-0002 > + Standard VM > + > + > + amount > + > + IA > + 4.0 > + 4 > + > + 744 > + islanda-cbrm_146337 > + > + 30.0 > + > + w_high > + 1.9796 > + AUS-VM-0001-0011 > + Double-High Performance VM > + > + > + > + > + > + http_version: > + recorded_at: Mon, 18 Feb 2013 12:00:41 GMT > +- request: > + method: get > + uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg4ODQxMDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListServerType&Locale=en&Signature=vIHtuJiLPNNzsJyUm26rqkj0WmjQVfX15flPW105EPUbMZ+jMMnnJmlMC/f3%0A8JB+oMt9XTWuejGr0zFlPCLWVHX8cox5xXl6eCQk/22pwaiZcaPy3rd+k2K9%0ALdj5wUR+i/AyM11J0dZLnvGgvdxfukF49KT9ESV5Ylh+JgsbowmSEkC6z1mE%0APpKCZD/PaSN4LGe9xgfInX5WDF6gas8t7t0e8IcL6Bxouct93zOuUCVebXlj%0AZNvIQk0Jh1iohXuilX8+x1n4mCTOjVnjQeSZqjsPtjeQR45+IEbrcYnog+Kx%0AqxjppO+eZVVp8jz8zQxeuCcDYtgFpafRENnvQoLTZA==%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:42 GMT > + Transfer-Encoding: > + - chunked > + Content-Type: > + - text/xml;charset=UTF-8 > + Set-Cookie: > + - JSESSIONID=24F8958668F25AC207AE9F2F93D6B564; Path=/ovisspxy; Secure > + body: > + string: | > + > + > + Processing was completed. > + SUCCESS > + > + > + amount > + > + IA > + 4.0 > + 1 > + > + 744 > + islanda-cbrm_144 > + > + 7.5 > + > + advanced > + 0.4949 > + AUS-VM-0001-0003 > + Advanced VM > + > + > + amount > + > + IA > + 1.0 > + 1 > + > + 744 > + islanda-cbrm_140 > + > + 1.7 > + > + economy > + 0.1237 > + AUS-VM-0001-0001 > + Economy VM > + > + > + amount > + > + IA > + 4.0 > + 2 > + > + 744 > + islanda-cbrm_146 > + > + 15.0 > + > + high_performance > + 0.9898 > + AUS-VM-0001-0004 > + High-Performance VM > + > + > + amount > + > + IA > + 2.0 > + 1 > + > + 744 > + islanda-cbrm_142 > + > + 3.4 > + > + standard > + 0.2474 > + AUS-VM-0001-0002 > + Standard VM > + > + > + amount > + > + IA > + 4.0 > + 4 > + > + 744 > + islanda-cbrm_146337 > + > + 30.0 > + > + w_high > + 1.9796 > + AUS-VM-0001-0011 > + Double-High Performance VM > + > + > + > + > + > + http_version: > + recorded_at: Mon, 18 Feb 2013 12:00:42 GMT > +recorded_with: VCR 2.4.0 > diff --git a/server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_filter_images.yml b/server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_filter_images.yml > new file mode 100644 > index 0000000..931a426 > --- /dev/null > +++ b/server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_filter_images.yml > @@ -0,0 +1,679 @@ > +--- > +http_interactions: > +- request: > + method: get > + uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg4ODQ5MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListDiskImage&Locale=en&Signature=LAPxOyA0e+SIDOGuSOVui2J681QfR4MbZxCG6Z9FQD1THFwa1WSmPNY7eDjf%0A88s1VArPv6Z9zxIBl4ukBgqWODyG8HYAzoJRMsXfX3Ogw/VSvC1quWNM7Ru+%0A49ODjDYLE7wBw8OU7SCBvkBae2/bK2b+MpOJLwdBpTeSq4xzNFujitPrE/vi%0AO6jTqCB1Em93ysSvSz8SFumVAayHQf+afstCdMbsc6I/N1z5IUOEjs2d0fRq%0AugVoczDBdj7D/gbDPKT2ueMEYbO9MR6dx9fra/XZR+uKZESGVGS07dMnvcj8%0Apu4I/EGZDKkWeaPjBzddSHOe280yqAFuH//TXFnVkA==%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:50 GMT > + Transfer-Encoding: > + - chunked > + Content-Type: > + - text/xml;charset=UTF-8 > + Set-Cookie: > + - JSESSIONID=E949EAC040EA29A32E95787350094A59; Path=/ovisspxy; Secure > + body: > + string: | > + > + > + > + > + UZXC0GRT > + > + IMG0001_RHEL5_8EN64_v1_24x7SPT > + RHEL5.8 64bit(EN) wSPT > + Included > + Red Hat Enterprise Linux 5.8 64bit > + hvm > + UZXC0GRT > + 40.0 > + > + > + UZXC0GRT > + > + IMG0002_RHEL5_8EN64_v1_NoSPT > + RHEL5.8 64bit(EN) > + Included > + Red Hat Enterprise Linux 5.8 64bit > + hvm > + UZXC0GRT > + 40.0 > + > + > + UZXC0GRT > + > + IMG0003_RHEL6_3EN64_v1_24x7SPT > + RHEL6.3 64bit(EN) wSPT > + Included > + Red Hat Enterprise Linux 6.3 64bit > + hvm > + UZXC0GRT > + 40.0 > + > + > + UZXC0GRT > + > + IMG0004_RHEL6_3EN64_v1_NoSPT > + RHEL6.3 64bit(EN) > + Included > + Red Hat Enterprise Linux 6.3 64bit > + hvm > + UZXC0GRT > + 40.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_21VKHA77OO > + CentOS 5.6 32bit(EN) > + > + CentOS 5.6 32bit (English) > + pv > + UZXC0GRT > + 10.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_D30U8UNY6I9S > + CentOS 6.2 32bit(EN) > + > + CentOS 6.2 32bit (English) > + pv > + UZXC0GRT > + 10.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_D30Y0LNN4WE8 > + W2k8R2EESP1(EN) > + Included > + Windows Server 2008 R2 EE 64bit SP1 (English) > + hvm > + UZXC0GRT > + 40.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_FBV3QFG44MPS > + CentOS 5.6 64bit(EN) > + > + CentOS 5.6 64bit (English) > + pv > + UZXC0GRT > + 10.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_J55YW6UE101DS > + CentOS 5.4 32bit(EN) > + > + CentOS 5.4 32bit (English) > + pv > + UZXC0GRT > + 10.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_J56Y5PS4FJO5C > + W2k8R2SE/SQL2k8R2(EN) > + Included > + Windows Server 2008 R2 SE 64bit (English) > + hvm > + UZXC0GRT > + 40.0 > + > + > + Included > + SQLServer 2008 R2 SE (English) > + > + > + > + > + UZXC0GRT > + > + IMG_3c9820_LKNVW2TH31A0W > + CentOS 5.4 64bit(EN) > + > + CentOS 5.4 64bit (English) > + pv > + UZXC0GRT > + 10.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_LLIPQ3UJ43RWG > + W2k8R2SESP1(EN) > + Included > + Windows Server 2008 R2 SE 64bit SP1 (English) > + hvm > + UZXC0GRT > + 40.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_QIEWLLNIF7IF40 > + W2k8R2SE/IIS(EN) > + Included > + Windows Server 2008 R2 SE 64bit (English) > + hvm > + UZXC0GRT > + 40.0 > + > + > + > + Internet Information Server 7.5 > + > + > + > + > + UZXC0GRT > + > + IMG_3c9820_S24FWXU0Q9VH0JK > + CentOS 6.2 64bit(EN) > + > + CentOS 6.2 64bit (English) > + pv > + UZXC0GRT > + 10.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_X1W13YQIDAYQ2SQO > + RHEL5.7 64bit wSPT > + Included > + Red Hat Enterprise Linux 5.7 64bit (English) with Support > + hvm > + UZXC0GRT > + 40.0 > + > + > + Processing was completed. > + SUCCESS > + > + > + > + http_version: > + recorded_at: Mon, 18 Feb 2013 12:00:52 GMT > +- request: > + method: get > + uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg4ODUyMDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListServerType&Locale=en&Signature=CjP3Ig6myE2FEbMo2aflX1Juw9MqHLKguWz1DwRUhTRt8mWBSwEzp9l2rS4P%0Ag9Gc1sTTcEnOmA0zNw3YMKayzKRLJpCdleMyTaGVRabFIfvO7ZfW9A3TDcOE%0Afx5ysg1CiQpNMP9OxQRL+VVyXlmuOmBXxNrlCygJciZaBgx/WpZw85yxbSUy%0A7xXQNSn9YY2F0Yxur+41ygepXpxOXcJ6qPsy3WneFsHI5IkYXird6raJtjL1%0AmG34biV/onWdkPcBkjkO7m0MPBTZhVpGdyzNo5zXHhu5nyOIwMT+p8kTbKFB%0A4LvTV/rCqayGos+G2YtEEw1XsH18z3qFWedEfU/Uag==%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:53 GMT > + Transfer-Encoding: > + - chunked > + Content-Type: > + - text/xml;charset=UTF-8 > + Set-Cookie: > + - JSESSIONID=B94B060CDEEE866693F92895CE34C1DC; Path=/ovisspxy; Secure > + body: > + string: | > + > + > + Processing was completed. > + SUCCESS > + > + > + amount > + > + IA > + 4.0 > + 1 > + > + 744 > + islanda-cbrm_144 > + > + 7.5 > + > + advanced > + 0.4949 > + AUS-VM-0001-0003 > + Advanced VM > + > + > + amount > + > + IA > + 1.0 > + 1 > + > + 744 > + islanda-cbrm_140 > + > + 1.7 > + > + economy > + 0.1237 > + AUS-VM-0001-0001 > + Economy VM > + > + > + amount > + > + IA > + 4.0 > + 2 > + > + 744 > + islanda-cbrm_146 > + > + 15.0 > + > + high_performance > + 0.9898 > + AUS-VM-0001-0004 > + High-Performance VM > + > + > + amount > + > + IA > + 2.0 > + 1 > + > + 744 > + islanda-cbrm_142 > + > + 3.4 > + > + standard > + 0.2474 > + AUS-VM-0001-0002 > + Standard VM > + > + > + amount > + > + IA > + 4.0 > + 4 > + > + 744 > + islanda-cbrm_146337 > + > + 30.0 > + > + w_high > + 1.9796 > + AUS-VM-0001-0011 > + Double-High Performance VM > + > + > + > + > + > + http_version: > + recorded_at: Mon, 18 Feb 2013 12:00:53 GMT > +- request: > + method: get > + uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg4ODUzMDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListDiskImage&Locale=en&Signature=D7lj2PWlkj/Krw9rHqxIN6mptFe/BetNUpMdDR/H2HDE8uZaKMKB2VOQxUoB%0AMRJS96UtxaAUydUZ5CEE3lihWq+0or6q66KLyJiS0DEvdEBcV+BIrAqm5ldw%0A0Japm0L4BgoYi22UYQw6K4xQl8luHbeZaP4bEwO2mDvsnmbSy3kOi74wtyP6%0AW63WhNO5CMf/00utPSR1az/+soshDucRDZgZGXfpF0uO54ryk7wxaC9xoEhV%0A/lpetLPaw5z7JtJz0YFOkKNCaEEi+u8a+sGenm9cbLICNTOoZgKi2YtQKIPN%0AvlCKuJTShYWBv/osOce0X6l44ZWkAqUtHqD04WsIxw==%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:54 GMT > + Transfer-Encoding: > + - chunked > + Content-Type: > + - text/xml;charset=UTF-8 > + Set-Cookie: > + - JSESSIONID=A5B6CA396405C93173D703CF314184B7; Path=/ovisspxy; Secure > + body: > + string: | > + > + > + > + > + UZXC0GRT > + > + IMG0001_RHEL5_8EN64_v1_24x7SPT > + RHEL5.8 64bit(EN) wSPT > + Included > + Red Hat Enterprise Linux 5.8 64bit > + hvm > + UZXC0GRT > + 40.0 > + > + > + UZXC0GRT > + > + IMG0002_RHEL5_8EN64_v1_NoSPT > + RHEL5.8 64bit(EN) > + Included > + Red Hat Enterprise Linux 5.8 64bit > + hvm > + UZXC0GRT > + 40.0 > + > + > + UZXC0GRT > + > + IMG0003_RHEL6_3EN64_v1_24x7SPT > + RHEL6.3 64bit(EN) wSPT > + Included > + Red Hat Enterprise Linux 6.3 64bit > + hvm > + UZXC0GRT > + 40.0 > + > + > + UZXC0GRT > + > + IMG0004_RHEL6_3EN64_v1_NoSPT > + RHEL6.3 64bit(EN) > + Included > + Red Hat Enterprise Linux 6.3 64bit > + hvm > + UZXC0GRT > + 40.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_21VKHA77OO > + CentOS 5.6 32bit(EN) > + > + CentOS 5.6 32bit (English) > + pv > + UZXC0GRT > + 10.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_D30U8UNY6I9S > + CentOS 6.2 32bit(EN) > + > + CentOS 6.2 32bit (English) > + pv > + UZXC0GRT > + 10.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_D30Y0LNN4WE8 > + W2k8R2EESP1(EN) > + Included > + Windows Server 2008 R2 EE 64bit SP1 (English) > + hvm > + UZXC0GRT > + 40.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_FBV3QFG44MPS > + CentOS 5.6 64bit(EN) > + > + CentOS 5.6 64bit (English) > + pv > + UZXC0GRT > + 10.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_J55YW6UE101DS > + CentOS 5.4 32bit(EN) > + > + CentOS 5.4 32bit (English) > + pv > + UZXC0GRT > + 10.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_J56Y5PS4FJO5C > + W2k8R2SE/SQL2k8R2(EN) > + Included > + Windows Server 2008 R2 SE 64bit (English) > + hvm > + UZXC0GRT > + 40.0 > + > + > + Included > + SQLServer 2008 R2 SE (English) > + > + > + > + > + UZXC0GRT > + > + IMG_3c9820_LKNVW2TH31A0W > + CentOS 5.4 64bit(EN) > + > + CentOS 5.4 64bit (English) > + pv > + UZXC0GRT > + 10.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_LLIPQ3UJ43RWG > + W2k8R2SESP1(EN) > + Included > + Windows Server 2008 R2 SE 64bit SP1 (English) > + hvm > + UZXC0GRT > + 40.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_QIEWLLNIF7IF40 > + W2k8R2SE/IIS(EN) > + Included > + Windows Server 2008 R2 SE 64bit (English) > + hvm > + UZXC0GRT > + 40.0 > + > + > + > + Internet Information Server 7.5 > + > + > + > + > + UZXC0GRT > + > + IMG_3c9820_S24FWXU0Q9VH0JK > + CentOS 6.2 64bit(EN) > + > + CentOS 6.2 64bit (English) > + pv > + UZXC0GRT > + 10.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_X1W13YQIDAYQ2SQO > + RHEL5.7 64bit wSPT > + Included > + Red Hat Enterprise Linux 5.7 64bit (English) with Support > + hvm > + UZXC0GRT > + 40.0 > + > + > + Processing was completed. > + SUCCESS > + > + > + > + http_version: > + recorded_at: Mon, 18 Feb 2013 12:00:55 GMT > +- request: > + method: get > + uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg4ODU1MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListServerType&Locale=en&Signature=OttEIRBfAdauHnvgN09YLWbZCTtYCdgdFiExy3ZibFjhcaSq7hOav0sG9L9p%0AAi3Pqevs6qpLjBcnfSh6l7d3uT8bN1azTy6K79D7GRgMF3gSEMmLfbGEeK0y%0ABlT8700sxZsQjAWikm7NfVJq2DEgXdcRswRIA+m/Xfa4Pp8tA8ITF/vcTiJy%0A8FHRyLE12O/ZaaVoPNE1EV4I/2fHf+ZFW9Nx4V2iTsfQfA6ykDxWwEU/dimJ%0AIaRKFydfU+yPyFi4fhauHovIVASys5OnJaoy+C7NoLi7KNwPb5zKTQB9GPOL%0A6f5oiZm/+7IJcfJpxnK7tlDhUmDwpxQplbTQp4EKXA==%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:56 GMT > + Transfer-Encoding: > + - chunked > + Content-Type: > + - text/xml;charset=UTF-8 > + Set-Cookie: > + - JSESSIONID=7C145E541D70AE2EA6BF2A038B30CCFC; Path=/ovisspxy; Secure > + body: > + string: | > + > + > + Processing was completed. > + SUCCESS > + > + > + amount > + > + IA > + 4.0 > + 1 > + > + 744 > + islanda-cbrm_144 > + > + 7.5 > + > + advanced > + 0.4949 > + AUS-VM-0001-0003 > + Advanced VM > + > + > + amount > + > + IA > + 1.0 > + 1 > + > + 744 > + islanda-cbrm_140 > + > + 1.7 > + > + economy > + 0.1237 > + AUS-VM-0001-0001 > + Economy VM > + > + > + amount > + > + IA > + 4.0 > + 2 > + > + 744 > + islanda-cbrm_146 > + > + 15.0 > + > + high_performance > + 0.9898 > + AUS-VM-0001-0004 > + High-Performance VM > + > + > + amount > + > + IA > + 2.0 > + 1 > + > + 744 > + islanda-cbrm_142 > + > + 3.4 > + > + standard > + 0.2474 > + AUS-VM-0001-0002 > + Standard VM > + > + > + amount > + > + IA > + 4.0 > + 4 > + > + 744 > + islanda-cbrm_146337 > + > + 30.0 > + > + w_high > + 1.9796 > + AUS-VM-0001-0011 > + Double-High Performance VM > + > + > + > + > + > + http_version: > + recorded_at: Mon, 18 Feb 2013 12:00:56 GMT > +recorded_with: VCR 2.4.0 > diff --git a/server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_filter_realms.yml b/server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_filter_realms.yml > new file mode 100644 > index 0000000..f9097dd > --- /dev/null > +++ b/server/tests/drivers/fgcp/fixtures/test_0003_must_allow_to_filter_realms.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=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg1NDQ5MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=GetVSYSAttributes&Locale=en&Signature=V8sRvAZRep06Ftyhiv6kRBJ9D4Xq+fxxexM75KwbIqIZxGtdhMK6q1xidzuM%0AWrUwEJJT6+yO/K2aOKjTAw19MF+H5dPXa0K+AMdIGsDvzdXGRjRJ+rPo9gZ1%0AE+UjeZW6FPl9C+8PDQsrqfUqzUSJj5vAEAILX14BeuUEG/0PMB8wqx4gkedK%0Aun967gZHApaMq61uAB4sVB35TeOZEWUIU7ICrgtmKWVuDeQ5AG5tQUIIjrAS%0AcRD/ghPGlaXxnFOH6fsDn/6E9xJlNJbazkd0uqTJXWng52w6Sa8wc3XW3X2o%0AdMLA50ZqLuAG2QfYVf4q8ciClymqvW+7L9OMnaTblw==%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=F33B20F6BC90D0CC487B851E1642D4A3; Path=/ovisspxy; Secure > + Date: > + - Mon, 18 Feb 2013 11:04:09 GMT > + Transfer-Encoding: > + - chunked > + body: > + string: | > + > + > + A wrong value is set.:[vsysId] > + VALIDATION_ERROR > + > + > + http_version: > + recorded_at: Mon, 18 Feb 2013 11:04:09 GMT > +- request: > + method: get > + uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg1ODgyMDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=GetVSYSAttributes&Locale=en&Signature=OLibu6lJzvYjvpcZ50H7itnUj/7bfbahEImfEEeh3yiCtS/JKc3cU99L0Zjp%0Aod1r5MEbDJQPp2ZLGbU1DS55B1Wlj1rHVqpATeB55pwAj/I9IikEf7tDgf1k%0ATpal7rYW6/gXEe4ZN4GMCJmkZQbxmeUTONvQemgD8iyLqT/wBX5g8n4ANRJD%0Adfv3BBRy+Myb38PqZ2VkwcOiisLFP+fVFO3i3PMerE7v+QkO2eBkV1SLsv9F%0ALwtFPjTgzd2ZImrqMAZHnCENA8DaGmb39xr8LeDURrOBgccrzQ7jwsSUODjj%0AX0xAUan1/G4o11BczWvfFk6VtZchw2bWW1XCtZQ4Cg==%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=4D61F175043D4E7BDAD030330B13ED44; Path=/ovisspxy; Secure > + Date: > + - Mon, 18 Feb 2013 11:11:22 GMT > + Transfer-Encoding: > + - chunked > + body: > + string: | > + > + > + Processing was completed. > + SUCCESS > + > + 2-tier Skeleton > + UZXC0GRT > + 2-tier Skeleton > + UZXC0GRT-ZG8ZJCJ07 > + Dies-DC-test > + > + > + > + > + http_version: > + recorded_at: Mon, 18 Feb 2013 11:11:23 GMT > +- request: > + method: get > + uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg1ODgzMDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=GetVSYSAttributes&Locale=en&Signature=200L71C6/DniKIP/cHG47aJYX5vni0H4ohItT/m3Iz1GfxU9lFSY3QGNsh0H%0AvnUhSitdCMDGXwjLuwqALwYzjskxGaFhNEReg2QbUo0ACVhnxfoiB92UT3ZW%0ALyuFG95y+YuACXdS1cy7v/fEKXneEqWq9TU1ujwBvSTcw/blqdZcsPZKbpgd%0AN7xs530xgMQ0sQN6WUxhCxGHD7JdJa7JY9isiaaH1QSk7T9zRGRr6ehEm/gH%0AS6ZreSviIATbM9099//e4mOPDOl6IAnZOKuS6tXTwsbwNBW0UFvKYLGT/uQd%0AgNuVJG7bhxRclXswLu3ECz4G0r4XfgCPkAEOdoJRKQ==%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=BD5273ABF7CD6F8E0C76C53221E522FD; Path=/ovisspxy; Secure > + Date: > + - Mon, 18 Feb 2013 11:11:24 GMT > + Transfer-Encoding: > + - chunked > + body: > + string: | > + > + > + A wrong value is set.:[vsysId] > + VALIDATION_ERROR > + > + > + > + http_version: > + recorded_at: Mon, 18 Feb 2013 11:11:24 GMT > 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: | > - > - > - Processing was completed. > - SUCCESS > - > - > - amount > - > - IA > - 4.0 > - 1 > - > - 744 > - islanda-cbrm_144 > - > - 7.5 > - > - advanced > - 0.4949 > - AUS-VM-0001-0003 > - Advanced VM > - > - > - amount > - > - IA > - 1.0 > - 1 > - > - 744 > - islanda-cbrm_140 > - > - 1.7 > - > - economy > - 0.1237 > - AUS-VM-0001-0001 > - Economy VM > - > - > - amount > - > - IA > - 4.0 > - 2 > - > - 744 > - islanda-cbrm_146 > - > - 15.0 > - > - high_performance > - 0.9898 > - AUS-VM-0001-0004 > - High-Performance VM > - > - > - amount > - > - IA > - 2.0 > - 1 > - > - 744 > - islanda-cbrm_142 > - > - 3.4 > - > - standard > - 0.2474 > - AUS-VM-0001-0002 > - Standard VM > - > - > - amount > - > - IA > - 4.0 > - 4 > - > - 744 > - islanda-cbrm_146337 > - > - 30.0 > - > - w_high > - 1.9796 > - AUS-VM-0001-0011 > - Double-High Performance VM > - > - > - > - > - > - 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: | > - > - > - Processing was completed. > - SUCCESS > - > - > - amount > - > - IA > - 4.0 > - 1 > - > - 744 > - islanda-cbrm_144 > - > - 7.5 > - > - advanced > - 0.4949 > - AUS-VM-0001-0003 > - Advanced VM > - > - > - amount > - > - IA > - 1.0 > - 1 > - > - 744 > - islanda-cbrm_140 > - > - 1.7 > - > - economy > - 0.1237 > - AUS-VM-0001-0001 > - Economy VM > - > - > - amount > - > - IA > - 4.0 > - 2 > - > - 744 > - islanda-cbrm_146 > - > - 15.0 > - > - high_performance > - 0.9898 > - AUS-VM-0001-0004 > - High-Performance VM > - > - > - amount > - > - IA > - 2.0 > - 1 > - > - 744 > - islanda-cbrm_142 > - > - 3.4 > - > - standard > - 0.2474 > - AUS-VM-0001-0002 > - Standard VM > - > - > - amount > - > - IA > - 4.0 > - 4 > - > - 744 > - islanda-cbrm_146337 > - > - 30.0 > - > - w_high > - 1.9796 > - AUS-VM-0001-0011 > - Double-High Performance VM > - > - > - > - > - > - http_version: > - recorded_at: Mon, 18 Feb 2013 10:20:14 GMT > 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: | > - > - > - > - > - UZXC0GRT > - > - IMG0001_RHEL5_8EN64_v1_24x7SPT > - RHEL5.8 64bit(EN) wSPT > - Included > - Red Hat Enterprise Linux 5.8 64bit > - hvm > - UZXC0GRT > - 40.0 > - > - > - UZXC0GRT > - > - IMG0002_RHEL5_8EN64_v1_NoSPT > - RHEL5.8 64bit(EN) > - Included > - Red Hat Enterprise Linux 5.8 64bit > - hvm > - UZXC0GRT > - 40.0 > - > - > - UZXC0GRT > - > - IMG0003_RHEL6_3EN64_v1_24x7SPT > - RHEL6.3 64bit(EN) wSPT > - Included > - Red Hat Enterprise Linux 6.3 64bit > - hvm > - UZXC0GRT > - 40.0 > - > - > - UZXC0GRT > - > - IMG0004_RHEL6_3EN64_v1_NoSPT > - RHEL6.3 64bit(EN) > - Included > - Red Hat Enterprise Linux 6.3 64bit > - hvm > - UZXC0GRT > - 40.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_21VKHA77OO > - CentOS 5.6 32bit(EN) > - > - CentOS 5.6 32bit (English) > - pv > - UZXC0GRT > - 10.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_D30U8UNY6I9S > - CentOS 6.2 32bit(EN) > - > - CentOS 6.2 32bit (English) > - pv > - UZXC0GRT > - 10.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_D30Y0LNN4WE8 > - W2k8R2EESP1(EN) > - Included > - Windows Server 2008 R2 EE 64bit SP1 (English) > - hvm > - UZXC0GRT > - 40.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_FBV3QFG44MPS > - CentOS 5.6 64bit(EN) > - > - CentOS 5.6 64bit (English) > - pv > - UZXC0GRT > - 10.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_J55YW6UE101DS > - CentOS 5.4 32bit(EN) > - > - CentOS 5.4 32bit (English) > - pv > - UZXC0GRT > - 10.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_J56Y5PS4FJO5C > - W2k8R2SE/SQL2k8R2(EN) > - Included > - Windows Server 2008 R2 SE 64bit (English) > - hvm > - UZXC0GRT > - 40.0 > - > - > - Included > - SQLServer 2008 R2 SE (English) > - > - > - > - > - UZXC0GRT > - > - IMG_3c9820_LKNVW2TH31A0W > - CentOS 5.4 64bit(EN) > - > - CentOS 5.4 64bit (English) > - pv > - UZXC0GRT > - 10.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_LLIPQ3UJ43RWG > - W2k8R2SESP1(EN) > - Included > - Windows Server 2008 R2 SE 64bit SP1 (English) > - hvm > - UZXC0GRT > - 40.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_QIEWLLNIF7IF40 > - W2k8R2SE/IIS(EN) > - Included > - Windows Server 2008 R2 SE 64bit (English) > - hvm > - UZXC0GRT > - 40.0 > - > - > - > - Internet Information Server 7.5 > - > - > - > - > - UZXC0GRT > - > - IMG_3c9820_S24FWXU0Q9VH0JK > - CentOS 6.2 64bit(EN) > - > - CentOS 6.2 64bit (English) > - pv > - UZXC0GRT > - 10.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_X1W13YQIDAYQ2SQO > - RHEL5.7 64bit wSPT > - Included > - Red Hat Enterprise Linux 5.7 64bit (English) with Support > - hvm > - UZXC0GRT > - 40.0 > - > - > - Processing was completed. > - SUCCESS > - > - > - > - 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: | > - > - > - Processing was completed. > - SUCCESS > - > - > - amount > - > - IA > - 4.0 > - 1 > - > - 744 > - islanda-cbrm_144 > - > - 7.5 > - > - advanced > - 0.4949 > - AUS-VM-0001-0003 > - Advanced VM > - > - > - amount > - > - IA > - 1.0 > - 1 > - > - 744 > - islanda-cbrm_140 > - > - 1.7 > - > - economy > - 0.1237 > - AUS-VM-0001-0001 > - Economy VM > - > - > - amount > - > - IA > - 4.0 > - 2 > - > - 744 > - islanda-cbrm_146 > - > - 15.0 > - > - high_performance > - 0.9898 > - AUS-VM-0001-0004 > - High-Performance VM > - > - > - amount > - > - IA > - 2.0 > - 1 > - > - 744 > - islanda-cbrm_142 > - > - 3.4 > - > - standard > - 0.2474 > - AUS-VM-0001-0002 > - Standard VM > - > - > - amount > - > - IA > - 4.0 > - 4 > - > - 744 > - islanda-cbrm_146337 > - > - 30.0 > - > - w_high > - 1.9796 > - AUS-VM-0001-0011 > - Double-High Performance VM > - > - > - > - > - > - 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: | > - > - > - > - > - UZXC0GRT > - > - IMG0001_RHEL5_8EN64_v1_24x7SPT > - RHEL5.8 64bit(EN) wSPT > - Included > - Red Hat Enterprise Linux 5.8 64bit > - hvm > - UZXC0GRT > - 40.0 > - > - > - UZXC0GRT > - > - IMG0002_RHEL5_8EN64_v1_NoSPT > - RHEL5.8 64bit(EN) > - Included > - Red Hat Enterprise Linux 5.8 64bit > - hvm > - UZXC0GRT > - 40.0 > - > - > - UZXC0GRT > - > - IMG0003_RHEL6_3EN64_v1_24x7SPT > - RHEL6.3 64bit(EN) wSPT > - Included > - Red Hat Enterprise Linux 6.3 64bit > - hvm > - UZXC0GRT > - 40.0 > - > - > - UZXC0GRT > - > - IMG0004_RHEL6_3EN64_v1_NoSPT > - RHEL6.3 64bit(EN) > - Included > - Red Hat Enterprise Linux 6.3 64bit > - hvm > - UZXC0GRT > - 40.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_21VKHA77OO > - CentOS 5.6 32bit(EN) > - > - CentOS 5.6 32bit (English) > - pv > - UZXC0GRT > - 10.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_D30U8UNY6I9S > - CentOS 6.2 32bit(EN) > - > - CentOS 6.2 32bit (English) > - pv > - UZXC0GRT > - 10.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_D30Y0LNN4WE8 > - W2k8R2EESP1(EN) > - Included > - Windows Server 2008 R2 EE 64bit SP1 (English) > - hvm > - UZXC0GRT > - 40.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_FBV3QFG44MPS > - CentOS 5.6 64bit(EN) > - > - CentOS 5.6 64bit (English) > - pv > - UZXC0GRT > - 10.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_J55YW6UE101DS > - CentOS 5.4 32bit(EN) > - > - CentOS 5.4 32bit (English) > - pv > - UZXC0GRT > - 10.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_J56Y5PS4FJO5C > - W2k8R2SE/SQL2k8R2(EN) > - Included > - Windows Server 2008 R2 SE 64bit (English) > - hvm > - UZXC0GRT > - 40.0 > - > - > - Included > - SQLServer 2008 R2 SE (English) > - > - > - > - > - UZXC0GRT > - > - IMG_3c9820_LKNVW2TH31A0W > - CentOS 5.4 64bit(EN) > - > - CentOS 5.4 64bit (English) > - pv > - UZXC0GRT > - 10.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_LLIPQ3UJ43RWG > - W2k8R2SESP1(EN) > - Included > - Windows Server 2008 R2 SE 64bit SP1 (English) > - hvm > - UZXC0GRT > - 40.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_QIEWLLNIF7IF40 > - W2k8R2SE/IIS(EN) > - Included > - Windows Server 2008 R2 SE 64bit (English) > - hvm > - UZXC0GRT > - 40.0 > - > - > - > - Internet Information Server 7.5 > - > - > - > - > - UZXC0GRT > - > - IMG_3c9820_S24FWXU0Q9VH0JK > - CentOS 6.2 64bit(EN) > - > - CentOS 6.2 64bit (English) > - pv > - UZXC0GRT > - 10.0 > - > - > - UZXC0GRT > - > - IMG_3c9820_X1W13YQIDAYQ2SQO > - RHEL5.7 64bit wSPT > - Included > - Red Hat Enterprise Linux 5.7 64bit (English) with Support > - hvm > - UZXC0GRT > - 40.0 > - > - > - Processing was completed. > - SUCCESS > - > - > - > - 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: | > - > - > - Processing was completed. > - SUCCESS > - > - > - amount > - > - IA > - 4.0 > - 1 > - > - 744 > - islanda-cbrm_144 > - > - 7.5 > - > - advanced > - 0.4949 > - AUS-VM-0001-0003 > - Advanced VM > - > - > - amount > - > - IA > - 1.0 > - 1 > - > - 744 > - islanda-cbrm_140 > - > - 1.7 > - > - economy > - 0.1237 > - AUS-VM-0001-0001 > - Economy VM > - > - > - amount > - > - IA > - 4.0 > - 2 > - > - 744 > - islanda-cbrm_146 > - > - 15.0 > - > - high_performance > - 0.9898 > - AUS-VM-0001-0004 > - High-Performance VM > - > - > - amount > - > - IA > - 2.0 > - 1 > - > - 744 > - islanda-cbrm_142 > - > - 3.4 > - > - standard > - 0.2474 > - AUS-VM-0001-0002 > - Standard VM > - > - > - amount > - > - IA > - 4.0 > - 4 > - > - 744 > - islanda-cbrm_146337 > - > - 30.0 > - > - w_high > - 1.9796 > - AUS-VM-0001-0011 > - Double-High Performance VM > - > - > - > - > - > - http_version: > - recorded_at: Mon, 18 Feb 2013 10:20:21 GMT > 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: | > + > + > + Processing was completed. > + SUCCESS > + > + > + amount > + > + IA > + 4.0 > + 1 > + > + 744 > + islanda-cbrm_144 > + > + 7.5 > + > + advanced > + 0.4949 > + AUS-VM-0001-0003 > + Advanced VM > + > + > + amount > + > + IA > + 1.0 > + 1 > + > + 744 > + islanda-cbrm_140 > + > + 1.7 > + > + economy > + 0.1237 > + AUS-VM-0001-0001 > + Economy VM > + > + > + amount > + > + IA > + 4.0 > + 2 > + > + 744 > + islanda-cbrm_146 > + > + 15.0 > + > + high_performance > + 0.9898 > + AUS-VM-0001-0004 > + High-Performance VM > + > + > + amount > + > + IA > + 2.0 > + 1 > + > + 744 > + islanda-cbrm_142 > + > + 3.4 > + > + standard > + 0.2474 > + AUS-VM-0001-0002 > + Standard VM > + > + > + amount > + > + IA > + 4.0 > + 4 > + > + 744 > + islanda-cbrm_146337 > + > + 30.0 > + > + w_high > + 1.9796 > + AUS-VM-0001-0011 > + Double-High Performance VM > + > + > + > + > + > + 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: | > + > + > + Processing was completed. > + SUCCESS > + > + > + amount > + > + IA > + 4.0 > + 1 > + > + 744 > + islanda-cbrm_144 > + > + 7.5 > + > + advanced > + 0.4949 > + AUS-VM-0001-0003 > + Advanced VM > + > + > + amount > + > + IA > + 1.0 > + 1 > + > + 744 > + islanda-cbrm_140 > + > + 1.7 > + > + economy > + 0.1237 > + AUS-VM-0001-0001 > + Economy VM > + > + > + amount > + > + IA > + 4.0 > + 2 > + > + 744 > + islanda-cbrm_146 > + > + 15.0 > + > + high_performance > + 0.9898 > + AUS-VM-0001-0004 > + High-Performance VM > + > + > + amount > + > + IA > + 2.0 > + 1 > + > + 744 > + islanda-cbrm_142 > + > + 3.4 > + > + standard > + 0.2474 > + AUS-VM-0001-0002 > + Standard VM > + > + > + amount > + > + IA > + 4.0 > + 4 > + > + 744 > + islanda-cbrm_146337 > + > + 30.0 > + > + w_high > + 1.9796 > + AUS-VM-0001-0011 > + Double-High Performance VM > + > + > + > + > + > + http_version: > + recorded_at: Mon, 18 Feb 2013 12:00:46 GMT > +recorded_with: VCR 2.4.0 > 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: | > + > + > + > + > + UZXC0GRT > + > + IMG0001_RHEL5_8EN64_v1_24x7SPT > + RHEL5.8 64bit(EN) wSPT > + Included > + Red Hat Enterprise Linux 5.8 64bit > + hvm > + UZXC0GRT > + 40.0 > + > + > + UZXC0GRT > + > + IMG0002_RHEL5_8EN64_v1_NoSPT > + RHEL5.8 64bit(EN) > + Included > + Red Hat Enterprise Linux 5.8 64bit > + hvm > + UZXC0GRT > + 40.0 > + > + > + UZXC0GRT > + > + IMG0003_RHEL6_3EN64_v1_24x7SPT > + RHEL6.3 64bit(EN) wSPT > + Included > + Red Hat Enterprise Linux 6.3 64bit > + hvm > + UZXC0GRT > + 40.0 > + > + > + UZXC0GRT > + > + IMG0004_RHEL6_3EN64_v1_NoSPT > + RHEL6.3 64bit(EN) > + Included > + Red Hat Enterprise Linux 6.3 64bit > + hvm > + UZXC0GRT > + 40.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_21VKHA77OO > + CentOS 5.6 32bit(EN) > + > + CentOS 5.6 32bit (English) > + pv > + UZXC0GRT > + 10.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_D30U8UNY6I9S > + CentOS 6.2 32bit(EN) > + > + CentOS 6.2 32bit (English) > + pv > + UZXC0GRT > + 10.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_D30Y0LNN4WE8 > + W2k8R2EESP1(EN) > + Included > + Windows Server 2008 R2 EE 64bit SP1 (English) > + hvm > + UZXC0GRT > + 40.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_FBV3QFG44MPS > + CentOS 5.6 64bit(EN) > + > + CentOS 5.6 64bit (English) > + pv > + UZXC0GRT > + 10.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_J55YW6UE101DS > + CentOS 5.4 32bit(EN) > + > + CentOS 5.4 32bit (English) > + pv > + UZXC0GRT > + 10.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_J56Y5PS4FJO5C > + W2k8R2SE/SQL2k8R2(EN) > + Included > + Windows Server 2008 R2 SE 64bit (English) > + hvm > + UZXC0GRT > + 40.0 > + > + > + Included > + SQLServer 2008 R2 SE (English) > + > + > + > + > + UZXC0GRT > + > + IMG_3c9820_LKNVW2TH31A0W > + CentOS 5.4 64bit(EN) > + > + CentOS 5.4 64bit (English) > + pv > + UZXC0GRT > + 10.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_LLIPQ3UJ43RWG > + W2k8R2SESP1(EN) > + Included > + Windows Server 2008 R2 SE 64bit SP1 (English) > + hvm > + UZXC0GRT > + 40.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_QIEWLLNIF7IF40 > + W2k8R2SE/IIS(EN) > + Included > + Windows Server 2008 R2 SE 64bit (English) > + hvm > + UZXC0GRT > + 40.0 > + > + > + > + Internet Information Server 7.5 > + > + > + > + > + UZXC0GRT > + > + IMG_3c9820_S24FWXU0Q9VH0JK > + CentOS 6.2 64bit(EN) > + > + CentOS 6.2 64bit (English) > + pv > + UZXC0GRT > + 10.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_X1W13YQIDAYQ2SQO > + RHEL5.7 64bit wSPT > + Included > + Red Hat Enterprise Linux 5.7 64bit (English) with Support > + hvm > + UZXC0GRT > + 40.0 > + > + > + Processing was completed. > + SUCCESS > + > + > + > + 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: | > + > + > + Processing was completed. > + SUCCESS > + > + > + amount > + > + IA > + 4.0 > + 1 > + > + 744 > + islanda-cbrm_144 > + > + 7.5 > + > + advanced > + 0.4949 > + AUS-VM-0001-0003 > + Advanced VM > + > + > + amount > + > + IA > + 1.0 > + 1 > + > + 744 > + islanda-cbrm_140 > + > + 1.7 > + > + economy > + 0.1237 > + AUS-VM-0001-0001 > + Economy VM > + > + > + amount > + > + IA > + 4.0 > + 2 > + > + 744 > + islanda-cbrm_146 > + > + 15.0 > + > + high_performance > + 0.9898 > + AUS-VM-0001-0004 > + High-Performance VM > + > + > + amount > + > + IA > + 2.0 > + 1 > + > + 744 > + islanda-cbrm_142 > + > + 3.4 > + > + standard > + 0.2474 > + AUS-VM-0001-0002 > + Standard VM > + > + > + amount > + > + IA > + 4.0 > + 4 > + > + 744 > + islanda-cbrm_146337 > + > + 30.0 > + > + w_high > + 1.9796 > + AUS-VM-0001-0011 > + Double-High Performance VM > + > + > + > + > + > + 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: | > + > + > + > + > + UZXC0GRT > + > + IMG0001_RHEL5_8EN64_v1_24x7SPT > + RHEL5.8 64bit(EN) wSPT > + Included > + Red Hat Enterprise Linux 5.8 64bit > + hvm > + UZXC0GRT > + 40.0 > + > + > + UZXC0GRT > + > + IMG0002_RHEL5_8EN64_v1_NoSPT > + RHEL5.8 64bit(EN) > + Included > + Red Hat Enterprise Linux 5.8 64bit > + hvm > + UZXC0GRT > + 40.0 > + > + > + UZXC0GRT > + > + IMG0003_RHEL6_3EN64_v1_24x7SPT > + RHEL6.3 64bit(EN) wSPT > + Included > + Red Hat Enterprise Linux 6.3 64bit > + hvm > + UZXC0GRT > + 40.0 > + > + > + UZXC0GRT > + > + IMG0004_RHEL6_3EN64_v1_NoSPT > + RHEL6.3 64bit(EN) > + Included > + Red Hat Enterprise Linux 6.3 64bit > + hvm > + UZXC0GRT > + 40.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_21VKHA77OO > + CentOS 5.6 32bit(EN) > + > + CentOS 5.6 32bit (English) > + pv > + UZXC0GRT > + 10.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_D30U8UNY6I9S > + CentOS 6.2 32bit(EN) > + > + CentOS 6.2 32bit (English) > + pv > + UZXC0GRT > + 10.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_D30Y0LNN4WE8 > + W2k8R2EESP1(EN) > + Included > + Windows Server 2008 R2 EE 64bit SP1 (English) > + hvm > + UZXC0GRT > + 40.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_FBV3QFG44MPS > + CentOS 5.6 64bit(EN) > + > + CentOS 5.6 64bit (English) > + pv > + UZXC0GRT > + 10.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_J55YW6UE101DS > + CentOS 5.4 32bit(EN) > + > + CentOS 5.4 32bit (English) > + pv > + UZXC0GRT > + 10.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_J56Y5PS4FJO5C > + W2k8R2SE/SQL2k8R2(EN) > + Included > + Windows Server 2008 R2 SE 64bit (English) > + hvm > + UZXC0GRT > + 40.0 > + > + > + Included > + SQLServer 2008 R2 SE (English) > + > + > + > + > + UZXC0GRT > + > + IMG_3c9820_LKNVW2TH31A0W > + CentOS 5.4 64bit(EN) > + > + CentOS 5.4 64bit (English) > + pv > + UZXC0GRT > + 10.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_LLIPQ3UJ43RWG > + W2k8R2SESP1(EN) > + Included > + Windows Server 2008 R2 SE 64bit SP1 (English) > + hvm > + UZXC0GRT > + 40.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_QIEWLLNIF7IF40 > + W2k8R2SE/IIS(EN) > + Included > + Windows Server 2008 R2 SE 64bit (English) > + hvm > + UZXC0GRT > + 40.0 > + > + > + > + Internet Information Server 7.5 > + > + > + > + > + UZXC0GRT > + > + IMG_3c9820_S24FWXU0Q9VH0JK > + CentOS 6.2 64bit(EN) > + > + CentOS 6.2 64bit (English) > + pv > + UZXC0GRT > + 10.0 > + > + > + UZXC0GRT > + > + IMG_3c9820_X1W13YQIDAYQ2SQO > + RHEL5.7 64bit wSPT > + Included > + Red Hat Enterprise Linux 5.7 64bit (English) with Support > + hvm > + UZXC0GRT > + 40.0 > + > + > + Processing was completed. > + SUCCESS > + > + > + > + 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: | > + > + > + Processing was completed. > + SUCCESS > + > + > + amount > + > + IA > + 4.0 > + 1 > + > + 744 > + islanda-cbrm_144 > + > + 7.5 > + > + advanced > + 0.4949 > + AUS-VM-0001-0003 > + Advanced VM > + > + > + amount > + > + IA > + 1.0 > + 1 > + > + 744 > + islanda-cbrm_140 > + > + 1.7 > + > + economy > + 0.1237 > + AUS-VM-0001-0001 > + Economy VM > + > + > + amount > + > + IA > + 4.0 > + 2 > + > + 744 > + islanda-cbrm_146 > + > + 15.0 > + > + high_performance > + 0.9898 > + AUS-VM-0001-0004 > + High-Performance VM > + > + > + amount > + > + IA > + 2.0 > + 1 > + > + 744 > + islanda-cbrm_142 > + > + 3.4 > + > + standard > + 0.2474 > + AUS-VM-0001-0002 > + Standard VM > + > + > + amount > + > + IA > + 4.0 > + 4 > + > + 744 > + islanda-cbrm_146337 > + > + 30.0 > + > + w_high > + 1.9796 > + AUS-VM-0001-0011 > + Double-High Performance VM > + > + > + > + > + > + http_version: > + recorded_at: Mon, 18 Feb 2013 12:01:03 GMT > +recorded_with: VCR 2.4.0 > 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: | > + > + > + A wrong value is set.:[vsysId] > + VALIDATION_ERROR > + > + > + 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: | > + > + > + Processing was completed. > + SUCCESS > + > + 2-tier Skeleton > + UZXC0GRT > + 2-tier Skeleton > + UZXC0GRT-ZG8ZJCJ07 > + Dies-DC-test > + > + > + > + > + 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: | > + > + > + A wrong value is set.:[vsysId] > + VALIDATION_ERROR > + > + > + > + http_version: > + recorded_at: Mon, 18 Feb 2013 11:11:25 GMT > diff --git a/server/tests/drivers/fgcp/fixtures/test_0004_must_include_correct_attributes.yml b/server/tests/drivers/fgcp/fixtures/test_0004_must_include_correct_attributes.yml > deleted file mode 100644 > index f55852c..0000000 > --- a/server/tests/drivers/fgcp/fixtures/test_0004_must_include_correct_attributes.yml > +++ /dev/null > @@ -1,126 +0,0 @@ > ---- > -recorded_with: VCR 2.4.0 > -http_interactions: > -- request: > - method: get > - uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTgyODEyMDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListServerType&Locale=en&Signature=z3pBXQX53AXyyosU0Is0xAni9N61RnBi4NMw7glcGUQPlmV/rf0gB+JY/y3l%0AgDTbxCGPJ3Xg8b/PAn3YvnyMhJAiL3HaQKznsbH1wcQcS9+fZ/0x08JpWWVz%0ABHSija61OtJGbqV9Et9VamDMe4OzsAcHbWcN7KeW0P1WH5V00MbCNIZnZZBR%0Awhit8SoE2I3bzUAPgWl/M2VWqxqDwzlr6bEcBEkXUqfGis9s635T8o4gysLW%0ABoFfUaZR1f0/zlDsbRsuovWyIJYjHAZ3lJe58SxnBUS7CX2nWpi2OXThGoAr%0Aoea1NoeKFiawYDU4hIPGxlxV95D8TEIYwlIEzRRexA==%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=EB12E538DA934CE48CE6B699FBB2AF76; Path=/ovisspxy; Secure > - Content-Type: > - - text/xml;charset=UTF-8 > - Connection: > - - close > - body: > - string: | > - > - > - Processing was completed. > - SUCCESS > - > - > - amount > - > - IA > - 4.0 > - 1 > - > - 744 > - islanda-cbrm_144 > - > - 7.5 > - > - advanced > - 0.4949 > - AUS-VM-0001-0003 > - Advanced VM > - > - > - amount > - > - IA > - 1.0 > - 1 > - > - 744 > - islanda-cbrm_140 > - > - 1.7 > - > - economy > - 0.1237 > - AUS-VM-0001-0001 > - Economy VM > - > - > - amount > - > - IA > - 4.0 > - 2 > - > - 744 > - islanda-cbrm_146 > - > - 15.0 > - > - high_performance > - 0.9898 > - AUS-VM-0001-0004 > - High-Performance VM > - > - > - amount > - > - IA > - 2.0 > - 1 > - > - 744 > - islanda-cbrm_142 > - > - 3.4 > - > - standard > - 0.2474 > - AUS-VM-0001-0002 > - Standard VM > - > - > - amount > - > - IA > - 4.0 > - 4 > - > - 744 > - islanda-cbrm_146337 > - > - 30.0 > - > - w_high > - 1.9796 > - AUS-VM-0001-0011 > - Double-High Performance VM > - > - > - > - > - > - http_version: > - recorded_at: Mon, 18 Feb 2013 10:20:13 GMT > diff --git a/server/tests/drivers/fgcp/fixtures/test_0005_must_include_at_least_four_profiles.yml b/server/tests/drivers/fgcp/fixtures/test_0005_must_include_at_least_four_profiles.yml > deleted file mode 100644 > index 64d78be..0000000 > --- a/server/tests/drivers/fgcp/fixtures/test_0005_must_include_at_least_four_profiles.yml > +++ /dev/null > @@ -1,126 +0,0 @@ > ---- > -recorded_with: VCR 2.4.0 > -http_interactions: > -- request: > - method: get > - uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTgyODA5MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListServerType&Locale=en&Signature=RGCovUee9Hm4ynmNvX32hwSmRSKK7IYmbSDSgRlUCCp9jDckM3toiYCVC+XN%0ANFT9RX350TzHxAf877PZQLRNmmAb1pLmtC4woiez2enurtG1KZ/iA7sflkbw%0A4Ha7PntZR4eQXztjugLlHydANO+MqaRQ0fYuzDPmGL06jbbcTn8mEVUIJhmR%0AFMnQuMks92NcPlBolXm6U93qJkTw9v1XeN+qK7vnZHShZgG12jYnJ3l0iwKG%0A2Qo2R5nZYAJKLLPwd3W+veJkTrZJ5WIdzljXESensqpLEwrbhWYLxKWf8pxq%0AGpHSLeiKYDO/y6YlrDmSgdyC9k+qKPn7EgfEOP/4Pg==%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:10 GMT > - Transfer-Encoding: > - - chunked > - Set-Cookie: > - - JSESSIONID=389AA2D44102AB87BF01D3769C510516; Path=/ovisspxy; Secure > - Content-Type: > - - text/xml;charset=UTF-8 > - Connection: > - - close > - body: > - string: | > - > - > - Processing was completed. > - SUCCESS > - > - > - amount > - > - IA > - 4.0 > - 1 > - > - 744 > - islanda-cbrm_144 > - > - 7.5 > - > - advanced > - 0.4949 > - AUS-VM-0001-0003 > - Advanced VM > - > - > - amount > - > - IA > - 1.0 > - 1 > - > - 744 > - islanda-cbrm_140 > - > - 1.7 > - > - economy > - 0.1237 > - AUS-VM-0001-0001 > - Economy VM > - > - > - amount > - > - IA > - 4.0 > - 2 > - > - 744 > - islanda-cbrm_146 > - > - 15.0 > - > - high_performance > - 0.9898 > - AUS-VM-0001-0004 > - High-Performance VM > - > - > - amount > - > - IA > - 2.0 > - 1 > - > - 744 > - islanda-cbrm_142 > - > - 3.4 > - > - standard > - 0.2474 > - AUS-VM-0001-0002 > - Standard VM > - > - > - amount > - > - IA > - 4.0 > - 4 > - > - 744 > - islanda-cbrm_146337 > - > - 30.0 > - > - w_high > - 1.9796 > - AUS-VM-0001-0011 > - Double-High Performance VM > - > - > - > - > - > - http_version: > - recorded_at: Mon, 18 Feb 2013 10:20:10 GMT > diff --git a/server/tests/drivers/fgcp/fixtures/test_0005_must_include_correct_attributes.yml b/server/tests/drivers/fgcp/fixtures/test_0005_must_include_correct_attributes.yml > new file mode 100644 > index 0000000..77f5cbd > --- /dev/null > +++ b/server/tests/drivers/fgcp/fixtures/test_0005_must_include_correct_attributes.yml > @@ -0,0 +1,126 @@ > +--- > +http_interactions: > +- request: > + method: get > + uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg4ODQzMDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListServerType&Locale=en&Signature=QPI5VNNnSFlLKNzGzIh8k22JnQqPeaIqjnLodiEHcV0H/1phG9eVtKRAB76e%0AkmC7bLtxTECV5XGN4gIcsYgdFazEtVJoMQ89k9bC+/2stZ1CKLw5C1+nXfeo%0AT5t1Xixq3PvPkWPAyd1tvs6JZOxToMeUgFg9/pK26FrUIrxHub3148x8HSAB%0AYH0Jkn5fMnRhuCKOHhtfkk9lXfZOtL0aouGLA01mboBa6KfTIOMe4V7py/Fi%0AkMT28diwyagwEyjslMfRohFEMlVDCQ7V4TaBGRwwizofwYSztdUfV4mwkLOq%0AIcMQYdO0xMMUi9zcku1xGdAP+d6wF/l/SB/u1wx8ag==%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:44 GMT > + Transfer-Encoding: > + - chunked > + Content-Type: > + - text/xml;charset=UTF-8 > + Set-Cookie: > + - JSESSIONID=7E49EE8954F296DDBAAEEF109155D7C6; Path=/ovisspxy; Secure > + body: > + string: | > + > + > + Processing was completed. > + SUCCESS > + > + > + amount > + > + IA > + 4.0 > + 1 > + > + 744 > + islanda-cbrm_144 > + > + 7.5 > + > + advanced > + 0.4949 > + AUS-VM-0001-0003 > + Advanced VM > + > + > + amount > + > + IA > + 1.0 > + 1 > + > + 744 > + islanda-cbrm_140 > + > + 1.7 > + > + economy > + 0.1237 > + AUS-VM-0001-0001 > + Economy VM > + > + > + amount > + > + IA > + 4.0 > + 2 > + > + 744 > + islanda-cbrm_146 > + > + 15.0 > + > + high_performance > + 0.9898 > + AUS-VM-0001-0004 > + High-Performance VM > + > + > + amount > + > + IA > + 2.0 > + 1 > + > + 744 > + islanda-cbrm_142 > + > + 3.4 > + > + standard > + 0.2474 > + AUS-VM-0001-0002 > + Standard VM > + > + > + amount > + > + IA > + 4.0 > + 4 > + > + 744 > + islanda-cbrm_146337 > + > + 30.0 > + > + w_high > + 1.9796 > + AUS-VM-0001-0011 > + Double-High Performance VM > + > + > + > + > + > + http_version: > + recorded_at: Mon, 18 Feb 2013 12:00:44 GMT > +recorded_with: VCR 2.4.0 > diff --git a/server/tests/drivers/fgcp/fixtures/test_0006_must_include_at_least_four_profiles.yml b/server/tests/drivers/fgcp/fixtures/test_0006_must_include_at_least_four_profiles.yml > new file mode 100644 > index 0000000..d245041 > --- /dev/null > +++ b/server/tests/drivers/fgcp/fixtures/test_0006_must_include_at_least_four_profiles.yml > @@ -0,0 +1,126 @@ > +--- > +http_interactions: > +- request: > + method: get > + uri: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint?AccessKeyId=QVVTIEVhc3Rlcm4gRGF5bGlnaHQgVGltZSYxMzYxMTg4ODQ2MDAwJjEuMCZT%0ASEExd2l0aFJTQQ==%0A&Action=ListServerType&Locale=en&Signature=Y7tplPpNJ+Ywx57yY0iTtNSbGsyCGHT/OQ0jbpow/T1TH9UqfsSqhQhptShM%0AnO4dDZDhfgjidofGCuKWzD080VqhUy2t/zuoVQiq9ByACbMLAagl0ljrTBGC%0AHxlrRJz/3lnpuBjDDRfoWXpNWUx4uap9fgdtTa1WouEusQDFyCn4JnB7uqxg%0AvBajPU6oxe1KR93paySLn07+qtxTWdZNNbaxh1oHtOuiT5Zne5udTB5Zl6S7%0AaXCDyZNBFiVUdI+HtlpeJgkcdUVLH3yi7cN3ZyLw01JUYWGpIzcESDi6k5id%0AoGaPjlvb2QWLy9a+QcpkUYesPI+PpSamleh28szuMQ==%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:47 GMT > + Transfer-Encoding: > + - chunked > + Content-Type: > + - text/xml;charset=UTF-8 > + Set-Cookie: > + - JSESSIONID=74FF50F12D915D378FEFCF71865EDC4B; Path=/ovisspxy; Secure > + body: > + string: | > + > + > + Processing was completed. > + SUCCESS > + > + > + amount > + > + IA > + 4.0 > + 1 > + > + 744 > + islanda-cbrm_144 > + > + 7.5 > + > + advanced > + 0.4949 > + AUS-VM-0001-0003 > + Advanced VM > + > + > + amount > + > + IA > + 1.0 > + 1 > + > + 744 > + islanda-cbrm_140 > + > + 1.7 > + > + economy > + 0.1237 > + AUS-VM-0001-0001 > + Economy VM > + > + > + amount > + > + IA > + 4.0 > + 2 > + > + 744 > + islanda-cbrm_146 > + > + 15.0 > + > + high_performance > + 0.9898 > + AUS-VM-0001-0004 > + High-Performance VM > + > + > + amount > + > + IA > + 2.0 > + 1 > + > + 744 > + islanda-cbrm_142 > + > + 3.4 > + > + standard > + 0.2474 > + AUS-VM-0001-0002 > + Standard VM > + > + > + amount > + > + IA > + 4.0 > + 4 > + > + 744 > + islanda-cbrm_146337 > + > + 30.0 > + > + w_high > + 1.9796 > + AUS-VM-0001-0011 > + Double-High Performance VM > + > + > + > + > + > + http_version: > + recorded_at: Mon, 18 Feb 2013 12:00:47 GMT > +recorded_with: VCR 2.4.0 > diff --git a/server/tests/drivers/fgcp/hardware_profiles_test.rb b/server/tests/drivers/fgcp/hardware_profiles_test.rb > index f65cd1f..96390d6 100644 > --- a/server/tests/drivers/fgcp/hardware_profiles_test.rb > +++ b/server/tests/drivers/fgcp/hardware_profiles_test.rb > @@ -3,7 +3,7 @@ require 'require_relative' if RUBY_VERSION < '1.9' > > require_relative 'common.rb' > > -describe 'FGCP HardwareProfiles' do > +describe 'FgcpDriver HardwareProfiles' do > > before do > @driver = Deltacloud::new(:fgcp, credentials) > @@ -14,9 +14,16 @@ describe 'FGCP HardwareProfiles' do > VCR.eject_cassette > end > > + it 'must throw error when wrong credentials' do > + Proc.new do > + @driver.backend.hardware_profiles(OpenStruct.new(:user => 'unknown', :password => 'wrong')) > + end.must_raise Deltacloud::Exceptions::AuthenticationFailure, 'Authentication Failure' > + end > + > it 'must return list of hardware_profiles' do > - @driver.hardware_profiles.wont_be_empty > - @driver.hardware_profiles.first.must_be_kind_of Deltacloud::HardwareProfile > + hardware_profiles = @driver.hardware_profiles > + hardware_profiles.wont_be_empty > + hardware_profiles.first.must_be_kind_of Deltacloud::HardwareProfile > end > > it 'must allow to filter hardware_profiles' do > diff --git a/server/tests/drivers/fgcp/images_test.rb b/server/tests/drivers/fgcp/images_test.rb > index 24a852a..248d108 100644 > --- a/server/tests/drivers/fgcp/images_test.rb > +++ b/server/tests/drivers/fgcp/images_test.rb > @@ -3,7 +3,7 @@ require 'require_relative' if RUBY_VERSION < '1.9' > > require_relative 'common.rb' > > -describe 'FGCP Images' do > +describe 'FgcpDriver Images' do > > before do > @driver = Deltacloud::new(:fgcp, credentials) > @@ -14,6 +14,12 @@ describe 'FGCP Images' do > VCR.eject_cassette > end > > + it 'must throw error when wrong credentials' do > + Proc.new do > + @driver.backend.images(OpenStruct.new(:user => 'unknown', :password => 'wrong')) > + end.must_raise Deltacloud::Exceptions::AuthenticationFailure, 'Authentication Failure' > + end > + > it 'must return list of images' do > imgs = @driver.images > imgs.wont_be_empty > diff --git a/server/tests/drivers/fgcp/provider_test.rb b/server/tests/drivers/fgcp/provider_test.rb > new file mode 100644 > index 0000000..d38d8a5 > --- /dev/null > +++ b/server/tests/drivers/fgcp/provider_test.rb > @@ -0,0 +1,27 @@ > +require 'rubygems' > +require 'require_relative' if RUBY_VERSION < '1.9' > + > +require_relative 'common.rb' > + > +describe 'FgcpDriver Providers' do > + > + before do > + @driver = Deltacloud::new(:fgcp, credentials) > + VCR.insert_cassette __name__ > + end > + > + after do > + VCR.eject_cassette > + end > + > + it 'must support listing of available providers' do > + providers = @driver.providers > + providers.wont_be_empty > + providers.each { |p| p.must_be_kind_of Provider } > + providers.each { |p| p.name.wont_be_empty } > + providers.each { |p| p.url.wont_be_empty } > + providers.each { |p| p.id.wont_be_empty } > + providers.each { |p| ['fgcp-au', 'fgcp-sg', 'fgcp-uk', 'fgcp-us', 'fgcp-de', 'fgcp-jp-east', 'fgcp-jp-west'].must_include p.id } > + end > + > +end > diff --git a/server/tests/drivers/fgcp/realms_test.rb b/server/tests/drivers/fgcp/realms_test.rb > new file mode 100644 > index 0000000..7a4de63 > --- /dev/null > +++ b/server/tests/drivers/fgcp/realms_test.rb > @@ -0,0 +1,53 @@ > +require 'rubygems' > +require 'require_relative' if RUBY_VERSION < '1.9' > + > +require_relative 'common.rb' > + > +describe 'FgcpDriver Realms' do > + > + before do > + @driver = Deltacloud::new(:fgcp, credentials) > + VCR.insert_cassette __name__ > + end > + > + after do > + VCR.eject_cassette > + end > + > + it 'must throw error when wrong credentials' do > + Proc.new do > + @driver.backend.realms(OpenStruct.new(:user => 'unknown', :password => 'wrong')) > + end.must_raise Deltacloud::Exceptions::AuthenticationFailure, 'Authentication Failure' > + end > + > + it 'must return list of realms' do > + realms = @driver.realms > + realms.wont_be_empty > + realms.first.must_be_kind_of Realm > + # assume at least one vsys has been created, with at least 1 tier network > + realms.size.wont_be :<, 2 > + end > + > + it 'must allow to filter realms' do > + realms = @driver.realms(:id => 'UZXC0GRT-ZG8ZJCJ07') > + realms.wont_be_empty > + realms.must_be_kind_of Array > + realms.size.must_equal 1 > + realms.first.id.must_equal 'UZXC0GRT-ZG8ZJCJ07' > + realms.first.name.must_equal 'Dies-DC-test' > + realms.first.state.must_equal 'AVAILABLE' > + @driver.realms(:id => 'unknown').must_be_empty > + end > + > + it 'must allow to retrieve single realm' do > + realm = @driver.realm(:id => 'UZXC0GRT-ZG8ZJCJ07-N-DMZ') > + realm.wont_be_nil > + realm.must_be_kind_of Realm > + realm.state.must_equal 'AVAILABLE' > + realm.id.must_equal 'UZXC0GRT-ZG8ZJCJ07-N-DMZ' > + realm.name.must_equal 'Dies-DC-test [DMZ]' > + @driver.realm(:id => 'unknown').must_be_nil > + end > + > + > +end > -- > 1.8.0.msysgit.0 > > -- Michal Fojtik Deltacloud API, CloudForms