Skip to content

Allow overriding lower level Lakeview settings#195

Merged
JCZuurmond merged 21 commits intofeat/dashboard-as-code-for-ucxfrom
feat/add-overrides
Jun 27, 2024
Merged

Allow overriding lower level Lakeview settings#195
JCZuurmond merged 21 commits intofeat/dashboard-as-code-for-ucxfrom
feat/add-overrides

Conversation

@JCZuurmond
Copy link
Copy Markdown
Contributor

Resolves #191

@JCZuurmond JCZuurmond requested a review from nfx June 25, 2024 12:44
@JCZuurmond JCZuurmond self-assigned this Jun 25, 2024
@github-actions
Copy link
Copy Markdown

✅ 34/34 passed, 7 flaky, 2 skipped, 26m12s total

Flaky tests:

  • 🤪 test_dashboard_deploys_dashboard_the_same_as_created_dashboard (7.287s)
  • 🤪 test_dashboard_deploys_dashboard_with_big_widget (37.41s)
  • 🤪 test_dashboards_deploys_dashboard_with_order_overwrite (38.86s)
  • 🤪 test_dashboards_deploys_dashboard_with_invalid_query (38.61s)
  • 🤪 test_dashboard_deploys_dashboard_with_overrides_counter_as_table (35.649s)
  • 🤪 test_dashboard_deploys_dashboard_with_table (51.007s)
  • 🤪 test_dashboards_deploys_dashboard_with_filters (16.99s)

Running from acceptance #242

ws.assert_not_called()


def test_dashboards_overwrites_with_overrides(tmp_path):
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a test how it will look like in dashboard.yml.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First need #198 to parse tile metadata from dashboard.yml

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See test_dashboards_overrides_show_empty_title_in_dashboard_yml

@JCZuurmond JCZuurmond merged commit 7945520 into feat/dashboard-as-code-for-ucx Jun 27, 2024
@JCZuurmond JCZuurmond deleted the feat/add-overrides branch June 27, 2024 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants