feat(web): overview增加同步任务状态展示

This commit is contained in:
2024-01-11 19:14:13 +08:00
parent 59dd3b29f4
commit 820c8438b1
5 changed files with 213 additions and 5 deletions

View File

@@ -63,6 +63,12 @@ public class InfoController {
return infoService.jobAndMetas();
}
@GetMapping("/all_flink_job_id_and_alias")
public ImmutableList<JobIdAndAlias> allFlinkJobIdAndAlias() {
return infoService.allTableInfoSearchCache()
.collect(cache -> new JobIdAndAlias(cache.getFlinkJobId(), cache.getAlias()));
}
@GetMapping("/all_flink_job_id")
public ImmutableList<Long> allFlinkJobId(
@RequestParam(value = "key", required = false) String key,