feat(web): overview增加同步任务状态展示
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user