From 2875738f13483f276c7a4159d733c19b22dd4584 Mon Sep 17 00:00:00 2001 From: pablo gonzalez granados Date: Mon, 13 Jun 2022 19:32:53 +0200 Subject: [PATCH] Missing UdsNettyChannelProvider register for reflexion on http/graphql-telemetry --- .../src/main/resources/application.properties | 3 +++ .../src/main/resources/reflection-config.json | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100644 http/graphql-telemetry/src/main/resources/reflection-config.json diff --git a/http/graphql-telemetry/src/main/resources/application.properties b/http/graphql-telemetry/src/main/resources/application.properties index 32a4d00d9..f154495dd 100644 --- a/http/graphql-telemetry/src/main/resources/application.properties +++ b/http/graphql-telemetry/src/main/resources/application.properties @@ -1,2 +1,5 @@ smallrye.graphql.allowGet=true quarkus.application.name=graphql-telemetry + +#TODO https://github.com/quarkusio/quarkus/issues/26083 +quarkus.native.additional-build-args=--allow-incomplete-classpath, -H:ReflectionConfigurationFiles=reflection-config.json \ No newline at end of file diff --git a/http/graphql-telemetry/src/main/resources/reflection-config.json b/http/graphql-telemetry/src/main/resources/reflection-config.json new file mode 100644 index 000000000..c7525b203 --- /dev/null +++ b/http/graphql-telemetry/src/main/resources/reflection-config.json @@ -0,0 +1,11 @@ +[ + { + "name": "io.grpc.netty.UdsNettyChannelProvider", + "allDeclaredConstructors" : true, + "allPublicConstructors" : true, + "allDeclaredMethods" : true, + "allPublicMethods" : true, + "allDeclaredFields" : true, + "allPublicFields" : true + } +] \ No newline at end of file