|
2 | 2 | from databricks.labs.ucx.framework.tasks import Workflow, job_task |
3 | 3 |
|
4 | 4 |
|
5 | | -class ExperimentalWorkflowLinter(Workflow): |
| 5 | +class WorkflowLinter(Workflow): |
6 | 6 | def __init__(self): |
7 | | - super().__init__('experimental-workflow-linter') |
| 7 | + super().__init__('workflow-linter') |
8 | 8 |
|
9 | | - @job_task(job_cluster="table_migration") |
10 | | - def lint_all_workflows(self, ctx: RuntimeContext): |
11 | | - """[EXPERIMENTAL] Analyses all jobs for source code compatibility problems. This is an experimental feature, |
12 | | - that is not yet fully supported.""" |
| 9 | + @job_task |
| 10 | + def assess_workflows(self, ctx: RuntimeContext): |
| 11 | + """Scans all jobs for migration issues in notebooks jobs. |
| 12 | +
|
| 13 | + Also, stores direct filesystem accesses for display in the migration dashboard. |
| 14 | + """ |
13 | 15 | ctx.workflow_linter.refresh_report(ctx.sql_backend, ctx.inventory_database) |
14 | 16 |
|
15 | | - @job_task(job_cluster="table_migration") |
16 | | - def lint_all_queries(self, ctx: RuntimeContext): |
17 | | - """[EXPERIMENTAL] Analyses all jobs for source code compatibility problems. This is an experimental feature, |
18 | | - that is not yet fully supported.""" |
| 17 | + @job_task |
| 18 | + def assess_dashboards(self, ctx: RuntimeContext): |
| 19 | + """Scans all dashboards for migration issues in SQL code of embedded widgets. |
| 20 | +
|
| 21 | + Also, stores direct filesystem accesses for display in the migration dashboard. |
| 22 | + """ |
19 | 23 | ctx.query_linter.refresh_report(ctx.sql_backend, ctx.inventory_database) |
0 commit comments