228 Commits

Author SHA1 Message Date
Andrew Gaul
ea6b616faa JCLOUDS-1399: Support S3 One Zone-IA storage class
Also improve test coverage of storage classes.
2018-04-04 21:44:28 -07:00
Andrew Gaul
90fac3b683 JCLOUDS-1271: Remove BlobStore.signRemoveBlob
Most providers never supported this functionality and the portable
abstraction should not have included it.
2018-03-09 20:52:12 -08:00
andreaturli
d17487b223 fix typo in project.version
- from 2.2.0-SNAPSHOST to 2.2.0-SNAPSHOT
2018-02-21 16:45:43 +01:00
andreaturli
a5db565581 Next development version 2.2.0-SNAPSHOST 2018-02-16 11:23:12 +01:00
andreaturli
9273bd56ad Apache jclouds 2.1.0-rc3 release 2018-02-16 11:20:21 +01:00
Ignasi Barrera
6fd7c7c38b JCLOUDS-1373: Add eu-west-3 (Paris) AWS region 2018-01-16 14:49:12 +01:00
Andrew Gaul
8ec3c520ce JCLOUDS-1337: revert legacy aws-s3 storage class
This functionality was deprecated in 2.1.x and we will remove it in
2.2.x.  Partially reverts 89053d9a8b43ccc54c99e552eb5a868b236d1057.
2017-11-22 18:08:41 -08:00
Andrew Gaul
89053d9a8b JCLOUDS-1337: S3 putBlob portable storage tiers
Also promote hacky and limited storage class support from aws-s3
provider to s3 api.
2017-10-12 11:16:48 -07:00
Andrew Gaul
f0e11d5c2e Remove unused imports
Fixes regressions introduced by
db00f679ef32831bc65bcea02ecb05bc5330a5b9.
2017-04-19 10:01:30 -07:00
Andrew Gaul
db00f679ef JCLOUDS-255: Consistently use query string auth
Fixes regressions introduced in
7a110b31ba7a7bd68c9c180a922391a46ff5510e.
2017-04-19 00:54:33 -07:00
Andrew Gaul
7a110b31ba JCLOUDS-255: Support S3 signed URLs with expiry
Mostly code motion from AWSS3BlobRequestSigner to S3BlobRequestSigner
with some additional cleanups.
2017-04-18 18:51:22 -07:00
Andrew Gaul
5a1c95525f JCLOUDS-1262: Correct US-OH region
Follow on to 04ab255d9f45e9a22ed6711216c5f02664d75a2e.
2017-04-10 13:11:38 -07:00
Ignasi Barrera
04ab255d9f JCLOUDS-1262: Add the Ohio region to AWS 2017-03-29 09:17:41 +02:00
Michelle Zhang
96a1c4427e JCLOUDS-1217/JCLOUDS-1258: Add Canada, London and China regions to AWS 2017-03-29 08:53:07 +02:00
Ignasi Barrera
2f70f85c2b Remove all sonatype snapshot repositories 2017-03-03 10:49:48 +01:00
Timur Alperovich
98ea917477 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 18:14:57 -08:00
Andrew Gaul
47350e354c Use eu-central-1 region in v4 signer test
Previously the test tried to create a container in eu-central-1 after
it already existed in us-standard.
2017-01-10 18:23:57 -08:00
Ignasi Barrera
d290705419 Next development version 2.1.0-SNAPSHOT 2016-11-15 01:12:59 +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
bc97afc0c1 JCLOUDS-1182: Added Seoul and Mumbai regions to AWS
This commit addresses test failures in
AWSS3ServiceIntegrationLiveTest#testGetAssignableLocations.
2016-10-18 21:06:15 -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
Ignasi Barrera
b06795ebe4 JCLOUDS-1182: Added Seoul and Mumbai regions to AWS 2016-10-13 18:14:20 +02:00
Andrew Gaul
080bcce224 Address Checkstyle violations
Regression from 76995a363d1cabaee26066b52a476ae28c4fd638.
2016-09-17 14:27:03 -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
Andrew Gaul
0f77386c77 JCLOUDS-766: JCLOUDS-1090: Use AWS v4 signature
Previous commits added support for v4 but did not default to it.  URL
signing continues to use v2 signatures due to a conflict between PUT
requests and v4 content signing.  Addresses
AWSS3ServiceIntegrationLiveTest.testAllLocations test failures.
2016-03-27 16:27:30 -07:00
Andrew Gaul
fdec2fa99f JCLOUDS-766: Do not resign already-signed requests
Previously jclouds would add both a V2 and V4 signature to some
requests which Amazon rejects.  Addresses AWSS3BlobSignerLiveTest test
failures with time-limited requests.
2016-03-27 16:24:12 -07:00
Andrew Gaul
6964ef6c8f Actually send RRS in putBlobWithReducedRedundancy
Regression from 0f6ab3944f4c51b928e553567a55c3f827bbe54e.
2016-03-27 14:25:56 -07:00
Andrew Gaul
2501122a20 JCLOUDS-766: Add eu-central-1 to test expectations
Addresses AWSS3ServiceIntegrationLiveTest.testGetAssignableLocations
test failures.  Follow-on to c18371a793f242bfee062b758836995a1cb94720.
2016-03-17 23:48:07 -07:00
Andrew Gaul
c18371a793 JCLOUDS-766: Add eu-central-1 to AWS S3 regions
Also clean up some missing and duplicated properties.
2016-03-07 21:21:08 -08:00
Andrew Gaul
6cdb1216a7 JCLOUDS-651: S3 support for conditional copies 2016-02-16 16:29:54 -08:00
Andrew Gaul
0f6ab3944f JCLOUDS-1042: Remove unused bucketAcls
Follow-on to 6bc2ff7e0059fe0a01871b12a09047086774e174.
2016-01-17 23:05:08 -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
Timur Alperovich
f8eff7e00e JCLOUDS-217: AWS-S3: Remove special encoding.
AWS-S3 provider should not pre-encode parameters that are passed to
the jclouds request. This comes up in the AWSS3BlobRequestSigner as
the only place where a parameter is pre-encoded.
2015-09-17 13:08:44 -07:00
Oliver Gondža
edde721937 JCLOUDS-962: Make all @Provider methods final 2015-09-02 23:54:44 +02:00
Alexander Grzesik
a809c11a60 JCLOUDS-904 Fixing OSGi Header by adding org.jclouds.io import 2015-06-11 12:01:56 +02:00
Andrew Gaul
ae157991ba JCLOUDS-894: Add portable multipart upload for S3 2015-06-06 16:32:16 -07:00
Andrew Gaul
9128ae515f JCLOUDS-894: Expose S3 multipart operations 2015-05-01 13:32:35 -07:00
Ignasi Barrera
f469cf8b51 Next development version 2.0.0-SNAPSHOT 2015-03-24 10:52:01 +01:00
Ignasi Barrera
bb41ed4341 Apache jclouds 1.9.0 release 2015-03-24 10:35:42 +01:00
Andrew Gaul
4bb319a0cc JCLOUDS-820: Support multi-delete for generic S3
Tested against AWS and DreamObjects.  This commit only moves and
renames code.
2015-02-13 06:23:16 -08:00
Andrew Gaul
ba2f8ac232 JCLOUDS-258: Support MPU for generic S3
Tested against AWS-S3 and DreamObjects.  This commit only moves and
renames code although some classes are duplicated for deprecation
purposes.
2015-02-12 17:59:33 -08:00
Andrew Gaul
8a2c821e13 JCLOUDS-794: Use bogus URL for generic S3 endpoint
This prevents users from accidentally connecting to AWS.
2015-02-04 13:42:03 -08:00
Andrew Gaul
af1a01a0af JCLOUDS-96: Handle us-standard in testAllLocations 2015-01-23 19:24:44 -08:00
Andrew Gaul
317089c77e Remove tests duplicated by testPut 2015-01-09 21:59:25 -08:00
Andrew Gaul
91c47bfd92 JCLOUDS-801: Add portable multipart upload tests
Exercise both repeatable and non-repeatable payloads.  Tested against
AWS-S3, Azure, and legacy Swift.  Skipped on all other providers.
2015-01-09 21:59:25 -08:00
Andrew Gaul
38ebf0d06c JCLOUDS-801: Use Iterable payload slicer for AWS-S3
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 AWS-S3 blob store.
2015-01-09 21:59:25 -08:00
Jeremy Daggett
d3c1e2eab4 Use AutoService to generate service loader metadata 2015-01-09 11:22:12 -08:00
Adrian Cole
1702bddffa Revert "Replace uses of ByteArrayPayload"
This reverts commit bd5b6853ee4d2397f49e27d68818b01123fa7bd2.
2014-10-29 10:20:38 -07:00
Adrian Cole
3980cd791b Revert "JCLOUDS-653: Address Guava 18 deprecations"
This reverts commit 95cfc0d950861e5bc753ee3b0669aa5c59c217e8.

Many conflicts due to duration between above commit and now
2014-10-24 10:45:58 -07:00