databricks-cli/bundle/config/validate
shreyas-goenka a52b188e99
Use dynamic walking to validate unique resource keys (#1614)
## Changes
This PR:
1. Uses dynamic walking (via the `dyn.MapByPattern` func) to validate no
two resources have the same resource key. The allows us to remove this
validation at merge time.
2. Modifies `dyn.Mapping` to always return a sorted slice of pairs. This
makes traversal functions like `dyn.Walk` or `dyn.MapByPattern`
deterministic.

## Tests
Unit tests. Also manually.
2024-07-29 13:04:02 +00:00
..
files_to_sync.go Support multiple paths for diagnostics (#1616) 2024-07-25 15:16:27 +00:00
job_cluster_key_defined.go Support multiple paths for diagnostics (#1616) 2024-07-25 15:16:27 +00:00
job_cluster_key_defined_test.go Added validate mutator to surface additional bundle warnings (#1352) 2024-04-18 15:13:16 +00:00
unique_resource_keys.go Use dynamic walking to validate unique resource keys (#1614) 2024-07-29 13:04:02 +00:00
validate.go Support multiple locations for diagnostics (#1610) 2024-07-23 17:20:11 +00:00
validate_sync_patterns.go Support multiple paths for diagnostics (#1616) 2024-07-25 15:16:27 +00:00