Skip to content

Conversation

@XN137
Copy link
Contributor

@XN137 XN137 commented Nov 4, 2025

  • add StorageCredentialsVendor as request-scoped wrapper around PolarisCredentialVendor
  • make FileIOFactory request-scoped
  • make TaskFileIOSupplier request-scoped

@github-project-automation github-project-automation bot moved this to PRs In Progress in Basic Kanban Board Nov 4, 2025
@XN137 XN137 force-pushed the request-scoped-AccessConfigProvider branch from 662a47e to 95cd2cf Compare November 7, 2025 16:20
@XN137 XN137 marked this pull request as ready for review November 7, 2025 16:23
Copy link
Contributor

@dimas-b dimas-b left a comment

Choose a reason for hiding this comment

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

This PR LGTM as it stands 👍 but I wonder if we could take it one step further (as commented below) 🤔 WDYT?

? tableLocations
: Set.of();
AccessConfig accessConfig =
storageCredentialCache.getOrGenerateSubScopeCreds(
Copy link
Contributor

Choose a reason for hiding this comment

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

WDYT about making AccessConfigProvider and interface and hiding StorageCredentialCache in one of the implementations?

StorageCredentialCache will remain application-scoped, of course?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i agree with splitting out an interface, however i think we should do it in a follow-up PR as its not directly related to the goal of this PR, wdyt?

Copy link
Contributor

Choose a reason for hiding this comment

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

Sure. A follow-up PR for this SGTM 👍

dimas-b
dimas-b previously approved these changes Nov 10, 2025
@github-project-automation github-project-automation bot moved this from PRs In Progress to Ready to merge in Basic Kanban Board Nov 10, 2025
- add `StorageCredentialsVendor` as request-scoped wrapper around `PolarisCredentialVendor`
- make `FileIOFactory` request-scoped
- make `TaskFileIOSupplier` request-scoped
@XN137 XN137 force-pushed the request-scoped-AccessConfigProvider branch from 95cd2cf to ada4731 Compare November 11, 2025 08:24
@XN137 XN137 changed the title Make AccessConfigProvider request-scoped Make StorageAccessConfigProvider request-scoped Nov 11, 2025
@XN137
Copy link
Contributor Author

XN137 commented Nov 11, 2025

rebased after conflict with aa72157

@dimas-b dimas-b merged commit 308b103 into apache:main Nov 11, 2025
15 checks passed
@github-project-automation github-project-automation bot moved this from Ready to merge to Done in Basic Kanban Board Nov 11, 2025
MonkeyCanCode pushed a commit to MonkeyCanCode/polaris that referenced this pull request Nov 12, 2025
- add `StorageCredentialsVendor` as request-scoped wrapper around `PolarisCredentialVendor`
- make `FileIOFactory` request-scoped
- make `TaskFileIOSupplier` request-scoped
@XN137 XN137 deleted the request-scoped-AccessConfigProvider branch November 12, 2025 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants