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

Release v0.6.0 #137

Merged
merged 1 commit into from
Aug 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codegen/_openapi_sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b799a600ccf37b0776d99c315614f0d0f0f0ce54
beff621d7b3e1d59244e2e34fc53a496f310e130
19 changes: 19 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,10 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListFunctio
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListMetastoresResponse.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSchemasRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSchemasResponse.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSecurableTagsRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSecurableType.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListStorageCredentialsResponse.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSubentityTagsRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSummariesRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSystemSchemasRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSystemSchemasResponse.java linguist-generated=true
Expand Down Expand Up @@ -198,6 +201,9 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SchemasImpl
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SchemasService.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableOptionsMap.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurablePropertiesMap.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableTagsAPI.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableTagsImpl.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableTagsService.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableType.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SetArtifactAllowlist.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SseEncryptionDetails.java linguist-generated=true
Expand All @@ -206,6 +212,9 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/StorageCred
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/StorageCredentialsAPI.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/StorageCredentialsImpl.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/StorageCredentialsService.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SubentityTagsAPI.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SubentityTagsImpl.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SubentityTagsService.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SystemSchemaInfo.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SystemSchemaInfoState.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SystemSchemasAPI.java linguist-generated=true
Expand All @@ -224,6 +233,14 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableType.j
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TablesAPI.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TablesImpl.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TablesService.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagChanges.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagKeyValuePair.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagSecurable.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagSecurableAssignment.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagSecurableAssignmentsList.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagSubentity.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagSubentityAssignmentsList.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagsSubentityAssignment.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UnassignRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateCatalog.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateConnection.java linguist-generated=true
Expand All @@ -236,8 +253,10 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdatePermi
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdatePredictiveOptimization.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdatePredictiveOptimizationResponse.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateSchema.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateSecurableType.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateStorageCredential.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateTableRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateTags.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateVolumeRequestContent.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateWorkspaceBindings.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ValidateStorageCredential.java linguist-generated=true
Expand Down
58 changes: 58 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,63 @@
# Version changelog

## 0.6.0

* Added support for `dbutils.secrets` ([#132](https://github.com/databricks/databricks-sdk-java/pull/132)).
* Added retry in `w.clusters().ensureClusterIsRunning(id)` when cluster is simultaneously started by two different processes ([#134](https://github.com/databricks/databricks-sdk-java/pull/134)).
* Set necessary headers when authenticating via Azure CLI ([#136](https://github.com/databricks/databricks-sdk-java/pull/136)).

New Services:

* Added `workspaceClient.artifactAllowlists()` service.
* Added `workspaceClient.securableTags()` service.
* Added `workspaceClient.subentityTags()` service.
* Added `com.databricks.sdk.service.catalog.ArtifactAllowlistInfo` class.
* Added `com.databricks.sdk.service.catalog.ArtifactMatcher` class.
* Added `com.databricks.sdk.service.catalog.ArtifactType` class.
* Added `com.databricks.sdk.service.catalog.GetArtifactAllowlistRequest` class.
* Added `com.databricks.sdk.service.catalog.ListSecurableTagsRequest` class.
* Added `com.databricks.sdk.service.catalog.ListSecurableType` class.
* Added `com.databricks.sdk.service.catalog.ListSubentityTagsRequest` class.
* Added `com.databricks.sdk.service.catalog.MatchType` class.
* Added `com.databricks.sdk.service.catalog.SetArtifactAllowlist` class.
* Added `com.databricks.sdk.service.catalog.TagChanges` class.
* Added `com.databricks.sdk.service.catalog.TagKeyValuePair` class.
* Added `com.databricks.sdk.service.catalog.TagSecurable` class.
* Added `com.databricks.sdk.service.catalog.TagSecurableAssignment` class.
* Added `com.databricks.sdk.service.catalog.TagSecurableAssignmentsList` class.
* Added `com.databricks.sdk.service.catalog.TagSubentity` class.
* Added `com.databricks.sdk.service.catalog.TagSubentityAssignmentsList` class.
* Added `com.databricks.sdk.service.catalog.TagsSubentityAssignment` class.
* Added `com.databricks.sdk.service.catalog.UpdateSecurableType` class.
* Added `com.databricks.sdk.service.catalog.UpdateTags` class.

New APIs:

* Added `deleteRuns()` method for `workspaceClient.experiments()` service.
* Added `restoreRuns()` method for `workspaceClient.experiments()` service.
* Added `com.databricks.sdk.service.ml.DeleteRuns` class.
* Added `com.databricks.sdk.service.ml.DeleteRunsResponse` class.
* Added `com.databricks.sdk.service.ml.RestoreRuns` class.
* Added `com.databricks.sdk.service.ml.RestoreRunsResponse` class.
* Added `getSecret()` method for `workspaceClient.secrets()` service.
* Added `com.databricks.sdk.service.workspace.GetSecretRequest` class.
* Added `com.databricks.sdk.service.workspace.GetSecretResponse` class.

API Renames:

* Renamed `effectiveAutoMaintenanceFlag` field to `effectivePredictiveOptimizationFlag` field for `com.databricks.sdk.service.catalog.CatalogInfo`.
* Renamed `enableAutoMaintenance` field to `enablePredictiveOptimization` field for `com.databricks.sdk.service.catalog.CatalogInfo`.
* Renamed `com.databricks.sdk.service.catalog.EffectiveAutoMaintenanceFlag` class to `com.databricks.sdk.service.catalog.EffectivePredictiveOptimizationFlag` class.
* Renamed `com.databricks.sdk.service.catalog.EffectiveAutoMaintenanceFlagInheritedFromType` class to `com.databricks.sdk.service.catalog.EffectivePredictiveOptimizationFlagInheritedFromType`.
* Renamed `com.databricks.sdk.service.catalog.EnableAutoMaintenance` class to `com.databricks.sdk.service.catalog.EnablePredictiveOptimization`.
* Renamed `effectiveAutoMaintenanceFlag` field to `effectivePredictiveOptimizationFlag` field for `com.databricks.sdk.service.catalog.SchemaInfo`.
* Renamed `enableAutoMaintenance` field to `enablePredictiveOptimization` field for `com.databricks.sdk.service.catalog.SchemaInfo`.
* Renamed `effectiveAutoMaintenanceFlag` field to `effectivePredictiveOptimizationFlag` field for `com.databricks.sdk.service.catalog.TableInfo`.
* Renamed `enableAutoMaintenance` field to `enablePredictiveOptimization` field for `com.databricks.sdk.service.catalog.TableInfo`.

OpenAPI SHA: beff621d7b3e1d59244e2e34fc53a496f310e130, Date: 2023-08-17


## 0.5.0


Expand Down
2 changes: 1 addition & 1 deletion databricks-sdk-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.databricks</groupId>
<artifactId>databricks-sdk-parent</artifactId>
<version>0.5.0</version>
<version>0.6.0</version>
</parent>
<artifactId>databricks-sdk-java</artifactId>
<properties>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class UserAgent {
// TODO: check if reading from
// /META-INF/maven/com.databricks/databrics-sdk-java/pom.properties
// or getClass().getPackage().getImplementationVersion() is enough.
private static final String version = "0.5.0";
private static final String version = "0.6.0";

public static void withProduct(String product, String productVersion) {
UserAgent.product = product;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading