-
Notifications
You must be signed in to change notification settings - Fork 23
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] Add a way to provide non proxy hosts #331
Merged
Merged
Conversation
This file contains 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
mgyucht
changed the title
add a way to provide non proxy hosts
[Feature] Add a way to provide non proxy hosts
Aug 27, 2024
mgyucht
requested changes
Aug 27, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple changes but generally think the approach is good.
databricks-sdk-java/src/main/java/com/databricks/sdk/core/ProxyConfig.java
Outdated
Show resolved
Hide resolved
databricks-sdk-java/src/main/java/com/databricks/sdk/core/ProxyConfig.java
Show resolved
Hide resolved
databricks-sdk-java/src/main/java/com/databricks/sdk/core/utils/ProxyUtils.java
Outdated
Show resolved
Hide resolved
databricks-sdk-java/src/main/java/com/databricks/sdk/core/utils/ProxyUtils.java
Outdated
Show resolved
Hide resolved
mgyucht
approved these changes
Aug 28, 2024
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
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
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.
Changes
Add a new config in proxy hosts to provide non proxy hosts. Related system property info here: https://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.html
Tests
Tested locally and via unit tests