Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sonataflow-devmode-image can't load Dev UI during e2e tests #1818

Open
thiagoelg opened this issue Feb 7, 2025 · 0 comments
Open

sonataflow-devmode-image can't load Dev UI during e2e tests #1818

thiagoelg opened this issue Feb 7, 2025 · 0 comments
Labels
area:sonataflow Related to CNCF Serverless Workflow Spec and SonataFlow

Comments

@thiagoelg
Copy link
Member

With the update to Quarkus 3.15, the Dev UI is only accessible via localhost or 127.0.0.1 [1].

It can be configured to be accessed via another hostname via quarkus.dev-ui.hosts property or QUARKUS_DEV_UI_HOSTS env var. Unfortunately, during automated tests, we can't always know what the container's hostname will be, and this configuration can only accept a list of strings.

From Quarkus 3.16 onwards this configuration accepts regex [2], so this may be fixed when we update to that.

With this limitation, the Scenario: verify that the serverless workflow devui is running test from the sonataflow-devmode-image package was changed to check for an HTTP status 403 instead of 200 for now. [3]

[1] quarkusio/quarkus#40979
[2] quarkusio/quarkus#42618
[3] apache/incubator-kie-tools#2892

@ricardozanini ricardozanini added the area:sonataflow Related to CNCF Serverless Workflow Spec and SonataFlow label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:sonataflow Related to CNCF Serverless Workflow Spec and SonataFlow
Projects
None yet
Development

No branches or pull requests

2 participants