Skip to content

IamAwsProvider: fix custom endpoint having non-default port#1523

Merged
minio-trusted merged 5 commits into
minio:masterfrom
jgolda:feature/1522
Mar 2, 2024
Merged

IamAwsProvider: fix custom endpoint having non-default port#1523
minio-trusted merged 5 commits into
minio:masterfrom
jgolda:feature/1522

Conversation

@jgolda

@jgolda jgolda commented Jan 15, 2024

Copy link
Copy Markdown
Contributor

Follow-up to #1522

@jgolda

jgolda commented Jan 16, 2024

Copy link
Copy Markdown
Contributor Author

As to the pipeline errors they are most likely unrelated to my changes - same error occurs on master branch and the class i touched is not used during the testes, so it should not affect them. I manually tested the built library in an example app based on the FileUploader from project's README, just to authenticate and call an API method.

As far as i recall the tests fail because min.io instance expected to run TLS is not running TLS, hence giving this error.
I'll try to research it in the evening - if you have any ideas as to how to fix it, i'll also appreciate it

@balamurugana balamurugana changed the title Support for non-default port in custom endpoint for AWS IAM credentials provider IamAwsProvider: fix custom endpoint having non-default port Jan 17, 2024
@balamurugana balamurugana marked this pull request as ready for review January 17, 2024 04:04
Comment thread api/src/main/java/io/minio/credentials/IamAwsProvider.java

@balamurugana balamurugana left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As okhttp3.HttpUrl is taking care of default port for http and https, this commit should be reverted

Comment thread api/src/main/java/io/minio/credentials/IamAwsProvider.java Outdated
Comment thread api/src/main/java/io/minio/credentials/IamAwsProvider.java Outdated
Comment thread api/src/main/java/io/minio/credentials/IamAwsProvider.java Outdated
Comment thread api/src/main/java/io/minio/credentials/IamAwsProvider.java Outdated
@minio-trusted minio-trusted merged commit 293d811 into minio:master Mar 2, 2024
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.

4 participants