deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject [3/35] git commit: RHEV-M: Fix VCR fixtures to reflect changes in rbovirt gem.
Date Wed, 07 Nov 2012 15:36:35 GMT
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 <mfojtik@redhat.com>
Authored: Wed Nov 7 16:11:20 2012 +0100
Committer: Michal fojtik <mfojtik@redhat.com>
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: ! '<html><head><title>JBoss Web/2.1.11.GA - Error report</title><style><!--H1
+      string: ! '<html><head><title>JBoss Web/7.0.16..Final-redhat-1 -
Error report</title><style><!--H1
         {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
         H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
         H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
@@ -50,7 +50,7 @@ http_interactions:
         {color : black;}A.name {color : black;}HR {color : #525D76;}--></style>
</head><body><h1>HTTP
         Status 401 - </h1><HR size="1" noshade="noshade"><p><b>type</b>
Status report</p><p><b>message</b>
         <u></u></p><p><b>description</b> <u>This
request requires HTTP authentication
-        ().</u></p><HR size="1" noshade="noshade"><h3>JBoss Web/2.1.11.GA</h3></body></html>'
+        ().</u></p><HR size="1" noshade="noshade"><h3>JBoss Web/7.0.16..Final-redhat-1</h3></body></html>'
     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


Mime
View raw message