feature(flink-query): 新增 Flink 相关查询接口
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
package com.lanyuanxiaoyao.service.forest.service;
|
||||
|
||||
import com.dtflys.forest.annotation.BaseRequest;
|
||||
import com.dtflys.forest.annotation.Get;
|
||||
import com.dtflys.forest.annotation.Query;
|
||||
import com.lanyuanxiaoyao.service.configuration.entity.flink.*;
|
||||
import org.eclipse.collections.api.map.ImmutableMap;
|
||||
|
||||
/**
|
||||
* Flink 接口
|
||||
*
|
||||
* @author lanyuanxiaoyao
|
||||
* @date 2023-05-05
|
||||
*/
|
||||
@BaseRequest(baseURL = "http://service-flink-query")
|
||||
public interface FlinkService {
|
||||
@Get("/overview")
|
||||
public FlinkOverview overview(@Query("url") String url);
|
||||
|
||||
@Get("/config")
|
||||
public FlinkConfig config(@Query("url") String url);
|
||||
|
||||
@Get("/job_manager_config")
|
||||
public ImmutableMap<String, String> jobManagerConfig(@Query("url") String url);
|
||||
|
||||
@Get("/vertex_overview")
|
||||
public FlinkVertexOverview vertexOverview(@Query("url") String url);
|
||||
|
||||
@Get("/vertex")
|
||||
public FlinkVertex vertex(@Query("url") String url, @Query("vertex_id") String vertexId);
|
||||
|
||||
@Get("/vertex_config")
|
||||
public FlinkVertexConfig vertexConfig(@Query("url") String url, @Query("vertex_id") String vertexId);
|
||||
|
||||
@Get("/checkpoint_overview")
|
||||
public FlinkCheckpointOverview checkpointOverview(@Query("url") String url, @Query("vertex_id") String vertexId);
|
||||
|
||||
@Get("/checkpoint")
|
||||
public FlinkCheckpoint checkpoint(@Query("url") String url, @Query("vertex_id") String vertexId, @Query("checkpoint_id") String checkpointId);
|
||||
|
||||
@Get("/checkpoint_config")
|
||||
public FlinkCheckpointConfig checkpointConfig(@Query("url") String url, @Query("vertex_id") String vertexId);
|
||||
|
||||
@Get("/task_manager_overview")
|
||||
public FlinkTaskManagerOverview taskManagerOverview(@Query("url") String url);
|
||||
|
||||
@Get("/task_manager")
|
||||
public FlinkTaskManager taskManager(@Query("url") String url, @Query("task_manager_id") String taskManagerId);
|
||||
}
|
||||
Reference in New Issue
Block a user