Wykres commitów

223 Commity (c49f50e9bced9dff70a12e855ad826fe347e4314)

Autor SHA1 Wiadomość Data
Andrew Gaul c49f50e9bc Upgrade to jclouds 1.9.0
Release notes:

http://jclouds.apache.org/releasenotes/1.9.0/
2015-03-29 13:58:08 -07:00
Andrew Gaul e0a1560cb2 Use ExpectedException to handle test failures
Also prefer matching AWS error code over the message.
2015-03-29 13:02:55 -07:00
Andrew Gaul 0709bb557d Upgrade to slf4j 1.7.12
Release notes:

http://www.slf4j.org/news.html
2015-03-29 12:53:57 -07:00
Andrew Gaul 7838eaab03 Enable Google error-prone 2015-03-29 12:48:38 -07:00
Andrew Gaul 38adc9baf9 Upgrade to maven-compiler-plugin 3.3
Release notes:

https://mail-archives.apache.org/mod_mbox/maven-announce/201410.mbox/%3C543C42F9.9010709%40apache.org%3E
https://mail-archives.apache.org/mod_mbox/maven-announce/201503.mbox/%3C20150327182100.6FA0C17BE1@minotaur.apache.org%3E
2015-03-29 12:47:51 -07:00
Ka-Hing Cheung 3b9f58e540 more gitignore 2015-03-26 17:17:29 -07:00
Ka-Hing Cheung 46a3c58d8e ignore s3proxy idea project file 2015-03-26 14:57:03 -07:00
Andrew Gaul e91c2aca92 Upgrade to aws-java-sdk-s3 1.9.26
Release notes:

https://aws.amazon.com/releasenotes/6189010795683301
2015-03-26 05:12:42 -07:00
Andrew Gaul 695d8ae773 Upgrade to logback 1.1.3
Changelog:

http://logback.qos.ch/news.html
2015-03-26 05:06:20 -07:00
Andrew Gaul a3043c1e6f Suppress serialization warning 2015-03-25 17:03:57 -07:00
Ka-Hing Cheung 4450c6aebb add a way to lookup blobstore with a callback
remove the old map based lookup
2015-03-25 16:59:02 -07:00
Ka-Hing Cheung 4ca219470e reordered blobstore parameter 2015-03-25 16:59:02 -07:00
Ka-Hing Cheung 87bed283cb Allow multiple account providers
This allows different backend blobstores to be configured at
runtime, based on the request access key. As a result different
frontend auth can also be used. Currently this can only be done
programmatically and not through properties config file.
2015-03-24 13:23:50 -07:00
Andrew Gaul 2dc2cd60eb Upgrade to aws-java-sdk-s3 1.9.25
Release notes:

https://aws.amazon.com/releasenotes/1588204245623789
2015-03-23 10:56:14 -07:00
Andrew Gaul b036318ec6 Update copyright year to 2015 2015-03-21 23:51:24 -07:00
Andrew Gaul e6012a3da9 Fix s3proxy --version
Regression from a65221091f.
2015-03-21 23:51:23 -07:00
Andrew Gaul 02c1e8f77f Move main from S3Proxy to Main class 2015-03-21 23:51:23 -07:00
Andrew Gaul 871b4e54ca Use Travis container-based infrastructure 2015-03-19 09:39:14 -07:00
Andrew Gaul 103f949627 Centralize ContainerNotFoundException handling 2015-03-18 19:26:25 -07:00
Andrew Gaul 81a5024bd3 Include jclouds properties in overrides 2015-03-18 19:21:31 -07:00
Andrew Gaul 6b5f9fd7f3 Remove unused s3Context
This test uses AmazonS3Client instead of jclouds client.
2015-03-17 23:55:48 -07:00
Andrew Gaul 58800de7bf Expect AWSResponseException 2015-03-17 22:57:27 -07:00
Andrew Gaul d96ac6085b Upgrade to aws-java-sdk-s3 1.9.24
Release notes:

https://aws.amazon.com/releasenotes/Java/0061646886197506
https://aws.amazon.com/releasenotes/Java/3896946032380919
2015-03-17 21:49:18 -07:00
Andrew Gaul d5357162e7 Use aws-java-sdk-s3 instead of aws-java-sdk
S3Proxy only needs the former for tests.
2015-03-17 21:48:04 -07:00
Andrew Gaul 7c72094d02 Upgrade to assertj 2.0.0
Changelog:

http://joel-costigliola.github.io/assertj/assertj-core-news.html#assertj-core-2.0.0
2015-03-17 17:50:42 -07:00
Andrew Gaul 70a7a6ecf6 Upgrade to Modernizer Maven Plugin 1.3.0
Changelog:

https://github.com/andrewgaul/modernizer-maven-plugin/releases/tag/modernizer-maven-plugin-1.3.0
2015-03-17 17:46:25 -07:00
Andrew Gaul 305ba9ae4c Upgrade to Jetty 9.2.10.v20150310
Changelog:

http://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00076.html
2015-03-17 17:41:44 -07:00
Andrew Gaul 209f3e60e4 Narrow exception handling scope 2015-03-13 18:58:27 -07:00
Andrew Gaul 27900bf4de Allow setting object ACL during PUT
References #44.
2015-03-12 17:42:40 -07:00
Andrew Gaul 2b29bcd588 Disable AWS SDK SSL verification 2015-03-12 17:38:51 -07:00
Andrew Gaul 5f117c15a6 Add SeparatorWrap check
This ensures that chained method calls have the dot operator at the
beginning of the line.
2015-03-12 17:22:55 -07:00
Andrew Gaul 7dbdc4faf8 Handle default private ACL
References:

http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTacl.html
http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPUTacl.html
2015-03-06 18:02:00 -08:00
Andrew Gaul abe6b9ddf1 Automatically use MPU for Azure when needed
All providers except for Azure support at least S3's 5 GB single-part
upload limit.  The previous configuration knob was suboptimal since it
used multi-part upload for small blobs.
2015-03-06 17:28:20 -08:00
Timur Alperovich 1d7af6acae Add a test for failure when using v4 signatures.
Adds a unit test with the Amazon Java SDK for failures when submitting
v4-signed requests. We use the Amazon Java SDK while waiting for the
issues JCLOUDS-480 to be resolved (implementing v4 signatures).
2015-03-05 23:37:25 -08:00
Andrew Gaul c2724b4399 Introduce S3Exception
This elides some boilerplate and ensures that we consistently handle
errors.
2015-03-04 12:49:09 -08:00
Andrew Gaul 7e0c817660 Add NotImplemented error code 2015-03-04 10:38:57 -08:00
Andrew Gaul cbac36efdd Avoid unnecessary String concatenation 2015-03-03 16:50:38 -08:00
Ka-Hing Cheung 335e735c5b provide reason for access denied 2015-03-03 12:47:33 -08:00
Andrew Gaul 71d3a67b95 Explicitly add Content-Length
Previously InitiateMultipartUpload used the incorrect length.  Found
with s3fs integration tests.  References #2.
2015-03-02 17:00:41 -08:00
Andrew Gaul e90074afc0 Add helper to emit Owner stanza 2015-03-02 16:08:09 -08:00
Andrew Gaul 0337a4e4bc Handle zero-length multi-part upload 2015-03-02 16:08:09 -08:00
Andrew Gaul 6d5f380590 Update s3-tests submodule for MPU 2015-03-02 15:09:30 -08:00
Andrew Gaul b0b1f4e9fa Emulate multipart upload with single-part uploads
This approach requires three times as many operations as the optimal
approach.  Implementing this correctly requires exposing the
underlying multipart operations in jclouds.  Most s3-tests pass but
test_list_multipart_upload still fails:

References #2.
2015-03-02 14:37:16 -08:00
Andrew Gaul 11c93a43a8 Use correct content length during copy
Previously replacing the metadata would zero out the object contents.
2015-03-02 14:01:00 -08:00
Andrew Gaul 87e5636eff Update s3-tests submodule
Upstream has merged many commits
2015-02-27 13:29:01 -08:00
Andrew Gaul f8459b4a6b Upgrade to Jetty 9.2.9.v20150224
Changelogs:

http://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00073.html
http://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00074.html
2015-02-26 14:50:45 -08:00
Andrew Gaul a65221091f Use maven-assembly-plugin instead of Maven Shade
This works around MSHADE-183 which prevents use with Maven 3.2.5 and
has caused recent Travis CI failures.  Fixes #38.
2015-02-22 23:22:05 -08:00
Andrew Gaul 52118ced78 Add support to set and get canned object ACLs
Currently only support private and public-read access.
2015-02-22 18:48:08 -08:00
Andrew Gaul c8e4279853 Propagate Exception if not HttpResponseException 2015-02-20 17:22:47 -08:00
Andrew Gaul 613da2f3ec Use builder to create S3Proxy
Also hoist sanity checks out of main.
2015-02-20 11:01:37 -08:00