Commit Graph

112 Commits

Author SHA1 Message Date
Geoff Macartney 5b2aca103e Fix CRLF on google-cloud-storage logback.xml 2017-05-09 16:46:41 +01:00
Andrew Gaul 9ea76ebe4b JCLOUDS-944: Promote Google Cloud Storage to core 2017-05-06 19:35:44 -07:00
Andrew Gaul b671d2c0d2 JCLOUDS-902: Google Cloud Storage signed URLs 2017-04-20 01:14:07 -07:00
Andrew Gaul a1af4f7fec Use a random UUID for fake upload ID
This matches the Azure provider.
2017-04-13 13:00:50 -07:00
Andrew Gaul ca75641fc0 JCLOUDS-1259: Add GCS multi-regional and coldline 2017-03-20 18:42:32 -07:00
Andrew Gaul 8e50fe69ad Return more metadata from listMultipartUpload
Include Content-Length and Last-Modified.
2017-03-08 22:15:41 -08:00
Ignasi Barrera f4a2be0519 Next development version 2.1.0-SNAPSHOT 2016-11-15 01:13:00 +01:00
Ignasi Barrera 214a5e7810 Apache jclouds 2.0.0-rc3 release 2016-11-09 22:48:47 +01:00
Ignasi Barrera a600a1221d Do not leave open streams when loading test mock files 2016-10-26 15:57:28 +02:00
Andrew Gaul 89787b4c97 Avoid lower-case l literal suffix
Readers can confuse this with 1.  Found via error-prone.  Fixed via:

find -name \*.java | xargs sed -i 's/\( [0-9][0-9]*\)l/\1L/g'
find -name \*.java | xargs sed -i 's/\(([0-9][0-9]*\)l/\1L/g'
2016-10-23 14:15:09 -07:00
Andrew Gaul 11c636b6b3 JCLOUDS-945: ignore marker prefix test on GCS 2016-10-04 23:03:03 -07:00
Andrew Gaul 230448a454 JCLOUDS-1028: Configure idempotent methods
Enable for GCS.
2016-06-15 16:38:53 -07:00
Andrew Gaul 5baa49d9b8 JCLOUDS-1125: GCS list multipart uploads
Not supported.
2016-06-13 17:11:39 -07:00
Andrew Gaul ae1f6d0c3f JCLOUDS-866: Reduce GCS multipart limit to 32 2016-06-04 00:23:40 -07:00
Andrew Gaul ed262f7bd6 Delete GCS composite object components
Previously we left dangling subobjects.  The composite object retains
a reference to the components data.
2016-06-04 00:23:22 -07:00
Andrew Gaul c2a22bc32c JCLOUDS-912: GCS upload InputStream work around 2016-06-03 12:38:43 -07:00
Andrew Gaul 5d437312bf JCLOUDS-912: Remove GCS simpleUpload UploadBinder
This is not necessary; jclouds binds the Payload automatically;
jclouds binds the Payload automatically.
2016-06-02 22:35:54 -07:00
Andrew Gaul 2b02db4f22 Add ObjectTemplate.toString 2016-06-02 16:24:13 -07:00
Andrew Gaul f6210d58d3 Handle unimplemented signed URL tests in providers
This commit makes it evident in source code which providers do not
support this feature.
2016-05-06 14:38:57 -07:00
Ignasi Barrera a780cdad59 Depend on OAuth test jar for tests 2016-04-07 11:56:45 +02:00
Andrew Gaul 28f10f90b8 Use correct payload length in GCS test
This avoids MWS unexpected end of stream errors.  Regression from
b9322c583d.
2016-03-23 19:35:41 -04:00
Andrew Gaul 2499cb0ac2 GCS support for conditional copies 2016-02-12 20:44:18 -08:00
Andrew Gaul 165e9afd9f Convert CopyOptions into an AutoValue
This commit requires an interface change since AutoValue lacks support
for Optional and uses Nullable annotations instead.
2016-02-12 19:29:38 -08:00
Andrew Gaul 9c05604e99 Skip ACL tests on GCS
These tests use request signing which GCS does not currently support.
2016-01-22 21:09:54 -08:00
Andrew Gaul 10318ed777 JCLOUDS-943: JCLOUDS-1056: Configure OSGi packaging 2016-01-22 16:10:57 -08:00
Andrew Gaul 57d162c646 JCLOUDS-844: GCS putBlob ACLs 2015-12-21 23:25:00 -08:00
Andrew Gaul 639e96d5e7 Remove @Nullable from methods returning primitives
Found via error-prone.
2015-12-12 08:22:27 +08:00
Timur Alperovich 2385ba901e JCLOUDS-1008: Use @Encoded with GCS.
Google cloud storage should use the @Encoded annotation with the
object names to make sure that the object is percent-encoded prior to
being submitted in the path of the request. This was previously broken
because the default path encoding ignores "/" and encodes the entire
string. The @Encoded annotation instructs jclouds annotation processor
to not encode the parameters to which it is attached and not to encode
the entire request path. Parameters that are not annotated with
@Encoded are URL encoded prior to being add to the path.
2015-10-21 10:40:04 +02:00
Timur Alperovich 06125793d2 GCS delimiter test should not be special cased.
GCS delimiter implementation now works similarly to the other
providers (fixed in a prior commit) and we do not need to special case
the test.
2015-09-29 21:29:08 -07:00
Andrew Gaul 2e1e109a0c JCLOUDS-894: Add portable multipart upload for GCS 2015-08-26 14:08:10 -07:00
Timur Alperovich e222567821 Update comment for the failing test. 2015-08-20 17:55:55 -07:00
Timur Alperovich 25cb06c9fe Simplify list handling. 2015-08-20 17:55:55 -07:00
Timur Alperovich 834b3d5d2f JCLOUDS-929: Plumb delimiter and prefix to GCS. 2015-08-20 17:55:48 -07:00
Timur Alperovich efdc715b88 JCLOUDS-992: do not use RELATIVE_PATH for BLOBs.
Changes the Google storage provider to be inline with the other
providers in not returning RELATIVE_PATH for objects that are BLOBs.
2015-08-20 14:30:38 -07:00
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