Andrew Gaul
544a863f96
Ignore x-amz-te: append-md5 request header
...
This header requests that the server add a trailing MD5 checksum to
the response body. However, if the X-Amz-Transfer-Encoding:
append-md5 response header is missing then the AWS Java SDK v2 will
ignore its absence. So ignoring the request header works for now.
Fixes #414 .
2024-10-31 19:01:49 -07:00
Andrew Gaul
aea6fd71b6
Bump copyright year
2024-10-30 15:50:01 -07:00
Andrew Gaul
5d960b3eed
Add middleware to replace user metadata
...
This is useful when keys and values must conform to some subset of
values, e.g., Azure's C# identifiers. Fixes #466 .
2024-10-31 06:43:05 +09:00
Andrew Gaul
18d2f0ef9f
Include Content-MD5 in azureblob-sdk putBlob
...
References #606 . Fixes #576 .
2024-10-30 14:27:46 -07:00
Andrew Gaul
c40237dfd0
Add Last-Modified to azureblob-sdk getBlob
...
Also ETag and creation date. References #606 .
2024-10-29 21:55:07 -07:00
Andrew Gaul
c2106fae21
Split s3-tests tags per-line for readability
2024-10-29 16:39:07 -07:00
Andrew Gaul
d6e9c5bbb8
Update s3-tests submodule for multipart tags
...
References #700 .
2024-10-29 13:25:27 -07:00
Andrew Gaul
e23e9ac99c
Emit 501 for initiateMultipartUpload in azureblob-sdk
...
The SDK lacks a method to upload a part with a non-repeatable payload.
References #708 .
2024-10-29 13:04:53 -07:00
Andrew Gaul
6610b14ea5
Disable retries for azureblob-sdk
...
It is better to let the client retry.
2024-10-29 00:09:32 -07:00
Andrew Gaul
8ebf6ce84e
Handle non-empty delete container in azureblob-sdk
...
Found via s3-tests. References #606 .
2024-10-28 16:26:17 -07:00
Andrew Gaul
ff8e12e631
Handle missing buckets and keys in azureblob-sdk
...
Found via s3-tests. References #606 .
2024-10-28 15:30:34 -07:00
Andrew Gaul
1120591674
Remove unused imports
...
Follows on to 49e468ab68
.
2024-10-28 13:15:36 -07:00
Andrew Gaul
c36ae275bb
Skip failing azureblob-sdk multipart tests
...
References #700 . References #708 .
2024-10-28 13:01:16 -07:00
Andrew Gaul
49e468ab68
Avoid type duplication with type inference
...
Replaced via:
find -name \*.java | xargs sed -i 's/^\( *\)\([^ ].*\) \([^ ]*\) = new \2/\1var \3 = new \2/'
2024-10-27 21:58:43 -07:00
Andrew Gaul
38cf4a9239
Translate Azure errors in AzureBlobStore
...
This addresses a layering violation and may make AzureBlobStore more
useful to non-S3Proxy users. References #606 .
2024-10-27 21:17:55 -07:00
Andrew Gaul
513283859a
Fix Checkstyle violations
2024-10-27 19:43:52 -07:00
Andrew Gaul
38d2881d59
Support condition get object in azureblob-sdk
...
References #606 .
2024-10-27 19:39:31 -07:00
Andrew Gaul
c28f7dba47
Add workarounds for azureblob-sdk tests
...
References #606 .
2024-10-27 17:57:00 -07:00
Andrew Gaul
8311d11456
Skip copy blob tests on Azurite
...
References #606 .
2024-10-27 17:56:54 -07:00
Andrew Gaul
fc7a135cb4
Implement copyBlob for azureblob-sdk
...
References #606 .
2024-10-27 17:35:50 -07:00
Andrew Gaul
8b22505d5d
Disable retries for AwsSdkTest
...
This prevents long test run-times for unexpected HTTP 500 errors.
2024-10-27 15:46:05 -07:00
Andrew Gaul
00142f3a48
Allow overriding test configuration at run-time
...
References #700 .
2024-10-27 12:44:24 -07:00
Andrew Gaul
111a681b5a
Add configuration for Azurite
...
References #700 .
2024-10-27 12:35:23 -07:00
Andrew Gaul
4bc78547dc
Allow overriding the endpoint in azureblob-sdk
...
This allows testing with Azurite. References #700 .
2024-10-27 12:31:46 -07:00
Andrew Gaul
e19226f49f
Revert "Write to OutputStream in azureblobsdk"
...
This reverts commit 6939e6f525
.
References #708 .
2024-10-27 00:00:08 -07:00
Andrew Gaul
11b8dbb193
Opt into custom Azure logic with azureblob-sdk
...
References #606 .
2024-10-26 23:40:11 -07:00
Andrew Gaul
73b0047a08
Always overwrite in uploadPart in azureblob-sdk
...
References #606 .
2024-10-26 23:23:23 -07:00
Andrew Gaul
ecbb56cfbe
Handle BUCKET_ALREADY_OWNED_BY_YOU in azureblob-sdk
...
References #606 .
2024-10-26 23:18:25 -07:00
Andrew Gaul
e40f0405df
Ignore CONTAINER_NOT_FOUND when deleting a bucket
...
Reference #606 .
2024-10-26 23:11:06 -07:00
Andrew Gaul
39ca93bbac
Do not set Tier for RELATIVE_PATH in azureblob-sdk
...
References #606 .
2024-10-26 23:03:34 -07:00
Andrew Gaul
7a52cfdb88
Add mapping for NO_SUCH_KEY for azureblob-sdk
...
References #606 .
2024-10-26 22:52:08 -07:00
Andrew Gaul
7d2d921e33
Write to OutputStream in azureblobsdk
...
uploadWithResponse requires an InputStream that supports marks which
the socket does not support and wrapping in a BufferedInputStream
would require extra memory. Fixes #708 .
2024-10-26 22:31:25 -07:00
Andrew Gaul
4f36e7aa41
Add azureblob-sdk to Quirks
...
References #606 .
2024-10-26 22:14:47 -07:00
Andrew Gaul
6939e6f525
Write to OutputStream in azureblobsdk
...
stageBlock requires an InputStream that supports marks which the
socket does not support and wrapping in a BufferedInputStream would
require extra memory. Fixes #708 .
2024-10-26 15:49:54 -07:00
ptemarvelde
6185f2b46f
Set outputLength correctly on open ended range requests to encryptedBlobStore
...
Open ended ranged requests to encrypted files resulted in incorrect Content-Length headers in the response because of a bug in the Decryption class. In EncryptedBlobStore the length is set to -1 by default. On open-ended ranged GET requests this value is passed to the Decryption constructor, which in turn only sets outputLength if an offset is given without a length, but -1 is used to represent no length given. After this change the outputLength is set correctly in this constructor. Fixes #698 .
2024-10-17 02:44:01 +09:00
Fernando Jiménez Moreno
33b3427256
Allow setting service-path config when running via Docker
2024-10-11 01:43:47 +09:00
Andrew Gaul
165308285d
Push tags and latest to Docker Hub
...
Fixes #704 .
2024-10-09 13:07:20 -07:00
Bernhard Stiftner
2e2008f8a5
Support SSL setup via SSLContext in S3Proxy.Builder
2024-10-08 05:42:56 +09:00
Andrew Gaul
e01ca79e56
Replace Guava collections with Java 9 equivalents
2024-10-06 21:47:28 -07:00
Andrew Gaul
16ac79ae90
Address Checkstyle warnings
2024-10-06 18:21:31 -07:00
Andrew Gaul
b33f3e2826
Add azureblob-sdk provider backed by Azure SDK
...
This may replace the jclouds azureblob provider. The implementation
lacks some error codes and options. Fixes #606 .
2024-10-07 10:18:13 +09:00
Andrew Gaul
c3c9037d19
Close InputStream
...
Found via Coverity.
2024-10-06 18:17:23 -07:00
Andrew Gaul
b74df94a80
Disable warnings for missing Javadoc
2024-10-06 18:14:25 -07:00
Andrew Gaul
3e9bf34a8e
Explicitly use project.version
...
This addresses a Maven warning: The expression ${version} is
deprecated. Please use ${project.version} instead.
2024-10-06 18:12:14 -07:00
Andrew Gaul
017050dbbd
Update deprecated methods
2024-10-06 16:20:39 -07:00
Andrew Gaul
15fe7f32e9
Allow Last-Modified header to be optional
2024-10-02 15:09:59 -07:00
dependabot[bot]
b27c21330d
Bump com.github.spotbugs:spotbugs-maven-plugin from 4.8.6.2 to 4.8.6.4
...
Bumps [com.github.spotbugs:spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin ) from 4.8.6.2 to 4.8.6.4.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases )
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.8.6.2...spotbugs-maven-plugin-4.8.6.4 )
---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs-maven-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-02 08:32:00 +09:00
dependabot[bot]
0709ec5802
Bump com.fasterxml.jackson.dataformat:jackson-dataformat-xml
...
Bumps [com.fasterxml.jackson.dataformat:jackson-dataformat-xml](https://github.com/FasterXML/jackson-dataformat-xml ) from 2.17.2 to 2.18.0.
- [Commits](https://github.com/FasterXML/jackson-dataformat-xml/compare/jackson-dataformat-xml-2.17.2...jackson-dataformat-xml-2.18.0 )
---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.dataformat:jackson-dataformat-xml
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-02 08:31:52 +09:00
dependabot[bot]
97c0f01e16
Bump org.junit.jupiter:junit-jupiter from 5.10.3 to 5.11.1
...
Bumps [org.junit.jupiter:junit-jupiter](https://github.com/junit-team/junit5 ) from 5.10.3 to 5.11.1.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.10.3...r5.11.1 )
---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-02 08:31:45 +09:00
dependabot[bot]
356c12f838
Bump ch.qos.logback:logback-classic from 1.5.7 to 1.5.8
...
Bumps [ch.qos.logback:logback-classic](https://github.com/qos-ch/logback ) from 1.5.7 to 1.5.8.
- [Commits](https://github.com/qos-ch/logback/compare/v_1.5.7...v_1.5.8 )
---
updated-dependencies:
- dependency-name: ch.qos.logback:logback-classic
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-02 08:31:37 +09:00