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

Refactor internal http client usage #17187

Merged

Conversation

wendigo
Copy link
Contributor

@wendigo wendigo commented Apr 22, 2023

The previous approach was dangerous, as it was modifying configuration for all HTTP clients and adding global filters even for HTTP clients there were not supposed to be used for internal communication.

With this change, it's now intentional which HTTP clients are supposed to use secured internal communication.

Description

Additional context and related issues

Release notes

( ) This is not user-visible or docs only and no release notes are required.
( ) Release notes are required, please propose a release note for me.
( ) Release notes are required, with the following suggested text:

# Section
* Fix some things. ({issue}`issuenumber`)

@cla-bot cla-bot bot added the cla-signed label Apr 22, 2023
@wendigo wendigo force-pushed the serafin/refactor-internal-http-client-usage branch 4 times, most recently from 222cfcf to a9a0fef Compare April 23, 2023 10:12
@wendigo
Copy link
Contributor Author

wendigo commented Apr 23, 2023

@electrum PTAL. I think that I got this change right

Copy link
Member

@lukasz-walkiewicz lukasz-walkiewicz left a comment

Choose a reason for hiding this comment

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

LGTM

@wendigo wendigo force-pushed the serafin/refactor-internal-http-client-usage branch 2 times, most recently from cbfe88b to a301138 Compare April 24, 2023 15:41
@wendigo
Copy link
Contributor Author

wendigo commented Apr 24, 2023

@electrum ptal

Copy link
Member

@kokosing kokosing left a comment

Choose a reason for hiding this comment

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

LGTM % comments

wendigo added 2 commits April 25, 2023 22:21
The previous approach was dangerous, as it was modifying configuration for all HTTP clients and adding global filters even for HTTP clients there were not
supposed to be used for internal communication.

With this change, it's now intentional which HTTP clients are supposed to use secured internal communication.
@wendigo wendigo force-pushed the serafin/refactor-internal-http-client-usage branch from a301138 to 2672cc2 Compare April 25, 2023 20:24
@kokosing kokosing merged commit 6c8dd6e into trinodb:master Apr 26, 2023
@wendigo wendigo deleted the serafin/refactor-internal-http-client-usage branch April 26, 2023 10:45
@github-actions github-actions bot added this to the 415 milestone Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

5 participants