Andrew Gaul
ba491b2430
Use Travis legacy VMs instead of containers
...
This allows installation of pip and virtualenv which s3-tests
requires.
2015-04-09 10:29:15 -07:00
Andrew Gaul
7b937c1571
Add native object copy support
...
Fixes #46 .
2015-04-09 10:28:11 -07:00
Ka-Hing Cheung
35b37c34a9
allow S3Proxy to start without a blobstore
...
because the mapping maybe provided by the callback
2015-04-06 11:01:02 -07:00
Andrew Gaul
54b7e46964
Upgrade to AWK SDK 1.9.28.1
...
Release notes:
https://aws.amazon.com/releasenotes/Java/4866713246111973
https://aws.amazon.com/releasenotes/Java/4504073242554454
https://aws.amazon.com/releasenotes/Java/6931049535107700
2015-04-05 18:19:39 -07:00
Andrew Gaul
7271a5ace6
Compare identity in blobstore locator
...
This allows S3Proxy to return the more specific InvalidAccessKeyId
instead of SignatureDoesNotMatch. Addresses a s3-tests regression in
s3tests.functional.test_s3:test_list_buckets_invalid_auth.
2015-04-04 12:36:24 -07:00
Andrew Gaul
1981730a0e
Upgrade to maven-checkstyle-plugin to 2.15
...
This also upgrades Checkstyle to 6.1.1. Release notes:
https://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11127&version=20762
http://checkstyle.sourceforge.net/releasenotes.html
2015-03-31 18:01:06 -07:00
Andrew Gaul
4929573df9
Pass builder to constructor
2015-03-30 22:34:07 -07:00
Andrew Gaul
204f20c38b
Disable FindNullDeref & enable CrossSiteScripting
2015-03-30 20:16:01 -07:00
Andrew Gaul
33bb66c656
Upgrade to findbugs-maven-plugin 3.0.1
...
Release notes:
http://findbugs.sourceforge.net/Changes.html
2015-03-30 20:10:48 -07:00
Andrew Gaul
3655bab374
Update README for 1.4.0 release
2015-03-29 18:18:24 -07:00
Andrew Gaul
fded51c764
Bump version to 1.5.0-SNAPSHOT
2015-03-29 14:12:49 -07:00
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