diff options
author | udovichenko-r <rvu@ydb.tech> | 2023-03-24 17:02:55 +0300 |
---|---|---|
committer | udovichenko-r <rvu@ydb.tech> | 2023-03-24 17:02:55 +0300 |
commit | 449eef7f7d0d8e842ff9c107713ba0783b6d8b32 (patch) | |
tree | 46f77cad6a706986378db2b3cc0d47baa581f1cc | |
parent | 6897ec78eb22dfc9613232dc1cf6e2e6bb52c71c (diff) | |
download | ydb-449eef7f7d0d8e842ff9c107713ba0783b6d8b32.tar.gz |
[db-tool] Per user excpetions for operations cleanup
YQL-15632
-rw-r--r-- | ydb/library/yql/providers/common/proto/gateways_config.proto | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/ydb/library/yql/providers/common/proto/gateways_config.proto b/ydb/library/yql/providers/common/proto/gateways_config.proto index 3bd0cbbe64..00459ad4ea 100644 --- a/ydb/library/yql/providers/common/proto/gateways_config.proto +++ b/ydb/library/yql/providers/common/proto/gateways_config.proto @@ -63,7 +63,7 @@ message TExplicitDNSRecord { optional string Address = 1 [default = ""]; optional uint32 Port = 2 [default = 443]; optional string ExpectedIP = 3 [default = ""]; - optional ProtocolVersion Protocol = 4 [default = ANY]; + optional ProtocolVersion Protocol = 4 [default = ANY]; } message TDnsResolverConfig { @@ -510,6 +510,21 @@ message TSqlCoreConfig { repeated string TranslationFlags = 4; } +/////////////////////////////// Db Tool /////////////////////////////// + +message TUserException { + required string Login = 1; + optional uint32 ExpireDays = 2 [default = 0]; // 0 - don't delete history at all +} + +message TDbToolConfig { + optional uint32 DefaultExpireDays = 1; + optional string RobotPattern = 2; + repeated string DeleteQueryRunner = 3; + repeated TUserException UserException = 4; +} + + /////////////////////////////// Root /////////////////////////////// message TGatewaysConfig { @@ -532,4 +547,5 @@ message TGatewaysConfig { optional TS3GatewayConfig S3 = 17; optional THttpGatewayConfig HttpGateway = 18; optional TYtOrmGatewayConfig YtOrm = 19; + optional TDbToolConfig DbTool = 20; } |