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 CQLSessionCache and CqlCredentials #1455

Merged
merged 2 commits into from
Sep 27, 2024
Merged

Conversation

amorton
Copy link
Contributor

@amorton amorton commented Sep 26, 2024

needed a way to get a session using only the
(String tenantId, String authToken) and the way the cache key worked made they very hard / impossible. Also the code needed a refactor.

Needed the new access technique for the OperationAttempt where we are trying to stop carrying the DataApiRequestInfo everywhere as it's IOC pattern mixes application and requests state (and generally to remove the IOC injection)

What this PR does:

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CLA Signed: DataStax CLA

needed a way to get a session using only the
(String tenantId, String authToken) and the way the cache key worked made
they very hard / impossible. Also the code needed a refactor.

Needed the new access technique for the OperationAttempt where we are
trying to stop carrying the DataApiRequestInfo everywhere as it's
IOC pattern mixes application and requests state (and generally to
remove the IOC injection)
@amorton amorton requested a review from a team as a code owner September 26, 2024 06:22
Copy link
Contributor

@maheshrajamani maheshrajamani left a comment

Choose a reason for hiding this comment

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

LGTM

@amorton amorton merged commit 98e617e into main Sep 27, 2024
3 checks passed
@amorton amorton deleted the ajm/refactor-cql-credentials branch September 27, 2024 00:40
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.

3 participants