Andrew Gaul
913d3df765
Emit InvalidRange with over-long range requests
...
Found via s3-tests.
2019-05-20 09:31:08 +09:00
Andrew Gaul
f45d6e7fce
Prefer HTTPS links where possible
2019-05-20 09:30:27 +09:00
Andrew Gaul
c8d8126b3f
Add simple handler for GetBucketPolicy
...
Fixes #301 .
2019-05-10 19:19:56 +07:00
Andrew Gaul
21ea62ec93
Only append elements when non-empty
...
Cleans up error responses.
2019-05-10 19:16:51 +07:00
Andrew Gaul
6389e45670
Allow overriding maximum signed request time skew
2019-04-30 10:44:55 +09:00
Maciej
c88072b8ef
Do not eagerly initialize BlobStore
...
This prevents OpenStack blobstores from matching regions incorrectly, basing on a value of the endpoint variable. OVH has different URLs for each storage endpoint, which does not match the auth endpoint.
2019-03-06 23:26:43 +09:00
Andrew Gaul
52fcf4a868
Override Exception.getMessage instead of toString
...
This can help some logging tools. Found via error-prone 2.3.3.
2019-02-24 21:34:28 +09:00
Andrew Gaul
4f81c17e11
Factor out AWS HTTP constants
...
Mirrors Guava HttpHeaders.
2019-02-17 17:24:43 +09:00
Andrew Gaul
25e7bbd5b4
Fix copy part if-none-match and if-modified-since
2019-02-16 12:58:20 +09:00
Andrew Gaul
3fed3941f1
Add partial support for list objects v2
...
Not supporting fetch-owner until jclouds adds support for this.
Several applications like AWS CLI now require this RPC. Fixes #168 .
2019-02-13 09:57:47 -08:00
Andrew Gaul
4698a2a913
Bump to 1.6.2-SNAPSHOT
2019-02-06 16:54:15 -08:00
Andrew Gaul
be0ffa2452
S3Proxy 1.6.1 release
2019-02-06 16:49:55 -08:00
Andrew Gaul
8223f443c7
Fix NullBlobStore multipart upload
...
Complete multipart upload lists the parts to get their sizes but the
NullBlobStore reported 8 bytes for the physical size instead of the
logical size embedded with the part. There is no readable space to
store the logical size so we create a companion single-part object for
every part.
2019-02-06 16:35:19 -08:00
Andrew Gaul
c07adfc1a9
Periodically emit newlines during complete MPU
...
CompleteMultipartUpload can take a long time so some S3
implementations emit newlines while the response is pending.
Fixes #292 . Reference:
https://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadComplete.html
2019-02-06 15:13:41 -08:00
Andrew Gaul
8a4ff5a80c
Upgrade to jclouds 2.1.2
...
Release notes:
https://jclouds.apache.org/releasenotes/2.1.2/
2019-02-06 14:06:33 -08:00
Andrew Gaul
43a45e36b6
Fix error prone 2.3.2 warnings
2019-02-05 15:33:46 -08:00
Andrew Gaul
66ed9fe6ef
Upgrade to maven-javadoc-plugin 3.0.1
...
Notably this fixes issues with newer versions of Java. Release notes:
https://mail-archives.apache.org/mod_mbox/maven-announce/201712.mbox/%3Cop.zaufhhzukdkhrr%40desktop-2khsk44.mshome.net%3E
https://mail-archives.apache.org/mod_mbox/maven-announce/201805.mbox/%3Cop.zjqrfkbukdkhrr%40desktop-2khsk44%3E
2019-02-05 15:18:47 -08:00
Andrew Gaul
fbead8e47c
Increase surefire heap size
...
Prevents out of memory errors with many concurrent tests.
2019-02-05 15:13:38 -08:00
Andrew Gaul
204324b1fb
Increase Azure maximum single part upload size
...
Enabled by Azure API version 2017-04-17 and jclouds 2.1.1. Also tweak
Azure multipart comments.
2019-02-05 10:16:37 -08:00
Andrew Gaul
c6b4839d2b
Allow glacier storage tier during PUT object
...
Amazon now allows this:
https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPUT.html
2019-02-04 18:28:22 -08:00
Andrew Gaul
ede70db7b7
Upgrade to jclouds 2.1.2-SNAPSHOT
...
Notably this fixes listing inside a directory on Docker. Fixes #279 .
2019-01-04 11:43:25 -08:00
Falk Reimann
e3277a4c1f
Basic CORS support
...
This commit adds a globally configurable CORS support. Note that this differs from AWS per-bucket support.
2018-12-22 07:19:50 +09:00
Andrew Gaul
3ba59d7370
Allow overriding S3PROXY_PORT
2018-11-15 16:43:34 -08:00
Andrew Gaul
78c9d54ea6
Always kill s3proxy on exit
...
Previously this only happened on success due to errexit.
2018-11-15 16:43:14 -08:00
Andrew Gaul
d45f2978c6
Skip cors tests
2018-11-15 16:42:56 -08:00
Andrew Gaul
ff33294afc
Rebase s3-tests
2018-11-15 16:36:46 -08:00
Falk Reimann
5377efef2a
Keystone v3 support with properties
2018-11-14 12:49:26 -08:00
Andrew Gaul
e7070762b4
Upgrade to modernizer-maven-plugin 1.7.0
...
Release notes:
https://github.com/gaul/modernizer-maven-plugin/releases/tag/modernizer-maven-plugin-1.7.0
2018-11-10 09:17:25 -08:00
Andrew Gaul
204d47bec5
Upgrade to SpotBugs 3.1.8
...
Changelog:
https://github.com/spotbugs/spotbugs/blob/release-3.1/CHANGELOG.md#318---2018-10-16
2018-11-04 13:08:22 -08:00
Andrew Gaul
d811e44c39
Add jaxb-api as a dependency
...
This allows Java 9 to run S3Proxy. Java 9 removed javax.xml which
previous Java versions included so adding the explicit dependency
allows both versions to work. References #270 . References #280 .
2018-11-04 12:48:31 -08:00
Andrew Gaul
92db458cf2
error-prone 2.3.2 fixes
2018-10-14 23:03:41 -07:00
Andrew Gaul
0354927082
Upgrade to aws-java-sdk-s3 1.11.404
2018-09-27 16:37:29 -07:00
Andrew Gaul
1ed082998d
Upgrade to jclouds 2.1.1
...
Release notes:
https://jclouds.apache.org/releasenotes/2.1.1/
2018-09-27 16:37:27 -07:00
Andrew Gaul
a57b4f6933
Upgrade to modernizer-maven-plugin 1.6.0
...
Release notes:
https://github.com/gaul/modernizer-maven-plugin/releases/tag/modernizer-maven-plugin-1.6.0
2018-08-14 11:19:52 -07:00
Andrew Gaul
248a202c5e
Only attempt to docker push on master branch
...
Previously pull requests failed authentication instead of skipping as
they should have. Also factor out logic to a separate script.
2018-08-03 17:22:06 -07:00
pscanf
2d213003cd
feat: allow setting property jclouds.regions when running in docker
2018-08-02 06:01:18 +05:30
Andrew Gaul
60ff894b7d
Upgrade to SpotBugs 3.1.3
...
Changelog:
https://github.com/spotbugs/spotbugs/blob/3.1.3/CHANGELOG.md#313---2018-04-18
2018-05-21 22:02:50 -07:00
Andrew Gaul
ec00aeb8cd
Remove Guava types from public interfaces
...
References #273 .
2018-04-21 19:36:50 -07:00
Andrew Gaul
86e1302bc9
Make a few fields final
...
Found via error-prone 2.3.1.
2018-04-21 11:43:50 -07:00
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