deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject [2/7] git commit: Updated fixtures for new google driver minitest/spec tests
Date Mon, 04 Jun 2012 11:24:58 GMT
Updated fixtures for new google driver minitest/spec tests


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/858f7b6c
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/858f7b6c
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/858f7b6c

Branch: refs/heads/master
Commit: 858f7b6c22e1949d7b71ce625747e9251cf63fee
Parents: 11cde59
Author: marios <marios@redhat.com>
Authored: Fri Jun 1 13:35:18 2012 +0300
Committer: marios <marios@redhat.com>
Committed: Mon Jun 4 14:24:12 2012 +0300

----------------------------------------------------------------------
 ...te-997d394df9ccfde81ea3073a68d674f173faa56f.yml |   28 ---------
 ...te-fdd72e5f5a3576ca37a34483de5f623c1c08a7f9.yml |   28 ---------
 ...et-4c5647f476f144847319d51b3c5cebe0d82b5995.yml |   30 ---------
 ...et-ff2e867e891fe52fd64cd797d594ac100e15b61a.yml |   40 ------------
 ...ad-997d394df9ccfde81ea3073a68d674f173faa56f.yml |   40 ------------
 ...st-9543e39820e2be0b739d4bbdf2a4dd3cb7e4e411.yml |   42 -------------
 ...st-98ac1bc0a4fd1a04833547a50daed7382fc45ee3.yml |   32 ----------
 ...st-997d394df9ccfde81ea3073a68d674f173faa56f.yml |   42 -------------
 .../fixtures/test_0001_can_create_a_new_bucket.yml |   36 +++++++++++
 ...ials_when_using_force_auth_parameter_in_url.yml |   34 ++++++++++
 ...t_0002_can_create_a_new_blob_with_http_post.yml |   48 +++++++++++++++
 ...test_0003_can_retrieve_named_bucket_details.yml |   34 ++++++++++
 ...t_0004_can_retrieve_details_of_a_named_blob.yml |   46 ++++++++++++++
 .../test_0005_can_retrieve_named_blob_metadata.yml |   46 ++++++++++++++
 .../test_0006_can_update_blob_metadata.yml         |   46 ++++++++++++++
 .../google/fixtures/test_0007_can_delete_blob.yml  |   32 ++++++++++
 .../fixtures/test_0008_can_delete_bucket.yml       |   32 ++++++++++
 ...ials_when_using_force_auth_parameter_in_url.yml |   34 ++++++++++
 18 files changed, 388 insertions(+), 282 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/858f7b6c/server/tests/drivers/google/fixtures/delete-997d394df9ccfde81ea3073a68d674f173faa56f.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/google/fixtures/delete-997d394df9ccfde81ea3073a68d674f173faa56f.yml
b/server/tests/drivers/google/fixtures/delete-997d394df9ccfde81ea3073a68d674f173faa56f.yml
deleted file mode 100644
index 6d2d2fd..0000000
--- a/server/tests/drivers/google/fixtures/delete-997d394df9ccfde81ea3073a68d674f173faa56f.yml
+++ /dev/null
@@ -1,28 +0,0 @@
---- 
-- !ruby/struct:VCR::HTTPInteraction 
-  request: !ruby/struct:VCR::Request 
-    method: DELETE
-    uri: https://testbucki2rpux3wdelmegoogel.commondatastorage.googleapis.com:443/testblobk1ds91kVdelmegoogel
-    body: 
-    headers: 
-      date: 
-      - Tue, 08 Nov 2011 14:45:26 +0000
-      authorization: 
-      - GOOG1 GOOGK7JXLS6UEYS6AYVO:gw0VDJ07/dqbPXtC67B53t7H/fk=
-  response: !ruby/struct:VCR::Response 
-    status: !ruby/struct:VCR::ResponseStatus 
-      code: 204
-      message: 
-    headers: 
-      expires: 
-      - Tue, 08 Nov 2011 14:45:27 GMT
-      server: 
-      - HTTP Upload Server Built on Nov 3 2011 13:52:28 (1320353548)
-      date: 
-      - Tue, 08 Nov 2011 14:45:27 GMT
-      content-length: 
-      - "0"
-      cache-control: 
-      - private, max-age=0
-    body: 
-    http_version: 

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/858f7b6c/server/tests/drivers/google/fixtures/delete-fdd72e5f5a3576ca37a34483de5f623c1c08a7f9.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/google/fixtures/delete-fdd72e5f5a3576ca37a34483de5f623c1c08a7f9.yml
b/server/tests/drivers/google/fixtures/delete-fdd72e5f5a3576ca37a34483de5f623c1c08a7f9.yml
deleted file mode 100644
index aa147c5..0000000
--- a/server/tests/drivers/google/fixtures/delete-fdd72e5f5a3576ca37a34483de5f623c1c08a7f9.yml
+++ /dev/null
@@ -1,28 +0,0 @@
---- 
-- !ruby/struct:VCR::HTTPInteraction 
-  request: !ruby/struct:VCR::Request 
-    method: DELETE
-    uri: https://testbucki2rpux3wdelmegoogel.commondatastorage.googleapis.com:443/
-    body: 
-    headers: 
-      date: 
-      - Tue, 08 Nov 2011 14:45:27 +0000
-      authorization: 
-      - GOOG1 GOOGK7JXLS6UEYS6AYVO:0KUpBpjywaMjTWti4lP0xs1w4aI=
-  response: !ruby/struct:VCR::Response 
-    status: !ruby/struct:VCR::ResponseStatus 
-      code: 204
-      message: 
-    headers: 
-      expires: 
-      - Tue, 08 Nov 2011 14:45:29 GMT
-      server: 
-      - HTTP Upload Server Built on Nov 3 2011 13:52:28 (1320353548)
-      date: 
-      - Tue, 08 Nov 2011 14:45:29 GMT
-      content-length: 
-      - "0"
-      cache-control: 
-      - private, max-age=0
-    body: 
-    http_version: 

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/858f7b6c/server/tests/drivers/google/fixtures/get-4c5647f476f144847319d51b3c5cebe0d82b5995.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/google/fixtures/get-4c5647f476f144847319d51b3c5cebe0d82b5995.yml
b/server/tests/drivers/google/fixtures/get-4c5647f476f144847319d51b3c5cebe0d82b5995.yml
deleted file mode 100644
index f2ab003..0000000
--- a/server/tests/drivers/google/fixtures/get-4c5647f476f144847319d51b3c5cebe0d82b5995.yml
+++ /dev/null
@@ -1,30 +0,0 @@
---- 
-- !ruby/struct:VCR::HTTPInteraction 
-  request: !ruby/struct:VCR::Request 
-    method: GET
-    uri: https://testbucki2rpux3wdelmegoogel.commondatastorage.googleapis.com:443/
-    body: 
-    headers: 
-      date: 
-      - Tue, 08 Nov 2011 14:45:20 +0000
-      authorization: 
-      - GOOG1 GOOGK7JXLS6UEYS6AYVO:L+LQ0Sr12zsqp0vdXpaSh1NRb8o=
-  response: !ruby/struct:VCR::Response 
-    status: !ruby/struct:VCR::ResponseStatus 
-      code: 200
-      message: 
-    headers: 
-      expires: 
-      - Tue, 08 Nov 2011 14:45:21 GMT
-      content-type: 
-      - application/xml; charset=UTF-8
-      server: 
-      - HTTP Upload Server Built on Nov 3 2011 13:52:28 (1320353548)
-      date: 
-      - Tue, 08 Nov 2011 14:45:21 GMT
-      content-length: 
-      - "530"
-      cache-control: 
-      - private, max-age=0
-    body: <?xml version='1.0' encoding='UTF-8'?><ListBucketResult xmlns='http://doc.s3.amazonaws.com/2006-03-01'><Name>testbucki2rpux3wdelmegoogel</Name><Prefix></Prefix><Marker></Marker><IsTruncated>false</IsTruncated><Contents><Key>testblobk1ds91kVdelmegoogel</Key><LastModified>2011-11-08T14:45:19.826Z</LastModified><ETag>"6051b502c4281855ff32dc3e924fe3b0"</ETag><Size>24436</Size><StorageClass>STANDARD</StorageClass><Owner><ID>00b4903a9772c5a80c691066edef0ac07b267f576a2d11bbfc5bf1d2c7a2b8fd</ID></Owner></Contents></ListBucketResult>
-    http_version: 

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/858f7b6c/server/tests/drivers/google/fixtures/get-ff2e867e891fe52fd64cd797d594ac100e15b61a.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/google/fixtures/get-ff2e867e891fe52fd64cd797d594ac100e15b61a.yml
b/server/tests/drivers/google/fixtures/get-ff2e867e891fe52fd64cd797d594ac100e15b61a.yml
deleted file mode 100644
index 6f58cf2..0000000
--- a/server/tests/drivers/google/fixtures/get-ff2e867e891fe52fd64cd797d594ac100e15b61a.yml
+++ /dev/null
@@ -1,40 +0,0 @@
---- 
-- !ruby/struct:VCR::HTTPInteraction 
-  request: !ruby/struct:VCR::Request 
-    method: HEAD
-    uri: https://testbucki2rpux3wdelmegoogel.commondatastorage.googleapis.com:443/testblobk1ds91kVdelmegoogel
-    body: 
-    headers: 
-      date: 
-      - Tue, 08 Nov 2011 14:45:21 +0000
-      authorization: 
-      - GOOG1 GOOGK7JXLS6UEYS6AYVO:KMG8vTcruwrTS06NrYb4gal1sYE=
-  response: !ruby/struct:VCR::Response 
-    status: !ruby/struct:VCR::ResponseStatus 
-      code: 200
-      message: 
-    headers: 
-      x-goog-meta-foo: 
-      - bar
-      etag: 
-      - "\"6051b502c4281855ff32dc3e924fe3b0\""
-      expires: 
-      - Fri, 01 Jan 1990 00:00:00 GMT
-      last-modified: 
-      - Tue, 08 Nov 2011 14:45:19 GMT
-      content-type: 
-      - text/html
-      server: 
-      - HTTP Upload Server Built on Nov 3 2011 13:52:28 (1320353548)
-      date: 
-      - "1320763522378"
-      x-goog-meta-author: 
-      - deltacloud
-      content-length: 
-      - "24436"
-      cache-control: 
-      - no-cache,no-store,max-age=0,must-revalidate
-      pragma: 
-      - no-cache
-    body: 
-    http_version: 

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/858f7b6c/server/tests/drivers/google/fixtures/head-997d394df9ccfde81ea3073a68d674f173faa56f.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/google/fixtures/head-997d394df9ccfde81ea3073a68d674f173faa56f.yml
b/server/tests/drivers/google/fixtures/head-997d394df9ccfde81ea3073a68d674f173faa56f.yml
deleted file mode 100644
index b0e6301..0000000
--- a/server/tests/drivers/google/fixtures/head-997d394df9ccfde81ea3073a68d674f173faa56f.yml
+++ /dev/null
@@ -1,40 +0,0 @@
---- 
-- !ruby/struct:VCR::HTTPInteraction 
-  request: !ruby/struct:VCR::Request 
-    method: HEAD
-    uri: https://testbucki2rpux3wdelmegoogel.commondatastorage.googleapis.com:443/testblobk1ds91kVdelmegoogel
-    body: 
-    headers: 
-      date: 
-      - Tue, 08 Nov 2011 14:45:22 +0000
-      authorization: 
-      - GOOG1 GOOGK7JXLS6UEYS6AYVO:a6itGMEz19GukbOEwaXcDLIdhoE=
-  response: !ruby/struct:VCR::Response 
-    status: !ruby/struct:VCR::ResponseStatus 
-      code: 200
-      message: 
-    headers: 
-      x-goog-meta-foo: 
-      - bar
-      etag: 
-      - "\"6051b502c4281855ff32dc3e924fe3b0\""
-      expires: 
-      - Fri, 01 Jan 1990 00:00:00 GMT
-      last-modified: 
-      - Tue, 08 Nov 2011 14:45:19 GMT
-      content-type: 
-      - text/html
-      server: 
-      - HTTP Upload Server Built on Nov 3 2011 13:52:28 (1320353548)
-      date: 
-      - "1320763523366"
-      x-goog-meta-author: 
-      - deltacloud
-      content-length: 
-      - "24436"
-      cache-control: 
-      - no-cache,no-store,max-age=0,must-revalidate
-      pragma: 
-      - no-cache
-    body: 
-    http_version: 

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/858f7b6c/server/tests/drivers/google/fixtures/post-9543e39820e2be0b739d4bbdf2a4dd3cb7e4e411.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/google/fixtures/post-9543e39820e2be0b739d4bbdf2a4dd3cb7e4e411.yml
b/server/tests/drivers/google/fixtures/post-9543e39820e2be0b739d4bbdf2a4dd3cb7e4e411.yml
deleted file mode 100644
index 9522d73..0000000
--- a/server/tests/drivers/google/fixtures/post-9543e39820e2be0b739d4bbdf2a4dd3cb7e4e411.yml
+++ /dev/null
@@ -1,42 +0,0 @@
---- 
-- !ruby/struct:VCR::HTTPInteraction 
-  request: !ruby/struct:VCR::Request 
-    method: PUT
-    uri: https://testbucki2rpux3wdelmegoogel.commondatastorage.googleapis.com:443/testblobk1ds91kVdelmegoogel
-    body: 
-    headers: 
-      x-goog-meta-foo: 
-      - bar
-      content-type: 
-      - text/html
-      x-goog-meta-author: 
-      - deltacloud
-      date: 
-      - Tue, 08 Nov 2011 14:45:17 +0000
-      authorization: 
-      - GOOG1 GOOGK7JXLS6UEYS6AYVO:OkY5lr02ACmmaHJxPyWaiehWVjA=
-      content-length: 
-      - 24436
-  response: !ruby/struct:VCR::Response 
-    status: !ruby/struct:VCR::ResponseStatus 
-      code: 200
-      message: 
-    headers: 
-      etag: 
-      - "\"6051b502c4281855ff32dc3e924fe3b0\""
-      expires: 
-      - Fri, 01 Jan 1990 00:00:00 GMT
-      content-type: 
-      - text/html
-      server: 
-      - HTTP Upload Server Built on Nov 3 2011 13:52:28 (1320353548)
-      date: 
-      - Tue, 08 Nov 2011 14:45:20 GMT
-      content-length: 
-      - "0"
-      cache-control: 
-      - no-cache, no-store, must-revalidate
-      pragma: 
-      - no-cache
-    body: 
-    http_version: 

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/858f7b6c/server/tests/drivers/google/fixtures/post-98ac1bc0a4fd1a04833547a50daed7382fc45ee3.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/google/fixtures/post-98ac1bc0a4fd1a04833547a50daed7382fc45ee3.yml
b/server/tests/drivers/google/fixtures/post-98ac1bc0a4fd1a04833547a50daed7382fc45ee3.yml
deleted file mode 100644
index 597e228..0000000
--- a/server/tests/drivers/google/fixtures/post-98ac1bc0a4fd1a04833547a50daed7382fc45ee3.yml
+++ /dev/null
@@ -1,32 +0,0 @@
---- 
-- !ruby/struct:VCR::HTTPInteraction 
-  request: !ruby/struct:VCR::Request 
-    method: PUT
-    uri: https://testbucki2rpux3wdelmegoogel.commondatastorage.googleapis.com:443/
-    body: 
-    headers: 
-      date: 
-      - Tue, 08 Nov 2011 14:45:14 +0000
-      authorization: 
-      - GOOG1 GOOGK7JXLS6UEYS6AYVO:P4NxwWRpcfP1oNOeg6pw+nEV5iw=
-  response: !ruby/struct:VCR::Response 
-    status: !ruby/struct:VCR::ResponseStatus 
-      code: 200
-      message: 
-    headers: 
-      expires: 
-      - Fri, 01 Jan 1990 00:00:00 GMT
-      content-type: 
-      - text/html
-      server: 
-      - HTTP Upload Server Built on Nov 3 2011 13:52:28 (1320353548)
-      date: 
-      - Tue, 08 Nov 2011 14:45:16 GMT
-      content-length: 
-      - "0"
-      cache-control: 
-      - no-cache, no-store, must-revalidate
-      pragma: 
-      - no-cache
-    body: 
-    http_version: 

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/858f7b6c/server/tests/drivers/google/fixtures/post-997d394df9ccfde81ea3073a68d674f173faa56f.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/google/fixtures/post-997d394df9ccfde81ea3073a68d674f173faa56f.yml
b/server/tests/drivers/google/fixtures/post-997d394df9ccfde81ea3073a68d674f173faa56f.yml
deleted file mode 100644
index c9280bd..0000000
--- a/server/tests/drivers/google/fixtures/post-997d394df9ccfde81ea3073a68d674f173faa56f.yml
+++ /dev/null
@@ -1,42 +0,0 @@
---- 
-- !ruby/struct:VCR::HTTPInteraction 
-  request: !ruby/struct:VCR::Request 
-    method: PUT
-    uri: https://testbucki2rpux3wdelmegoogel.commondatastorage.googleapis.com:443/testblobk1ds91kVdelmegoogel
-    body: 
-    headers: 
-      x-goog-meta-oof: 
-      - rab
-      x-goog-copy-source: 
-      - /testbucki2rpux3wdelmegoogel/testblobk1ds91kVdelmegoogel
-      x-goog-meta-author: 
-      - ApacheDeltacloud
-      date: 
-      - Tue, 08 Nov 2011 14:45:23 +0000
-      authorization: 
-      - GOOG1 GOOGK7JXLS6UEYS6AYVO:9YmU6qjJ1RpIQANCrfy6mAUSNv8=
-      x-goog-metadata-directive: 
-      - REPLACE
-  response: !ruby/struct:VCR::Response 
-    status: !ruby/struct:VCR::ResponseStatus 
-      code: 200
-      message: 
-    headers: 
-      etag: 
-      - "\"6051b502c4281855ff32dc3e924fe3b0\""
-      expires: 
-      - Fri, 01 Jan 1990 00:00:00 GMT
-      content-type: 
-      - text/html
-      server: 
-      - HTTP Upload Server Built on Nov 3 2011 13:52:28 (1320353548)
-      date: 
-      - Tue, 08 Nov 2011 14:45:26 GMT
-      content-length: 
-      - "175"
-      cache-control: 
-      - no-cache, no-store, must-revalidate
-      pragma: 
-      - no-cache
-    body: <?xml version='1.0' encoding='UTF-8'?><CopyObjectResult><LastModified>2011-11-08T14:45:19.826Z</LastModified><ETag>"6051b502c4281855ff32dc3e924fe3b0"</ETag></CopyObjectResult>
-    http_version: 

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/858f7b6c/server/tests/drivers/google/fixtures/test_0001_can_create_a_new_bucket.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/google/fixtures/test_0001_can_create_a_new_bucket.yml b/server/tests/drivers/google/fixtures/test_0001_can_create_a_new_bucket.yml
new file mode 100644
index 0000000..cab19c9
--- /dev/null
+++ b/server/tests/drivers/google/fixtures/test_0001_can_create_a_new_bucket.yml
@@ -0,0 +1,36 @@
+--- 
+http_interactions: 
+- request: 
+    method: put
+    uri: https://testbucki2rpux3wdelmegoogel.commondatastorage.googleapis.com/
+    body: 
+      string: ""
+    headers: 
+      Date: 
+      - Thu, 31 May 2012 13:32:24 +0000
+      Authorization: 
+      - GOOG1 GOOGUM2I5ZVSPSV5H42U:6unA1LH/B3dvANciEogxxgUDGOE=
+  response: 
+    status: 
+      code: 200
+      message: 
+    headers: 
+      Pragma: 
+      - no-cache
+      Date: 
+      - Thu, 31 May 2012 13:32:26 GMT
+      Server: 
+      - HTTP Upload Server Built on May 23 2012 15:51:04 (1337813464)
+      Expires: 
+      - Fri, 01 Jan 1990 00:00:00 GMT
+      Content-Type: 
+      - text/html
+      Content-Length: 
+      - "0"
+      Cache-Control: 
+      - no-cache, no-store, must-revalidate
+    body: 
+      string: ""
+    http_version: 
+  recorded_at: Thu, 31 May 2012 13:32:26 GMT
+recorded_with: VCR 2.1.1

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/858f7b6c/server/tests/drivers/google/fixtures/test_0001_must_re_validate_the_driver_credentials_when_using_force_auth_parameter_in_url.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/google/fixtures/test_0001_must_re_validate_the_driver_credentials_when_using_force_auth_parameter_in_url.yml
b/server/tests/drivers/google/fixtures/test_0001_must_re_validate_the_driver_credentials_when_using_force_auth_parameter_in_url.yml
new file mode 100644
index 0000000..f3f6829
--- /dev/null
+++ b/server/tests/drivers/google/fixtures/test_0001_must_re_validate_the_driver_credentials_when_using_force_auth_parameter_in_url.yml
@@ -0,0 +1,34 @@
+--- 
+recorded_with: VCR 2.1.1
+http_interactions: 
+- request: 
+    method: get
+    uri: https://commondatastorage.googleapis.com/
+    body: 
+      string: ""
+    headers: 
+      Date: 
+      - Thu, 31 May 2012 14:39:13 +0000
+      Authorization: 
+      - GOOG1 GOOGUM2I5ZVSPSV5H42U:V4t1yVqR4xMXPEDIjvTJjACMF3M=
+  response: 
+    status: 
+      code: 200
+      message: 
+    headers: 
+      Cache-Control: 
+      - private, max-age=0
+      Date: 
+      - Thu, 31 May 2012 14:39:15 GMT
+      Server: 
+      - HTTP Upload Server Built on May 23 2012 15:51:04 (1337813464)
+      Content-Length: 
+      - "437"
+      Expires: 
+      - Thu, 31 May 2012 14:39:15 GMT
+      Content-Type: 
+      - application/xml; charset=UTF-8
+    body: 
+      string: <?xml version='1.0' encoding='UTF-8'?><ListAllMyBucketsResult xmlns='http://doc.s3.amazonaws.com/2006-03-01'><Owner><ID>00b4903a97866666a0d78ccdcf31c5015cac5d76415d1d23aa190f3c14975a1f</ID></Owner><Buckets><Bucket><Name>marios_bucket</Name><CreationDate>2011-08-16T11:05:02.262Z</CreationDate></Bucket><Bucket><Name>usmariosnewbucket</Name><CreationDate>2011-09-19T12:34:31.218Z</CreationDate></Bucket></Buckets></ListAllMyBucketsResult>
+    http_version: 
+  recorded_at: Thu, 31 May 2012 14:39:15 GMT

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/858f7b6c/server/tests/drivers/google/fixtures/test_0002_can_create_a_new_blob_with_http_post.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/google/fixtures/test_0002_can_create_a_new_blob_with_http_post.yml
b/server/tests/drivers/google/fixtures/test_0002_can_create_a_new_blob_with_http_post.yml
new file mode 100644
index 0000000..d83b489
--- /dev/null
+++ b/server/tests/drivers/google/fixtures/test_0002_can_create_a_new_blob_with_http_post.yml
@@ -0,0 +1,48 @@
+--- 
+http_interactions: 
+- request: 
+    method: put
+    uri: https://testbucki2rpux3wdelmegoogel.commondatastorage.googleapis.com/testblobk1ds91kVdelmegoogel
+    body: 
+      string: "#<File:0xb69fd808>"
+    headers: 
+      x-goog-meta-author: 
+      - deltacloud
+      Date: 
+      - Thu, 31 May 2012 13:32:26 +0000
+      x-goog-meta-foo: 
+      - bar
+      Content-Type: 
+      - text/html
+      Content-Length: 
+      - 24436
+      Authorization: 
+      - GOOG1 GOOGUM2I5ZVSPSV5H42U:q3PlG3D+fudEtGS52CBkF/ctAl8=
+  response: 
+    status: 
+      code: 200
+      message: 
+    headers: 
+      Pragma: 
+      - no-cache
+      Date: 
+      - Thu, 31 May 2012 13:32:30 GMT
+      Server: 
+      - HTTP Upload Server Built on May 23 2012 15:51:04 (1337813464)
+      x-goog-sequence-number: 
+      - "1"
+      Expires: 
+      - Fri, 01 Jan 1990 00:00:00 GMT
+      Content-Type: 
+      - text/html
+      ETag: 
+      - "\"6051b502c4281855ff32dc3e924fe3b0\""
+      Content-Length: 
+      - "0"
+      Cache-Control: 
+      - no-cache, no-store, must-revalidate
+    body: 
+      string: ""
+    http_version: 
+  recorded_at: Thu, 31 May 2012 13:32:30 GMT
+recorded_with: VCR 2.1.1

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/858f7b6c/server/tests/drivers/google/fixtures/test_0003_can_retrieve_named_bucket_details.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/google/fixtures/test_0003_can_retrieve_named_bucket_details.yml
b/server/tests/drivers/google/fixtures/test_0003_can_retrieve_named_bucket_details.yml
new file mode 100644
index 0000000..2b9cf23
--- /dev/null
+++ b/server/tests/drivers/google/fixtures/test_0003_can_retrieve_named_bucket_details.yml
@@ -0,0 +1,34 @@
+--- 
+http_interactions: 
+- request: 
+    method: get
+    uri: https://testbucki2rpux3wdelmegoogel.commondatastorage.googleapis.com/
+    body: 
+      string: ""
+    headers: 
+      Date: 
+      - Thu, 31 May 2012 13:32:30 +0000
+      Authorization: 
+      - GOOG1 GOOGUM2I5ZVSPSV5H42U:xPYbYLX8gFAmOhtahVuQSgh/kyI=
+  response: 
+    status: 
+      code: 200
+      message: 
+    headers: 
+      Date: 
+      - Thu, 31 May 2012 13:32:32 GMT
+      Server: 
+      - HTTP Upload Server Built on May 23 2012 15:51:04 (1337813464)
+      Content-Type: 
+      - application/xml; charset=UTF-8
+      Expires: 
+      - Thu, 31 May 2012 13:32:32 GMT
+      Content-Length: 
+      - "530"
+      Cache-Control: 
+      - private, max-age=0
+    body: 
+      string: <?xml version='1.0' encoding='UTF-8'?><ListBucketResult xmlns='http://doc.s3.amazonaws.com/2006-03-01'><Name>testbucki2rpux3wdelmegoogel</Name><Prefix></Prefix><Marker></Marker><IsTruncated>false</IsTruncated><Contents><Key>testblobk1ds91kVdelmegoogel</Key><LastModified>2012-05-31T13:32:30.167Z</LastModified><ETag>"6051b502c4281855ff32dc3e924fe3b0"</ETag><Size>24436</Size><StorageClass>STANDARD</StorageClass><Owner><ID>00b4903a9772c5a80c691066edef0ac07b267f576a2d11bbfc5bf1d2c7a2b8fd</ID></Owner></Contents></ListBucketResult>
+    http_version: 
+  recorded_at: Thu, 31 May 2012 13:32:32 GMT
+recorded_with: VCR 2.1.1

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/858f7b6c/server/tests/drivers/google/fixtures/test_0004_can_retrieve_details_of_a_named_blob.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/google/fixtures/test_0004_can_retrieve_details_of_a_named_blob.yml
b/server/tests/drivers/google/fixtures/test_0004_can_retrieve_details_of_a_named_blob.yml
new file mode 100644
index 0000000..5d95e6d
--- /dev/null
+++ b/server/tests/drivers/google/fixtures/test_0004_can_retrieve_details_of_a_named_blob.yml
@@ -0,0 +1,46 @@
+--- 
+http_interactions: 
+- request: 
+    method: head
+    uri: https://testbucki2rpux3wdelmegoogel.commondatastorage.googleapis.com/testblobk1ds91kVdelmegoogel
+    body: 
+      string: ""
+    headers: 
+      Date: 
+      - Thu, 31 May 2012 13:32:32 +0000
+      Authorization: 
+      - GOOG1 GOOGUM2I5ZVSPSV5H42U:et61JKQ0NTeEiExz3mcFqeRrytI=
+  response: 
+    status: 
+      code: 200
+      message: 
+    headers: 
+      Accept-Ranges: 
+      - bytes
+      Last-Modified: 
+      - Thu, 31 May 2012 13:32:30 GMT
+      Date: 
+      - Thu, 31 May 2012 13:32:34 GMT
+      x-goog-meta-author: 
+      - deltacloud
+      Server: 
+      - HTTP Upload Server Built on May 23 2012 15:51:04 (1337813464)
+      x-goog-meta-foo: 
+      - bar
+      Expires: 
+      - Thu, 31 May 2012 13:32:34 GMT
+      x-goog-sequence-number: 
+      - "1"
+      Content-Type: 
+      - text/html
+      ETag: 
+      - "\"6051b502c4281855ff32dc3e924fe3b0\""
+      Content-Length: 
+      - "24436"
+      Cache-Control: 
+      - private, max-age=0
+    body: 
+      string: ""
+    http_version: 
+  recorded_at: Thu, 31 May 2012 13:32:34 GMT
+recorded_with: VCR 2.1.1

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/858f7b6c/server/tests/drivers/google/fixtures/test_0005_can_retrieve_named_blob_metadata.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/google/fixtures/test_0005_can_retrieve_named_blob_metadata.yml
b/server/tests/drivers/google/fixtures/test_0005_can_retrieve_named_blob_metadata.yml
new file mode 100644
index 0000000..2f10f5a
--- /dev/null
+++ b/server/tests/drivers/google/fixtures/test_0005_can_retrieve_named_blob_metadata.yml
@@ -0,0 +1,46 @@
+--- 
+http_interactions: 
+- request: 
+    method: head
+    uri: https://testbucki2rpux3wdelmegoogel.commondatastorage.googleapis.com/testblobk1ds91kVdelmegoogel
+    body: 
+      string: ""
+    headers: 
+      Date: 
+      - Thu, 31 May 2012 13:32:34 +0000
+      Authorization: 
+      - GOOG1 GOOGUM2I5ZVSPSV5H42U:nnxAdtq+3nPXa/jplDEaDc8MoIY=
+  response: 
+    status: 
+      code: 200
+      message: 
+    headers: 
+      Accept-Ranges: 
+      - bytes
+      Last-Modified: 
+      - Thu, 31 May 2012 13:32:30 GMT
+      Date: 
+      - Thu, 31 May 2012 13:32:35 GMT
+      x-goog-meta-author: 
+      - deltacloud
+      Server: 
+      - HTTP Upload Server Built on May 23 2012 15:51:04 (1337813464)
+      x-goog-meta-foo: 
+      - bar
+      Expires: 
+      - Thu, 31 May 2012 13:32:35 GMT
+      x-goog-sequence-number: 
+      - "1"
+      Content-Type: 
+      - text/html
+      ETag: 
+      - "\"6051b502c4281855ff32dc3e924fe3b0\""
+      Content-Length: 
+      - "24436"
+      Cache-Control: 
+      - private, max-age=0
+    body: 
+      string: ""
+    http_version: 
+  recorded_at: Thu, 31 May 2012 13:32:35 GMT
+recorded_with: VCR 2.1.1

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/858f7b6c/server/tests/drivers/google/fixtures/test_0006_can_update_blob_metadata.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/google/fixtures/test_0006_can_update_blob_metadata.yml b/server/tests/drivers/google/fixtures/test_0006_can_update_blob_metadata.yml
new file mode 100644
index 0000000..b499f45
--- /dev/null
+++ b/server/tests/drivers/google/fixtures/test_0006_can_update_blob_metadata.yml
@@ -0,0 +1,46 @@
+--- 
+http_interactions: 
+- request: 
+    method: put
+    uri: https://testbucki2rpux3wdelmegoogel.commondatastorage.googleapis.com/testblobk1ds91kVdelmegoogel
+    body: 
+      string: ""
+    headers: 
+      x-goog-meta-oof: 
+      - rab
+      x-goog-meta-author: 
+      - ApacheDeltacloud
+      Date: 
+      - Thu, 31 May 2012 13:32:36 +0000
+      x-goog-metadata-directive: 
+      - REPLACE
+      x-goog-copy-source: 
+      - /testbucki2rpux3wdelmegoogel/testblobk1ds91kVdelmegoogel
+      Authorization: 
+      - GOOG1 GOOGUM2I5ZVSPSV5H42U:n1S+jiaGFzqRAKcv5FLwSg1pgmI=
+  response: 
+    status: 
+      code: 200
+      message: 
+    headers: 
+      Pragma: 
+      - no-cache
+      Date: 
+      - Thu, 31 May 2012 13:32:37 GMT
+      Server: 
+      - HTTP Upload Server Built on May 23 2012 15:51:04 (1337813464)
+      Expires: 
+      - Fri, 01 Jan 1990 00:00:00 GMT
+      Content-Type: 
+      - text/html
+      ETag: 
+      - "\"6051b502c4281855ff32dc3e924fe3b0\""
+      Content-Length: 
+      - "175"
+      Cache-Control: 
+      - no-cache, no-store, must-revalidate
+    body: 
+      string: <?xml version='1.0' encoding='UTF-8'?><CopyObjectResult><LastModified>2012-05-31T13:32:30.167Z</LastModified><ETag>"6051b502c4281855ff32dc3e924fe3b0"</ETag></CopyObjectResult>
+    http_version: 
+  recorded_at: Thu, 31 May 2012 13:32:37 GMT
+recorded_with: VCR 2.1.1

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/858f7b6c/server/tests/drivers/google/fixtures/test_0007_can_delete_blob.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/google/fixtures/test_0007_can_delete_blob.yml b/server/tests/drivers/google/fixtures/test_0007_can_delete_blob.yml
new file mode 100644
index 0000000..b174b25
--- /dev/null
+++ b/server/tests/drivers/google/fixtures/test_0007_can_delete_blob.yml
@@ -0,0 +1,32 @@
+--- 
+http_interactions: 
+- request: 
+    method: delete
+    uri: https://testbucki2rpux3wdelmegoogel.commondatastorage.googleapis.com/testblobk1ds91kVdelmegoogel
+    body: 
+      string: ""
+    headers: 
+      Date: 
+      - Thu, 31 May 2012 13:32:37 +0000
+      Authorization: 
+      - GOOG1 GOOGUM2I5ZVSPSV5H42U:oZttJ3XEz8AaoOQNuOP6Q9s6xQ4=
+  response: 
+    status: 
+      code: 204
+      message: 
+    headers: 
+      Date: 
+      - Thu, 31 May 2012 13:32:38 GMT
+      Server: 
+      - HTTP Upload Server Built on May 23 2012 15:51:04 (1337813464)
+      Expires: 
+      - Thu, 31 May 2012 13:32:38 GMT
+      Content-Length: 
+      - "0"
+      Cache-Control: 
+      - private, max-age=0
+    body: 
+      string: ""
+    http_version: 
+  recorded_at: Thu, 31 May 2012 13:32:38 GMT
+recorded_with: VCR 2.1.1

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/858f7b6c/server/tests/drivers/google/fixtures/test_0008_can_delete_bucket.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/google/fixtures/test_0008_can_delete_bucket.yml b/server/tests/drivers/google/fixtures/test_0008_can_delete_bucket.yml
new file mode 100644
index 0000000..d828ab2
--- /dev/null
+++ b/server/tests/drivers/google/fixtures/test_0008_can_delete_bucket.yml
@@ -0,0 +1,32 @@
+--- 
+http_interactions: 
+- request: 
+    method: delete
+    uri: https://testbucki2rpux3wdelmegoogel.commondatastorage.googleapis.com/
+    body: 
+      string: ""
+    headers: 
+      Date: 
+      - Thu, 31 May 2012 13:32:38 +0000
+      Authorization: 
+      - GOOG1 GOOGUM2I5ZVSPSV5H42U:qqVLMZLqoFyshuSiXMwTO1vUxgc=
+  response: 
+    status: 
+      code: 204
+      message: 
+    headers: 
+      Date: 
+      - Thu, 31 May 2012 13:32:40 GMT
+      Server: 
+      - HTTP Upload Server Built on May 23 2012 15:51:04 (1337813464)
+      Expires: 
+      - Thu, 31 May 2012 13:32:40 GMT
+      Content-Length: 
+      - "0"
+      Cache-Control: 
+      - private, max-age=0
+    body: 
+      string: ""
+    http_version: 
+  recorded_at: Thu, 31 May 2012 13:32:40 GMT
+recorded_with: VCR 2.1.1

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/858f7b6c/server/tests/drivers/google/fixtures/test_0015_must_re_validate_the_driver_credentials_when_using_force_auth_parameter_in_url.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/google/fixtures/test_0015_must_re_validate_the_driver_credentials_when_using_force_auth_parameter_in_url.yml
b/server/tests/drivers/google/fixtures/test_0015_must_re_validate_the_driver_credentials_when_using_force_auth_parameter_in_url.yml
new file mode 100644
index 0000000..6dc0031
--- /dev/null
+++ b/server/tests/drivers/google/fixtures/test_0015_must_re_validate_the_driver_credentials_when_using_force_auth_parameter_in_url.yml
@@ -0,0 +1,34 @@
+--- 
+recorded_with: VCR 2.1.1
+http_interactions: 
+- request: 
+    method: get
+    uri: https://commondatastorage.googleapis.com/
+    body: 
+      string: ""
+    headers: 
+      Date: 
+      - Fri, 01 Jun 2012 09:44:00 +0000
+      Authorization: 
+      - GOOG1 GOOGUM2I5ZVSPSV5H42U:ElPSEaOFtMx93SxUriSQfHe+mJk=
+  response: 
+    status: 
+      code: 200
+      message: 
+    headers: 
+      Content-Length: 
+      - "437"
+      Date: 
+      - Fri, 01 Jun 2012 09:44:02 GMT
+      Server: 
+      - HTTP Upload Server Built on May 23 2012 16:01:58 (1337814118)
+      Content-Type: 
+      - application/xml; charset=UTF-8
+      Expires: 
+      - Fri, 01 Jun 2012 09:44:02 GMT
+      Cache-Control: 
+      - private, max-age=0
+    body: 
+      string: <?xml version='1.0' encoding='UTF-8'?><ListAllMyBucketsResult xmlns='http://doc.s3.amazonaws.com/2006-03-01'><Owner><ID>00b4903a97866666a0d78ccdcf31c5015cac5d76415d1d23aa190f3c14975a1f</ID></Owner><Buckets><Bucket><Name>marios_bucket</Name><CreationDate>2011-08-16T11:05:02.262Z</CreationDate></Bucket><Bucket><Name>usmariosnewbucket</Name><CreationDate>2011-09-19T12:34:31.218Z</CreationDate></Bucket></Buckets></ListAllMyBucketsResult>
+    http_version: 
+  recorded_at: Fri, 01 Jun 2012 09:44:02 GMT


Mime
View raw message