From f86aa3653c5b88586aa51e218865e62b030c045b Mon Sep 17 00:00:00 2001 From: mo khan Date: Fri, 27 Jun 2025 18:01:59 -0600 Subject: refactor: remove the reflection service --- Makefile | 3 --- src/authorization/server.rs | 6 ------ 2 files changed, 9 deletions(-) diff --git a/Makefile b/Makefile index decb9a05..a134ae64 100644 --- a/Makefile +++ b/Makefile @@ -40,6 +40,3 @@ run-image: build-image # gRPC testing targets health-check: @grpcurl -plaintext localhost:50051 grpc.health.v1.Health/Check - -list-services: - @grpcurl -plaintext localhost:50051 list diff --git a/src/authorization/server.rs b/src/authorization/server.rs index 7c39b51c..2605bd54 100644 --- a/src/authorization/server.rs +++ b/src/authorization/server.rs @@ -16,12 +16,6 @@ impl Server { builder .add_service(AuthorizationServer::new(check_service)) .add_service(health_service) - .add_service( - tonic_reflection::server::Builder::configure() - .register_encoded_file_descriptor_set(tonic_health::pb::FILE_DESCRIPTOR_SET) - .build_v1() - .unwrap(), - ) })) } -- cgit v1.2.3