-
Notifications
You must be signed in to change notification settings - Fork 328
Use AccessConfigProvider.getAccessConfig in DefaultFileIOFactory #2852
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
Use AccessConfigProvider.getAccessConfig in DefaultFileIOFactory #2852
Conversation
dimas-b
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution @CodingBangboo ! Some preliminary comments below.
runtime/service/src/main/java/org/apache/polaris/service/catalog/io/DefaultFileIOFactory.java
Show resolved
Hide resolved
runtime/service/src/main/java/org/apache/polaris/service/catalog/io/DefaultFileIOFactory.java
Outdated
Show resolved
Hide resolved
dimas-b
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, please ping me again when the PR is "ready for review" :)
|
@dimas-b Thanks again! The PR is ready for review. |
dimas-b
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 CC: @XJDKC @XN137 @dennishuo @HonahX
HonahX
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
What changes were proposed in this pull request?
As a follow-up of #2736 (comment), we want to make
AccessConfigProvider.getAccessConfiga unified entry point for all call path that need vended credential. This PR replace the usage ofFileIOUtil.refreshAccessConfigwithAccessConfigProvider.getAccessConfigin DefaultFileIOFactory.Why are the changes needed?
Does this PR introduce any user-facing change?
How was this patch tested?
CHANGELOG.md