Skip to content

Commit eabf9d9

Browse files
fix: add GenieSpacePermissionLevel enum to schema
The CI checks started failing for the PR 4191. To resolve those issues and cascading failures due to the root causes, this commit adds enum values for `GenieSpacePermissionLevel` in the annotations file, following the existing DashboardPermissionLevel pattern (as I relied on dashboard implementation to create the GenieSpace implementation) This fixes two CI failures: - validate-python-codegen: schema now has enum for Python codegen to parse - validate-generated-is-up-to-date: regenerated required_fields.go
1 parent 272637f commit eabf9d9

3 files changed

Lines changed: 28 additions & 1 deletion

File tree

bundle/internal/schema/annotations_openapi_overrides.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,17 @@ github.com/databricks/cli/bundle/config/resources.DashboardPermissionLevel:
218218
CAN_EDIT
219219
- |-
220220
CAN_MANAGE
221+
github.com/databricks/cli/bundle/config/resources.GenieSpacePermissionLevel:
222+
"_":
223+
"enum":
224+
- |-
225+
CAN_EDIT
226+
- |-
227+
CAN_MANAGE
228+
- |-
229+
CAN_RUN
230+
- |-
231+
CAN_VIEW
221232
github.com/databricks/cli/bundle/config/resources.DatabaseCatalog:
222233
"create_database_if_not_exists":
223234
"description": |-

bundle/internal/validation/generated/required_fields.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bundle/schema/jsonschema.json

Lines changed: 15 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)