Repository navigation
[PECO-1779] Add SSL Truststore URL params to allow configuring custom SSL truststore - #458
Closed
vikrantpuppala wants to merge 2 commits into
Closed
vikrantpuppala wants to merge 2 commits into
vikrantpuppala wants to merge 2 commits into
Conversation
vikrantpuppala
had a problem deploying
to
azure-prod
September 9, 2024 11:03 — with
GitHub Actions
Failure
vikrantpuppala
had a problem deploying
to
azure-prod
September 9, 2024 11:03 — with
GitHub Actions
Error
vikrantpuppala
had a problem deploying
to
azure-prod
September 10, 2024 07:24 — with
GitHub Actions
Failure
vikrantpuppala
had a problem deploying
to
azure-prod
September 10, 2024 07:24 — with
GitHub Actions
Failure
gopalldb
reviewed
Sep 10, 2024
gopalldb
left a comment
Collaborator
There was a problem hiding this comment.
Thanks for adding this!
| try { | ||
| PoolingHttpClientConnectionManager connManager = new PoolingHttpClientConnectionManager( | ||
| getConnectionSocketFactoryRegistry(this.connectionContext)); | ||
| connManager.setMaxTotal(100); |
Collaborator
There was a problem hiding this comment.
do we need to keep this configurable?
Collaborator
Author
There was a problem hiding this comment.
SDK has this always fixed to 100. So should not change existing behaviour. However, feel free to let me know if you think we should make this configurable
| } | ||
| } | ||
|
|
||
| public static Registry<ConnectionSocketFactory> getConnectionSocketFactoryRegistry(IDatabricksConnectionContext connectionContext) { |
Collaborator
There was a problem hiding this comment.
can we add tests for this?
madhav-db
self-requested a review
September 11, 2024 05:01
Contributor
|
Quick question: I believe this will work for the SEA flow, correct? Are we planning to implement SSL Truststore (and later perhaps Keystore) support for the thrift flow too? |
Collaborator
Author
|
@madhav-db this is for both SEA and thrift flow. Here it gets enabled for SEA flow and here for the thrift flow. |
madhav-db
approved these changes
Sep 11, 2024
Collaborator
Author
|
Moved to #490 due to push restrictions on main fork |
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Added SSL Trust Store params to JDBC
Testing
Local testing using Mubashir's setup
Additional Notes to the Reviewer