Skip to content
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 @@
4ad0f0856225e3ebc6bb11392d09d63a19e6d140
a7c320a6b531263c8fa45619c1565b63849750e5
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ cmd/workspace/current-user/current-user.go linguist-generated=true
cmd/workspace/dashboard-email-subscriptions/dashboard-email-subscriptions.go linguist-generated=true
cmd/workspace/dashboard-widgets/dashboard-widgets.go linguist-generated=true
cmd/workspace/dashboards/dashboards.go linguist-generated=true
cmd/workspace/data-classification/data-classification.go linguist-generated=true
cmd/workspace/data-quality/data-quality.go linguist-generated=true
cmd/workspace/data-sources/data-sources.go linguist-generated=true
cmd/workspace/database/database.go linguist-generated=true
Expand Down Expand Up @@ -107,6 +108,7 @@ cmd/workspace/instance-pools/instance-pools.go linguist-generated=true
cmd/workspace/instance-profiles/instance-profiles.go linguist-generated=true
cmd/workspace/ip-access-lists/ip-access-lists.go linguist-generated=true
cmd/workspace/jobs/jobs.go linguist-generated=true
cmd/workspace/knowledge-assistants/knowledge-assistants.go linguist-generated=true
cmd/workspace/lakeview-embedded/lakeview-embedded.go linguist-generated=true
cmd/workspace/lakeview/lakeview.go linguist-generated=true
cmd/workspace/libraries/libraries.go linguist-generated=true
Expand Down
2 changes: 1 addition & 1 deletion NEXT_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
* Modify grants to use SDK types ([#4666](https://github.com/databricks/cli/pull/4666))

### Dependency updates
- Bump databricks-sdk-go from v0.112.0 to v0.117.0.
* Bump databricks-sdk-go from v0.112.0 to v0.119.0 ([#4631](https://github.com/databricks/cli/pull/4631), [#4695](https://github.com/databricks/cli/pull/4695))

### API Changes
6 changes: 6 additions & 0 deletions acceptance/bundle/refschema/out.fields.txt
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,12 @@ resources.apps.*.service_principal_id int64 ALL
resources.apps.*.service_principal_name string ALL
resources.apps.*.source_code_path string INPUT
resources.apps.*.space string ALL
resources.apps.*.telemetry_export_destinations []apps.TelemetryExportDestination ALL
resources.apps.*.telemetry_export_destinations[*] apps.TelemetryExportDestination ALL
resources.apps.*.telemetry_export_destinations[*].unity_catalog *apps.UnityCatalog ALL
resources.apps.*.telemetry_export_destinations[*].unity_catalog.logs_table string ALL
resources.apps.*.telemetry_export_destinations[*].unity_catalog.metrics_table string ALL
resources.apps.*.telemetry_export_destinations[*].unity_catalog.traces_table string ALL
resources.apps.*.update_time string ALL
resources.apps.*.updater string ALL
resources.apps.*.url string ALL
Expand Down
3 changes: 3 additions & 0 deletions acceptance/help/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ Database Instances
database Database Instances provide access to a database via REST API or direct SQL.
psql Connect to a Lakebase Postgres database

Agent Bricks
knowledge-assistants Manage Knowledge Assistants and related resources.

Tags
tag-policies The Tag Policy API allows you to manage policies for governed tags in Databricks.
workspace-entity-tag-assignments Manage tag assignments on workspace-scoped objects.
Expand Down
24 changes: 21 additions & 3 deletions bundle/internal/schema/annotations_openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ github.com/databricks/cli/bundle/config/resources.App:
Name of the space this app belongs to.
"x-databricks-preview": |-
PRIVATE
"telemetry_export_destinations": {}
"update_time":
"description": |-
The update time of the app. Formatted timestamp in ISO 6801.
Expand Down Expand Up @@ -1064,9 +1065,6 @@ github.com/databricks/cli/bundle/config/resources.SqlWarehouse:
Warehouse type: `PRO` or `CLASSIC`. If you want to use serverless compute,
you must set to `PRO` and also set the field `enable_serverless_compute` to `true`.
github.com/databricks/cli/bundle/config/resources.SyncedDatabaseTable:
"_":
"description": |-
Next field marker: 18
"data_synchronization_status":
"description": |-
Synced Table data synchronization status
Expand Down Expand Up @@ -1518,6 +1516,26 @@ github.com/databricks/databricks-sdk-go/service/apps.GitSource:
"tag":
"description": |-
Git tag to checkout.
github.com/databricks/databricks-sdk-go/service/apps.TelemetryExportDestination:
"_":
"description": |-
A single telemetry export destination with its configuration and status.
"unity_catalog":
"description": |-
Unity Catalog Destinations for OTEL telemetry export.
github.com/databricks/databricks-sdk-go/service/apps.UnityCatalog:
"_":
"description": |-
Unity Catalog Destinations for OTEL telemetry export.
"logs_table":
"description": |-
Unity Catalog table for OTEL logs.
"metrics_table":
"description": |-
Unity Catalog table for OTEL metrics.
"traces_table":
"description": |-
Unity Catalog table for OTEL traces (spans).
github.com/databricks/databricks-sdk-go/service/catalog.AwsSqsQueue:
"managed_resource_id":
"description": |-
Expand Down
3 changes: 3 additions & 0 deletions bundle/internal/schema/annotations_openapi_overrides.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ github.com/databricks/cli/bundle/config/resources.App:
"source_code_path":
"description": |-
PLACEHOLDER
"telemetry_export_destinations":
"description": |-
PLACEHOLDER
"usage_policy_id":
"description": |-
PLACEHOLDER
Expand Down
31 changes: 16 additions & 15 deletions bundle/internal/validation/generated/required_fields.go

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

69 changes: 68 additions & 1 deletion bundle/schema/jsonschema.json

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

45 changes: 44 additions & 1 deletion bundle/schema/jsonschema_for_docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@
"doNotSuggest": true,
"x-since-version": "v0.290.0"
},
"telemetry_export_destinations": {
"$ref": "#/$defs/slice/github.com/databricks/databricks-sdk-go/service/apps.TelemetryExportDestination"
},
"usage_policy_id": {
"$ref": "#/$defs/string",
"x-since-version": "v0.283.0"
Expand Down Expand Up @@ -2057,7 +2060,6 @@
},
"resources.SyncedDatabaseTable": {
"type": "object",
"description": "Next field marker: 18",
"properties": {
"database_instance_name": {
"$ref": "#/$defs/string",
Expand Down Expand Up @@ -3392,6 +3394,41 @@
},
"additionalProperties": false
},
"apps.TelemetryExportDestination": {
"type": "object",
"description": "A single telemetry export destination with its configuration and status.",
"properties": {
"unity_catalog": {
"description": "Unity Catalog Destinations for OTEL telemetry export.",
"$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/apps.UnityCatalog"
}
},
"additionalProperties": false
},
"apps.UnityCatalog": {
"type": "object",
"description": "Unity Catalog Destinations for OTEL telemetry export.",
"properties": {
"logs_table": {
"description": "Unity Catalog table for OTEL logs.",
"$ref": "#/$defs/string"
},
"metrics_table": {
"description": "Unity Catalog table for OTEL metrics.",
"$ref": "#/$defs/string"
},
"traces_table": {
"description": "Unity Catalog table for OTEL traces (spans).",
"$ref": "#/$defs/string"
}
},
"additionalProperties": false,
"required": [
"logs_table",
"metrics_table",
"traces_table"
]
},
"catalog.AwsSqsQueue": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -9156,6 +9193,12 @@
"$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/apps.EnvVar"
}
},
"apps.TelemetryExportDestination": {
"type": "array",
"items": {
"$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/apps.TelemetryExportDestination"
}
},
"catalog.MonitorMetric": {
"type": "array",
"items": {
Expand Down
32 changes: 17 additions & 15 deletions cmd/account/log-delivery/log-delivery.go

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

Loading