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 numberDiff line numberDiff line change
@@ -1 +1 @@
02596aaa1588f0a22727f219c734c2cb867ef717
fc0241ef3fa690fe0d1bd2238dbdb4c4e58a12ab
785 changes: 491 additions & 294 deletions .codegen/cli.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .nextchanges/dependency-updates/bump-sdk-0.171.0.md
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
Bump `github.com/databricks/databricks-sdk-go` from v0.170.0 to v0.171.0 ([#6320](https://github.com/databricks/cli/pull/6320)).
93 changes: 93 additions & 0 deletions acceptance/bundle/refschema/out.fields.txt

Large diffs are not rendered by default.

Original file line numberDiff line numberDiff line change
Expand Up@@ -90,7 +90,7 @@ Resources: 0 created, 1 changed, 0 deleted, 0 unchanged
"description": "MY_APP_DESCRIPTION_2",
"name": "[UNIQUE_NAME]"
},
"update_mask": "description,budget_policy_id,usage_policy_id,resources,user_api_scopes,compute_size,compute_min_instances,compute_max_instances,git_repository,telemetry_export_destinations"
"update_mask": "description,budget_policy_id,usage_policy_id,resources,user_api_scopes,forward_user_access_token,compute_size,compute_min_instances,compute_max_instances,git_repository,telemetry_export_destinations"
}
}

Expand All@@ -117,7 +117,7 @@ Resources: 0 created, 1 changed, 0 deleted, 0 unchanged
"description": "MY_APP_DESCRIPTION_3",
"name": "[UNIQUE_NAME]"
},
"update_mask": "description,budget_policy_id,usage_policy_id,resources,user_api_scopes,compute_size,compute_min_instances,compute_max_instances,git_repository,telemetry_export_destinations"
"update_mask": "description,budget_policy_id,usage_policy_id,resources,user_api_scopes,forward_user_access_token,compute_size,compute_min_instances,compute_max_instances,git_repository,telemetry_export_destinations"
}
}
{
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -17,7 +17,7 @@
"description": "MY_APP_DESCRIPTION",
"name": "myappname"
},
"update_mask": "description,budget_policy_id,usage_policy_id,resources,user_api_scopes,compute_size,compute_min_instances,compute_max_instances,git_repository,telemetry_export_destinations"
"update_mask": "description,budget_policy_id,usage_policy_id,resources,user_api_scopes,forward_user_access_token,compute_size,compute_min_instances,compute_max_instances,git_repository,telemetry_export_destinations"
}
}
{
Expand Down
1 change: 1 addition & 0 deletions acceptance/cmd/workspace/apps/output.txt
Original file line numberDiff line numberDiff line change
Expand Up@@ -94,6 +94,7 @@ Flags:
--compute-min-instances int Minimum number of app instances.
--compute-size ComputeSize Supported values: [LARGE, MEDIUM, XLARGE]
--description string The description of the app.
--forward-user-access-token Forward the user's access token to the app.
-h, --help help for update
--json JSON either inline JSON string or @path/to/file.json with request body (default JSON (0 bytes))
--space string Name of the space this app belongs to.
Expand Down
2 changes: 1 addition & 1 deletion acceptance/help/output.txt
Original file line numberDiff line numberDiff line change
Expand Up@@ -145,7 +145,7 @@ Quality Monitor
quality-monitor-v2 *Beta* Deprecated: Please use the Data Quality Monitoring API instead (REST: /api/data-quality/v1/monitors).

Data Classification
data-classification *Beta* Manage data classification for Unity Catalog catalogs.
data-classification *Public Preview* Manage data classification for Unity Catalog catalogs.

Data Quality Monitoring
data-quality *Public Preview* Manage the data quality of Unity Catalog objects (currently support schema and table).
Expand Down
1 change: 1 addition & 0 deletions bundle/direct/dresources/app.go
Original file line numberDiff line numberDiff line change
Expand Up@@ -163,6 +163,7 @@ var UpdateMaskFields = []string{
"usage_policy_id",
"resources",
"user_api_scopes",
"forward_user_access_token",
"compute_size",
"compute_min_instances",
"compute_max_instances",
Expand Down
3 changes: 3 additions & 0 deletions bundle/direct/dresources/job.go
Original file line numberDiff line numberDiff line change
Expand Up@@ -24,6 +24,7 @@ type JobRemote struct {
EffectiveUsagePolicyId string `json:"effective_usage_policy_id,omitempty"`
JobId int64 `json:"job_id,omitempty"`
RunAsUserName string `json:"run_as_user_name,omitempty"`
TriggerDetails []jobs.TriggerDetails `json:"trigger_details,omitempty"`
TriggerState *jobs.TriggerStateProto `json:"trigger_state,omitempty"`
}

Expand DownExpand Up@@ -145,6 +146,7 @@ func makeJobRemote(job *jobs.Job) *JobRemote {
EffectiveUsagePolicyId: job.EffectiveUsagePolicyId,
JobId: job.JobId,
RunAsUserName: job.RunAsUserName,
TriggerDetails: job.TriggerDetails,
TriggerState: job.TriggerState,
}
}
Expand DownExpand Up@@ -206,6 +208,7 @@ func makeCreateJob(config jobs.JobSettings) (jobs.CreateJob, error) {
Tasks: config.Tasks,
TimeoutSeconds: config.TimeoutSeconds,
Trigger: config.Trigger,
Triggers: config.Triggers,
UsagePolicyId: config.UsagePolicyId,
WebhookNotifications: config.WebhookNotifications,
ForceSendFields: utils.FilterFields[jobs.CreateJob](config.ForceSendFields, "AccessControlList"),
Expand Down
3 changes: 3 additions & 0 deletions bundle/direct/dresources/resources.generated.yml

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

3 changes: 0 additions & 3 deletions bundle/direct/dresources/resources.yml
Original file line numberDiff line numberDiff line change
Expand Up@@ -320,9 +320,6 @@ resources:
# Accepted on write but not returned by GET.
- field: config.served_entities[*].burst_scaling_enabled
reason: input_only
# table_names creates a profile and is not returned; inference_table_config round-trips.
- field: telemetry_config.table_names
reason: input_only
# Write-only secrets: the backend stores them and returns the reference field, not the plaintext.
- field: config.served_entities[*].external_model.ai21labs_config.ai21labs_api_key_plaintext
reason: input_only
Expand Down
10 changes: 8 additions & 2 deletions bundle/internal/validation/generated/enum_fields.go

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

6 changes: 6 additions & 0 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.

Loading
Loading