feature(web): 增加一个直接通过 zookeeper 查询运行时信息的页面
This commit is contained in:
@@ -3,6 +3,8 @@ 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.zookeeper.ZookeeperNode;
|
||||
import org.eclipse.collections.api.list.ImmutableList;
|
||||
|
||||
/**
|
||||
* Zookeeper 查询
|
||||
@@ -20,4 +22,7 @@ public interface ZookeeperService {
|
||||
|
||||
@Get("/get_data")
|
||||
String getData(@Query("path") String path);
|
||||
|
||||
@Get("/get_children")
|
||||
ImmutableList<ZookeeperNode> getChildren(@Query("path") String path);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user