Benjamin
3601aa50f3
update depcrecated image, fix minor Label change
...
Java is deprecated as the state:
"This image is officially deprecated in favor of the openjdk image, and will receive no further updates after 2016-12-31 (Dec 31, 2016). Please adjust your usage accordingly."
I adjusted it to the corresponding 7-alpine-jre tag from openjdk
https://hub.docker.com/_/openjdk/
the MAINTAINER instruction is deprecated as of Docker Version:
1.13.0
https://docs.docker.com/engine/deprecated/#maintainer-in-dockerfile
all the best
2018-04-20 08:52:15 -07:00
Tim Sheppard
8460bdea04
Add `UTF-8` character encoding to all S3 responses
2018-04-16 22:52:28 -07:00
Andrew Gaul
c02796e45f
Rename Scality to Zenko and reparent reference
2018-04-16 21:26:34 -07:00
Andrew Gaul
78dc4b47aa
Upgrade to spotbugs 3.1.2
...
Changelog:
https://github.com/spotbugs/spotbugs/blob/release-3.1/CHANGELOG.md#312---2018-02-24
2018-04-14 08:53:07 -07:00
Andrew Gaul
75e0e8ebab
Bump to 1.6.1-SNAPSHOT
2018-03-02 18:14:48 -08:00
Andrew Gaul
0c72a601c9
S3Proxy 1.6.0 release
2018-03-02 18:11:10 -08:00
Daniel del Castillo
45e4d6348f
Add JUnit Rule to project
...
This provides a convenience mechanism when writing tests. Fixes #261 .
2018-03-01 10:35:47 -08:00
Andrew Gaul
c392d68f99
Upgrade to Jetty 9.2.24.v20180105
2018-02-23 21:56:43 -08:00
Andrew Gaul
8f645418be
Upgrade to aws-java-sdk-s3 1.11.285
2018-02-23 20:07:31 -08:00
Andrew Gaul
d3261516d2
Upgrade to Jackson Dataformat XML 2.9.4
...
Changelog:
https://github.com/FasterXML/jackson-dataformat-xml/blob/master/release-notes/VERSION
2018-02-23 20:05:32 -08:00
Adrian Woodhead
9e50004fa8
Shade and relocate Jetty dependencies
...
Fixes #263
2018-02-23 10:29:27 -08:00
Andrew Gaul
19807d0c2a
Add support for storage classes
...
Supported for head, get, put, multipart put, and list objects. Not
supported for list multipart uploads and copy objects. Fixes #234 .
2018-02-22 00:23:54 -08:00
Andrew Gaul
4f14a8419f
Upgrade to jclouds 2.1.0
...
B2 and GCS now included in allblobstore. Update signing tests which
now pass. Improve invalid range read error handling. Address Guava
18 warnings. Fixes #191 . Fixes #209 . Changelog:
https://jclouds.apache.org/releasenotes/2.1.0/
2018-02-22 00:23:41 -08:00
Adrian Woodhead
8f0670639e
Added Eclipse config files to .gitignore ( #259 )
2018-02-13 08:51:34 -08:00
Andrew Gaul
05d7f201ad
Correct typos
...
Found via codespell.
2018-02-07 20:20:28 -08:00
Andrew Gaul
5d680ee0fd
Remove unneeded Docker email flag
2018-02-04 10:22:13 -08:00
Andrew Gaul
109c79ff58
Skip tests during Docker build
...
Travis already exercises this.
2018-02-01 20:34:02 -08:00
nepeat
d42de3e621
Update Dockerfile to use multistage building.
2018-02-01 09:11:47 -08:00
Andrew Gaul
1e84b6ac68
Bump to 1.6.0-SNAPSHOT
2018-01-24 20:20:23 -08:00
Andrew Gaul
2bb9e5d630
S3Proxy 1.5.5 release
2018-01-24 20:16:43 -08:00
Andrew Gaul
7bed8768da
Alphabetize limitations
2018-01-19 11:27:23 -08:00
Andrew Gaul
49a09834c5
Upgrade to maven-checkstyle-plugin 3.0.0
...
This also upgrades Checkstyle to 6.19, the last JDK 7-compatible
version. Release notes:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317223&version=12334384
http://checkstyle.sourceforge.net/releasenotes.html#Release_6.19
2018-01-09 22:13:40 -08:00
Andrew Gaul
a1e9fb301a
Upgrade from findbugs 3.0.4 to spotbugs 3.1.1
...
Also suppress a few warnings. Release notes:
https://github.com/spotbugs/spotbugs/blob/3.1.1/CHANGELOG.md
2018-01-09 16:10:23 -08:00
Andrew Gaul
ff13aae981
Prevent NullPointerException
...
Found via spotbugs.
2018-01-09 15:52:20 -08:00
Andrew Gaul
3d4a5db3d2
Avoid NullPointerException when provider not set
...
Found via spotbugs.
2018-01-09 13:48:29 -08:00
Andrew Gaul
fa3394e0ab
Ensure propertiesFiles is not null
...
This allows a usage check to succeed.
2018-01-09 13:45:05 -08:00
Andrew Gaul
6658f964f2
Handle permission errors during bucket creation
...
This commit requires jclouds 2.1.0. References #122 .
2018-01-09 12:48:04 -08:00
Andrew Gaul
1955644f89
Upgrade to aws-java-sdk-s3 1.11.259
2018-01-09 12:03:22 -08:00
Andrew Gaul
9707c42bff
Upgrade to Jackson Dataformat XML 2.9.3
...
Changelog:
https://github.com/FasterXML/jackson-dataformat-xml/blob/master/release-notes/VERSION
https://github.com/FasterXML/jackson-core/blob/master/release-notes/VERSION
2018-01-09 12:02:43 -08:00
Philipp Marx
24a3d64134
Test for chunked encoding with anonymous access
...
References #145 .
2018-01-09 00:20:14 -08:00
Andrew Gaul
d4968397ba
Implement multi-byte read in NullBlobStore
...
This can improve performance. Found via error-prone 2.2.0.
2018-01-09 00:01:09 -08:00
Andrew Gaul
357f8e4197
Prefer Splitter over String.split
...
The latter has surprising semantics. Found via error-prone 2.2.0.
2018-01-09 00:01:09 -08:00
Andrew Gaul
757a9dc855
Compare signatures with constant time comparison
...
Fixes #250 .
2018-01-08 23:23:09 -08:00
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