databricks-cli/cmd
shreyas-goenka 6002f49c87
Move bundle schema update to an internal module (#1012)
## Changes

This PR:
1. Move code to load bundle JSON Schema descriptions from the OpenAPI
spec to an internal Go module
2. Remove command line flags from the `bundle schema` command. These
flags were meant for internal processes and at no point were meant for
customer use.
3. Regenerate `bundle_descriptions.json`
4. Add support for `bundle: "deprecated"`. The `environments` field is
tagged as deprecated in this PR and consequently will no longer be a
part of the bundle schema.

## Tests
Tested by regenerating the CLI against its current OpenAPI spec (as
defined in `__openapi_sha`). The `bundle_descriptions.json` in this PR
was generated from the code generator.

Manually checked that the autocompletion / descriptions from the new
bundle schema are correct.
2023-12-06 10:45:18 +00:00
..
account Add list of supported values for flags that represent an enum field (#1036) 2023-12-06 08:12:17 +00:00
api Update Go SDK to v0.19.0 (#729) 2023-09-05 09:43:57 +00:00
auth Ask for host when .databrickscfg doesn't exist (#1041) 2023-12-04 15:40:52 +00:00
bundle Move bundle schema update to an internal module (#1012) 2023-12-06 10:45:18 +00:00
configure Filter out system clusters for `--configure-cluster` (#1031) 2023-11-30 09:59:11 +00:00
fs Remove dependency on global state for remaining commands (#613) 2023-07-27 10:03:08 +00:00
labs Fix `panic: $HOME is not set` (#1027) 2023-11-29 19:08:27 +00:00
root Rewrite the friendly log handler (#1038) 2023-12-01 12:17:04 +00:00
sync Make `file_path` and `artifact_path` fields consistent with json tag (#987) 2023-11-15 13:37:26 +00:00
version Added description for version command (#737) 2023-09-06 08:41:47 +00:00
workspace Add list of supported values for flags that represent an enum field (#1036) 2023-12-06 08:12:17 +00:00
cmd.go Add `databricks labs` command group (#914) 2023-11-17 12:47:37 +00:00