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

[PECO-1542] Add a way to provide proxy details to SDK #271

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

vikrantpuppala
Copy link
Contributor

@vikrantpuppala vikrantpuppala commented Apr 23, 2024

Changes

Duplicate of #242. Re-created to sign commits. (This PR adds a way to provide proxy configs in the SDK directly, ability to pick up the system properties and authentication for proxy via basic or negotiate-kerberos schemes)

Tests

Documented in #242 (These changes were tested in an environment consisting of a proxy server with kerberos authentication hosted on Ubuntu and Windows VMs. The detailed testing details are documented here: https://docs.google.com/document/d/1Zxlfx-R_JytFqMZfQMBfSQ8mj4W-aHa60vw4KdjUkEc/edit)

@mgyucht mgyucht added this pull request to the merge queue Apr 23, 2024
Merged via the queue into databricks:main with commit ac1d5a2 Apr 23, 2024
9 checks passed
@vikrantpuppala vikrantpuppala deleted the PECO-1486-S branch April 23, 2024 08:49
@vikrantpuppala
Copy link
Contributor Author

Follow up work to add details to README on how to use this: PECO-1598

tanmay-db added a commit that referenced this pull request Apr 23, 2024
* [PECO-1008] Add retry strategy based on idempotency of requests ([#264](#264)).
* Fix remaining Java integration tests ([#265](#265)).
* Fix one-shot list APIs to not return null ([#266](#266)).
* Remove unnecessary secret from example ([#267](#267)).
* Fix one shot pagination ([#268](#268)).
* Update SDK to OpenAPI spec ([#269](#269)).
* [PECO-1542] Add a way to provide proxy details to SDK ([#271](#271)).

API Changes:

 * Added `schemaId` field for `com.databricks.sdk.service.catalog.SchemaInfo`.
 * Removed `awsOperation` field for `com.databricks.sdk.service.catalog.ValidationResult`.
 * Removed `azureOperation` field for `com.databricks.sdk.service.catalog.ValidationResult`.
 * Removed `gcpOperation` field for `com.databricks.sdk.service.catalog.ValidationResult`.
 * Added `operation` field for `com.databricks.sdk.service.catalog.ValidationResult`.
 * Removed `com.databricks.sdk.service.catalog.ValidationResultAwsOperation` class.
 * Removed `com.databricks.sdk.service.catalog.ValidationResultAzureOperation` class.
 * Removed `com.databricks.sdk.service.catalog.ValidationResultGcpOperation` class.
 * Added `com.databricks.sdk.service.catalog.ValidationResultOperation` class.
 * Changed `clusterStatus()` method for `workspaceClient.libraries()` service . New request type is `com.databricks.sdk.service.compute.ClusterStatus` class.
 * Changed `clusterStatus()` method for `workspaceClient.libraries()` service to return `com.databricks.sdk.service.compute.ClusterStatusResponse` class.
 * Removed `com.databricks.sdk.service.compute.ClusterStatusRequest` class.
 * Added `requirements` field for `com.databricks.sdk.service.compute.Library`.
 * Changed `status` field for `com.databricks.sdk.service.compute.LibraryFullStatus` to `com.databricks.sdk.service.compute.LibraryInstallStatus` class.
 * Removed `com.databricks.sdk.service.compute.LibraryFullStatusStatus` class.
 * Added `com.databricks.sdk.service.compute.ClusterStatus` class.
 * Added `com.databricks.sdk.service.compute.ClusterStatusResponse` class.
 * Added `com.databricks.sdk.service.compute.LibraryInstallStatus` class.
 * Added `warehouseId` field for `com.databricks.sdk.service.jobs.NotebookTask`.
 * Added `runAs` field for `com.databricks.sdk.service.jobs.SubmitRun`.
 * Added `deployment` field for `com.databricks.sdk.service.pipelines.CreatePipeline`.
 * Added `deployment` field for `com.databricks.sdk.service.pipelines.EditPipeline`.
 * Added `deployment` field for `com.databricks.sdk.service.pipelines.PipelineSpec`.
 * Added `com.databricks.sdk.service.pipelines.DeploymentKind` class.
 * Added `com.databricks.sdk.service.pipelines.PipelineDeployment` class.

OpenAPI SHA: 06d330f43d92c1be864d4638c672cd0723e20a51, Date: 2024-04-22
@tanmay-db tanmay-db mentioned this pull request Apr 23, 2024
github-merge-queue bot pushed a commit that referenced this pull request Apr 24, 2024
## 0.24.0

* Added retry strategy based on idempotency of requests
([#264](#264)).
* Fixde remaining Java integration tests
([#265](#265)).
* Fixed one-shot list APIs to not return null
([#266](#266)).
* Removed unnecessary secret from example
([#267](#267)).
* Fixed one shot pagination
([#268](#268)).
* Updated SDK to OpenAPI spec
([#269](#269)).
* Added a way to provide proxy details to SDK
([#271](#271)).

Note: This release contains breaking changes, please see the API changes
below for more details.

API Changes:

* Added `deployment` field for
`com.databricks.sdk.service.pipelines.CreatePipeline`,
`com.databricks.sdk.service.pipelines.EditPipeline`,
`com.databricks.sdk.service.pipelines.PipelineSpec`.
* Added `schemaId` field for
`com.databricks.sdk.service.catalog.SchemaInfo`.
* Added `operation` field for
`com.databricks.sdk.service.catalog.ValidationResult`.
* Added `requirements` field for
`com.databricks.sdk.service.compute.Library`.
* Added `warehouseId` field for
`com.databricks.sdk.service.jobs.NotebookTask`.
 * Added `runAs` field for `com.databricks.sdk.service.jobs.SubmitRun`.
* Added `com.databricks.sdk.service.catalog.ValidationResultOperation`
class.
 * Added `com.databricks.sdk.service.compute.ClusterStatus` class.
* Added `com.databricks.sdk.service.compute.ClusterStatusResponse`
class.
* Added `com.databricks.sdk.service.compute.LibraryInstallStatus` class.
 * Added `com.databricks.sdk.service.pipelines.DeploymentKind` class.
* Added `com.databricks.sdk.service.pipelines.PipelineDeployment` class.
* Removed `awsOperation` field for
`com.databricks.sdk.service.catalog.ValidationResult`.
* Removed `azureOperation` field for
`com.databricks.sdk.service.catalog.ValidationResult`.
* Removed `gcpOperation` field for
`com.databricks.sdk.service.catalog.ValidationResult`.
* Removed
`com.databricks.sdk.service.catalog.ValidationResultAwsOperation` class.
* Removed
`com.databricks.sdk.service.catalog.ValidationResultAzureOperation`
class.
* Removed
`com.databricks.sdk.service.catalog.ValidationResultGcpOperation` class.
* Removed `com.databricks.sdk.service.compute.ClusterStatusRequest`
class.
* Removed `com.databricks.sdk.service.compute.LibraryFullStatusStatus`
class.
* Changed `clusterStatus()` method for `workspaceClient.libraries()`
service . New request type is
`com.databricks.sdk.service.compute.ClusterStatus` class.
* Changed `clusterStatus()` method for `workspaceClient.libraries()`
service to return
`com.databricks.sdk.service.compute.ClusterStatusResponse` class.
* Changed `status` field for
`com.databricks.sdk.service.compute.LibraryFullStatus` to
`com.databricks.sdk.service.compute.LibraryInstallStatus` class.

OpenAPI SHA: 06d330f43d92c1be864d4638c672cd0723e20a51, Date: 2024-04-22
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