mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-29 16:40:24 +08:00
支持更多的分组全局设置功能
This commit is contained in:
@@ -67,6 +67,7 @@ message CreateHTTPFirewallPolicyRequest {
|
||||
string description = 3;
|
||||
repeated string httpFirewallGroupCodes = 4;
|
||||
int64 serverId = 5;
|
||||
int64 serverGroupId = 6;
|
||||
}
|
||||
|
||||
message CreateHTTPFirewallPolicyResponse {
|
||||
@@ -79,6 +80,7 @@ message CreateEmptyHTTPFirewallPolicyRequest {
|
||||
string name = 2;
|
||||
string description = 3;
|
||||
int64 serverId = 4;
|
||||
int64 serverGroupId = 5;
|
||||
}
|
||||
|
||||
message CreateEmptyHTTPFirewallPolicyResponse {
|
||||
|
||||
@@ -46,6 +46,9 @@ service ServerGroupService {
|
||||
|
||||
// 取得分组的配置概要信息
|
||||
rpc findEnabledServerGroupConfigInfo (FindEnabledServerGroupConfigInfoRequest) returns (FindEnabledServerGroupConfigInfoResponse);
|
||||
|
||||
// 初始化Web设置
|
||||
rpc findAndInitServerGroupWebConfig (FindAndInitServerGroupWebConfigRequest) returns (FindAndInitServerGroupWebConfigResponse);
|
||||
}
|
||||
|
||||
// 创建分组
|
||||
@@ -149,4 +152,25 @@ message FindEnabledServerGroupConfigInfoResponse {
|
||||
bool hasTCPReverseProxy = 2;
|
||||
bool hasUDPReverseProxy = 3;
|
||||
int64 serverGroupId = 4;
|
||||
bool hasRootConfig = 5;
|
||||
bool hasWAFConfig = 6;
|
||||
bool hasCacheConfig = 7;
|
||||
bool hasCharsetConfig = 8;
|
||||
bool hasStatConfig = 9;
|
||||
bool hasCompressionConfig = 10;
|
||||
bool hasRequestHeadersConfig = 11;
|
||||
bool hasResponseHeadersConfig = 12;
|
||||
bool hasWebsocketConfig = 13;
|
||||
bool hasWebPConfig = 14;
|
||||
bool hasAccessLogConfig = 15;
|
||||
bool hasRemoteAddrConfig = 16;
|
||||
}
|
||||
|
||||
// 初始化Web设置
|
||||
message FindAndInitServerGroupWebConfigRequest {
|
||||
int64 serverGroupId = 1;
|
||||
}
|
||||
|
||||
message FindAndInitServerGroupWebConfigResponse {
|
||||
bytes webJSON = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user