Commit Graph

62 Commits

Author SHA1 Message Date
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
Adrian Cole 7e6bf07de1 JCLOUDS-750 Remove need for custom json type adapters on OAuth. 2014-11-02 08:28:42 -08:00
Adrian Cole 0d9307874d Use AutoValue to reduce bulk of Google Storage value types. 2014-10-30 09:40:44 -07:00
Adrian Cole ac07295bb6 JCLOUDS-750 At the cost of fiddling with type hierarchy adapters, remove lots of junk with google auto. 2014-10-27 09:27:54 -07:00
Adrian Cole a2dd4532c5 Iteration order of HashSet/Map changes between JRE 7 and JRE 8, breaking tests. Switch to LinkedHashSet/Map. 2014-10-25 11:38:01 -07:00
Adrian Cole fff7ad0f11 Remove redundant binder implementations in GCE. 2014-10-25 11:36:59 -07:00
Adrian Cole d6fbd8cc7b JCLOUDS-653 remove test dep on guava 18 method. 2014-10-24 11:21:49 -07:00
Adrian Cole 8f2dc52852 Revert "JCLOUDS-653: Address Guava 18 deprecations"
This reverts commit e2e288ee86d537d249c7e58c782a66b0201f2134.

Many conflicts on account of lots of changes since the original commit.
2014-10-24 10:54:47 -07:00
Adrian Cole 0c9b49baf5 JCLOUDS-40 unasync Fallback. 2014-10-06 16:21:08 -07:00
hsbhathiya 6db35d20bd Introduce BucketAccessControlTemplate 2014-10-05 22:52:15 -07:00
Adrian Cole ecc4e67347 JCLOUDS-40 Remove last reference to AsyncBlobStore in GCS. 2014-10-05 13:22:35 -07:00
Adrian Cole 2c412dc309 JCLOUDS-40 switch to SubmissionAsyncBlobStore 2014-10-04 16:06:47 -07:00
Adrian Cole 308e3d1e49 JCLOUDS-740 GCE doesn't always return id, selfLink on lists. Also, internally buffering an Iterable with a Set < with a List. 2014-10-03 15:45:28 -07:00
hsbhathiya d4c7c838e8 JCLOUDS-458: Added Blobstore Abstraction 2014-09-09 15:44:49 -07:00
hsbhathiya f679dc707a JCLOUDS-458: Resumable Upload with live tests 2014-08-31 14:15:11 -07:00
hsbhathiya 72e42dbfba JCLOUDS-458: Multipart Related Upload 2014-08-29 10:58:41 -07:00
hsbhathiya 0c55612bb1 JCLOUDS-458: GCS basic object operations 2014-08-28 11:07:57 -07:00