-
Notifications
You must be signed in to change notification settings - Fork 953
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
PLANNER-2411: Add solver config, constraint list, and model to Quarkus Dev UI #1381
Conversation
The way to test this is via Selenium, Cypress or some other tool like that. Even though I would advise against it - those tools, in my opinion, bring more pain than good. Did you consider asking in the Quarkus Zulip chat? Perhaps they have a way to test these things somehow. |
The (build) examples check has failed. Please check the logs. |
The (build) optaplanner check is successful. |
The (build) apps check is successful. |
Seems quarkusio/quarkus#17915 prevents us adding tests for Dev UI within this repo (dev ui fails to render because optaplanner-quarkus is a local extension). Which means to test this, it need to be in a different repo, like optaplanner-quickstarts |
fe66836
to
66cd5ff
Compare
Moved the integration tests to this repo as the Quarkus issue is fixed. It needed to be in its own module; using integration-tests repo causes a "cannot restart started application", using deployment causes it to not run (probably because it requires Vert.x to be active) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Some room for improvement, I think.
...uarkus/deployment/src/main/java/org/optaplanner/quarkus/deployment/OptaPlannerProcessor.java
Show resolved
Hide resolved
...uarkus/deployment/src/main/java/org/optaplanner/quarkus/deployment/OptaPlannerProcessor.java
Outdated
Show resolved
Hide resolved
...arkus-integration/optaplanner-quarkus/deployment/src/main/resources/dev-templates/model.html
Outdated
Show resolved
Hide resolved
...ntegration/optaplanner-quarkus/deployment/src/main/resources/dev-templates/solverConfig.html
Outdated
Show resolved
Hide resolved
...-quarkus/runtime/src/main/java/org/optaplanner/quarkus/devui/OptaPlannerDevUIProperties.java
Outdated
Show resolved
Hide resolved
.../runtime/src/main/java/org/optaplanner/quarkus/devui/OptaPlannerDevUIPropertiesSupplier.java
Outdated
Show resolved
Hide resolved
SonarCloud Quality Gate failed. |
The (build) apps check has failed. Please check the logs. |
The (build) examples check has failed. Please check the logs. |
jenkins retest this |
The (build) optaplanner check has failed. Please check the logs. |
The (build) apps check has failed. Please check the logs. |
be96c02
to
3166add
Compare
@triceo this is green now and is approved |
Don't know how to test this, since in order to verify it works, we need to visit the Dev UI pages.
JIRA
https://issues.redhat.com/browse/PLANNER-2411
Referenced pull requests
Checklist
How to retest this PR or trigger a specific build: