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

[Internal] Update SDK to OpenAPI spec #346

Merged
merged 2 commits into from
Sep 19, 2024
Merged

[Internal] Update SDK to OpenAPI spec #346

merged 2 commits into from
Sep 19, 2024

Conversation

tanmay-db
Copy link
Contributor

@tanmay-db tanmay-db commented Sep 17, 2024

Changes

Updating SDK to latest OpenAPI spec.

Tests

Unit tests. Nightly tests will run over release PR.

databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/CreateAppDeploymentRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/CreateAppRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/DeleteAppRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/DeleteResponse.java linguist-generated=true
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Why this?

@tanmay-db tanmay-db added this pull request to the merge queue Sep 19, 2024
Merged via the queue into main with commit 480ec48 Sep 19, 2024
10 checks passed
@tanmay-db tanmay-db deleted the gen-sdk-18sept branch September 19, 2024 12:50
tanmay-db added a commit that referenced this pull request Sep 19, 2024
### Internal Changes

 * Update SDK to OpenAPI spec ([#346](#346)).

### API Changes:

 * Added `workspaceClient.disableLegacyAccess()` service and `accountClient.disableLegacyFeatures()` service.
 * Added `workspaceClient.temporaryTableCredentials()` service.
 * Added `putAiGateway()` method for `workspaceClient.servingEndpoints()` service.
 * Added `com.databricks.sdk.service.apps.ApplicationState`, `com.databricks.sdk.service.apps.ApplicationStatus`, `com.databricks.sdk.service.apps.ComputeState` and `com.databricks.sdk.service.apps.ComputeStatus` classes.
 * Added `com.databricks.sdk.service.catalog.AwsCredentials`, `com.databricks.sdk.service.catalog.AzureUserDelegationSas`, `com.databricks.sdk.service.catalog.GcpOauthToken`, `com.databricks.sdk.service.catalog.GenerateTemporaryTableCredentialRequest`, `com.databricks.sdk.service.catalog.GenerateTemporaryTableCredentialResponse`, `com.databricks.sdk.service.catalog.R2Credentials` and `com.databricks.sdk.service.catalog.TableOperation` classes.
 * Added `com.databricks.sdk.service.serving.AiGatewayConfig`, `com.databricks.sdk.service.serving.AiGatewayGuardrailParameters`, `com.databricks.sdk.service.serving.AiGatewayGuardrailPiiBehavior`, `com.databricks.sdk.service.serving.AiGatewayGuardrailPiiBehaviorBehavior`, `com.databricks.sdk.service.serving.AiGatewayGuardrails`, `com.databricks.sdk.service.serving.AiGatewayInferenceTableConfig`, `com.databricks.sdk.service.serving.AiGatewayRateLimit`, `com.databricks.sdk.service.serving.AiGatewayRateLimitKey`, `com.databricks.sdk.service.serving.AiGatewayRateLimitRenewalPeriod`, `com.databricks.sdk.service.serving.AiGatewayUsageTrackingConfig`, `com.databricks.sdk.service.serving.PutAiGatewayRequest` and `com.databricks.sdk.service.serving.PutAiGatewayResponse` classes.
 * Added `com.databricks.sdk.service.settings.BooleanMessage`, `com.databricks.sdk.service.settings.DeleteDisableLegacyAccessRequest`, `com.databricks.sdk.service.settings.DeleteDisableLegacyAccessResponse`, `com.databricks.sdk.service.settings.DeleteDisableLegacyFeaturesRequest`, `com.databricks.sdk.service.settings.DeleteDisableLegacyFeaturesResponse`, `com.databricks.sdk.service.settings.DisableLegacyAccess`, `com.databricks.sdk.service.settings.DisableLegacyFeatures`, `com.databricks.sdk.service.settings.GetDisableLegacyAccessRequest`, `com.databricks.sdk.service.settings.GetDisableLegacyFeaturesRequest`, `com.databricks.sdk.service.settings.UpdateDisableLegacyAccessRequest` and `com.databricks.sdk.service.settings.UpdateDisableLegacyFeaturesRequest` classes.
 * Added `appStatus` and `computeStatus` fields for `com.databricks.sdk.service.apps.App`.
 * Added `deploymentId` field for `com.databricks.sdk.service.apps.CreateAppDeploymentRequest`.
 * Added `externalAccessEnabled` field for `com.databricks.sdk.service.catalog.GetMetastoreSummaryResponse`.
 * Added `includeManifestCapabilities` field for `com.databricks.sdk.service.catalog.GetTableRequest`.
 * Added `includeManifestCapabilities` field for `com.databricks.sdk.service.catalog.ListSummariesRequest`.
 * Added `includeManifestCapabilities` field for `com.databricks.sdk.service.catalog.ListTablesRequest`.
 * Added `externalAccessEnabled` field for `com.databricks.sdk.service.catalog.MetastoreInfo`.
 * Added `budgetPolicyId` field for `com.databricks.sdk.service.pipelines.CreatePipeline`.
 * Added `budgetPolicyId` field for `com.databricks.sdk.service.pipelines.EditPipeline`.
 * Added `effectiveBudgetPolicyId` field for `com.databricks.sdk.service.pipelines.GetPipelineResponse`.
 * Added `budgetPolicyId` field for `com.databricks.sdk.service.pipelines.PipelineSpec`.
 * Added `aiGateway` field for `com.databricks.sdk.service.serving.CreateServingEndpoint`.
 * Added `aiGateway` field for `com.databricks.sdk.service.serving.ServingEndpoint`.
 * Added `aiGateway` field for `com.databricks.sdk.service.serving.ServingEndpointDetailed`.
 * Added `workspaceId` field for `com.databricks.sdk.service.settings.TokenInfo`.
 * Changed `delete()`, `start()` and `stop()` methods for `workspaceClient.apps()` service to return `com.databricks.sdk.service.apps.App` class.
 * Changed `deploy()` method for `workspaceClient.apps()` service with new required argument order.
 * Changed `sourceCodePath` field for `com.databricks.sdk.service.apps.AppDeployment` to no longer be required.
 * Changed `sourceCodePath` field for `com.databricks.sdk.service.apps.CreateAppDeploymentRequest` to no longer be required.
 * Changed `returnParams` and `routineDependencies` fields for `com.databricks.sdk.service.catalog.CreateFunction` to no longer be required.
 * Removed `com.databricks.sdk.service.apps.AppState`, `com.databricks.sdk.service.apps.AppStatus`, `Object` and `Object` classes.
 * Removed `com.databricks.sdk.service.sql.ClientCallContext`, `com.databricks.sdk.service.sql.EncodedText`, `com.databricks.sdk.service.sql.EncodedTextEncoding`, `com.databricks.sdk.service.sql.QuerySource`, `com.databricks.sdk.service.sql.QuerySourceDriverInfo`, `com.databricks.sdk.service.sql.QuerySourceEntryPoint`, `com.databricks.sdk.service.sql.QuerySourceJobManager`, `com.databricks.sdk.service.sql.QuerySourceTrigger` and `com.databricks.sdk.service.sql.ServerlessChannelInfo` classes.
 * Removed `status` field for `com.databricks.sdk.service.apps.App`.
 * Removed `querySource` field for `com.databricks.sdk.service.sql.QueryInfo`.

OpenAPI SHA: 6f6b1371e640f2dfeba72d365ac566368656f6b6, Date: 2024-09-19
github-merge-queue bot pushed a commit that referenced this pull request Sep 26, 2024
### Bug Fixes

* Fix listAccountMetastoreAssignments Integration test
([#350](#350))
* Fix parsing issue in ErrorDetail
([#328](#328))

### Internal Changes

* Update SDK to OpenAPI spec
([#346](#346)).
* Add DCO guidelines
([#351](#351))
 

### API Changes:

* Added `workspaceClient.disableLegacyAccess()` service and
`accountClient.disableLegacyFeatures()` service.
 * Added `workspaceClient.temporaryTableCredentials()` service.
* Added `putAiGateway()` method for `workspaceClient.servingEndpoints()`
service.
* Added `com.databricks.sdk.service.apps.ApplicationState`,
`com.databricks.sdk.service.apps.ApplicationStatus`,
`com.databricks.sdk.service.apps.ComputeState` and
`com.databricks.sdk.service.apps.ComputeStatus` classes.
* Added `com.databricks.sdk.service.catalog.AwsCredentials`,
`com.databricks.sdk.service.catalog.AzureUserDelegationSas`,
`com.databricks.sdk.service.catalog.GcpOauthToken`,
`com.databricks.sdk.service.catalog.GenerateTemporaryTableCredentialRequest`,
`com.databricks.sdk.service.catalog.GenerateTemporaryTableCredentialResponse`,
`com.databricks.sdk.service.catalog.R2Credentials` and
`com.databricks.sdk.service.catalog.TableOperation` classes.
* Added `com.databricks.sdk.service.serving.AiGatewayConfig`,
`com.databricks.sdk.service.serving.AiGatewayGuardrailParameters`,
`com.databricks.sdk.service.serving.AiGatewayGuardrailPiiBehavior`,
`com.databricks.sdk.service.serving.AiGatewayGuardrailPiiBehaviorBehavior`,
`com.databricks.sdk.service.serving.AiGatewayGuardrails`,
`com.databricks.sdk.service.serving.AiGatewayInferenceTableConfig`,
`com.databricks.sdk.service.serving.AiGatewayRateLimit`,
`com.databricks.sdk.service.serving.AiGatewayRateLimitKey`,
`com.databricks.sdk.service.serving.AiGatewayRateLimitRenewalPeriod`,
`com.databricks.sdk.service.serving.AiGatewayUsageTrackingConfig`,
`com.databricks.sdk.service.serving.PutAiGatewayRequest` and
`com.databricks.sdk.service.serving.PutAiGatewayResponse` classes.
* Added `com.databricks.sdk.service.settings.BooleanMessage`,
`com.databricks.sdk.service.settings.DeleteDisableLegacyAccessRequest`,
`com.databricks.sdk.service.settings.DeleteDisableLegacyAccessResponse`,
`com.databricks.sdk.service.settings.DeleteDisableLegacyFeaturesRequest`,
`com.databricks.sdk.service.settings.DeleteDisableLegacyFeaturesResponse`,
`com.databricks.sdk.service.settings.DisableLegacyAccess`,
`com.databricks.sdk.service.settings.DisableLegacyFeatures`,
`com.databricks.sdk.service.settings.GetDisableLegacyAccessRequest`,
`com.databricks.sdk.service.settings.GetDisableLegacyFeaturesRequest`,
`com.databricks.sdk.service.settings.UpdateDisableLegacyAccessRequest`
and
`com.databricks.sdk.service.settings.UpdateDisableLegacyFeaturesRequest`
classes.
* Added `appStatus` and `computeStatus` fields for
`com.databricks.sdk.service.apps.App`.
* Added `deploymentId` field for
`com.databricks.sdk.service.apps.CreateAppDeploymentRequest`.
* Added `externalAccessEnabled` field for
`com.databricks.sdk.service.catalog.GetMetastoreSummaryResponse`.
* Added `includeManifestCapabilities` field for
`com.databricks.sdk.service.catalog.GetTableRequest`.
* Added `includeManifestCapabilities` field for
`com.databricks.sdk.service.catalog.ListSummariesRequest`.
* Added `includeManifestCapabilities` field for
`com.databricks.sdk.service.catalog.ListTablesRequest`.
* Added `externalAccessEnabled` field for
`com.databricks.sdk.service.catalog.MetastoreInfo`.
* Added `budgetPolicyId` field for
`com.databricks.sdk.service.pipelines.CreatePipeline`.
* Added `budgetPolicyId` field for
`com.databricks.sdk.service.pipelines.EditPipeline`.
* Added `effectiveBudgetPolicyId` field for
`com.databricks.sdk.service.pipelines.GetPipelineResponse`.
* Added `budgetPolicyId` field for
`com.databricks.sdk.service.pipelines.PipelineSpec`.
* Added `aiGateway` field for
`com.databricks.sdk.service.serving.CreateServingEndpoint`.
* Added `aiGateway` field for
`com.databricks.sdk.service.serving.ServingEndpoint`.
* Added `aiGateway` field for
`com.databricks.sdk.service.serving.ServingEndpointDetailed`.
* Added `workspaceId` field for
`com.databricks.sdk.service.settings.TokenInfo`.
* Changed `delete()`, `start()` and `stop()` methods for
`workspaceClient.apps()` service to return
`com.databricks.sdk.service.apps.App` class.
* Changed `deploy()` method for `workspaceClient.apps()` service with
new required argument order.
* Changed `sourceCodePath` field for
`com.databricks.sdk.service.apps.AppDeployment` to no longer be
required.
* Changed `sourceCodePath` field for
`com.databricks.sdk.service.apps.CreateAppDeploymentRequest` to no
longer be required.
* Changed `returnParams` and `routineDependencies` fields for
`com.databricks.sdk.service.catalog.CreateFunction` to no longer be
required.
* Removed `com.databricks.sdk.service.apps.AppState`,
`com.databricks.sdk.service.apps.AppStatus`, `Object` and `Object`
classes.
* Removed `com.databricks.sdk.service.sql.ClientCallContext`,
`com.databricks.sdk.service.sql.EncodedText`,
`com.databricks.sdk.service.sql.EncodedTextEncoding`,
`com.databricks.sdk.service.sql.QuerySource`,
`com.databricks.sdk.service.sql.QuerySourceDriverInfo`,
`com.databricks.sdk.service.sql.QuerySourceEntryPoint`,
`com.databricks.sdk.service.sql.QuerySourceJobManager`,
`com.databricks.sdk.service.sql.QuerySourceTrigger` and
`com.databricks.sdk.service.sql.ServerlessChannelInfo` classes.
 * Removed `status` field for `com.databricks.sdk.service.apps.App`.
* Removed `querySource` field for
`com.databricks.sdk.service.sql.QueryInfo`.

OpenAPI SHA: 6f6b1371e640f2dfeba72d365ac566368656f6b6, Date: 2024-09-19
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