Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #4321: support s3 for non-aws storage #4351

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Fixes #4321: support s3 for non-aws storage #4351

wants to merge 1 commit into from

Conversation

vga91
Copy link
Collaborator

@vga91 vga91 commented Feb 12, 2025


Fixes #4321

The test with a minio instance present here does not work as a "real" instance.
In fact, using an instance pointing to localhost, it fails with TODO error.
To fix it, just put the java property Dcom.amazonaws.sdk.disableCertChecking=true that executes the if present here.

Therefore, added test and docs.

TestContainer considerations

Used bitnami/minio since the official minio image doesn't work in test container.

Using the official minio, it doesn't start without any error.

We should do: https://stackoverflow.com/questions/55402610/configuring-minio-server-for-use-with-testcontainers,
it works flakily in any case, sometimes throws an Timeout waiting for result with exception ... Not ready yet.
Moreover, it requires an additional container (minio:mc), and additional code to create a bucket (since MINIO_DEFAULT_BUCKETS env doesn't exist).

Tried with TestContainer using a docker-compose as well, but without success.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant