quarkiverse / quarkus-dapr

The Distributed Application Runtime (Dapr) provides APIs that simplify microservice connectivity
https://dapr.io/
Apache License 2.0
30 stars 16 forks source link

Should configure the application port during dynamically #161

Closed mcruzdev closed 1 week ago

mcruzdev commented 7 months ago

Actually the Dev Services for Dapr uses by default the application port 8080, to the test work correctly, we need to add quarkus.http.test-port=8080 configuration to works well.

Would be great if we pass to testcontainers the port used by Quarkus application on test mode.

https://github.com/quarkiverse/quarkus-dapr/blob/9a5d546286f6c1f8883b82a6f8764379fa3cd917/deployment/src/main/java/io/quarkiverse/dapr/deployment/DevServicesDaprProcessor.java#L124

https://github.com/quarkiverse/quarkus-dapr/blob/9a5d546286f6c1f8883b82a6f8764379fa3cd917/deployment/src/main/java/io/quarkiverse/dapr/deployment/DevServicesDaprProcessor.java#L142-L147