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

Add telemetry for CI/CD platform to useragent #665

Merged
merged 12 commits into from
Oct 31, 2023
Merged

Conversation

shreyas-goenka
Copy link
Contributor

@shreyas-goenka shreyas-goenka commented Oct 19, 2023

Changes

This PR adds CI/CD provider infromation to the HTTP user agent. This is useful to track how often and from which CI/CD platforms our tools are being run from.

Tests

Unit tests and manually

For manual testing I ran a simple script in Go that list's all jobs in a workspace and inspected the user agent string.
Case github-actions:
command:

GITHUB_ACTIONS=true go run main.go

User Agent:

User-Agent: unknown/0.0.0 databricks-sdk-go/0.23.0 go/1.21.0 os/darwin sdk-feature/pagination auth/pat cicd/github

Case google-cloud-build:
command:

PROJECT_ID=1 BUILD_ID=2 PROJECT_NUMBER=3 LOCATION=4  go run main.go

User agent:

User-Agent: unknown/0.0.0 databricks-sdk-go/0.23.0 go/1.21.0 os/darwin sdk-feature/pagination auth/pat cicd/google-cloud-build

@codecov-commenter
Copy link

codecov-commenter commented Oct 19, 2023

Codecov Report

Attention: 1026 lines in your changes are missing coverage. Please review.

Files Coverage Δ
openapi/code/package.go 58.20% <100.00%> (ø)
service/compute/spark_version.go 0.00% <ø> (ø)
service/iam/model.go 0.00% <ø> (ø)
client/client.go 85.37% <71.42%> (-0.40%) ⬇️
openapi/code/entity.go 26.88% <0.00%> (ø)
listing/listing.go 94.66% <94.66%> (ø)
useragent/cicd.go 76.00% <76.00%> (ø)
openapi/code/method.go 32.76% <0.00%> (-1.76%) ⬇️
service/billing/api.go 0.00% <0.00%> (ø)
service/jobs/api.go 0.00% <0.00%> (ø)
... and 9 more

📢 Thoughts on this report? Let us know!.

@shreyas-goenka shreyas-goenka marked this pull request as ready for review October 20, 2023 14:31
useragent/cicd.go Outdated Show resolved Hide resolved
useragent/cicd_test.go Outdated Show resolved Hide resolved
client/client.go Show resolved Hide resolved
useragent/cicd.go Show resolved Hide resolved
Copy link
Contributor

@mgyucht mgyucht left a comment

Choose a reason for hiding this comment

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

LGTM! One very small nit.

useragent/cicd.go Show resolved Hide resolved
@shreyas-goenka shreyas-goenka added this pull request to the merge queue Oct 31, 2023
Merged via the queue into main with commit 2ec4258 Oct 31, 2023
4 checks passed
@shreyas-goenka shreyas-goenka deleted the cicd-tracking branch October 31, 2023 16:03
tanmay-db added a commit that referenced this pull request Nov 8, 2023
* Make sure path parameters are first in order in RequiredFields ([#669](#669)).
* Added Field.IsRequestBodyField method for code generation ([#670](#670)).
* Add regressions question to the issue template ([#676](#676)).
* Add telemetry for CI/CD platform to useragent ([#665](#665)).
* Skip GCP Integration Tests using Statement Execution API ([#678](#678)).
* Add more detailed error message on default credentials not found error ([#679](#679)).

Dependency updates:

 * Bump google.golang.org/api from 0.146.0 to 0.150.0 ([#683](#683)).
 * Bump golang.org/x/mod from 0.13.0 to 0.14.0 ([#681](#681)).
 * Bump google.golang.org/grpc from 1.57.0 to 1.57.1 in /examples/zerolog ([#674](#674)).
 * Bump google.golang.org/grpc from 1.58.2 to 1.58.3 in /examples/slog ([#672](#672)).
 * Bump google.golang.org/grpc from 1.58.2 to 1.58.3 in /examples/zerolog ([#684](#684)).
 * Bump golang.org/x/time from 0.3.0 to 0.4.0 ([#680](#680)).
@tanmay-db tanmay-db mentioned this pull request Oct 26, 2023
tanmay-db added a commit that referenced this pull request Nov 8, 2023
* Make sure path parameters are first in order in RequiredFields ([#669](#669)).
* Added Field.IsRequestBodyField method for code generation ([#670](#670)).
* Add regressions question to the issue template ([#676](#676)).
* Add telemetry for CI/CD platform to useragent ([#665](#665)).
* Skip GCP Integration Tests using Statement Execution API ([#678](#678)).
* Add more detailed error message on default credentials not found error ([#679](#679)).

Dependency updates:

 * Bump google.golang.org/api from 0.146.0 to 0.150.0 ([#683](#683)).
 * Bump golang.org/x/mod from 0.13.0 to 0.14.0 ([#681](#681)).
 * Bump google.golang.org/grpc from 1.57.0 to 1.57.1 in /examples/zerolog ([#674](#674)).
 * Bump google.golang.org/grpc from 1.58.2 to 1.58.3 in /examples/slog ([#672](#672)).
 * Bump google.golang.org/grpc from 1.58.2 to 1.58.3 in /examples/zerolog ([#684](#684)).
 * Bump golang.org/x/time from 0.3.0 to 0.4.0 ([#680](#680)).
tanmay-db added a commit that referenced this pull request Nov 8, 2023
* Make sure path parameters are first in order in RequiredFields ([#669](#669)).
* Added Field.IsRequestBodyField method for code generation ([#670](#670)).
* Add regressions question to the issue template ([#676](#676)).
* Add telemetry for CI/CD platform to useragent ([#665](#665)).
* Skip GCP Integration Tests using Statement Execution API ([#678](#678)).
* Add more detailed error message on default credentials not found error ([#679](#679)).

Dependency updates:

 * Bump google.golang.org/api from 0.146.0 to 0.150.0 ([#683](#683)).
 * Bump golang.org/x/mod from 0.13.0 to 0.14.0 ([#681](#681)).
 * Bump google.golang.org/grpc from 1.57.0 to 1.57.1 in /examples/zerolog ([#674](#674)).
 * Bump google.golang.org/grpc from 1.58.2 to 1.58.3 in /examples/slog ([#672](#672)).
 * Bump google.golang.org/grpc from 1.58.2 to 1.58.3 in /examples/zerolog ([#684](#684)).
 * Bump golang.org/x/time from 0.3.0 to 0.4.0 ([#680](#680)).
tanmay-db added a commit that referenced this pull request Nov 9, 2023
* Make sure path parameters are first in order in RequiredFields ([#669](#669)).
* Added Field.IsRequestBodyField method for code generation ([#670](#670)).
* Add regressions question to the issue template ([#676](#676)).
* Add telemetry for CI/CD platform to useragent ([#665](#665)).
* Skip GCP Integration Tests using Statement Execution API ([#678](#678)).
* Add more detailed error message on default credentials not found error ([#679](#679)).
* Update SDK to latest OpenAPI Spec ([#685](#685)).

API Changes:

 * Changed `Create` method for [w.Functions](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionsAPI) workspace-level service . New request type is [catalog.CreateFunctionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateFunctionRequest).
 * Changed `Create` method for [w.Metastores](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MetastoresAPI) workspace-level service with new required argument order.
 * Changed `InputParams` field for [catalog.CreateFunction](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateFunction) to [catalog.FunctionParameterInfos](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionParameterInfos).
 * Changed `Properties` field for [catalog.CreateFunction](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateFunction) to `string`.
 * Changed `ReturnParams` field for [catalog.CreateFunction](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateFunction) to [catalog.FunctionParameterInfos](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionParameterInfos).
 * Changed `StorageRoot` field for [catalog.CreateMetastore](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateMetastore) to no longer be required.
 * Changed `InputParams` field for [catalog.FunctionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionInfo) to [catalog.FunctionParameterInfos](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionParameterInfos).
 * Changed `Properties` field for [catalog.FunctionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionInfo) to `string`.
 * Changed `ReturnParams` field for [catalog.FunctionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionInfo) to [catalog.FunctionParameterInfos](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionParameterInfos).
 * Added `SkipValidation` field for [catalog.UpdateExternalLocation](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateExternalLocation).
 * Added [catalog.CreateFunctionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateFunctionRequest).
 * Added [catalog.DependencyList](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#DependencyList).
 * Added [catalog.FunctionParameterInfos](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionParameterInfos).
 * Added `Libraries` field for [compute.CreatePolicy](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/compute#CreatePolicy).
 * Added `Libraries` field for [compute.EditPolicy](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/compute#EditPolicy).
 * Added `InitScripts` field for [compute.EventDetails](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/compute#EventDetails).
 * Added `File` field for [compute.InitScriptInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/compute#InitScriptInfo).
 * Added `ZoneId` field for [compute.InstancePoolGcpAttributes](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/compute#InstancePoolGcpAttributes).
 * Added `Libraries` field for [compute.Policy](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/compute#Policy).
 * Added [compute.InitScriptEventDetails](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/compute#InitScriptEventDetails).
 * Added [compute.InitScriptExecutionDetails](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/compute#InitScriptExecutionDetails).
 * Added [compute.InitScriptExecutionDetailsStatus](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/compute#InitScriptExecutionDetailsStatus).
 * Added [compute.InitScriptInfoAndExecutionDetails](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/compute#InitScriptInfoAndExecutionDetails).
 * Added [compute.LocalFileInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/compute#LocalFileInfo).
 * Removed `UiState` field for [jobs.CreateJob](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/jobs#CreateJob).
 * Added `EditMode` field for [jobs.CreateJob](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/jobs#CreateJob).
 * Removed [jobs.CreateJobUiState](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/jobs#CreateJobUiState).
 * Added `IncludeResolvedValues` field for [jobs.GetRunRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/jobs#GetRunRequest).
 * Removed `UiState` field for [jobs.JobSettings](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/jobs#JobSettings).
 * Added `EditMode` field for [jobs.JobSettings](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/jobs#JobSettings).
 * Removed [jobs.JobSettingsUiState](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/jobs#JobSettingsUiState).
 * Added [jobs.CreateJobEditMode](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/jobs#CreateJobEditMode).
 * Added [jobs.JobSettingsEditMode](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/jobs#JobSettingsEditMode).
 * Removed [a.OAuthEnrollment](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/oauth2#OAuthEnrollmentAPI) account-level service.
 * Removed [oauth2.CreateOAuthEnrollment](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/oauth2#CreateOAuthEnrollment).
 * Removed [oauth2.OAuthEnrollmentStatus](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/oauth2#OAuthEnrollmentStatus).
 * Added `NetworkConnectivityConfigId` field for [provisioning.UpdateWorkspaceRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/provisioning#UpdateWorkspaceRequest).
 * Removed `Delete` method for [w.Apps](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#AppsAPI) workspace-level service.
 * Removed `Get` method for [w.Apps](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#AppsAPI) workspace-level service.
 * Added `DeleteApp` method for [w.Apps](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#AppsAPI) workspace-level service.
 * Added `GetApp` method for [w.Apps](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#AppsAPI) workspace-level service.
 * Added `GetAppDeploymentStatus` method for [w.Apps](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#AppsAPI) workspace-level service.
 * Added `GetApps` method for [w.Apps](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#AppsAPI) workspace-level service.
 * Added `GetEvents` method for [w.Apps](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#AppsAPI) workspace-level service.
 * Added `ContainerLogs` field for [serving.DeploymentStatus](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#DeploymentStatus).
 * Added `ExtraInfo` field for [serving.DeploymentStatus](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#DeploymentStatus).
 * Added [serving.AppEvents](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#AppEvents).
 * Added [serving.AppServiceStatus](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#AppServiceStatus).
 * Added [serving.DeleteAppResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#DeleteAppResponse).
 * Added [serving.GetAppDeploymentStatusRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#GetAppDeploymentStatusRequest).
 * Added [serving.GetAppResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#GetAppResponse).
 * Added [serving.GetEventsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#GetEventsRequest).
 * Added [serving.ListAppEventsResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#ListAppEventsResponse).
 * Added [serving.ListAppsResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#ListAppsResponse).
 * Added [a.NetworkConnectivity](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#NetworkConnectivityAPI) account-level service.
 * Added [settings.CreateNetworkConnectivityConfigRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#CreateNetworkConnectivityConfigRequest).
 * Added [settings.CreatePrivateEndpointRuleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#CreatePrivateEndpointRuleRequest).
 * Added [settings.CreatePrivateEndpointRuleRequestGroupId](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#CreatePrivateEndpointRuleRequestGroupId).
 * Added [settings.DeleteNetworkConnectivityConfigurationRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#DeleteNetworkConnectivityConfigurationRequest).
 * Added [settings.DeletePrivateEndpointRuleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#DeletePrivateEndpointRuleRequest).
 * Added [settings.GetNetworkConnectivityConfigurationRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#GetNetworkConnectivityConfigurationRequest).
 * Added [settings.GetPrivateEndpointRuleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#GetPrivateEndpointRuleRequest).
 * Added [settings.NccAzurePrivateEndpointRule](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#NccAzurePrivateEndpointRule).
 * Added [settings.NccAzurePrivateEndpointRuleConnectionState](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#NccAzurePrivateEndpointRuleConnectionState).
 * Added [settings.NccAzurePrivateEndpointRuleGroupId](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#NccAzurePrivateEndpointRuleGroupId).
 * Added [settings.NccAzureServiceEndpointRule](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#NccAzureServiceEndpointRule).
 * Added [settings.NccEgressConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#NccEgressConfig).
 * Added [settings.NccEgressDefaultRules](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#NccEgressDefaultRules).
 * Added [settings.NccEgressTargetRules](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#NccEgressTargetRules).
 * Added [settings.NetworkConnectivityConfiguration](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#NetworkConnectivityConfiguration).

OpenAPI SHA: e7b127cb07af8dd4d8c61c7cc045c8910cdbb02a, Date: 2023-11-08
Dependency updates:

 * Bump google.golang.org/api from 0.146.0 to 0.150.0 ([#683](#683)).
 * Bump golang.org/x/mod from 0.13.0 to 0.14.0 ([#681](#681)).
 * Bump google.golang.org/grpc from 1.57.0 to 1.57.1 in /examples/zerolog ([#674](#674)).
 * Bump google.golang.org/grpc from 1.58.2 to 1.58.3 in /examples/slog ([#672](#672)).
 * Bump google.golang.org/grpc from 1.58.2 to 1.58.3 in /examples/zerolog ([#684](#684)).
 * Bump golang.org/x/time from 0.3.0 to 0.4.0 ([#680](#680)).
@tanmay-db tanmay-db mentioned this pull request Nov 9, 2023
github-merge-queue bot pushed a commit that referenced this pull request Nov 10, 2023
* Make sure path parameters are first in order in RequiredFields
([#669](#669)).
* Added Field.IsRequestBodyField method for code generation
([#670](#670)).
* Added regressions question to the issue template
([#676](#676)).
* Added telemetry for CI/CD platform to useragent
([#665](#665)).
* Skiped GCP Integration Tests using Statement Execution API
([#678](#678)).
* Added more detailed error message on default credentials not found
error
([#679](#679)).
* Updated SDK to latest OpenAPI Spec
([#685](#685)).

API Changes:

* Changed `Create` method for
[w.Functions](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionsAPI)
and
[w.Metastores](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MetastoresAPI)
workspace-level service with new required argument order.
* Changed `InputParams` field for
[catalog.CreateFunction](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateFunction)
and
[catalog.FunctionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionInfo)
to
[catalog.FunctionParameterInfos](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionParameterInfos).
* Changed `Properties` field for
[catalog.CreateFunction](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateFunction)
and
[catalog.FunctionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionInfo)
to `string`.
* Changed `ReturnParams` field for
[catalog.CreateFunction](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateFunction)
and
[catalog.FunctionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionInfo)
to
[catalog.FunctionParameterInfos](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionParameterInfos)
* Changed `StorageRoot` field for
[catalog.CreateMetastore](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateMetastore)
to no longer be required.
* Added `SkipValidation` field for
[catalog.UpdateExternalLocation](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateExternalLocation).
* Added `Libraries` field for
[compute.CreatePolicy](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/compute#CreatePolicy),
[compute.EditPolicy](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/compute#EditPolicy)
and
[compute.Policy](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/compute#Policy).
* Added
[compute.InitScriptEventDetails](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/compute#InitScriptEventDetails).
* Added `InitScripts` field for
[compute.EventDetails](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/compute#EventDetails).
* Added `File` field for
[compute.InitScriptInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/compute#InitScriptInfo).
* Added `ZoneId` field for
[compute.InstancePoolGcpAttributes](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/compute#InstancePoolGcpAttributes).
* Added `IncludeResolvedValues` field for
[jobs.GetRunRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/jobs#GetRunRequest).
* Added `EditMode` field for
[jobs.CreateJob](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/jobs#CreateJob)
and
[jobs.JobSettings](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/jobs#JobSettings).
* Added `NetworkConnectivityConfigId` field for
[provisioning.UpdateWorkspaceRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/provisioning#UpdateWorkspaceRequest).
* Added `ContainerLogs` and `ExtraInfo` field for
[serving.DeploymentStatus](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#DeploymentStatus).
* Added
[catalog.CreateFunctionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateFunctionRequest),
[catalog.DependencyList](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#DependencyList)
and
[catalog.FunctionParameterInfos](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionParameterInfos).
* Added
[compute.InitScriptExecutionDetails](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/compute#InitScriptExecutionDetails),
[compute.InitScriptExecutionDetailsStatus](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/compute#InitScriptExecutionDetailsStatus),
[compute.InitScriptInfoAndExecutionDetails](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/compute#InitScriptInfoAndExecutionDetails),
[compute.LocalFileInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/compute#LocalFileInfo).
* Added
[jobs.CreateJobEditMode](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/jobs#CreateJobEditMode)
and
[jobs.JobSettingsEditMode](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/jobs#JobSettingsEditMode).
* Added `DeleteApp`, `GetApp`, `GetAppDeploymentStatus`, `GetApps` and
`GetEvents` method for
[w.Apps](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#AppsAPI)
workspace-level service.
* Added
[serving.AppEvents](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#AppEvents),
[serving.AppServiceStatus](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#AppServiceStatus),
[serving.DeleteAppResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#DeleteAppResponse),
[serving.GetAppDeploymentStatusRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#GetAppDeploymentStatusRequest),
[serving.GetAppResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#GetAppResponse),
[serving.GetEventsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#GetEventsRequest),
[serving.ListAppEventsResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#ListAppEventsResponse)
and
[serving.ListAppsResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#ListAppsResponse).
* Added
[a.NetworkConnectivity](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#NetworkConnectivityAPI)
account-level service.
* Added
[settings.CreateNetworkConnectivityConfigRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#CreateNetworkConnectivityConfigRequest),
[settings.CreatePrivateEndpointRuleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#CreatePrivateEndpointRuleRequest),
[settings.CreatePrivateEndpointRuleRequestGroupId](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#CreatePrivateEndpointRuleRequestGroupId),
[settings.DeleteNetworkConnectivityConfigurationRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#DeleteNetworkConnectivityConfigurationRequest),
[settings.DeletePrivateEndpointRuleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#DeletePrivateEndpointRuleRequest),
[settings.GetNetworkConnectivityConfigurationRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#GetNetworkConnectivityConfigurationRequest),
[settings.GetPrivateEndpointRuleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#GetPrivateEndpointRuleRequest),
[settings.NccAzurePrivateEndpointRule](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#NccAzurePrivateEndpointRule),
[settings.NccAzurePrivateEndpointRuleConnectionState](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#NccAzurePrivateEndpointRuleConnectionState),
[settings.NccAzurePrivateEndpointRuleGroupId](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#NccAzurePrivateEndpointRuleGroupId),
[settings.NccAzureServiceEndpointRule](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#NccAzureServiceEndpointRule),
[settings.NccEgressConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#NccEgressConfig),
[settings.NccEgressDefaultRules](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#NccEgressDefaultRules),
[settings.NccEgressTargetRules](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#NccEgressTargetRules),
[settings.NetworkConnectivityConfiguration](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#NetworkConnectivityConfiguration).
* Removed `Delete`, `Get`, method for
[w.Apps](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#AppsAPI)
workspace-level service.
* Removed
[jobs.JobSettingsUiState](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/jobs#JobSettingsUiState)
and
[jobs.CreateJobUiState](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/jobs#CreateJobUiState).
* Removed
[a.OAuthEnrollment](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/oauth2#OAuthEnrollmentAPI)
account-level service.
* Removed
[oauth2.CreateOAuthEnrollment](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/oauth2#CreateOAuthEnrollment)
and
[oauth2.OAuthEnrollmentStatus](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/oauth2#OAuthEnrollmentStatus).
* Removed `UiState` field for
[jobs.CreateJob](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/jobs#CreateJob)
and
[jobs.JobSettings](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/jobs#JobSettings).

OpenAPI SHA: e7b127cb07af8dd4d8c61c7cc045c8910cdbb02a, Date: 2023-11-08
Dependency updates:

* Bump google.golang.org/api from 0.146.0 to 0.150.0
([#683](#683)).
* Bump golang.org/x/mod from 0.13.0 to 0.14.0
([#681](#681)).
* Bump google.golang.org/grpc from 1.58.2 to 1.58.3 in /examples/slog
([#672](#672)).
* Bump google.golang.org/grpc to 1.58.3 in /examples/zerolog
([#684](#684)).
* Bump golang.org/x/time from 0.3.0 to 0.4.0
([#680](#680)).
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.

5 participants