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

Relicense the Java SDK using the Apache 2.0 license #158

Merged
merged 1 commit into from
Sep 29, 2023
Merged

Conversation

mgyucht
Copy link
Contributor

@mgyucht mgyucht commented Sep 29, 2023

Changes

We have received Ali's approval to relicense the Java SDK under the Apache License, Version 2.0.

Tests

@mgyucht mgyucht added this pull request to the merge queue Sep 29, 2023
@mgyucht mgyucht removed this pull request from the merge queue due to a manual request Sep 29, 2023
@mgyucht mgyucht added this pull request to the merge queue Sep 29, 2023
Merged via the queue into main with commit 02faddc Sep 29, 2023
9 checks passed
@mgyucht mgyucht deleted the apache-2.0 branch September 29, 2023 14:14
mgyucht added a commit that referenced this pull request Oct 3, 2023
* Add additional error metadata to API errors ([#153](#153)).
* Bugfix: Chunk streaming request bodies only ([#157](#157)).
* Relicense the Java SDK using the Apache 2.0 license ([#158](#158)).

Breaking API Changes:

 * Changed `list()` method for `accountClient.metastoreAssignments()` service to return `com.databricks.sdk.service.catalog.ListAccountMetastoreAssignmentsResponse` class.
 * Changed `artifactMatchers` field for `com.databricks.sdk.service.catalog.ArtifactAllowlistInfo` to `com.databricks.sdk.service.catalog.ArtifactMatcherList` class.
 * Removed `owner` field for `com.databricks.sdk.service.catalog.CreateConnection`. Use instead the `owner` field of `UpdateConnection`.
 * Changed `artifactMatchers` field for `com.databricks.sdk.service.catalog.SetArtifactAllowlist` to `com.databricks.sdk.service.catalog.ArtifactMatcherList` class.
 * Removed `options` field for `com.databricks.sdk.service.catalog.UpdateCatalog`.
 * Changed `cancelAllRuns()` method for `workspaceClient.jobs()` service with new required argument order.
 * Changed `jobId` field for `com.databricks.sdk.service.jobs.CancelAllRuns` to no longer be required.
 * Changed `jobParameters` field for `com.databricks.sdk.service.jobs.RunNow` to `com.databricks.sdk.service.jobs.ParamPairs` class.
 * Changed `query()` method for `workspaceClient.servingEndpoints()` service. New request type is `com.databricks.sdk.service.serving.QueryEndpointInput` class.
 * Removed `com.databricks.sdk.service.serving.QueryRequest` class.
 * Changed `list()` method for `workspaceClient.cleanRooms()` service to require request of `com.databricks.sdk.service.sharing.ListCleanRoomsRequest` class.
 * Changed `executeStatement()` method for `workspaceClient.statementExecution()` service with new required argument order.
 * Renamed `com.databricks.sdk.service.sql.ChunkInfo` class to `BaseChunkInfo`.
 * Changed `onWaitTimeout` field for `com.databricks.sdk.service.sql.ExecuteStatementRequest` to `com.databricks.sdk.service.sql.ExecuteStatementRequestOnWaitTimeout` class.
 * Changed `statement` field for `com.databricks.sdk.service.sql.ExecuteStatementRequest` to be required.
 * Changed `warehouseId` field for `com.databricks.sdk.service.sql.ExecuteStatementRequest` to be required.
 * Changed `chunks` field for `com.databricks.sdk.service.sql.ResultManifest` to `com.databricks.sdk.service.sql.BaseChunkInfoList` class.
 * Renamed `com.databricks.sdk.service.sql.TimeoutAction` class to `ExecuteStatementRequestOnWaitTimeout`.

API Changes:

 * Added `com.databricks.sdk.service.catalog.ListAccountMetastoreAssignmentsResponse` class.
 * Added `com.databricks.sdk.service.catalog.WorkspaceId` class.
 * Added `allQueuedRuns` field for `com.databricks.sdk.service.jobs.CancelAllRuns`.
 * Added `queue` field for `com.databricks.sdk.service.jobs.CreateJob`.
 * Added `queue` field for `com.databricks.sdk.service.jobs.JobSettings`.
 * Added `jobParameters` field for `com.databricks.sdk.service.jobs.RepairRun`.
 * Added `queue` field for `com.databricks.sdk.service.jobs.RunNow`.
 * Added `jobParameters` field for `com.databricks.sdk.service.jobs.RunParameters`.
 * Added `queueReason` field for `com.databricks.sdk.service.jobs.RunState`.
 * Added `queueDuration` field for `com.databricks.sdk.service.jobs.RunTask`.
 * Added `queue` field for `com.databricks.sdk.service.jobs.SubmitRun`.
 * Added `com.databricks.sdk.service.jobs.QueueSettings` class.
 * Added `accountClient.oAuthPublishedApps()` service.
 * Added `com.databricks.sdk.service.oauth2.GetPublishedAppsOutput` class.
 * Added `com.databricks.sdk.service.oauth2.ListOAuthPublishedAppsRequest` class.
 * Added `com.databricks.sdk.service.oauth2.PublishedAppOutput` class.
 * Added `notifications` field for `com.databricks.sdk.service.pipelines.CreatePipeline`.
 * Added `notifications` field for `com.databricks.sdk.service.pipelines.EditPipeline`.
 * Added `notifications` field for `com.databricks.sdk.service.pipelines.PipelineSpec`.
 * Added `com.databricks.sdk.service.pipelines.Notifications` class.
 * Added `patch()` method for `workspaceClient.servingEndpoints()` service.
 * Added `tags` field for `com.databricks.sdk.service.serving.CreateServingEndpoint`.
 * Added `tags` field for `com.databricks.sdk.service.serving.ServingEndpoint`.
 * Added `tags` field for `com.databricks.sdk.service.serving.ServingEndpointDetailed`.
 * Added `com.databricks.sdk.service.serving.DataframeSplitInput` class.
 * Added `com.databricks.sdk.service.serving.EndpointTag` class.
 * Added `com.databricks.sdk.service.serving.PatchServingEndpointTags` class.
 * Added `com.databricks.sdk.service.serving.QueryEndpointInput` class.
 * Added `workspaceClient.credentialsManager()` service.
 * Added `workspaceClient.settings()` service.
 * Added `com.databricks.sdk.service.settings.DefaultNamespaceSetting` class.
 * Added `com.databricks.sdk.service.settings.DeleteDefaultWorkspaceNamespaceRequest` class.
 * Added `com.databricks.sdk.service.settings.DeleteDefaultWorkspaceNamespaceResponse` class.
 * Added `com.databricks.sdk.service.settings.ExchangeToken` class.
 * Added `com.databricks.sdk.service.settings.ExchangeTokenRequest` class.
 * Added `com.databricks.sdk.service.settings.ExchangeTokenResponse` class.
 * Added `com.databricks.sdk.service.settings.PartitionId` class.
 * Added `com.databricks.sdk.service.settings.ReadDefaultWorkspaceNamespaceRequest` class.
 * Added `com.databricks.sdk.service.settings.StringMessage` class.
 * Added `com.databricks.sdk.service.settings.TokenType` class.
 * Added `com.databricks.sdk.service.settings.UpdateDefaultWorkspaceNamespaceRequest` class.
 * Added `nextPageToken` field for `com.databricks.sdk.service.sharing.ListCleanRoomsResponse`.
 * Added `com.databricks.sdk.service.sharing.ListCleanRoomsRequest` class.
 * Added `emptyResultState` field for `com.databricks.sdk.service.sql.AlertOptions`.
 * Added `truncated` field for `com.databricks.sdk.service.sql.ResultManifest`.
 * Added `com.databricks.sdk.service.sql.AlertOptionsEmptyResultState` class.

OpenAPI SHA: bcbf6e851e3d82fd910940910dd31c10c059746c, Date: 2023-10-02
@mgyucht mgyucht mentioned this pull request Oct 3, 2023
github-merge-queue bot pushed a commit that referenced this pull request Oct 3, 2023
* Add additional error metadata to API errors
([#153](#153)).
* Bugfix: Chunk streaming request bodies only
([#157](#157)).
* Relicense the Java SDK using the Apache 2.0 license
([#158](#158)).

Breaking API Changes:

* Changed `list()` method for `accountClient.metastoreAssignments()`
service to return
`com.databricks.sdk.service.catalog.ListAccountMetastoreAssignmentsResponse`
class.
* Changed `artifactMatchers` field for
`com.databricks.sdk.service.catalog.ArtifactAllowlistInfo` to
`com.databricks.sdk.service.catalog.ArtifactMatcherList` class.
* Removed `owner` field for
`com.databricks.sdk.service.catalog.CreateConnection`. Use instead the
`owner` field of `UpdateConnection`.
* Changed `artifactMatchers` field for
`com.databricks.sdk.service.catalog.SetArtifactAllowlist` to
`com.databricks.sdk.service.catalog.ArtifactMatcherList` class.
* Removed `options` field for
`com.databricks.sdk.service.catalog.UpdateCatalog`.
* Changed `cancelAllRuns()` method for `workspaceClient.jobs()` service
with new required argument order.
* Changed `jobId` field for
`com.databricks.sdk.service.jobs.CancelAllRuns` to no longer be
required.
* Changed `jobParameters` field for
`com.databricks.sdk.service.jobs.RunNow` to
`com.databricks.sdk.service.jobs.ParamPairs` class.
* Changed `query()` method for `workspaceClient.servingEndpoints()`
service. New request type is
`com.databricks.sdk.service.serving.QueryEndpointInput` class.
 * Removed `com.databricks.sdk.service.serving.QueryRequest` class.
* Changed `list()` method for `workspaceClient.cleanRooms()` service to
require request of
`com.databricks.sdk.service.sharing.ListCleanRoomsRequest` class.
* Changed `executeStatement()` method for
`workspaceClient.statementExecution()` service with new required
argument order.
* Renamed `com.databricks.sdk.service.sql.ChunkInfo` class to
`BaseChunkInfo`.
* Changed `onWaitTimeout` field for
`com.databricks.sdk.service.sql.ExecuteStatementRequest` to
`com.databricks.sdk.service.sql.ExecuteStatementRequestOnWaitTimeout`
class.
* Changed `statement` field for
`com.databricks.sdk.service.sql.ExecuteStatementRequest` to be required.
* Changed `warehouseId` field for
`com.databricks.sdk.service.sql.ExecuteStatementRequest` to be required.
* Changed `chunks` field for
`com.databricks.sdk.service.sql.ResultManifest` to
`com.databricks.sdk.service.sql.BaseChunkInfoList` class.
* Renamed `com.databricks.sdk.service.sql.TimeoutAction` class to
`ExecuteStatementRequestOnWaitTimeout`.

API Changes:

* Added
`com.databricks.sdk.service.catalog.ListAccountMetastoreAssignmentsResponse`
class.
 * Added `com.databricks.sdk.service.catalog.WorkspaceId` class.
* Added `allQueuedRuns` field for
`com.databricks.sdk.service.jobs.CancelAllRuns`.
 * Added `queue` field for `com.databricks.sdk.service.jobs.CreateJob`.
* Added `queue` field for `com.databricks.sdk.service.jobs.JobSettings`.
* Added `jobParameters` field for
`com.databricks.sdk.service.jobs.RepairRun`.
 * Added `queue` field for `com.databricks.sdk.service.jobs.RunNow`.
* Added `jobParameters` field for
`com.databricks.sdk.service.jobs.RunParameters`.
* Added `queueReason` field for
`com.databricks.sdk.service.jobs.RunState`.
* Added `queueDuration` field for
`com.databricks.sdk.service.jobs.RunTask`.
 * Added `queue` field for `com.databricks.sdk.service.jobs.SubmitRun`.
 * Added `com.databricks.sdk.service.jobs.QueueSettings` class.
 * Added `accountClient.oAuthPublishedApps()` service.
* Added `com.databricks.sdk.service.oauth2.GetPublishedAppsOutput`
class.
* Added
`com.databricks.sdk.service.oauth2.ListOAuthPublishedAppsRequest` class.
 * Added `com.databricks.sdk.service.oauth2.PublishedAppOutput` class.
* Added `notifications` field for
`com.databricks.sdk.service.pipelines.CreatePipeline`.
* Added `notifications` field for
`com.databricks.sdk.service.pipelines.EditPipeline`.
* Added `notifications` field for
`com.databricks.sdk.service.pipelines.PipelineSpec`.
 * Added `com.databricks.sdk.service.pipelines.Notifications` class.
* Added `patch()` method for `workspaceClient.servingEndpoints()`
service.
* Added `tags` field for
`com.databricks.sdk.service.serving.CreateServingEndpoint`.
* Added `tags` field for
`com.databricks.sdk.service.serving.ServingEndpoint`.
* Added `tags` field for
`com.databricks.sdk.service.serving.ServingEndpointDetailed`.
 * Added `com.databricks.sdk.service.serving.DataframeSplitInput` class.
 * Added `com.databricks.sdk.service.serving.EndpointTag` class.
* Added `com.databricks.sdk.service.serving.PatchServingEndpointTags`
class.
 * Added `com.databricks.sdk.service.serving.QueryEndpointInput` class.
 * Added `workspaceClient.credentialsManager()` service.
 * Added `workspaceClient.settings()` service.
* Added `com.databricks.sdk.service.settings.DefaultNamespaceSetting`
class.
* Added
`com.databricks.sdk.service.settings.DeleteDefaultWorkspaceNamespaceRequest`
class.
* Added
`com.databricks.sdk.service.settings.DeleteDefaultWorkspaceNamespaceResponse`
class.
 * Added `com.databricks.sdk.service.settings.ExchangeToken` class.
* Added `com.databricks.sdk.service.settings.ExchangeTokenRequest`
class.
* Added `com.databricks.sdk.service.settings.ExchangeTokenResponse`
class.
 * Added `com.databricks.sdk.service.settings.PartitionId` class.
* Added
`com.databricks.sdk.service.settings.ReadDefaultWorkspaceNamespaceRequest`
class.
 * Added `com.databricks.sdk.service.settings.StringMessage` class.
 * Added `com.databricks.sdk.service.settings.TokenType` class.
* Added
`com.databricks.sdk.service.settings.UpdateDefaultWorkspaceNamespaceRequest`
class.
* Added `nextPageToken` field for
`com.databricks.sdk.service.sharing.ListCleanRoomsResponse`.
* Added `com.databricks.sdk.service.sharing.ListCleanRoomsRequest`
class.
* Added `emptyResultState` field for
`com.databricks.sdk.service.sql.AlertOptions`.
* Added `truncated` field for
`com.databricks.sdk.service.sql.ResultManifest`.
* Added `com.databricks.sdk.service.sql.AlertOptionsEmptyResultState`
class.

OpenAPI SHA: bcbf6e851e3d82fd910940910dd31c10c059746c, Date: 2023-10-02
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