Wykres commitów

1024 Commity (master)

Autor SHA1 Wiadomość Data
Andrew Gaul 1f79d30df5 Update copyright year 2021-03-29 21:04:28 +09:00
Andrew Gaul b0b58a69c0 Upgrade Docker image to 3.6.3-jdk-11-alpine 2021-03-20 00:59:12 +09:00
Andrew Gaul 1506f482c1 Use JDK 11 to compile
This works around an issue in error-prone.
2021-03-20 00:48:09 +09:00
Andrew Gaul 86d12a81b0 Upgrade to error-prone 2.5.1
This addresses issues seen with more recent Java and Maven versions.
Enabled by requiring Java 8.  Also address and suppress a few stray
warnings.
2021-03-19 21:50:19 +09:00
Andrew Gaul b625476493 Update java.version to 1.8
This was implied by the jclouds 2.3.0 upgrade.  Also address
modernizer warnings.
2021-03-19 21:32:42 +09:00
Andrew Gaul 2812fc4482 Update requirement to Java 8 2021-03-07 18:03:26 +09:00
Andrew Gaul ecc9320688 Bump to 1.8.1-SNAPSHOT 2021-03-07 17:59:47 +09:00
Andrew Gaul 7f0c7d6ddf S3Proxy 1.8.0 release 2021-03-07 17:54:39 +09:00
Andrew Gaul 37e843a6ef Allow GCS backend to upload more than 32 parts
This recursively combines up to 32 sets of 32 parts, allowing 1024
part multipart uploads.  Fixes #330.
2021-03-07 17:53:00 +09:00
Andrew Gaul 29413b12a7 Add explicit javax.annotation
This avoids an exception with modern Java versions:

Exception in thread "main" com.google.common.util.concurrent.ExecutionError: com.google.common.util.concurrent.ExecutionError: com.google.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: javax/annotation/Resource
2021-03-07 11:58:35 +09:00
Andrew Gaul 94f19b0fab Add HEAD to test expectations 2021-03-07 11:53:22 +09:00
Andrew Gaul ef254f51e5 Make CrossOriginResourceSharing and ctors public 2021-03-07 11:34:50 +09:00
snoe925 4a6a3f2f4a
Make CORS handling optional
If corsRules is null, construct the default rules.  Also add HEAD method for CORS

Co-authored-by: Shannon Noe <shannon.noe@drwholdings.com>
2021-03-07 11:30:26 +09:00
Andrew Gaul 48d10653c5 Upgrade to jclouds 2.3.0
Release notes:

https://jclouds.apache.org/releasenotes/2.3.0/
2021-03-06 22:44:35 +09:00
Andrew Gaul bc50a18954 Enforce maximum multipart copy size of 5 GB
This matches AWS and makes S3Proxy more useful for testing.
References s3fs-fuse/s3fs-fuse#1547.
2021-02-07 19:58:12 +09:00
Andrew Gaul 7e74e859e5 Add configurable limit for single-part object size 2021-02-03 23:22:22 +09:00
Andrew Gaul c66e29cd0a Check object size in testMaximumMultipartUpload
Also use constant for part size.
2021-02-03 23:22:22 +09:00
D044166 df9e77963a reduce visibility of SUPPORTED_METHODS 2021-01-26 12:38:48 +09:00
D044166 208ff3e136 Adding testcases for cors-allow-all 2021-01-26 12:38:48 +09:00
D044166 5b818f4e0a Better support for AllowOrigins *
If the Allowed Origin * is configured, the ACCESS_CONTROL_ALLOW_ORIGIN
header in CORS responses will contain * as well.
The ACCESS_CONTROL_ALLOW_METHODS header will always include all allowed
methods.

This is inline with a native S3 CORS response and will help esp. in CDN
caching scenarios. All requested Origins can now be served with a cached
response.
2021-01-26 12:38:48 +09:00
D044166 a82eb88f12 Validate methods against supported ones 2021-01-26 12:38:48 +09:00
Manan Jadhav 19c4b0a18d use the old env var used for virtual host 2021-01-10 09:59:46 +09:00
johnnyaug 73b8f63df9 add virtual host to docker 2021-01-05 00:24:17 +09:00
johnnyaug 4cc29f9c3c support custom s3 proxy endpoint in docker 2020-12-28 16:20:10 +09:00
Falk Reimann d7281b1b1e CORS header for MultiPart Requests
Adding CORS headers `Access-Control-Allow-Origin` and
`Access-Control-Allow-Methods` in Multipart Reposnes if the
`Origin` Header is included in the Request and does match the
CORS rules.
2020-09-28 22:14:40 +09:00
Andrew Gaul 27e6a98f84 Enable Glacier storage class tests 2020-08-21 23:12:46 +09:00
Andrew Gaul 6d2a9428c8 Skip failing testPutMultipartInputStream 2020-08-21 23:12:01 +09:00
Andrew Gaul d6a735c256 Build Docker image with openjdk8 2020-08-21 10:34:42 +09:00
Andrew Gaul ec0f56a5b4 Quote all parameters to Docker script
This addresses and issue with non-file GCS credentials with embedded
newlines.  Fixes #328.
2020-08-21 10:13:52 +09:00
Andrew Gaul 78fb790910 Upgrade to jclouds 2.3.0 2020-07-24 18:39:27 +09:00
Andrew Gaul 08c822c28a Rebase onto latest s3-tests
Uncovered an issue with incorrect escaping.
2020-07-18 12:52:13 +09:00
Andrew Gaul 0613da2fcb Handle empty list blobs with opaque markers (Azure)
Fixes #326.
2020-07-17 19:06:44 +09:00
Andrew Gaul 34b844fcaf Do not accept multipart sizes less than 5 MB
Continue to enforce greater minimum blob sizes when storage backend
requires it.  Fixes #324.
2020-06-24 22:59:48 +09:00
Andrew Gaul 1e9c660cdf Upgrade to Modernizer Maven Plugin 2.1.0
Changelog:

https://github.com/gaul/modernizer-maven-plugin/releases/tag/modernizer-maven-plugin-2.1.0
https://github.com/gaul/modernizer-maven-plugin/releases/tag/modernizer-maven-plugin-2.0.0
https://github.com/gaul/modernizer-maven-plugin/releases/tag/modernizer-maven-plugin-1.9.0
https://github.com/gaul/modernizer-maven-plugin/releases/tag/modernizer-maven-plugin-1.8.0
2020-06-21 14:16:27 +09:00
Andrew Gaul 6e490ff68f Upgrade to SpotBugs 4.0.5 2020-06-21 14:15:16 +09:00
Andrew Gaul e638111d05 Bump to 1.7.2-SNAPSHOT 2020-05-13 23:34:29 +09:00
Andrew Gaul 5087ecee1d s3proxy 1.7.1 release 2020-05-13 23:30:58 +09:00
Andrew Gaul d24a0df6e6 Upgrade to jclouds 2.2.1
Release notes:

https://jclouds.apache.org/releasenotes/2.2.1/
2020-05-13 23:29:16 +09:00
Andrew Gaul 90ee040784 Update a few HTTP links to HTTPS 2020-05-04 19:49:36 +09:00
Andrew Gaul 51ce7a91ad Update copyright year 2020-05-02 19:50:19 +09:00
Andrew Gaul f99ca068b7 Reorganize support heading 2020-04-29 14:48:23 +09:00
Andrew Gaul 195039660e Prefer modern markdown heading style 2020-04-29 14:43:39 +09:00
n.fraison 9d21a73591 Use original uri to compute canonical_request in s3v4 signature
Currently canonical_request is based on a canonical_uri for which bucket name is prepend
if dns path style is used which is not compatible with s3v4 signature mechanism
2020-04-25 12:57:27 +09:00
Andrew Gaul 0ff8ec0e97 Do not emit error code when stream is committed
If an error occurs when writing the body of a response, e.g.,
TimeoutException, previously S3Proxy would try to emit the AWS error
code.  Since this stream was already opened and closed, this failed
and Jetty emitted this warning:

Could not send response error 500: java.lang.IllegalStateException:
STREAM

References #303.
2019-11-10 12:57:58 +09:00
Andrew Gaul 3db5a8a496 Specify Travis config validation 2019-10-24 14:07:39 -07:00
Andrew Gaul 6291e93582 Update copyright year 2019-10-22 10:26:10 -07:00
Andrew Gaul 71e98d8e54 Bump to 1.7.1-SNAPSHOT 2019-10-21 11:06:16 -07:00
Andrew Gaul 8eb91ad359 s3proxy 1.7.0 release 2019-10-21 11:00:48 -07:00
Andrew Gaul 2f87ebb5f4 Rebase onto latest s3-tests 2019-10-21 10:58:42 -07:00
Andrew Gaul f3f0913dc8 Honor fetch-owner parameter during ListV2
In practice this emits bogus information.  Found via s3-tests.
2019-10-21 09:58:11 -07:00