feature(web): 增加 Overview 页面
方便总览全局情况,跨页面查看信息多有不便
This commit is contained in:
@@ -10,9 +10,10 @@ import com.lanyuanxiaoyao.service.configuration.entity.PageResponse;
|
||||
import com.lanyuanxiaoyao.service.configuration.entity.info.JobAndMetas;
|
||||
import com.lanyuanxiaoyao.service.configuration.entity.info.JobIdAndAlias;
|
||||
import com.lanyuanxiaoyao.service.configuration.entity.info.VersionUpdated;
|
||||
import java.util.Map;
|
||||
import org.eclipse.collections.api.list.ImmutableList;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* Info 接口
|
||||
*
|
||||
@@ -21,6 +22,30 @@ import org.eclipse.collections.api.list.ImmutableList;
|
||||
*/
|
||||
@BaseRequest(baseURL = "http://service-info-query/info")
|
||||
public interface InfoService {
|
||||
@Get("/table_total")
|
||||
Long tableTotal();
|
||||
|
||||
@Get("/hudi_total")
|
||||
Long hudiTotal();
|
||||
|
||||
@Get("/focus_count")
|
||||
Long focusCount();
|
||||
|
||||
@Get("/normal_count")
|
||||
Long normalCount();
|
||||
|
||||
@Get("/un_scheduled_normal_table_count")
|
||||
Long unScheduledNormalTableCount(@Query("version") String version);
|
||||
|
||||
@Get("/un_scheduled_focus_table_count")
|
||||
Long unScheduledFocusTableCount(@Query("version") String version);
|
||||
|
||||
@Get("/un_receive_version_normal_table_count")
|
||||
Long unReceiveVersionNormalTableCount(@Query("version") String version);
|
||||
|
||||
@Get("/un_receive_version_focus_table_count")
|
||||
Long unReceiveVersionFocusTableCount(@Query("version") String version);
|
||||
|
||||
@Get("/job_id_alias")
|
||||
PageResponse<JobIdAndAlias> jobIdAndAlias(@Query Map<String, Object> queryMap);
|
||||
|
||||
|
||||
@@ -20,4 +20,7 @@ public interface QueueService {
|
||||
|
||||
@Get("/all/{name}")
|
||||
ImmutableList<QueueItem<ScheduleJob>> all(@Var("name") String name);
|
||||
|
||||
@Get("/size/{name}")
|
||||
Integer size(@Var("name") String name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user