databricks-cli/cmd/workspace
hectorcast-db 36f30c8b47
Update Go SDK to 0.23.0 and use custom marshaller (#772)
## Changes
Update Go SDK to 0.23.0 and use custom marshaller.
## Tests
* Run unit tests

* Run nightly

* Manual test:
```
./cli jobs create --json @myjob.json
```
with 
```
{
    "name": "my-job-marshal-test-go",
    "tasks": [{
        "task_key": "testgomarshaltask",
        "new_cluster": {
            "num_workers": 0,
            "spark_version": "10.4.x-scala2.12",
            "node_type_id": "Standard_DS3_v2"
        },
        "libraries": [
            {
                "jar": "dbfs:/max/jars/exampleJarTask.jar"
            }
        ],
        "spark_jar_task": {
            "main_class_name":  "com.databricks.quickstart.exampleTask"
        }
    }]
}
```
Main branch:
```
Error: Cluster validation error: Missing required field: settings.cluster_spec.new_cluster.size
```
This branch:
```
{
  "job_id":<jobid>
}
```

---------

Co-authored-by: Miles Yucht <miles@databricks.com>
2023-10-16 06:56:06 +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 Updated Go SDK to 0.22.0 (#831) 2023-10-03 11:46:16 +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 Bump OpenAPI specification & Go SDK Version (#624) 2023-08-01 12:33:19 +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 Update Go SDK to v0.19.0 (#729) 2023-09-05 09:43:57 +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 Update Go SDK to 0.23.0 and use custom marshaller (#772) 2023-10-16 06:56:06 +00:00
policy-families Remove dependency on global state in generated commands (#595) 2023-07-25 20:19:07 +02:00
providers Bump OpenAPI specification & Go SDK Version (#624) 2023-08-01 12:33:19 +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 Bump OpenAPI specification & Go SDK Version (#624) 2023-08-01 12:33:19 +00:00
registered-models Update Go SDK to v0.19.0 (#729) 2023-09-05 09:43:57 +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 Update Go SDK to v0.19.0 (#729) 2023-09-05 09:43:57 +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 Bump OpenAPI specification & Go SDK Version (#624) 2023-08-01 12:33:19 +00:00
storage-credentials Update Go SDK to 0.23.0 and use custom marshaller (#772) 2023-10-16 06:56:06 +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 Update Go SDK to v0.19.0 (#729) 2023-09-05 09:43:57 +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