diff --git a/build-time-analytics/src/test/java/io/quarkus/ts/buildtimeanalytics/CliDevModeIT.java b/build-time-analytics/src/test/java/io/quarkus/ts/buildtimeanalytics/CliDevModeIT.java index 97c32514e..f5f6ba528 100644 --- a/build-time-analytics/src/test/java/io/quarkus/ts/buildtimeanalytics/CliDevModeIT.java +++ b/build-time-analytics/src/test/java/io/quarkus/ts/buildtimeanalytics/CliDevModeIT.java @@ -85,7 +85,8 @@ public void noExtensions() { @Test public void extensionSetA() { QuarkusCliRestService app = createAppWithExtensions(EXTENSION_SET_A); - startDevMode(app); + // Extension set has gRPC, use new approach with single HTTP server instance + startDevMode(app.withProperty("quarkus.grpc.server.use-separate-server", "false")); verifyValidPayloadPresent(app); } diff --git a/http/http-advanced-reactive/src/main/resources/application.properties b/http/http-advanced-reactive/src/main/resources/application.properties index 22833dbcb..bc40751d2 100644 --- a/http/http-advanced-reactive/src/main/resources/application.properties +++ b/http/http-advanced-reactive/src/main/resources/application.properties @@ -25,10 +25,11 @@ HttpVersionClientServiceAsync/mp-rest/trustStore=classpath:/META-INF/resources/s HttpVersionClientServiceAsync/mp-rest/trustStorePassword=password # gRPC quarkus.grpc.clients.hello.host=localhost -quarkus.grpc.clients.hello.port=${quarkus.grpc.server.port} +quarkus.grpc.clients.hello.port=${quarkus.http.port} quarkus.grpc.server.enable-reflection-service=true quarkus.grpc.clients.reflection-service.host=localhost -quarkus.grpc.clients.reflection-service.port=${quarkus.grpc.server.port} +quarkus.grpc.clients.reflection-service.port=${quarkus.http.port} +quarkus.grpc.server.use-separate-server=false # authZ quarkus.keycloak.policy-enforcer.enable=true # Non-application endpoints. Required because we are going to force a redirection, otherwise use `/q/*` instead diff --git a/http/http-advanced/src/main/resources/application.properties b/http/http-advanced/src/main/resources/application.properties index c8bc17fdd..904607fef 100644 --- a/http/http-advanced/src/main/resources/application.properties +++ b/http/http-advanced/src/main/resources/application.properties @@ -25,7 +25,8 @@ HttpVersionClientServiceAsync/mp-rest/trustStore=classpath:/META-INF/resources/s HttpVersionClientServiceAsync/mp-rest/trustStorePassword=password # gRPC quarkus.grpc.clients.hello.host=localhost -quarkus.grpc.clients.hello.port=${quarkus.grpc.server.port} +quarkus.grpc.clients.hello.port=${quarkus.http.port} +quarkus.grpc.server.use-separate-server=false # authZ quarkus.keycloak.policy-enforcer.enable=true # Non-application endpoints. Required because we are going to force a redirection, otherwise use `/q/*` instead diff --git a/monitoring/opentelemetry-reactive/src/main/resources/application.properties b/monitoring/opentelemetry-reactive/src/main/resources/application.properties index 64e8ba552..5073217af 100644 --- a/monitoring/opentelemetry-reactive/src/main/resources/application.properties +++ b/monitoring/opentelemetry-reactive/src/main/resources/application.properties @@ -6,5 +6,7 @@ io.quarkus.ts.opentelemetry.reactive.sse.ServerSentEventsPongClient/mp-rest/scop # gRPC quarkus.grpc.clients.pong.host=localhost +quarkus.grpc.clients.pong.port=${quarkus.http.port} +quarkus.grpc.server.use-separate-server=false quarkus.application.name=pingpong \ No newline at end of file diff --git a/monitoring/opentelemetry/src/main/resources/application.properties b/monitoring/opentelemetry/src/main/resources/application.properties index f45e420e1..2e70358d9 100644 --- a/monitoring/opentelemetry/src/main/resources/application.properties +++ b/monitoring/opentelemetry/src/main/resources/application.properties @@ -6,5 +6,7 @@ io.quarkus.ts.opentelemetry.sse.ServerSentEventsPongClient/mp-rest/scope=jakarta # gRPC quarkus.grpc.clients.pong.host=localhost +quarkus.grpc.clients.pong.port=${quarkus.http.port} +quarkus.grpc.server.use-separate-server=false quarkus.application.name=pingpong \ No newline at end of file diff --git a/monitoring/opentracing-reactive-grpc/src/main/resources/application.properties b/monitoring/opentracing-reactive-grpc/src/main/resources/application.properties index 3d5ddb6ca..1372f350f 100644 --- a/monitoring/opentracing-reactive-grpc/src/main/resources/application.properties +++ b/monitoring/opentracing-reactive-grpc/src/main/resources/application.properties @@ -15,4 +15,6 @@ io.quarkus.ts.monitoring.opentracing.reactive.grpc.ping.clients.ServerSentEvents io.quarkus.ts.monitoring.opentracing.reactive.grpc.ping.clients.ServerSentEventsPongClient/mp-rest/scope=jakarta.inject.Singleton # gRPC -quarkus.grpc.clients.pong.host=localhost \ No newline at end of file +quarkus.grpc.clients.pong.host=localhost +quarkus.grpc.clients.pong.port=${quarkus.http.port} +quarkus.grpc.server.use-separate-server=false \ No newline at end of file