增加置顶集群功能

This commit is contained in:
刘祥超
2022-03-17 11:13:04 +08:00
parent 87a3df3645
commit 024f30ec36
4 changed files with 433 additions and 292 deletions

View File

@@ -112,6 +112,9 @@ service NodeClusterService {
// 取得集群的配置概要信息
rpc findEnabledNodeClusterConfigInfo (FindEnabledNodeClusterConfigInfoRequest) returns (FindEnabledNodeClusterConfigInfoResponse);
// 设置集群是否置顶
rpc updateNodeClusterPinned(UpdateNodeClusterPinnedRequest) returns (RPCSuccess);
}
// 获取所有集群的信息
@@ -418,4 +421,10 @@ message FindEnabledNodeClusterConfigInfoResponse {
bool hasMessageReceivers = 4;
bool isTOAEnabled = 5;
bool hasMetricItems = 6;
}
// 设置集群是否置顶
message UpdateNodeClusterPinnedRequest {
int64 nodeClusterId = 1;
bool isPinned = 2;
}