diff options
| author | uzhas <[email protected]> | 2023-12-14 19:07:02 +0300 |
|---|---|---|
| committer | uzhas <[email protected]> | 2023-12-14 19:43:30 +0300 |
| commit | 8cd37c4fdabb40c29eb0d98c518cd0bdea8ba461 (patch) | |
| tree | 6e4a14835e4055c8b878f8f49e590678c61ee98a | |
| parent | 54bc2b38a79b25c85f28a8ef84f3fd297de2aa04 (diff) | |
KIKIMR-20484: switch required fields to optional in generic config
| -rw-r--r-- | ydb/library/yql/providers/common/proto/gateways_config.proto | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ydb/library/yql/providers/common/proto/gateways_config.proto b/ydb/library/yql/providers/common/proto/gateways_config.proto index 21d6985c8fc..fb845b8cee7 100644 --- a/ydb/library/yql/providers/common/proto/gateways_config.proto +++ b/ydb/library/yql/providers/common/proto/gateways_config.proto @@ -546,10 +546,10 @@ message TDbToolConfig { message TGenericClusterConfig { // Cluster name - required string Name = 1; + optional string Name = 1; // Data source kind - required NYql.NConnector.NApi.EDataSourceKind Kind = 8; + optional NYql.NConnector.NApi.EDataSourceKind Kind = 8; // Location represents the network address of a data source instance we want to connect oneof Location { @@ -561,7 +561,7 @@ message TGenericClusterConfig { } // Credentials used to access data source instance - required NYql.NConnector.NApi.TCredentials Credentials = 10; + optional NYql.NConnector.NApi.TCredentials Credentials = 10; // Credentials used to access MDB API. // When working with data source instances deployed in a cloud, @@ -591,10 +591,10 @@ message TGenericClusterConfig { message TGenericConnectorConfig { // Connector instance network endpoint - required NYql.NConnector.NApi.TEndpoint Endpoint = 3; + optional NYql.NConnector.NApi.TEndpoint Endpoint = 3; // If true, GRPC Client will use TLS encryption. // Server cert will be verified with system CA cert pool. - required bool UseSsl = 4; + optional bool UseSsl = 4; reserved 1, 2; } @@ -602,7 +602,7 @@ message TGenericConnectorConfig { message TGenericGatewayConfig { // Connector service network endpoint // TODO: replace with map<DataSourceKind, TGenericConnectorConfig> - required TGenericConnectorConfig Connector = 5; + optional TGenericConnectorConfig Connector = 5; // Database clusters supported by this particular instance repeated TGenericClusterConfig ClusterMapping = 3; |
