mirror of https://github.com/databricks/cli.git
## Changes 1. Changed `FindResourceByConfigKey` to return schema resources 2. Implemented the `Exists` method for schema resources ## Why This PR adds support for schema resources in deployment operations, enabling users to: - Bind schemas using `databricks bundle deployment bind <myschema_key> <schema_full_name>` - Unbind schemas using `databricks bundle deployment unbind <myschema_key>` Where: - `myschema_key` is a resource key defined in the bundle's .yml file - `schema_full_name` references an existing schema in the Databricks workspace These capabilities allow for more flexible resource management of schemas within bundles. ## Tests Added a new integration test that tests bind and unbind methods together with bundle deployment and destruction. |
||
---|---|---|
.. | ||
bundles | ||
testdata | ||
apps_test.go | ||
artifacts_test.go | ||
basic_test.go | ||
bind_resource_test.go | ||
clusters_test.go | ||
dashboards_test.go | ||
deploy_test.go | ||
deploy_then_remove_resources_test.go | ||
deploy_to_shared_test.go | ||
deployment_state_test.go | ||
destroy_test.go | ||
empty_bundle_test.go | ||
environments_test.go | ||
generate_job_test.go | ||
generate_pipeline_test.go | ||
helpers_test.go | ||
init_default_python_test.go | ||
init_test.go | ||
job_metadata_test.go | ||
local_state_staleness_test.go | ||
python_wheel_test.go | ||
spark_jar_test.go | ||
validate_test.go |