Andrew Gaul
a80e75a20f
Add test for anonymous authentication
...
Fixes #200 .
2018-01-08 22:56:28 -08:00
Andrew Gaul
c410df593d
Parameterize TestUtils.startS3Proxy
2018-01-08 22:56:28 -08:00
Random Coder
0f26d65846
Add check for non anonymous identity before extracting auth header
...
Fixes #251 .
2018-01-08 22:56:18 -08:00
Andrew Gaul
2905b720b8
Update copyright year
2018-01-04 14:57:47 -08:00
Andrew Gaul
aee169e403
Check stream closed in read
...
This matches TestUtils.randomByteSource.
2018-01-04 14:54:54 -08:00
Andrew Gaul
b5617857d6
Bump to 1.6.0-SNAPSHOT
2018-01-02 18:09:12 -08:00
Andrew Gaul
e85fd2dbaa
S3Proxy 1.5.4 release
2018-01-02 18:03:35 -08:00
Andrew Gaul
aa297324d8
Add select object content to limitations
2018-01-02 17:33:23 -08:00
baul
ddfba4e7a4
v2/v4 auth improve
...
* 15 minitues timeskew
* Add x-amz-date header or query parameter check
* Change the timeskew logic to first get client req auth type
* When v2,x-amz-date header format is rfc2616,when v4,is iso8601
* If have both x-amz-date header and date header in v2 auth,date value in
stringtosign is x-amz-date header value,CanonicalizedAmzHeaders
have no x-amz-header.
Ref Delete example in site:
http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html
* Fix v2 query auth:
If expires is nil ,does not mean that the auth type is not query
auth type.
Ref http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html#RESTAuthenticationQueryStringAuth
It says that 'Additionally, you can limit a pre-signed request by specifying an expiration time.'
2018-01-02 17:32:49 -08:00
Andrew Gaul
94bf8ca88e
Add missing @Nullable
2017-12-23 08:03:29 -08:00
Andrew Gaul
5e9b2e28a6
Upgrade to jclouds 2.0.3
...
Release notes:
https://jclouds.apache.org/releasenotes/2.0.3/
2017-11-30 08:56:18 -08:00
Andrew Gaul
d380661f76
Use a single jclouds thread pool for all backends
...
S3Proxy does not seem to use the jclouds thread pools but limiting
this to one makes sense for multiple configurations. References #180 .
2017-11-08 18:11:17 -08:00
Andrew Gaul
11f82ec997
Factor out properties parsing into Builder
2017-11-08 17:34:09 -08:00
Andrew Gaul
732a24d990
Allow limiting the number of Jetty threads
...
Also name Jetty threads more specifically. References #180 .
2017-11-08 15:25:57 -08:00
Andrew Gaul
f48bd352c4
Consume S3Object InputStream
...
Previously these tests leaked HTTP connections from the AWS SDK pool.
2017-11-08 11:41:35 -08:00
Andrew Gaul
251082f7e7
Support multiple configurations
...
Fixes #11 .
2017-11-07 17:06:57 -08:00
Andrew Gaul
6ee33b89f9
Refactor S3Proxy properties parsing
...
Also convert a few calls to System.exit into IllegalArgumentException.
References #11 .
2017-11-07 14:27:24 -08:00
Andrew Gaul
e9063e4867
Add EMC Atmos to translation bullet
...
Also use and instead of or.
2017-11-04 10:12:39 -07:00
Andrew Gaul
a09c9e1998
Treat directories as relative paths
...
When listing blobs foo/1 and foo/2 with prefix foo and delimiter /,
jclouds returns foo as a relative path, except for Atmos which returns
foo as a directory. Treat the latter like the former to allow listing
pseudo-directories with Atmos.
fb0f321303
introduced this regression.
Fixes #244 .
2017-10-31 11:43:22 -07:00
Andrew Gaul
91103650c0
Correct project name to S3Proxy
2017-10-16 22:47:09 -07:00
Andrew Gaul
35d7c48475
Read-only middleware
...
Fixes #217 .
2017-10-08 18:11:14 -07:00
Andrew Gaul
5a7ae64099
Update andrewgaul references to gaul
2017-10-06 10:35:56 -07:00
Andrew Gaul
12e723e5b5
Add storage class issue to README limitations
2017-09-01 14:43:32 -07:00
Andrew Gaul
a69c50f08d
Upgrade to Jackson Dataformat XML 2.9.0
...
Changelog:
https://github.com/FasterXML/jackson-dataformat-xml/blob/master/release-notes/VERSION
https://github.com/FasterXML/jackson-core/blob/master/release-notes/VERSION
2017-08-31 14:04:37 -07:00
Andrew Gaul
e0d636fc81
Upgrade to slf4j 1.7.25
...
Release notes:
https://www.slf4j.org/news.html
2017-08-31 14:01:27 -07:00
Andrew Gaul
71709d2c60
Upgrade to Jetty 9.2.22.v20170606
...
https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00110.html
2017-08-31 13:48:53 -07:00
Andrew Gaul
66a936d451
Upgrade to aws-java-sdk-s3 1.11.186
2017-08-31 13:46:58 -07:00
Andrew Gaul
b7100e1bfc
Upgrade to logback 1.2.3
...
Release notes:
https://logback.qos.ch/news.html
2017-08-31 13:45:12 -07:00
Andrew Gaul
c0d4fbadfc
Upgrade to commons-fileupload 1.3.3
...
Announcement:
http://mail-archives.apache.org/mod_mbox/www-announce/201706.mbox/%3CB51CC823-7EF5-4BCF-9E9D-CF97FB67DC62%40apache.org%3E
2017-08-31 13:43:53 -07:00
Andrew Gaul
634aba7241
Explicitly use trusty dependency for Travis tests
2017-08-31 11:05:25 -07:00
Andrew Gaul
a2a8f63980
Add storage classes to limitations
2017-08-28 18:32:15 -07:00
Andrew Gaul
3dd7cfcd42
Address long narrowing issues
...
Found via error-prone 2.1.0.
2017-08-21 19:46:34 -07:00
Andrew Gaul
f6c3ab9e75
Add @Nullable annotations where appropriate
...
Found via error-prone 2.1.0.
2017-08-21 19:46:33 -07:00
Andrew Gaul
51aa2e7fcd
Address modern Guava deprecations
2017-08-21 15:04:41 -07:00
Andrew Gaul
456f7c7a0a
Default to AWS V2 or V4 authentication
2017-08-16 18:04:52 -07:00
Andrew Gaul
39c289d649
Allow Docker environment to ignore unknown headers
2017-08-16 18:04:52 -07:00
Andrew Gaul
233559bb2b
Do not ignore x-amz-storage-class if not STANDARD
...
Clients can set the ignore unknown headers parameter to preserve the
existing behavior. References #234 .
2017-08-16 18:04:52 -07:00
Andrew Gaul
9263217be5
Add .mailmap
2017-08-16 14:11:57 -07:00
Andrew Gaul
1a639d1062
Upgrade s3-tests
2017-08-16 14:11:40 -07:00
Andrew Gaul
d4802ec54f
Emit InvalidArgument on CopyPart invalid range
...
References kahing/goofys#212 .
2017-08-06 23:24:58 -07:00
Andrew Gaul
93b80f6373
Do not escape / when URL encoding
...
This allows clients to list pseudo-directories with slashes in them.
References kahing/goofys#213 .
2017-08-02 23:06:13 -07:00
Andrew Gaul
9e406531bb
Set response Content-Type to application/xml
2017-07-24 18:40:03 -07:00
Andrew Gaul
1e5ebadee4
Do not allow anonymous access to list buckets
...
Fixes #236 .
2017-07-22 16:11:29 -07:00
Andrew Gaul
ff68288e3a
Bump to 1.6.0-SNAPSHOT
2017-07-09 20:37:05 -07:00
Andrew Gaul
11f8e1449f
S3Proxy 1.5.3 release
2017-07-09 20:34:02 -07:00
Andrew Gaul
17294be152
Do not set endpoint if it is an empty string
...
Also do not pass along endpoint as an override if we set it via the
builder. Fixes #229 .
2017-07-08 19:45:22 -07:00
Chaithanya Ganta
23705a879b
Moving signature creation logic to a separate class
...
Signed-off-by: Chaithanya Ganta <ganta@adobe.com>
2017-07-07 09:06:04 -07:00
Andrew Gaul
3af585e4a6
Configure Travis for JDK 7
2017-07-06 09:39:22 -07:00
Andrew Gaul
cac2d39b73
Work around Travis issue blocking boto
...
Previously Travis builds failed with:
ERROR: Failure: ImportError (No module named google_compute_engine)
2017-07-06 08:54:45 -07:00
Andrew Gaul
e7c4e2d4fa
Upgrade to jclouds 2.0.2
...
Release notes:
https://jclouds.apache.org/releasenotes/2.0.2/
2017-07-06 08:29:10 -07:00