商业版增加UAM功能

This commit is contained in:
刘祥超
2022-03-29 21:24:36 +08:00
parent 01ca35f6a9
commit 04ab37ce23
4 changed files with 668 additions and 333 deletions

View File

@@ -144,6 +144,12 @@ service ServerService {
// 获取服务配置
rpc composeServerConfig(ComposeServerConfigRequest) returns (ComposeServerConfigResponse);
// 修改服务UAM设置
rpc updateServerUAM(UpdateServerUAMRequest) returns (RPCSuccess);
// 查找服务UAM设置
rpc findEnabledServerUAM(FindEnabledServerUAMRequest) returns (FindEnabledServerUAMResponse);
}
// 创建服务
@@ -568,4 +574,19 @@ message ComposeServerConfigRequest {
message ComposeServerConfigResponse {
bytes serverConfigJSON = 1;
}
// 修改服务UAM设置
message UpdateServerUAMRequest {
int64 serverId = 1;
bytes uamJSON = 2;
}
// 查找服务UAM设置
message FindEnabledServerUAMRequest {
int64 serverId = 1;
}
message FindEnabledServerUAMResponse {
bytes uamJSON = 1;
}