mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-25 17:30:41 +00:00
feat: add auth to grpc handler (#1051)
* chore: get header in grpc & temp save * chore: change authscheme to include data str * chore: add auth to grpc flight handler * chore: add unit test & hold for now since grpc api doesnt accept req input * chore: minor change * chore: minor change * chore: add flight context to database interface * chore: add test * chore: update proto version & fix cr issue * chore: add test * chore: minor update
This commit is contained in:
@@ -89,6 +89,7 @@ impl Services {
|
||||
Ok(Self {
|
||||
grpc_server: GrpcServer::new(
|
||||
ServerGrpcQueryHandlerAdaptor::arc(instance),
|
||||
None,
|
||||
grpc_runtime,
|
||||
),
|
||||
mysql_server,
|
||||
|
||||
Reference in New Issue
Block a user