Commit Graph

123 Commits

Author SHA1 Message Date
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
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
hsbhathiya a4423c0bb0 JCLOUDS-458: Resource name changes 2014-08-25 23:01:05 -07:00
hsbhathiya bd31ab6eef Jclouds-458: Changes to the GCS structure 2014-08-25 14:13:48 -07:00
hsbhathiya 0dee4fd774 JCLOUDS-458: Ad Object Access Controls live tests 2014-08-25 14:09:14 -07:00
Chris Custine 520432903e JCLOUDS-633: Support passing bearer token directly for OAuth2 2014-08-13 16:11:44 -06:00
Chris Custine 8df2b40742 JCLOUDS-643: Fix Google and OAuth tests 2014-08-13 13:47:55 -06:00
Andrew Gaul 80d0723c15 JCLOUDS-653: Address Guava 18 deprecations
Mostly renaming Objects.toStringHelper to MoreObjects.toStringHelper.
2014-08-08 11:55:25 -07:00
Andrew Phillips a4204a168b Updating project and jclouds.version to 2.0.0-SNAPSHOT 2014-08-05 11:46:53 +02:00
hsbhathiya 1f3517380f JCLOUDS-458: Addressing suggestions in PR-31
minor changes

minor changes

minor changes

minor changes

Added ErrorHandler with tests

Changed BucketApi method descriptions

Minor change in error handler
2014-07-23 17:48:34 -07:00
hsbhathiya 4e4558cf18 JCLOUDS-458: Add Bucket Operation with live tests 2014-07-02 13:53:51 -07:00
hsbhathiya 236e0b9b17 JCLOUDS-458: Add BucketAccessControls
This commit includes expect tests but needs not-yet-implemented bucket
operations to implement live tests.
2014-06-20 15:49:50 -07:00
hsbhathiya b7441ba83b JCLOUDS-458: Added Default object access control 2014-06-19 12:45:56 -07:00
hsbhathiya 3be957c9cd JCLOUDS-458: GCS skeleton with authentication 2014-06-17 16:37:35 -07:00