summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorudovichenko-r <[email protected]>2023-09-29 13:38:27 +0300
committerudovichenko-r <[email protected]>2023-09-29 14:01:52 +0300
commitf28672a7c512b3962d1359733a76a67ce3ec98a7 (patch)
tree71ad847260db7e8bc7952716ed2fb421f53e5c0b
parente7725e4affd47569b1a29d704b2d27969dc759a6 (diff)
[api] Allow filtering workers per user/per revision
YQL-16745
-rw-r--r--ydb/library/yql/providers/common/proto/gateways_config.proto13
1 files changed, 13 insertions, 0 deletions
diff --git a/ydb/library/yql/providers/common/proto/gateways_config.proto b/ydb/library/yql/providers/common/proto/gateways_config.proto
index 8624809e4d6..4f9184ba472 100644
--- a/ydb/library/yql/providers/common/proto/gateways_config.proto
+++ b/ydb/library/yql/providers/common/proto/gateways_config.proto
@@ -607,6 +607,18 @@ message TGenericGatewayConfig {
reserved 1, 2;
}
+/////////////////////////////// Revision filter ///////////////////////////////
+
+message TRevisionException {
+ repeated string Revisions = 1;
+ repeated string IncludeUsers = 2;
+ repeated string ExcludeUsers = 3;
+}
+
+message TRevisionFilterConfig {
+ repeated TRevisionException RevisionException = 1;
+}
+
/////////////////////////////// Root ///////////////////////////////
message TGatewaysConfig {
@@ -631,4 +643,5 @@ message TGatewaysConfig {
optional TYtOrmGatewayConfig YtOrm = 19;
optional TDbToolConfig DbTool = 20;
optional TGenericGatewayConfig Generic = 21;
+ optional TRevisionFilterConfig RevisionFilter = 22;
}