Closed gkwan-ibm closed 1 year ago
How serious, complete, and well-tested is this PR? What about the Arquillian tests? Are those working? Why is there not something like this: https://hantsy.github.io/jakartaee9-starter-boilerplate/arq-openliberty.html?
If this is a PR that isn’t really ready to review yet, can you switch to draft until it is please? Otherwise it’s really confusing what I am looking at. When it is ready, you can take it out or draft state.
How serious, complete, and well-tested is this PR? What about the Arquillian tests? Are those working? Why is there not something like this: https://hantsy.github.io/jakartaee9-starter-boilerplate/arq-openliberty.html?
The Arquillian test BookingServiceTest.java
is not compatible with io.openliberty.arquillian:arquillian-liberty-managed-jakarta
. Disabled it from the openliberty
profile. Instead, added 3 integration tests at src/test/java/org/eclipse/cargotracker/rest
directory. They can be run by Liberty dev mode, or by failsafe:integration-test
goal when the app is running either started by payara or openliberty profile.
This PR was tested through payara and openlibery profiles. Let me know if need more to test.
We cannot have separate sets of tests per runtime. What is the specific issue with getting Arquillian working with Liberty?
With regards to testing, please manually test all application functionality to be working including batch processing - in addition to getting all existing automated tests working properly (including Arquillian). No existing automated tests should be disabled. I will do so myself before I merge, but it is expected that no bugs are introduced.
Tested the following on Mac, Linux, and Windows
mvn clean package cargo:run
mvn -P openliberty clean liberty:create liberty:install-feature verify
mvn -P openliberty clean liberty:dev
OK. I’ll review ASAP.
I see there is still some commit activity. Can you please confirm this PR is ready for review and merge?
I see there is still some commit activity. Can you please confirm this PR is ready for review and merge?
yes, ready to review. That activity was caused by synchronized the branch with your yesterday commits.
Please ensure simply running the following works. It should be possible to configure Maven so that nothing more complex is required for the build to work.
mvn clean package -Popenliberty
Let me know when this is addressed. I will review the PR again after that.
hi @m-reza-rahman
Updated the pom.xml to make mvn clean package -Popenliberty
work
The changes include:
openliberty
profile in the pom.xmlserver.xml
andbootstrap.properties
, under thesrc/main/liberty
directoryopenliberty
profileNote: no update for any Java, xml, and other files
If not merge to the
master
branch, suggest to create a new branchliberty-ee10
.