diff --git a/app/build.gradle b/app/build.gradle index 1e1bb669..025818e3 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -11,6 +11,7 @@ dependencies { compile 'org.springframework.fu:spring-fu-autoconfigure-adapter' compile 'io.grpc:grpc-netty' + compile 'io.grpc:grpc-services' compile 'io.prometheus:simpleclient_common' compile 'org.pf4j:pf4j' compile 'io.rsocket:rsocket-transport-netty' diff --git a/app/src/main/java/com/github/bsideup/liiklus/config/GRPCConfiguration.java b/app/src/main/java/com/github/bsideup/liiklus/config/GRPCConfiguration.java index 1500e834..caf96b17 100644 --- a/app/src/main/java/com/github/bsideup/liiklus/config/GRPCConfiguration.java +++ b/app/src/main/java/com/github/bsideup/liiklus/config/GRPCConfiguration.java @@ -4,6 +4,7 @@ import io.grpc.*; import io.grpc.inprocess.InProcessServerBuilder; import io.grpc.netty.NettyServerBuilder; +import io.grpc.protobuf.services.ProtoReflectionService; import io.netty.channel.nio.NioEventLoopGroup; import lombok.Data; import org.springframework.boot.context.properties.bind.Binder; @@ -54,6 +55,7 @@ public ServerCall.Listener interceptCall(ServerCall