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

Starter overhaul: Thorntail -> Quarkus 2.7.5.Final #469

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Karm
Copy link
Contributor

@Karm Karm commented Apr 12, 2022

This PR ports the Starter from EOL'd Thorntail to the contemporary Quarkus 2.7.5.Final.
It simplifies the project struct pom and it brings testing to the Quarkus Test framework, so the Quarkus is the one runtime to run/test Starter with.

All Docker packaging was updated too, and tested. The packaging is simplified and documented.

Attempting to thoroughly test that all works as expected, the test suite is updated with additional stabilization, ported to Quarkus Test framework (used to be Arquillian), and last but not least, it was made Windows compatible for Gradle based projects too.

The GitHub CI runs Windows too now 🥳 .

The JSF capability was made possible thanks to MyFaces Quarkus extension https://github.com/apache/myfaces/tree/master/extensions/quarkus.

  • REST API works ✔️
  • WEB GUI works ✔️

Since this is a big step, we can talk about it on the next Starter call.

@Karm Karm requested a review from Emily-Jiang April 12, 2022 14:09
@Karm Karm self-assigned this Apr 12, 2022
@Karm Karm force-pushed the thorntail-to-quarkus branch 4 times, most recently from 14d6877 to 66e3e1f Compare April 12, 2022 18:32
@Karm Karm linked an issue Apr 12, 2022 that may be closed by this pull request
@Karm
Copy link
Contributor Author

Karm commented Apr 12, 2022

@Emily-Jiang ready for debate & review.

@Karm
Copy link
Contributor Author

Karm commented Apr 25, 2022

2022-04-25 call summary with @Emily-Jiang (correct me if I am missing anything)

  • O.K. in general
  • must have a profile to both run and test on Liberty locally
  • Karm will try to add a profile that makes QuarkusTest and Arquillian coexsit so as Liberty profile can run too

Copy link
Member

@Emily-Jiang Emily-Jiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Karm the current starter runs on microprofile 3.3

@Karm
Copy link
Contributor Author

Karm commented May 9, 2022

The PR is not forgotten, it's still on the list.

@Karm Karm force-pushed the thorntail-to-quarkus branch from 66e3e1f to c7b9b94 Compare June 14, 2022 13:58
@Karm
Copy link
Contributor Author

Karm commented Jun 14, 2022

Hello @Emily-Jiang, I think I've got it. It works with Liberty too now except for some UI font glitches that are something beyond my Liberty-fu capacity. Might look O.K. in your browser.

Could you try it out yourself, please?

Liberty

./mvn clean package liberty:run -Pliberty

Open: http://localhost:9080/starter/index.xhtml

Quarkus

Running with Quarkus:

./mvnw clean package
java -jar target/quarkus-app/quarkus-run.jar

Navigate to http://127.0.0.1:8080 to see the app.

@Emily-Jiang
Copy link
Member

Here is the screen shot for Open Liberty. It looks not quite righ.
image

@Karm
Copy link
Contributor Author

Karm commented Aug 8, 2022

The issue is still relevant, but I have no updates to share ATM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace Thorntail as runtime on start.microprofile.io
2 participants