Skip to content

Commit

Permalink
Release v0.3.0 (#126)
Browse files Browse the repository at this point in the history
* Handled nested query parameters in ApiClient.withQuery
([#125](#125)).
This fixes issues with filters when listing query history.

API Changes:

* Changed `create()` method for `accountClient.metastoreAssignments()`
service to no longer return
`com.databricks.sdk.service.catalog.CreateMetastoreAssignmentsResponseItemList`
class.
* Added `connectionName` field for
`com.databricks.sdk.service.catalog.CreateCatalog`.
* Added `accessPoint` field for
`com.databricks.sdk.service.catalog.CreateExternalLocation`.
* Added `encryptionDetails` field for
`com.databricks.sdk.service.catalog.CreateExternalLocation`.
* Removed
`com.databricks.sdk.service.catalog.CreateMetastoreAssignmentsResponseItem`
class.
* Added `accessPoint` field for
`com.databricks.sdk.service.catalog.ExternalLocationInfo`.
* Added `encryptionDetails` field for
`com.databricks.sdk.service.catalog.ExternalLocationInfo`.
* Added `accessPoint` field for
`com.databricks.sdk.service.catalog.TableInfo`.
* Added `encryptionDetails` field for
`com.databricks.sdk.service.catalog.TableInfo`.
* Added `accessPoint` field for
`com.databricks.sdk.service.catalog.UpdateExternalLocation`.
* Added `encryptionDetails` field for
`com.databricks.sdk.service.catalog.UpdateExternalLocation`.
* Added `accessPoint` field for
`com.databricks.sdk.service.catalog.VolumeInfo`.
* Added `encryptionDetails` field for
`com.databricks.sdk.service.catalog.VolumeInfo`.
 * Added `com.databricks.sdk.service.catalog.EncryptionDetails` class.
* Added `com.databricks.sdk.service.catalog.SseEncryptionDetails` class.
* Added
`com.databricks.sdk.service.catalog.SseEncryptionDetailsAlgorithm`
class.
 * Added `accountClient.networkPolicy()` service.
* Added
`com.databricks.sdk.service.settings.AccountNetworkPolicyMessage` class.
* Added
`com.databricks.sdk.service.settings.DeleteAccountNetworkPolicyRequest`
class.
* Added
`com.databricks.sdk.service.settings.DeleteAccountNetworkPolicyResponse`
class.
* Added
`com.databricks.sdk.service.settings.ReadAccountNetworkPolicyRequest`
class.
* Added
`com.databricks.sdk.service.settings.UpdateAccountNetworkPolicyRequest`
class.

OpenAPI SHA: fbdd0fa3e83fed2c798a58d376529bdb1285b915, Date: 2023-07-26

---------

Co-authored-by: Tanmay Rustagi <[email protected]>
  • Loading branch information
mgyucht and tanmay-db authored Jul 27, 2023
1 parent 134f1fe commit d46a9f5
Show file tree
Hide file tree
Showing 46 changed files with 949 additions and 81 deletions.
2 changes: 1 addition & 1 deletion .codegen/_openapi_sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0a1949ba96f71680dad30e06973eaae85b1307bb
fbdd0fa3e83fed2c798a58d376529bdb1285b915
12 changes: 11 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ 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/CreateMetastoreAssignmentsResponseItem.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
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/CreateTableConstraint.java linguist-generated=true
Expand Down Expand Up @@ -111,6 +110,7 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/EffectivePr
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/EnableAutoMaintenance.java linguist-generated=true
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/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 @@ -188,6 +188,8 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SchemasServ
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/SecurableType.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SseEncryptionDetails.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SseEncryptionDetailsAlgorithm.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/StorageCredentialInfo.java linguist-generated=true
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
Expand Down Expand Up @@ -969,6 +971,10 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/serving/TrafficConf
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AccountIpAccessListsAPI.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AccountIpAccessListsImpl.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AccountIpAccessListsService.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AccountNetworkPolicyAPI.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AccountNetworkPolicyImpl.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AccountNetworkPolicyMessage.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AccountNetworkPolicyService.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AccountSettingsAPI.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AccountSettingsImpl.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/AccountSettingsService.java linguist-generated=true
Expand All @@ -979,6 +985,8 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CreateOboT
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CreateTokenRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CreateTokenResponse.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAccountIpAccessListRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAccountNetworkPolicyRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteAccountNetworkPolicyResponse.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeleteIpAccessListRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeletePersonalComputeSettingRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/DeletePersonalComputeSettingResponse.java linguist-generated=true
Expand All @@ -1001,6 +1009,7 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/PersonalCo
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/PersonalComputeMessageEnum.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/PersonalComputeSetting.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/PublicTokenInfo.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ReadAccountNetworkPolicyRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ReadPersonalComputeSettingRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/ReplaceIpAccessList.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/RevokeTokenRequest.java linguist-generated=true
Expand All @@ -1011,6 +1020,7 @@ databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokenManag
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokensAPI.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokensImpl.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/TokensService.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateAccountNetworkPolicyRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdateIpAccessList.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/UpdatePersonalComputeSettingRequest.java linguist-generated=true
databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/WorkspaceConf.java linguist-generated=true
Expand Down
34 changes: 33 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# Version changelog

## 0.3.0

* Handled nested query parameters in ApiClient.withQuery ([#125](https://github.com/databricks/databricks-sdk-java/pull/125)). This fixes issues with filters when listing query history.

API Changes:

* Changed `create()` method for `accountClient.metastoreAssignments()` service to no longer return `com.databricks.sdk.service.catalog.CreateMetastoreAssignmentsResponseItemList` class.
* Added `connectionName` field for `com.databricks.sdk.service.catalog.CreateCatalog`.
* Added `accessPoint` field for `com.databricks.sdk.service.catalog.CreateExternalLocation`.
* Added `encryptionDetails` field for `com.databricks.sdk.service.catalog.CreateExternalLocation`.
* Removed `com.databricks.sdk.service.catalog.CreateMetastoreAssignmentsResponseItem` class.
* Added `accessPoint` field for `com.databricks.sdk.service.catalog.ExternalLocationInfo`.
* Added `encryptionDetails` field for `com.databricks.sdk.service.catalog.ExternalLocationInfo`.
* Added `accessPoint` field for `com.databricks.sdk.service.catalog.TableInfo`.
* Added `encryptionDetails` field for `com.databricks.sdk.service.catalog.TableInfo`.
* Added `accessPoint` field for `com.databricks.sdk.service.catalog.UpdateExternalLocation`.
* Added `encryptionDetails` field for `com.databricks.sdk.service.catalog.UpdateExternalLocation`.
* Added `accessPoint` field for `com.databricks.sdk.service.catalog.VolumeInfo`.
* Added `encryptionDetails` field for `com.databricks.sdk.service.catalog.VolumeInfo`.
* Added `com.databricks.sdk.service.catalog.EncryptionDetails` class.
* Added `com.databricks.sdk.service.catalog.SseEncryptionDetails` class.
* Added `com.databricks.sdk.service.catalog.SseEncryptionDetailsAlgorithm` class.
* Added `accountClient.networkPolicy()` service.
* Added `com.databricks.sdk.service.settings.AccountNetworkPolicyMessage` class.
* Added `com.databricks.sdk.service.settings.DeleteAccountNetworkPolicyRequest` class.
* Added `com.databricks.sdk.service.settings.DeleteAccountNetworkPolicyResponse` class.
* Added `com.databricks.sdk.service.settings.ReadAccountNetworkPolicyRequest` class.
* Added `com.databricks.sdk.service.settings.UpdateAccountNetworkPolicyRequest` class.

OpenAPI SHA: fbdd0fa3e83fed2c798a58d376529bdb1285b915, Date: 2023-07-26


## 0.2.0

* Synchronize auth permutation tests with Go SDK ([#108](https://github.com/databricks/databricks-sdk-java/pull/108)).
Expand Down Expand Up @@ -284,4 +316,4 @@ Dependency updates:

## 0.1.1

* Usable version
* Usable version
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.2.0</version>
<version>0.3.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.

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.2.0";
private static final String version = "0.3.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.

Loading

0 comments on commit d46a9f5

Please sign in to comment.