Return-Path: X-Original-To: apmail-deltacloud-commits-archive@www.apache.org Delivered-To: apmail-deltacloud-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BA56BD47A for ; Wed, 7 Nov 2012 15:36:39 +0000 (UTC) Received: (qmail 80581 invoked by uid 500); 7 Nov 2012 15:36:39 -0000 Delivered-To: apmail-deltacloud-commits-archive@deltacloud.apache.org Received: (qmail 80511 invoked by uid 500); 7 Nov 2012 15:36:39 -0000 Mailing-List: contact commits-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 commits@deltacloud.apache.org Received: (qmail 80158 invoked by uid 99); 7 Nov 2012 15:36:35 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2012 15:36:35 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 72E8945169; Wed, 7 Nov 2012 15:36:35 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: mfojtik@apache.org To: commits@deltacloud.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [3/35] git commit: RHEV-M: Fix VCR fixtures to reflect changes in rbovirt gem. Message-Id: <20121107153635.72E8945169@tyr.zones.apache.org> Date: Wed, 7 Nov 2012 15:36:35 +0000 (UTC) RHEV-M: Fix VCR fixtures to reflect changes in rbovirt gem. Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/fd603d92 Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/fd603d92 Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/fd603d92 Branch: refs/heads/master Commit: fd603d9266b626333f3ab0b25e03747c82c28a4b Parents: 278128d Author: Michal Fojtik Authored: Wed Nov 7 16:11:20 2012 +0100 Committer: Michal fojtik Committed: Wed Nov 7 16:36:09 2012 +0100 ---------------------------------------------------------------------- server/tests/drivers/rhevm/common.rb | 6 +- ...001_must_throw_error_when_wrong_credentials.yml | 26 +- .../test_0002_must_return_list_of_images.yml | 997 +- .../test_0002_must_return_list_of_instances.yml | 1880 ++- .../test_0002_must_return_list_of_realms.yml | 216 +- ...must_support_listing_of_available_providers.yml | 212 +- .../test_0003_must_allow_to_filter_images.yml | 1065 +- .../test_0003_must_allow_to_filter_instances.yml | 7892 ++++++---- .../test_0003_must_allow_to_filter_realms.yml | 693 +- ...s_when_switching_between_different_clusters.yml | 352 +- ...st_0004_must_allow_to_retrieve_single_image.yml | 365 +- ...0004_must_allow_to_retrieve_single_instance.yml | 3848 ++--- ...st_0004_must_allow_to_retrieve_single_realm.yml | 479 +- ..._to_create_a_new_instance_and_destroy_it-10.yml | 729 +- ...w_to_create_a_new_instance_and_destroy_it-9.yml | 729 +- ...te_a_new_instance_and_destroy_it-destroy-10.yml | 729 +- ...ate_a_new_instance_and_destroy_it-destroy-9.yml | 640 +- ...low_to_create_a_new_instance_and_destroy_it.yml | 7685 ++++----- ...proper_exception_when_destroying_used_image.yml | 163 +- ...reate_a_new_instance_and_make_it_running-10.yml | 1030 +- ...create_a_new_instance_and_make_it_running-9.yml | 1030 +- ...new_instance_and_make_it_running-destroy-10.yml | 733 +- ..._new_instance_and_make_it_running-destroy-9.yml | 640 +- ...a_new_instance_and_make_it_running-start-10.yml | 1037 +- ..._a_new_instance_and_make_it_running-start-4.yml | 662 - ..._a_new_instance_and_make_it_running-start-5.yml | 735 +- ..._a_new_instance_and_make_it_running-start-6.yml | 735 +- ..._a_new_instance_and_make_it_running-start-7.yml | 755 +- ..._a_new_instance_and_make_it_running-start-8.yml | 755 +- ..._a_new_instance_and_make_it_running-start-9.yml | 779 +- ..._a_new_instance_and_make_it_running-stop-10.yml | 735 +- ...e_a_new_instance_and_make_it_running-stop-6.yml | 526 + ...e_a_new_instance_and_make_it_running-stop-7.yml | 527 + ...e_a_new_instance_and_make_it_running-stop-8.yml | 527 + ...e_a_new_instance_and_make_it_running-stop-9.yml | 734 +- ...o_create_a_new_instance_and_make_it_running.yml |12675 +++++++++------ .../test_0006_must_support_destroying_images.yml | 174 +- server/tests/drivers/rhevm/images_test.rb | 22 +- server/tests/drivers/rhevm/instance_test.rb | 40 +- server/tests/drivers/rhevm/provider_test.rb | 4 +- server/tests/drivers/rhevm/realms_test.rb | 12 +- 41 files changed, 29094 insertions(+), 24479 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/deltacloud/blob/fd603d92/server/tests/drivers/rhevm/common.rb ---------------------------------------------------------------------- diff --git a/server/tests/drivers/rhevm/common.rb b/server/tests/drivers/rhevm/common.rb index 7406311..7246633 100644 --- a/server/tests/drivers/rhevm/common.rb +++ b/server/tests/drivers/rhevm/common.rb @@ -8,9 +8,9 @@ require_relative '../../test_helper' # def credentials { - :user => 'vdcadmin@rhev.lab.eng.brq.redhat.com', - :password => '123456', - :provider => 'https://rhev30-dc.lab.eng.brq.redhat.com:8443/api;645e425e-66fe-4ac9-8874-537bd10ef08d' + :user => 'admin@internal', + :password => 'redhat', + :provider => 'https://dell-per610-02.lab.eng.brq.redhat.com/api;9df72b84-0234-11e2-9b87-9386d9b09d4a' } end http://git-wip-us.apache.org/repos/asf/deltacloud/blob/fd603d92/server/tests/drivers/rhevm/fixtures/test_0001_must_throw_error_when_wrong_credentials.yml ---------------------------------------------------------------------- diff --git a/server/tests/drivers/rhevm/fixtures/test_0001_must_throw_error_when_wrong_credentials.yml b/server/tests/drivers/rhevm/fixtures/test_0001_must_throw_error_when_wrong_credentials.yml index 2d3fe8f..81d200b 100644 --- a/server/tests/drivers/rhevm/fixtures/test_0001_must_throw_error_when_wrong_credentials.yml +++ b/server/tests/drivers/rhevm/fixtures/test_0001_must_throw_error_when_wrong_credentials.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://unknown:wrong@rhev30-dc.lab.eng.brq.redhat.com:8443/api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d + uri: https://unknown:wrong@dell-per610-02.lab.eng.brq.redhat.com/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a body: encoding: US-ASCII string: '' @@ -20,27 +20,27 @@ http_interactions: code: 401 message: Unauthorized headers: - Server: - - Apache-Coyote/1.1 + Date: + - Wed, 07 Nov 2012 15:12:08 GMT Pragma: - No-cache Cache-Control: - no-cache Expires: - Thu, 01 Jan 1970 01:00:00 CET - X-Powered-By: - - Servlet 2.5; JBoss-5.0/JBossWeb-2.1 + Set-Cookie: + - JSESSIONID=nqlELoKXom85gQr6kcO4QkeX; Path=/api; Secure Www-Authenticate: - - Basic realm = "RHEVM" + - Basic realm="ENGINE" Content-Type: - text/html;charset=utf-8 Content-Length: - - '952' - Date: - - Wed, 25 Jul 2012 11:47:08 GMT + - '978' + Connection: + - close body: encoding: US-ASCII - string: ! 'JBoss Web/2.1.11.GA - Error report

HTTP Status 401 -


type Status report

message

description This request requires HTTP authentication - ().


JBoss Web/2.1.11.GA

' + ().


JBoss Web/7.0.16..Final-redhat-1

' http_version: - recorded_at: Wed, 25 Jul 2012 11:48:13 GMT -recorded_with: VCR 2.1.1 + recorded_at: Wed, 07 Nov 2012 15:12:10 GMT +recorded_with: VCR 2.2.5