feature(web): 增加一个直接通过 zookeeper 查询运行时信息的页面

This commit is contained in:
2023-05-23 15:54:11 +08:00
parent 5e191a176d
commit f29cccf9dd
8 changed files with 336 additions and 6 deletions

View File

@@ -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);
}