databricks-cli/cmd/workspace
Andrew Nester 4ad68eb314
Fixed requiring positional arguments for API URL parameters (#878)
## Changes
Some commands such as update commands have an argument in their url, for
example in pipeline we have `PUT pipelines/<id>` to update the pipeline.

Such parameters must be required and respected even if `--json` flag
with the payload passed.

Note: this depends on these PRs in Go SDK:
 https://github.com/databricks/databricks-sdk-go/pull/660
https://github.com/databricks/databricks-sdk-go/pull/661

## Tests
Manually running `databricks pipelines update`
2023-10-19 14:19:17 +00:00
..
alerts Release v0.202.0 (#619) 2023-07-27 13:23:55 +00:00
artifact-allowlists Updated Go SDK to 0.22.0 (#831) 2023-10-03 11:46:16 +00:00
catalogs Fixed requiring positional arguments for API URL parameters (#878) 2023-10-19 14:19:17 +00:00
clean-rooms Updated Go SDK to 0.22.0 (#831) 2023-10-03 11:46:16 +00:00
cluster-policies Update Go SDK to v0.19.0 (#729) 2023-09-05 09:43:57 +00:00
clusters Update Go SDK to 0.23.0 and use custom marshaller (#772) 2023-10-16 06:56:06 +00:00
connections Update Go SDK to 0.23.0 and use custom marshaller (#772) 2023-10-16 06:56:06 +00:00
credentials-manager Updated Go SDK to 0.22.0 (#831) 2023-10-03 11:46:16 +00:00
current-user Remove dependency on global state in generated commands (#595) 2023-07-25 20:19:07 +02:00
dashboard-widgets Update Go SDK to v0.19.0 (#729) 2023-09-05 09:43:57 +00:00
dashboards Update Go SDK to v0.19.0 (#729) 2023-09-05 09:43:57 +00:00
data-sources Remove dependency on global state in generated commands (#595) 2023-07-25 20:19:07 +02:00
experiments Update Go SDK to v0.19.0 (#729) 2023-09-05 09:43:57 +00:00
external-locations Fixed requiring positional arguments for API URL parameters (#878) 2023-10-19 14:19:17 +00:00
functions Release v0.202.0 (#619) 2023-07-27 13:23:55 +00:00
git-credentials Release v0.202.0 (#619) 2023-07-27 13:23:55 +00:00
global-init-scripts Release v0.202.0 (#619) 2023-07-27 13:23:55 +00:00
grants Remove dependency on global state in generated commands (#595) 2023-07-25 20:19:07 +02:00
groups Fixed requiring positional arguments for API URL parameters (#878) 2023-10-19 14:19:17 +00:00
instance-pools Update Go SDK to 0.23.0 and use custom marshaller (#772) 2023-10-16 06:56:06 +00:00
instance-profiles Remove dependency on global state in generated commands (#595) 2023-07-25 20:19:07 +02:00
ip-access-lists Release v0.202.0 (#619) 2023-07-27 13:23:55 +00:00
jobs Update Go SDK to 0.23.0 and use custom marshaller (#772) 2023-10-16 06:56:06 +00:00
libraries Update Go SDK to v0.19.0 (#729) 2023-09-05 09:43:57 +00:00
metastores Release v0.202.0 (#619) 2023-07-27 13:23:55 +00:00
model-registry Updated Go SDK to 0.22.0 (#831) 2023-10-03 11:46:16 +00:00
model-versions Update Go SDK to v0.19.0 (#729) 2023-09-05 09:43:57 +00:00
permissions Update Go SDK to v0.19.0 (#729) 2023-09-05 09:43:57 +00:00
pipelines Fixed requiring positional arguments for API URL parameters (#878) 2023-10-19 14:19:17 +00:00
policy-families Remove dependency on global state in generated commands (#595) 2023-07-25 20:19:07 +02:00
providers Fixed requiring positional arguments for API URL parameters (#878) 2023-10-19 14:19:17 +00:00
queries Release v0.202.0 (#619) 2023-07-27 13:23:55 +00:00
query-history Remove dependency on global state in generated commands (#595) 2023-07-25 20:19:07 +02:00
query-visualizations Update Go SDK to v0.19.0 (#729) 2023-09-05 09:43:57 +00:00
recipient-activation Bump OpenAPI specification & Go SDK Version (#624) 2023-08-01 12:33:19 +00:00
recipients Fixed requiring positional arguments for API URL parameters (#878) 2023-10-19 14:19:17 +00:00
registered-models Fixed requiring positional arguments for API URL parameters (#878) 2023-10-19 14:19:17 +00:00
repos Update Go SDK to v0.19.0 (#729) 2023-09-05 09:43:57 +00:00
schemas Release v0.202.0 (#619) 2023-07-27 13:23:55 +00:00
secrets Update Go SDK to v0.19.0 (#729) 2023-09-05 09:43:57 +00:00
service-principals Fixed requiring positional arguments for API URL parameters (#878) 2023-10-19 14:19:17 +00:00
serving-endpoints Updated Go SDK to 0.22.0 (#831) 2023-10-03 11:46:16 +00:00
settings Updated Go SDK to 0.22.0 (#831) 2023-10-03 11:46:16 +00:00
shares Fixed requiring positional arguments for API URL parameters (#878) 2023-10-19 14:19:17 +00:00
storage-credentials Fixed requiring positional arguments for API URL parameters (#878) 2023-10-19 14:19:17 +00:00
system-schemas Updated Go SDK to 0.22.0 (#831) 2023-10-03 11:46:16 +00:00
table-constraints Remove dependency on global state in generated commands (#595) 2023-07-25 20:19:07 +02:00
tables Release v0.202.0 (#619) 2023-07-27 13:23:55 +00:00
token-management Update Go SDK to v0.19.0 (#729) 2023-09-05 09:43:57 +00:00
tokens Release v0.202.0 (#619) 2023-07-27 13:23:55 +00:00
users Fixed requiring positional arguments for API URL parameters (#878) 2023-10-19 14:19:17 +00:00
volumes Update Go SDK to v0.19.0 (#729) 2023-09-05 09:43:57 +00:00
warehouses Update Go SDK to v0.19.0 (#729) 2023-09-05 09:43:57 +00:00
workspace Update Go SDK to 0.23.0 and use custom marshaller (#772) 2023-10-16 06:56:06 +00:00
workspace-bindings Update Go SDK to 0.23.0 and use custom marshaller (#772) 2023-10-16 06:56:06 +00:00
workspace-conf Remove dependency on global state in generated commands (#595) 2023-07-25 20:19:07 +02:00
cmd.go Updated Go SDK to 0.22.0 (#831) 2023-10-03 11:46:16 +00:00
groups.go Remove dependency on global state in generated commands (#595) 2023-07-25 20:19:07 +02:00