Skip to content

extract libraries for 3pl#39

Merged
jschneidereit merged 12 commits intomainfrom
jschneidereit/extract-libraries-for-3pl
Apr 10, 2025
Merged

extract libraries for 3pl#39
jschneidereit merged 12 commits intomainfrom
jschneidereit/extract-libraries-for-3pl

Conversation

@jschneidereit
Copy link
Contributor

In an effort to reduce the number of third party libraries contaminating jdbc-core as well as streamlining its functionality to be more a bridge between the Query V3 gRPC API and the JDBC spec, we've pulled out some okhttp code for auth and metadata as well as some utilties out into their own respective libraries jdbc-http and jdbc-util.

As a result of this refactor DataCloudConnection and DataCloudDatabaseMetadata know far less about details like OAuth and SOQL queries, these are instead provided with reduced coupling through gRPC ClientInterceptor and metadata suppliers implementing ThrowingJdbcSupplier, these are expected to be provided through DataCloudConnection::fromOauth

@jschneidereit jschneidereit merged commit 50947e9 into main Apr 10, 2025
2 checks passed
@jschneidereit jschneidereit deleted the jschneidereit/extract-libraries-for-3pl branch April 10, 2025 17:27
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