Ignasi Barrera
4327e658ba
Next development version 2.0.4-SNAPSHOT
2017-11-25 22:33:58 +01:00
Ignasi Barrera
0f889d8159
Apache jclouds 2.0.3-rc1 release
2017-11-25 22:28:20 +01:00
Andrew Gaul
b7b67a0f6a
JCLOUDS-1358: Handle 0-byte input with v4 signature
...
Previously this failed due to use of mark and reset on the
InputStream.
2017-11-24 20:15:25 -08:00
Andrew Gaul
4765590bc9
Remove duplicate Nullable import
2017-11-24 19:25:34 -08:00
Andrew Gaul
d31dc94149
Allow lastModified to be null
...
Follow on to ec932321bde5662d8ecbef7cf5428a6017b07dd0
2017-11-24 18:41:49 -08:00
Ignasi Barrera
3b5fe0b02f
Next development version 2.0.3-SNAPSHOT
2017-06-29 12:24:45 +02:00
Ignasi Barrera
574c7fc3c1
Apache jclouds 2.0.2-rc1 release
2017-06-29 12:21:59 +02:00
Stephen Tomkinson
36b3dadf8c
Add logic from JCLOUDS-1261 to the other 2 types of Aws4 signer.
2017-05-10 10:52:22 -07:00
Stephen Tomkinson
1a23a16343
Resolves JCLOUDS-1261 by ensuring non-standard port numbers are in the host header that's used for the AWSv4 auth calculations.
2017-05-10 00:00:51 -07:00
Andrew Gaul
6fe2619011
Allow null S3 list MPU lastModified
2017-04-10 12:57:42 -07:00
Andrew Gaul
d89d6b5d05
Return more metadata from listMultipartUpload
...
Include Content-Length and Last-Modified.
2017-03-08 20:38:22 -08:00
Andrew Gaul
d2041667d7
Return lastModified and size when listing S3 parts
2017-03-06 19:49:43 -08:00
Ignasi Barrera
cbc750cb8b
Next development version 2.0.2-SNAPSHOT
2017-02-22 10:32:50 +01:00
Ignasi Barrera
bafa52be97
Apache jclouds 2.0.1-rc2 release
2017-02-22 10:28:10 +01:00
Timur Alperovich
3668a9905b
GetBucketLocation should use path-style requests.
...
When making a GetBucketLocation request, Amazon may route the request
to the bucket region. When making it with v4 signer, the request may
fail because of the region mismatch. Concretely, a request to
test.s3.amazonaws.com may resolve to s3-us-west-2-w.amazonaws.com. The
request itself is prepared for the us-east-1 region (s3.amazonaws.com
endpoint), but then fails when the DNS resolution points to a
us-west-2 endpoint.
Bucket-in-path works around this for the GetBucketLocation requests.
That means that every GetBucketLocation request will be of the form:
https://s3.amazonaws.com/{bucket}?location . This ensures that jclouds
requests will not be subjected to Amazon's routing/DNS pointers.
Fixes: JCLOUDS-1213
2017-01-11 22:54:36 -08:00
Ignasi Barrera
970f521bcd
Next development version 2.0.1-SNAPSHOT
2016-11-15 01:17:08 +01:00
Ignasi Barrera
6a3a37f4e0
Apache jclouds 2.0.0-rc3 release
2016-11-09 22:30:45 +01:00
Andrew Gaul
3c9f66b8e9
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:24:35 -07:00
Andrew Gaul
8117574c83
Avoid C-style array declarations
...
Found via error-prone.
2016-10-23 13:51:59 -07:00
Shri Javadekar
7826d22d30
JCLOUDS-1161: Make AWSS3BlobRequestSignerV4 the default signer.
...
Added new live tests and fixed some unit tests accordingly.
2016-10-18 20:06:34 -07:00
Andrew Gaul
76995a363d
Do not fail AWS S3 signer tests with expiry
...
Regression from 41bdd9c5a9e02aa407e7036d3fddceb138f8b3b7.
References #1008 .
2016-09-17 12:13:28 -07:00
Zack Shoylev
05c05e3de2
Allows users to download large files efficiently and directly to disk.
2016-09-02 14:05:26 -05:00
neonbunny
e7bf9b1298
Ensure the canonicalRequest is logged properly
...
Resolves JCLOUDS-1143
2016-07-19 14:50:03 +01:00
Andrew Gaul
08e78c979e
Add S3Proxy profile to skip failing tests
2016-07-11 16:42:09 -07:00
Andrew Gaul
5fec2346a6
JCLOUDS-1028: Configure idempotent methods
...
Enable POST for Atmos, S3, and Swift.
2016-06-15 16:35:22 -07:00
Andrew Gaul
0bd2959410
JCLOUDS-1125: portable list multipart uploads
...
Only Azure, B2, and S3 support this operation. Some MultipartUpload
fields become nullable.
2016-06-13 16:26:43 -07:00
Andrew Gaul
445664c9f1
JCLOUDS-1125: S3 list multipart uploads
2016-06-13 16:26:43 -07:00
Andrew Gaul
41bdd9c5a9
Skip unimplemented signed URL tests in S3 provider
...
jclouds aws-s3 provider supports these but s3 does not. Also expect
failure in atmos and azureblob. Follow on to
a4c40e15cdddda30a9683d12bf022d94025567c8.
2016-05-12 12:12:52 -07:00
Andrew Gaul
da386ad0e2
Correct FindBugs warnings
2016-04-27 20:28:37 -07:00
Andrew Gaul
6e7801ad58
JCLOUDS-766: Fix issues with chunked upload signer
...
Previously we created a new builder instead of using the one the
method modified and did not preserve content encoding. Addresses
AWSS3BlobIntegrationLiveTest.testPutInputStream test failures.
2016-03-20 16:06:51 -07:00
Andrew Gaul
8053abb530
JCLOUDS-766: Check metadata and headers for MD5
...
Addresses AWSS3ClientLiveTest.testMultipartSynchronously test
failures.
2016-03-18 22:56:54 -07:00
Andrew Gaul
35c5d7ffc0
JCLOUDS-766: Include Content-MD5 in v4 signature
...
Addresses AWSS3BlobIntegrationLiveTest.deleteMultipleObjects test
failures.
2016-03-18 16:58:03 -07:00
Andrew Gaul
feae011c4d
JCLOUDS-766: URL encode path for v4 signatures
...
Addresses AWSS3BlobIntegrationLiveTest.deleteObject test failures.
2016-03-18 15:05:05 -07:00
Andrew Gaul
e0a7ea7fdf
Only quote ETag if it does not already have quotes
2016-02-16 16:29:54 -08:00
Andrew Gaul
6cdb1216a7
JCLOUDS-651: S3 support for conditional copies
2016-02-16 16:29:54 -08:00
Andrew Gaul
293d3f864e
Convert CopyOptions into an AutoValue
...
This commit requires an interface change since AutoValue lacks support
for Optional and uses Nullable annotations instead.
2016-02-16 16:29:54 -08:00
Andrew Gaul
6360023f09
Remove unnecessary static imports
...
Found via error-prone.
2016-01-29 09:14:55 -08:00
Andrew Gaul
100d1dac6c
Do not override S3 provider methods
...
Fixes Guice 4.0 support.
2016-01-21 10:12:19 -08:00
Andrew Gaul
6bc2ff7e00
JCLOUDS-1042: Remove unused bucketAcls
2016-01-17 17:35:12 -08:00
Andrew Gaul
68e6539192
JCLOUDS-1042: Remove unneeded ACL swizzling
...
Follow on to 750c5d5316ab96f89fe11ae101fbbb2d18aa1d11.
2016-01-17 17:30:06 -08:00
Andrew Gaul
f292408af4
JCLOUDS-948: S3 Cache-Control support
...
Deprecate older S3-specific Cache-Control mechanism.
2016-01-15 13:22:14 -08:00
Zhao Jin
8bddbb496a
JCLOUDS-480: AWS S3 v4 signature
...
This includes support for chunked uploads.
2016-01-13 15:08:18 -08:00
Andrew Gaul
c20fcb8cda
Do not compare MPU ETag contents
...
AWS S3 MPU ETag are hashes of the part ETag headers but some
implementations, specifically S3Proxy with the filesystem provider,
represent multi-part objects as a single object. Remove these checks
since they add nothing.
2016-01-12 15:36:37 -08:00
Andrew Gaul
85951e2af9
JCLOUDS-844: S3 putBlob ACLs
2015-12-22 00:46:34 -08:00
Andrew Gaul
86491bc607
JCLOUDS-844: Portable putBlob ACLs
2015-12-22 00:46:33 -08:00
Andrew Gaul
ffa7c5c587
Update via canned ACLs instead of XML ACLs for S3
...
These are simpler than the full XML API and better supported by
non-AWS S3 implementations, e.g., Ceph, S3Proxy. Further this makes
the provider more consistent when creating a bucket or object which
only supports setting canned ACLs.
2015-12-19 19:28:03 -08:00
Andrew Gaul
c2ba0bef32
Allow updating S3 canned ACLs
...
These are simpler than the full XML API and better supported by
non-AWS S3 implementations, e.g., Ceph, S3Proxy.
2015-12-19 19:28:03 -08:00
Andrew Gaul
4c8f758e3a
Loosen restrictions for S3 bucket naming
...
US Standard and most S3 clones allow more bucket names than DNS
allows.
2015-12-19 15:10:01 -08:00
Andrew Gaul
750c5d5316
JCLOUDS-1042: Remove unneeded ACL swizzling
...
The previous commit shows that we do not need this.
2015-12-18 23:28:39 -08:00
Andrew Gaul
b47c50b7a5
Correct malformed format strings
...
Found via error-prone.
2015-12-12 08:53:08 +08:00