Commit Graph

78 Commits

Author SHA1 Message Date
Timur Alperovich 428d909562 Move the skipped tests.
Since the delimiter and prefix tests were moved to
BaseContainerIntegrationTest (from BaseContainerLiveTest), need to do
the same for google.
2015-07-14 15:06:16 -07:00
Timur Alperovich e492ba641a JCLOUDS-929: Disable delimiter test. 2015-07-13 14:43:01 -07:00
Timur Alperovich 7be0753e74 JCLOUDS-930: Skip the prefix test in GCS.
As the prefix option has not been plumbed down into GCS, we should
skip the prefix test.
2015-06-29 21:52:17 -07:00
Ignasi Barrera e76c59fef4 Remove the graduated GCE provided and updated Maven coordinates 2015-06-26 14:51:07 +02:00
Daniel Broudy 2abac7c11c add rewrite to ObjectApi 2015-06-23 16:51:32 -07:00
Daniel Broudy 15a5dadc1a Update ComposeObjectTemplate and update MockTests 2015-06-22 09:37:42 -07:00
Daniel Broudy 7213acb03f fix javadoc 2015-06-12 16:12:48 -07:00
Daniel Broudy c0190dd03e Update ObjectApi and getBlob, fix testGetRangeOutOfRange 2015-06-12 16:11:53 -07:00
Andrew Gaul bb62abfaa5 JCLOUDS-894: Fake portable multipart upload for GCS 2015-06-07 22:32:52 -07:00
Andrew Gaul fb4c65141e Allow GCS object nullable owner
This addresses a NullPointerException seen while listing a bucket:

{statusCode=200, message=OK, headers={X-Frame-Options=[SAMEORIGIN], Server=[GSE], Cache-Control=[private, max-age=0, must-revalidate, no-transform], X-Content-Type-Options=[nosniff], Vary=[X-Origin, Origin], X-XSS-Protection=[1; mode=block], Date=[Fri, 29 May 2015 21:43:51 GMT], Alternate-Protocol=[443:quic,p=1]}, payload=[content=true, contentMetadata=[contentDisposition=null, contentEncoding=null, contentLanguage=null, contentLength=760, contentMD5=null, contentType=application/json; charset=UTF-8, expires=Fri May 29 14:43:51 PDT 2015], written=false]}
2015-06-07 22:05:44 -07:00
Daniel Broudy 3d9258f75a Fix DefaultObjectAccessControlsApiLiveTest, ResumableUploadApiLiveTest, ObjectApiLiveTest 2015-06-01 17:31:45 -07:00
Daniel Broudy 2585624d44 JCLOUDS-894: Disable MultipartUploads tests 2015-06-01 15:52:53 -07:00
Andrew Gaul ff2d150d7d Remove bucket litter during integration tests 2015-05-29 14:11:51 -07:00
Andrew Gaul 9d3a7bdd4d Name test buckets jclouds instead of jcloud 2015-05-29 14:07:40 -07:00
Andrew Gaul 119d2f487f JCLOUDS-894: Expose GCS multipart operations
Not yet implemented
2015-05-01 13:30:27 -07:00
Andrew Gaul 84316704c6 JCLOUDS-651: GCS copy object content metadata 2015-04-09 21:27:05 -07:00
hsbhathiya d51bc04e74 JCLOUD-875: GCS Copy Object with Updated Metadata 2015-04-03 20:53:01 -07:00
Andrew Gaul b19096c80f JCLOUDS-848: Add tests for storage classes 2015-04-01 13:12:26 -07:00
snotling 64b7ce6846 JCLOUDS-848: Support GCS nearline storage 2015-04-01 11:21:04 -07:00
snotling ad495ab1bc Make deleteObject() return false on 404 response 2015-04-01 06:08:51 -07:00
snotling c1033d1eda Use GCS simple upload in sequential upload strategy 2015-03-30 11:27:54 -07:00
snotling 7c618e2735 Fix typo 2015-03-30 11:26:28 -07:00
snotling e2da6ae80d Fix if-statement that always returns true 2015-03-30 11:21:55 -07:00
Ignasi Barrera 0ee0a0000f Next development version 2.0.0-SNAPSHOT 2015-03-24 11:07:27 +01:00
Ignasi Barrera 2df73001ee Apache jclouds 1.9.0 release 2015-03-24 11:06:18 +01:00
Andrew Gaul 41a7a2d3d4 JCLOUDS-805: Fix multiple invocations to MPU
Create new SequentialMultipartUploadStrategy for every invocation.
2015-02-21 19:09:34 -08:00
Andrew Gaul d0651951f8 JCLOUDS-732: GCS portable object ACLs 2015-02-21 10:51:13 -08:00
hsbhathiya cf6d316bd0 JCLOUDS-805: Fixed BucketApiLiveTest Failures 2015-02-13 12:20:26 -08:00
Andrew Gaul c7c2581f50 JCLOUDS-660: GCS portable container ACL support 2015-02-12 17:24:38 -08:00
Daniel Broudy e6457beee1 Adding BaseGoogleCloudStorageApiMockTest + ObjectApiMockTest 2015-02-12 12:42:53 -08:00
Daniel Broudy 16ad52a27d enabling running live tests with .json key format 2015-02-11 15:07:04 -08:00
Jeremy Daggett ba170c2018 Split Auto dependencies into auto-service and auto-value 2015-01-16 14:38:06 -08:00
Andrew Gaul 4d7f11617e Use Iterable payload slicer for GCS
Payload slicer has a method that returns an iterable of payloads that
works on non-repeatable InputStreams that was introduced to fix
multi-part uploads in Swift (JCLOUDS-356). This commit applies the
same method to fix multi-part uploads for GCS blob store.
2015-01-16 11:54:45 -08:00
Andrew Gaul a21d3fb2d6 JCLOUDS-805: Skip testListMarkerAfterLastKey 2015-01-16 10:56:59 -08:00
Andrew Gaul 8e9485b7bb JCLOUDS-805: return null w/ non-existent container
This matches the behavior of other blobstores and allows
deleteContainerIfEmptyWithoutContents to pass.
2015-01-16 10:51:24 -08:00
Andrew Gaul ea9e847f44 Expose new multipart tests 2015-01-16 05:38:21 -08:00
Andrew Gaul 64b41d08c6 JCLOUDS-805: ensure overriding of metadata methods
Setting Content-Encoding causes testPutByteSource and
testPutInputStream to fail.  GCS should support this:

https://cloud.google.com/storage/docs/gsutil/addlhelp/WorkingWithObjectMetadata#content-encoding
2015-01-16 05:23:49 -08:00
Andrew Gaul 68cc6e7dad JCLOUDS-805: transposed length and upload id 2015-01-15 16:39:17 -08:00
Andrew Gaul 480b76fe8d JCLOUDS-805: Populate StorageMetadata size for GCS 2015-01-15 15:32:34 -08:00
Andrew Gaul b81322ac75 JCLOUDS-805: fix GCS MD5 checks
Regression from b8670b16e3793fb17255381faee6608d694c387a.
2015-01-15 15:19:59 -08:00
Andrew Gaul 9297066be9 Reduce GCS multipart test input size 2014-12-22 16:06:05 -08:00
Adrian Cole f8c6845c30 * Refactor OAuth to be less complex.
* Remove oauth as a standalone api.
 * Rename redundant OAuthAuthenticationFilter to OAuthFilter.
 * Make AuthorizationApi more simple by using form semantics.
 * Simplified OAuth by only permitting RS256 and none algos.
2014-11-18 10:43:33 -08:00
Adrian Cole f1f16bcd68 Be consistent in naming, as opposed to GCS here and GoogleCloudStorage there. 2014-11-17 13:34:52 -08:00
Adrian Cole 6e30fc611a Dedupe code between google cloud products. 2014-11-13 11:02:44 -08:00
Adrian Cole 4213fcb4e1 * Change OAuthScopes into an interface as opposed to boilerplating annotations.
* Fixed errors because of boilerplating annotations.
2014-11-12 20:29:16 -08:00
Adrian Cole aebc0c473a * Refactor OAuth so that it doesn't require private keys when we aren't signing anything.
* Rename constant serviceAccountCredentials to p12PrivateKeyCredentials as this better describes the credential value.
2014-11-11 16:20:58 -08:00
Adrian Cole 09df55e295 Another cleanup of GCS. 2014-11-05 08:28:36 -08:00
Adrian Cole b77ddb3351 JCLOUDS-458 Fix some obvious bugs in google-cloud-storage. 2014-11-04 08:25:28 -08:00
Adrian Cole d02767ece5 Cleanup ListPage in google apis. 2014-11-04 08:25:03 -08:00
Adrian Cole 0ca4ff5c21 JCLOUDS-750 adjust for changes in @SerializedNames contract. 2014-11-02 08:28:42 -08:00