Skip to content

Commit

Permalink
Release v0.17.0 (#210)
Browse files Browse the repository at this point in the history
Bugfixes:

* Update SDK to OpenAPI spec with bug fix
([#207](#207)).
* Fix Azure Databricks OAuth M2M
([#209](#209)).

API Changes:

 * Added `exists()` method for `workspaceClient.tables()` service.
 * Added `workspaceClient.lakehouseMonitors()` service.
* Removed `com.databricks.sdk.service.catalog.TableConstraintList`
class.
* Added `initScripts` field for
`com.databricks.sdk.service.pipelines.PipelineCluster`.
 * Added the following dataclasses: 
  `databricks.sdk.service.catalog.CreateMonitor`, 
  `databricks.sdk.service.catalog.DeleteLakehouseMonitorRequest`, 
  `databricks.sdk.service.catalog.ExistsRequest`, 
  `databricks.sdk.service.catalog.GetLakehouseMonitorRequest`, 
  `databricks.sdk.service.catalog.MonitorCronSchedule`, 
  `databricks.sdk.service.catalog.MonitorCronSchedulePauseStatus`, 
  `databricks.sdk.service.catalog.MonitorCustomMetric`, 
  `databricks.sdk.service.catalog.MonitorCustomMetricType`, 
  `databricks.sdk.service.catalog.MonitorDataClassificationConfig`, 
  `databricks.sdk.service.catalog.MonitorDestinations`, 
  `databricks.sdk.service.catalog.MonitorInferenceLogProfileType`,   

`databricks.sdk.service.catalog.MonitorInferenceLogProfileTypeProblemType`,
  `databricks.sdk.service.catalog.MonitorInfo`, 
  `databricks.sdk.service.catalog.MonitorInfoStatus`, 
  `databricks.sdk.service.catalog.MonitorNotificationsConfig`, 
  `databricks.sdk.service.catalog.MonitorTimeSeriesProfileType`, 
  `databricks.sdk.service.catalog.TableExistsResponse` and
  `databricks.sdk.service.catalog.UpdateMonitor`. 
* Added `validateOnly` field for
`com.databricks.sdk.service.pipelines.StartUpdate`.
* Added `validateOnly` field for
`com.databricks.sdk.service.pipelines.UpdateInfo`.
* Changed `createOboToken()` method for
`workspaceClient.tokenManagement()` service with new required argument
order.
* Changed `get()` method for `workspaceClient.tokenManagement()` service
to return `com.databricks.sdk.service.settings.GetTokenResponse` class.
* Changed `lifetimeSeconds` field for
`com.databricks.sdk.service.settings.CreateOboTokenRequest` to no longer
be required.
 * Added `com.databricks.sdk.service.settings.GetTokenResponse` class.
* Changed `create()` method for `workspaceClient.dashboards()` service .
New request type is
`com.databricks.sdk.service.sql.DashboardPostContent` class.
 * Added `update()` method for `workspaceClient.dashboards()` service.
* Removed `com.databricks.sdk.service.sql.CreateDashboardRequest` class.
* Added `httpHeaders` field for
`com.databricks.sdk.service.sql.ExternalLink`.
* Added `runAsRole` field for
`com.databricks.sdk.service.sql.QueryEditContent`.
 * Added `com.databricks.sdk.service.sql.DashboardEditContent` class.
 * Added `com.databricks.sdk.service.sql.DashboardPostContent` class.

OpenAPI SHA: e05401ed5dd4974c5333d737ec308a7d451f749f, Date: 2024-01-23
  • Loading branch information
hectorcast-db authored Jan 23, 2024
1 parent 9bc316e commit f3346f8
Show file tree
Hide file tree
Showing 73 changed files with 2,154 additions and 128 deletions.
2 changes: 1 addition & 1 deletion .codegen/_openapi_sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0e0d4cbe87193e36c73b8b2be3b0dd0f1b013e00
e05401ed5dd4974c5333d737ec308a7d451f749f
22 changes: 22 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateFunct
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateFunctionSqlDataAccess.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateMetastore.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateMetastoreAssignment.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateMonitor.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateRegisteredModelRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateSchema.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateStorageCredential.java linguist-generated=true
Expand All @@ -104,6 +105,7 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteCatal
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteConnectionRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteExternalLocationRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteFunctionRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteLakehouseMonitorRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteMetastoreRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteModelVersionRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/DeleteRegisteredModelRequest.java linguist-generated=true
Expand All @@ -126,6 +128,7 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/EnablePredi
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/EnableRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/EnableSchemaName.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/EncryptionDetails.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExistsRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalLocationInfo.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalLocationsAPI.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ExternalLocationsImpl.java linguist-generated=true
Expand Down Expand Up @@ -156,6 +159,7 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetEffectiv
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetExternalLocationRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetFunctionRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetGrantRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetLakehouseMonitorRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetMetastoreRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetMetastoreSummaryResponse.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GetMetastoreSummaryResponseDeltaSharingScope.java linguist-generated=true
Expand All @@ -169,6 +173,9 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GrantsAPI.j
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GrantsImpl.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/GrantsService.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/IsolationMode.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/LakehouseMonitorsAPI.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/LakehouseMonitorsImpl.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/LakehouseMonitorsService.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListAccountMetastoreAssignmentsRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListAccountMetastoreAssignmentsResponse.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListAccountStorageCredentialsRequest.java linguist-generated=true
Expand Down Expand Up @@ -207,6 +214,18 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelVersio
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelVersionsAPI.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelVersionsImpl.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelVersionsService.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorCronSchedule.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorCronSchedulePauseStatus.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorCustomMetric.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorCustomMetricType.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorDataClassificationConfig.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorDestinations.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorInferenceLogProfileType.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorInferenceLogProfileTypeProblemType.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorInfo.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorInfoStatus.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorNotificationsConfig.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/MonitorTimeSeriesProfileType.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/NamedTableConstraint.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PermissionsChange.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/PermissionsList.java linguist-generated=true
Expand Down Expand Up @@ -244,6 +263,7 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableConstr
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableConstraintsImpl.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableConstraintsService.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableDependency.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableExistsResponse.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableInfo.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableRowFilter.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TableSummary.java linguist-generated=true
Expand All @@ -260,6 +280,7 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateMetas
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateMetastoreAssignment.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateMetastoreDeltaSharingScope.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateModelVersionRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateMonitor.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdatePermissions.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateRegisteredModelRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateSchema.java linguist-generated=true
Expand Down Expand Up @@ -1216,6 +1237,7 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetPrivate
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetStatusRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetTokenManagementRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetTokenPermissionLevelsResponse.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/GetTokenResponse.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/IpAccessListInfo.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/IpAccessListsAPI.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/IpAccessListsImpl.java linguist-generated=true
Expand Down
49 changes: 49 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,54 @@
# Version changelog

## 0.17.0

Bugfixes:

* Update SDK to OpenAPI spec with bug fix ([#207](https://github.com/databricks/databricks-sdk-java/pull/207)).
* Fix Azure Databricks OAuth M2M ([#209](https://github.com/databricks/databricks-sdk-java/pull/209)).

API Changes:

* Added `exists()` method for `workspaceClient.tables()` service.
* Added `workspaceClient.lakehouseMonitors()` service.
* Removed `com.databricks.sdk.service.catalog.TableConstraintList` class.
* Added `initScripts` field for `com.databricks.sdk.service.pipelines.PipelineCluster`.
* Added the following dataclasses:
`databricks.sdk.service.catalog.CreateMonitor`,
`databricks.sdk.service.catalog.DeleteLakehouseMonitorRequest`,
`databricks.sdk.service.catalog.ExistsRequest`,
`databricks.sdk.service.catalog.GetLakehouseMonitorRequest`,
`databricks.sdk.service.catalog.MonitorCronSchedule`,
`databricks.sdk.service.catalog.MonitorCronSchedulePauseStatus`,
`databricks.sdk.service.catalog.MonitorCustomMetric`,
`databricks.sdk.service.catalog.MonitorCustomMetricType`,
`databricks.sdk.service.catalog.MonitorDataClassificationConfig`,
`databricks.sdk.service.catalog.MonitorDestinations`,
`databricks.sdk.service.catalog.MonitorInferenceLogProfileType`,
`databricks.sdk.service.catalog.MonitorInferenceLogProfileTypeProblemType`,
`databricks.sdk.service.catalog.MonitorInfo`,
`databricks.sdk.service.catalog.MonitorInfoStatus`,
`databricks.sdk.service.catalog.MonitorNotificationsConfig`,
`databricks.sdk.service.catalog.MonitorTimeSeriesProfileType`,
`databricks.sdk.service.catalog.TableExistsResponse` and
`databricks.sdk.service.catalog.UpdateMonitor`.
* Added `validateOnly` field for `com.databricks.sdk.service.pipelines.StartUpdate`.
* Added `validateOnly` field for `com.databricks.sdk.service.pipelines.UpdateInfo`.
* Changed `createOboToken()` method for `workspaceClient.tokenManagement()` service with new required argument order.
* Changed `get()` method for `workspaceClient.tokenManagement()` service to return `com.databricks.sdk.service.settings.GetTokenResponse` class.
* Changed `lifetimeSeconds` field for `com.databricks.sdk.service.settings.CreateOboTokenRequest` to no longer be required.
* Added `com.databricks.sdk.service.settings.GetTokenResponse` class.
* Changed `create()` method for `workspaceClient.dashboards()` service . New request type is `com.databricks.sdk.service.sql.DashboardPostContent` class.
* Added `update()` method for `workspaceClient.dashboards()` service.
* Removed `com.databricks.sdk.service.sql.CreateDashboardRequest` class.
* Added `httpHeaders` field for `com.databricks.sdk.service.sql.ExternalLink`.
* Added `runAsRole` field for `com.databricks.sdk.service.sql.QueryEditContent`.
* Added `com.databricks.sdk.service.sql.DashboardEditContent` class.
* Added `com.databricks.sdk.service.sql.DashboardPostContent` class.

OpenAPI SHA: e05401ed5dd4974c5333d737ec308a7d451f749f, Date: 2024-01-23


## 0.16.0

* Update to OpenAPI spec ([#204](https://github.com/databricks/databricks-sdk-java/pull/204)).
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.16.0</version>
<version>0.17.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.16.0";
private static final String version = "0.17.0";

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

0 comments on commit f3346f8

Please sign in to comment.