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

[Feature] Provide SSLSocketFactory in HttpClient #333

Merged
merged 12 commits into from
Aug 28, 2024

Conversation

vikrantpuppala
Copy link
Contributor

@vikrantpuppala vikrantpuppala commented Aug 20, 2024

Changes

We need to provide a way for clients to specify their own SSL socket factory in case they want to handle TLS connections in a different way

Tests

Unit tests and local testing

Copy link
Contributor

@mgyucht mgyucht left a comment

Choose a reason for hiding this comment

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

Can we use builder pattern for constructing CommonsHttpClient?

@mgyucht mgyucht changed the title Provide SSLSocketFactory in HttpClient [Feature] Provide SSLSocketFactory in HttpClient Aug 27, 2024
@vikrantpuppala vikrantpuppala requested a review from mgyucht August 28, 2024 06:21
Copy link
Contributor

@mgyucht mgyucht left a comment

Choose a reason for hiding this comment

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

Can you add doccomments? Otherwise LGTM.

@mgyucht mgyucht added this pull request to the merge queue Aug 28, 2024
Merged via the queue into databricks:main with commit bea4755 Aug 28, 2024
10 checks passed
mgyucht added a commit that referenced this pull request Sep 4, 2024
### New Features and Improvements

 * Add a way to provide non proxy hosts ([#331](#331)).
 * Add support for discovery URL ([#336](#336)).
 * Provide SSLSocketFactory in HttpClient ([#333](#333)).

### Bug Fixes

 * DatabricksConfig: newWithWorkspaceHost should retain authType ([#338](#338)).
 * Handle login.html incorrect validation for private link ([#340](#340)).

### Internal Changes

 * Fix nightly test failure ([#339](#339)).

### API Changes:

 * Added `regenerateDashboard()` method for `workspaceClient.qualityMonitors()` service.
 * Added `com.databricks.sdk.service.catalog.RegenerateDashboardRequest` and `com.databricks.sdk.service.catalog.RegenerateDashboardResponse` classes.
 * Added `com.databricks.sdk.service.jobs.QueueDetails`, `com.databricks.sdk.service.jobs.QueueDetailsCodeCode`, `com.databricks.sdk.service.jobs.RunLifecycleStateV2State`, `com.databricks.sdk.service.jobs.RunStatus`, `com.databricks.sdk.service.jobs.TerminationCodeCode`, `com.databricks.sdk.service.jobs.TerminationDetails` and `com.databricks.sdk.service.jobs.TerminationTypeType` classes.
 * Added `status` field for `com.databricks.sdk.service.jobs.BaseRun`.
 * Added `status` field for `com.databricks.sdk.service.jobs.RepairHistoryItem`.
 * Added `status` field for `com.databricks.sdk.service.jobs.Run`.
 * Added `status` field for `com.databricks.sdk.service.jobs.RunTask`.
 * Added `maxProvisionedThroughput` and `minProvisionedThroughput` fields for `com.databricks.sdk.service.serving.ServedModelInput`.
 * Added `columnsToSync` field for `com.databricks.sdk.service.vectorsearch.DeltaSyncVectorIndexSpecRequest`.
 * Changed `workloadSize` field for `com.databricks.sdk.service.serving.ServedModelInput` to no longer be required.

OpenAPI SHA: d05898328669a3f8ab0c2ecee37db2673d3ea3f7, Date: 2024-09-04
@mgyucht mgyucht mentioned this pull request Sep 4, 2024
github-merge-queue bot pushed a commit that referenced this pull request Sep 4, 2024
### New Features and Improvements

* Add a way to provide non proxy hosts
([#331](#331)).
* Add support for discovery URL
([#336](#336)).
* Provide SSLSocketFactory in HttpClient
([#333](#333)).


### Bug Fixes

* DatabricksConfig: newWithWorkspaceHost should retain authType
([#338](#338)).
* Handle login.html incorrect validation for private link
([#340](#340)).


### Internal Changes

* Fix nightly test failure
([#339](#339)).


### API Changes:

* Added `regenerateDashboard()` method for
`workspaceClient.qualityMonitors()` service.
* Added `com.databricks.sdk.service.catalog.RegenerateDashboardRequest`
and `com.databricks.sdk.service.catalog.RegenerateDashboardResponse`
classes.
* Added `com.databricks.sdk.service.jobs.QueueDetails`,
`com.databricks.sdk.service.jobs.QueueDetailsCodeCode`,
`com.databricks.sdk.service.jobs.RunLifecycleStateV2State`,
`com.databricks.sdk.service.jobs.RunStatus`,
`com.databricks.sdk.service.jobs.TerminationCodeCode`,
`com.databricks.sdk.service.jobs.TerminationDetails` and
`com.databricks.sdk.service.jobs.TerminationTypeType` classes.
 * Added `status` field for `com.databricks.sdk.service.jobs.BaseRun`.
* Added `status` field for
`com.databricks.sdk.service.jobs.RepairHistoryItem`.
 * Added `status` field for `com.databricks.sdk.service.jobs.Run`.
 * Added `status` field for `com.databricks.sdk.service.jobs.RunTask`.
* Added `maxProvisionedThroughput` and `minProvisionedThroughput` fields
for `com.databricks.sdk.service.serving.ServedModelInput`.
* Added `columnsToSync` field for
`com.databricks.sdk.service.vectorsearch.DeltaSyncVectorIndexSpecRequest`.
* Changed `workloadSize` field for
`com.databricks.sdk.service.serving.ServedModelInput` to no longer be
required.

OpenAPI SHA: d05898328669a3f8ab0c2ecee37db2673d3ea3f7, Date: 2024-09-04
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