From 65d8fe13e9da76809d103782c82a352f5f194cf3 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 18 Jul 2023 15:30:00 +0000
Subject: [PATCH] Bump github.com/databricks/databricks-sdk-go from 0.12.0 to
0.13.0 (#585)
Bumps
[github.com/databricks/databricks-sdk-go](https://github.com/databricks/databricks-sdk-go)
from 0.12.0 to 0.13.0.
Release notes
Sourced from github.com/databricks/databricks-sdk-go's
releases.
v0.13.0
- Add issue templates (#539).
- Added HasRequiredNonBodyField method (#536).
- Make Azure MSI auth account compatible (#544).
- Refactor Handling of NameID Mapping in
OpenAPI Generator (#547).
- Regenerate Go SDK from current OpenAPI Specification (#549).
- Parse Camel Case and Pascal Case Enum Values (#550).
- Prepare for auto-releaser infra (#554).
- Added SCIM Patch Acceptance Tests (#540).
API Changes:
... (truncated)
Changelog
Sourced from github.com/databricks/databricks-sdk-go's
changelog.
0.13.0
- Add issue templates (#539).
- Added HasRequiredNonBodyField method (#536).
- Make Azure MSI auth account compatible (#544).
- Refactor Handling of NameID Mapping in
OpenAPI Generator (#547).
- Regenerate Go SDK from current OpenAPI Specification (#549).
- Parse Camel Case and Pascal Case Enum Values (#550).
- Prepare for auto-releaser infra (#554).
- Added SCIM Patch Acceptance Tests (#540).
API Changes:
... (truncated)
Commits
b4fb746
Release v0.13.0 (#555)
180c7ee
Added SCIM Patch Acceptance Tests (#540)
546814a
Prepare for auto-releaser infra (#554)
7e680c5
Parse Camel Case and Pascal Case Enum Values (#550)
e71ece4
Bump google.golang.org/api from 0.130.0 to 0.131.0 (#551)
3b4492b
Regenerate Go SDK from current OpenAPI Specification (#549)
f84de61
Refactor Handling of Name<->ID Mapping in OpenAPI Generator (#547)
c37a894
Bump google.golang.org/api from 0.129.0 to 0.130.0 (#542)
4f2aa38
Bump golang.org/x/mod from 0.11.0 to 0.12.0 (#541)
e80f6e1
Make Azure MSI auth account compatible (#544)
- Additional commits viewable in compare
view
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/databricks/databricks-sdk-go&package-manager=go_modules&previous-version=0.12.0&new-version=0.13.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
---------
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Serge Smertin
---
bundle/deploy/terraform/convert_test.go | 2 +-
cmd/workspace/metastores/metastores.go | 30 ++++++++++++-------------
go.mod | 8 +++----
go.sum | 18 +++++++--------
4 files changed, 29 insertions(+), 29 deletions(-)
diff --git a/bundle/deploy/terraform/convert_test.go b/bundle/deploy/terraform/convert_test.go
index 76cec4e7..c47824ec 100644
--- a/bundle/deploy/terraform/convert_test.go
+++ b/bundle/deploy/terraform/convert_test.go
@@ -26,7 +26,7 @@ func TestConvertJob(t *testing.T) {
},
},
GitSource: &jobs.GitSource{
- GitProvider: jobs.GitProviderGithub,
+ GitProvider: jobs.GitProviderGitHub,
GitUrl: "https://github.com/foo/bar",
},
},
diff --git a/cmd/workspace/metastores/metastores.go b/cmd/workspace/metastores/metastores.go
index e16f74ff..1f27e0b8 100755
--- a/cmd/workspace/metastores/metastores.go
+++ b/cmd/workspace/metastores/metastores.go
@@ -20,10 +20,10 @@ var Cmd = &cobra.Command{
Databricks account admins can create metastores and assign them to Databricks
workspaces to control which workloads use each metastore. For a workspace to
use Unity Catalog, it must have a Unity Catalog metastore attached.
-
+
Each metastore is configured with a root storage location in a cloud storage
account. This storage location is used for metadata and managed tables data.
-
+
NOTE: This metastore is distinct from the metastore included in Databricks
workspaces created before Unity Catalog was released. If your workspace
includes a legacy Hive metastore, the data in that metastore is available in a
@@ -46,7 +46,7 @@ var assignCmd = &cobra.Command{
Use: "assign METASTORE_ID DEFAULT_CATALOG_NAME WORKSPACE_ID",
Short: `Create an assignment.`,
Long: `Create an assignment.
-
+
Creates a new metastore assignment. If an assignment for the same
__workspace_id__ exists, it will be overwritten by the new __metastore_id__
and __default_catalog_name__. The caller must be an account admin.`,
@@ -96,7 +96,7 @@ var createCmd = &cobra.Command{
Use: "create NAME STORAGE_ROOT",
Short: `Create a metastore.`,
Long: `Create a metastore.
-
+
Creates a new metastore based on a provided name and storage root path.`,
Annotations: map[string]string{},
@@ -144,7 +144,7 @@ var currentCmd = &cobra.Command{
Use: "current",
Short: `Get metastore assignment for workspace.`,
Long: `Get metastore assignment for workspace.
-
+
Gets the metastore assignment for the workspace being accessed.`,
Annotations: map[string]string{},
@@ -178,7 +178,7 @@ var deleteCmd = &cobra.Command{
Use: "delete ID",
Short: `Delete a metastore.`,
Long: `Delete a metastore.
-
+
Deletes a metastore. The caller must be a metastore admin.`,
Annotations: map[string]string{},
@@ -230,7 +230,7 @@ var getCmd = &cobra.Command{
Use: "get ID",
Short: `Get a metastore.`,
Long: `Get a metastore.
-
+
Gets a metastore that matches the supplied ID. The caller must be a metastore
admin to retrieve this info.`,
@@ -281,7 +281,7 @@ var listCmd = &cobra.Command{
Use: "list",
Short: `List metastores.`,
Long: `List metastores.
-
+
Gets an array of the available metastores (as __MetastoreInfo__ objects). The
caller must be an admin to retrieve this info. There is no guarantee of a
specific ordering of the elements in the array.`,
@@ -303,7 +303,7 @@ var listCmd = &cobra.Command{
}
// start maintenance command
-var maintenanceReq catalog.UpdateAutoMaintenance
+var maintenanceReq catalog.UpdatePredictiveOptimization
var maintenanceJson flags.JsonFlag
func init() {
@@ -317,7 +317,7 @@ var maintenanceCmd = &cobra.Command{
Use: "maintenance METASTORE_ID ENABLE",
Short: `Enables or disables auto maintenance on the metastore.`,
Long: `Enables or disables auto maintenance on the metastore.
-
+
Enables or disables auto maintenance on the metastore.`,
// This command is being previewed; hide from help output.
@@ -349,7 +349,7 @@ var maintenanceCmd = &cobra.Command{
}
}
- response, err := w.Metastores.Maintenance(ctx, maintenanceReq)
+ response, err := w.Metastores.EnableOptimization(ctx, maintenanceReq)
if err != nil {
return err
}
@@ -371,7 +371,7 @@ var summaryCmd = &cobra.Command{
Use: "summary",
Short: `Get a metastore summary.`,
Long: `Get a metastore summary.
-
+
Gets information about a metastore. This summary includes the storage
credential, the cloud vendor, the cloud region, and the global metastore ID.`,
@@ -404,7 +404,7 @@ var unassignCmd = &cobra.Command{
Use: "unassign WORKSPACE_ID METASTORE_ID",
Short: `Delete an assignment.`,
Long: `Delete an assignment.
-
+
Deletes a metastore assignment. The caller must be an account administrator.`,
Annotations: map[string]string{},
@@ -455,7 +455,7 @@ var updateCmd = &cobra.Command{
Use: "update ID",
Short: `Update a metastore.`,
Long: `Update a metastore.
-
+
Updates information for a specific metastore. The caller must be a metastore
admin.`,
@@ -511,7 +511,7 @@ var updateAssignmentCmd = &cobra.Command{
Use: "update-assignment WORKSPACE_ID",
Short: `Update an assignment.`,
Long: `Update an assignment.
-
+
Updates a metastore assignment. This operation can be used to update
__metastore_id__ or __default_catalog_name__ for a specified Workspace, if the
Workspace is already assigned a metastore. The caller must be an account admin
diff --git a/go.mod b/go.mod
index 610404bb..b839d11b 100644
--- a/go.mod
+++ b/go.mod
@@ -4,7 +4,7 @@ go 1.18
require (
github.com/briandowns/spinner v1.23.0 // Apache 2.0
- github.com/databricks/databricks-sdk-go v0.12.0 // Apache 2.0
+ github.com/databricks/databricks-sdk-go v0.13.0 // Apache 2.0
github.com/fatih/color v1.15.0 // MIT
github.com/ghodss/yaml v1.0.0 // MIT + NOTICE
github.com/google/uuid v1.3.0 // BSD-3-Clause
@@ -54,10 +54,10 @@ require (
golang.org/x/net v0.12.0 // indirect
golang.org/x/sys v0.10.0 // indirect
golang.org/x/time v0.3.0 // indirect
- google.golang.org/api v0.129.0 // indirect
+ google.golang.org/api v0.131.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc // indirect
- google.golang.org/grpc v1.56.1 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 // indirect
+ google.golang.org/grpc v1.56.2 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
diff --git a/go.sum b/go.sum
index 176d3925..1071343e 100644
--- a/go.sum
+++ b/go.sum
@@ -34,8 +34,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH
github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
-github.com/databricks/databricks-sdk-go v0.12.0 h1:VgMJpvEiyRRrJ0mQx22Rkc73zjxUe125Ou9c5C99phM=
-github.com/databricks/databricks-sdk-go v0.12.0/go.mod h1:h/oWnnfWcJQAotAhZS/GMnlcaE/8WhuZ5Vj7el/6Gn8=
+github.com/databricks/databricks-sdk-go v0.13.0 h1:Npi4laUUmcOPDPdJf2ZMGFUtybpf4LK6n5NQY56Ya2Q=
+github.com/databricks/databricks-sdk-go v0.13.0/go.mod h1:0iuEtPIoD6oqw7OuFbPskhlEryt2FPH+Ies1UYiiDy8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -93,7 +93,7 @@ github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/googleapis/enterprise-certificate-proxy v0.2.5 h1:UR4rDjcgpgEnqpIEvkiqTYKBCKLNmlge2eVjoZfySzM=
github.com/googleapis/enterprise-certificate-proxy v0.2.5/go.mod h1:RxW0N9901Cko1VOCW3SXCpWP+mlIEkk2tP7jnHy9a3w=
-github.com/googleapis/gax-go/v2 v2.11.0 h1:9V9PWXEsWnPpQhu/PeQIkS4eGzMlTLGgt80cUUI8Ki4=
+github.com/googleapis/gax-go/v2 v2.12.0 h1:A+gCJKdRfqXkr+BIRGtZLibNXf0m1f9E4HG56etFpas=
github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw=
github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ=
github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48=
@@ -243,8 +243,8 @@ golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/api v0.129.0 h1:2XbdjjNfFPXQyufzQVwPf1RRnHH8Den2pfNE2jw7L8w=
-google.golang.org/api v0.129.0/go.mod h1:dFjiXlanKwWE3612X97llhsoI36FAoIiRj3aTl5b/zE=
+google.golang.org/api v0.131.0 h1:AcgWS2edQ4chVEt/SxgDKubVu/9/idCJy00tBGuGB4M=
+google.golang.org/api v0.131.0/go.mod h1:7vtkbKv2REjJbxmHSkBTBQ5LUGvPdAqjjvt84XAfhpA=
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c=
@@ -253,8 +253,8 @@ google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoA
google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc h1:XSJ8Vk1SWuNr8S18z1NZSziL0CPIXLCCMDOEFtHBOFc=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 h1:2FZP5XuJY9zQyGM5N0rtovnoXjiMUEIUMvw0m9wlpLc=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:8mL13HKkDa+IuJ8yruA3ci0q+0vsUz4m//+ottjwS5o=
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY=
@@ -263,8 +263,8 @@ google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTp
google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc=
google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU=
google.golang.org/grpc v1.45.0/go.mod h1:lN7owxKUQEqMfSyQikvvk5tf/6zMPsrK+ONuO11+0rQ=
-google.golang.org/grpc v1.56.1 h1:z0dNfjIl0VpaZ9iSVjA6daGatAYwPGstTjt5vkRMFkQ=
-google.golang.org/grpc v1.56.1/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s=
+google.golang.org/grpc v1.56.2 h1:fVRFRnXvU+x6C4IlHZewvJOVHoOv1TUuQyoRsYnB4bI=
+google.golang.org/grpc v1.56.2/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s=
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=