aboutsummaryrefslogtreecommitdiffstats
path: root/crates/configuration/src/server.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/configuration/src/server.rs')
-rw-r--r--crates/configuration/src/server.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/crates/configuration/src/server.rs b/crates/configuration/src/server.rs
index e31fc60..e31a57b 100644
--- a/crates/configuration/src/server.rs
+++ b/crates/configuration/src/server.rs
@@ -16,6 +16,10 @@ use warden_core::{
mutate_rule_configuration_server::MutateRuleConfigurationServer,
query_rule_configuration_server::QueryRuleConfigurationServer,
},
+ typology::{
+ mutate_typologies_server::MutateTypologiesServer,
+ query_typologies_server::QueryTypologiesServer,
+ },
},
};
use warden_middleware::grpc::interceptor::MyInterceptor;
@@ -44,6 +48,14 @@ pub fn serve(state: AppHandle) -> Result<(axum::Router, axum::Router), AppError>
state.clone(),
MyInterceptor,
))
+ .add_service(QueryTypologiesServer::with_interceptor(
+ state.clone(),
+ MyInterceptor,
+ ))
+ .add_service(MutateTypologiesServer::with_interceptor(
+ state.clone(),
+ MyInterceptor,
+ ))
.add_service(routing_reflector)
.into_axum_router()
.layer(