Skip to content

Conversation

sophia-bq
Copy link
Contributor

@sophia-bq sophia-bq commented Nov 20, 2024

Summary

Refactor setting a non-default ConnectionProvider to be done through a connection property instead of a static method.

Description

Adds a new connection property connectionProvider that allows users to pass a non-default provider through a connection property.

This replaces the existing static setConnectionProvider method that gives any code access to modify the connection provider manager on the go.

The value of ConnectionProviderManager.connProvider which is updated by the connection property remains static.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@karenc-bq karenc-bq requested review from leszek-bq and leszekamz and removed request for leszekamz November 20, 2024 20:43
@sophia-bq sophia-bq force-pushed the chore/refactor-set-connection-provider branch from 14b3196 to 5c4646e Compare November 20, 2024 21:08
@sophia-bq sophia-bq added the wip Pull requests that are a work in progress label Nov 20, 2024
@sophia-bq sophia-bq added ready for review Pull requests that are ready to be reviewed and removed wip Pull requests that are a work in progress labels Nov 21, 2024
@sergiyvamz sergiyvamz merged commit 3f8f6ca into main Nov 22, 2024
2 checks passed
@sergiyvamz sergiyvamz deleted the chore/refactor-set-connection-provider branch November 22, 2024 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for review Pull requests that are ready to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants