Skip to content

fix(client-s3-control): remove host prefix behavior #7025

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

Merged
merged 4 commits into from
Apr 24, 2025
Merged

fix(client-s3-control): remove host prefix behavior #7025

merged 4 commits into from
Apr 24, 2025

Conversation

smilkuri
Copy link
Contributor

@smilkuri smilkuri commented Apr 23, 2025

Description

S3 and S3 control, when using endpointRuleSet trait, should ignore the endpoint+hostPrefix traits. This adds model preprocessing to remove those traits.

This is a customization for S3 and S3 Control.

Testing

Attached the endpoints 2.0 suite to integration test group.

I tried to refactor the tests to use clients instead of just the endpoint resolver, but the complexity was too high. Attempt it later.

@kuhe kuhe changed the title fix(s3ControlClient): removing host prefix fix(client-s3-control): remove host prefix behavior Apr 23, 2025
@kuhe kuhe marked this pull request as ready for review April 24, 2025 00:02
@kuhe kuhe requested a review from a team as a code owner April 24, 2025 00:02
headers: {
host: "123456789012.s3-outposts.us-west-2.amazonaws.com",
Copy link
Contributor

@kuhe kuhe Apr 24, 2025

Choose a reason for hiding this comment

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

  • open question as to whether this is intended 🚧

Copy link
Contributor

Choose a reason for hiding this comment

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

I received confirmation that this change is ok.

@kuhe kuhe marked this pull request as draft April 24, 2025 00:13
@siddsriv siddsriv requested a review from kuhe April 24, 2025 05:49
@kuhe kuhe marked this pull request as ready for review April 24, 2025 14:38
@kuhe kuhe merged commit 6c590fc into main Apr 24, 2025
5 checks passed
@kuhe kuhe deleted the endpoints branch April 24, 2025 14:42
Copy link

github-actions bot commented May 9, 2025

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants