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
Arquillian: Add support for Jakarta EE 9 #71
Comments
If we can no longer rely on the j2eeManagement feature, we will need to find another way of getting information about the servlets which are deployed (doesn't have to be something from jakarta, just has to work on liberty in conjunction with EE9 features). There are test cases which demonstrate what doesn't work when j2eeManagement is not present here: https://github.com/OpenLiberty/liberty-arquillian/tree/master/liberty-managed/src/test/java/io/openliberty/arquillian/managed/needsmanagementmbeans It's mostly injection of URLs of servlets when multiple apps are deployed. I'm pretty sure we had to add it because there was a TCK test which depended on being able to do this. Update: #1 indicates that it was needed to pass this CDI TCK test, which is still present in CDI 3.0 https://github.com/eclipse-ee4j/cdi-tck/blob/2.0.4.Final/impl/src/main/java/org/jboss/cdi/tck/interceptors/tests/contract/interceptorLifeCycle/environment/jndi/InterceptorEnvironmentJNDITest.java |
The design document has been updated to clarify the new major version release associated with this epic. See slide 15: https://ibm.box.com/s/fnnj1ot0gwvd7jilxk6mgjgs96ao9uw8 The changes are as follows:
|
As I know, Arquillian 1.7.0.Alpha5 added JUnit 5 support. Hope this update is aligned with JUnit 5 and Jakarata I have updated my sample codes, and test Arquillian 1.7, JUnit 5, Arquillian Glassfish Container for GF v6, hantsy/jakartaee9-starter-boilerplate#40 |
Thank you @hantsy, we will be updating to Arquillian |
I noticed a milestone version of Arquillian open liberty for Jakarta EE 9 is published. I am trying to update my Jakarta EE 9 starter sample and adding liberty aruqillian back. But I encountered an issue with Rest API testing, I can not find a public CXF version for the Jakarta EE 9, I am not sure if OpenLiberty(Jakarta ee 9) is still using CXF as the JaxRS implementation. In the former Jakarta EE 8 version, I added CXF JaxRS deps in the test classpath to make it work. |
I noticed in your As for the JAX-RS failures, I believe it may be because JAX-RS is not yet included in the Open Liberty Jakarta EE 9 beta features: |
@kathrynkodama Thanks.
It seems in this Jakarta EE 9 version, it switched to Resteasy(the JBoss/Wildfly implementation). Unfortunately, I can not find a release version of Resteasy for Jakarta EE 9 now. WildFly 22 Jakarta EE preview itself used Eclipse transformer tooling to convert these jars. |
@kathrynkodama Use jersey Jaxrs client to get the tests passed. hantsy/jakartaee9-starter-boilerplate#54 |
@kathrynkodama With the release of 2.0.0, is this issue ready to be closed? Or is there more that needs to happen? |
@brideck With the release of 2.0.0, we can now close this issue. Thank you. |
In doing early testing with the new Jakarta EE9-compatible versions of the CDI and Bean Validation TCKs, I've discovered that we need an updated version of liberty-arquillian to support running with EE9 technologies.
At a minimum, I've found the following so far:
The text was updated successfully, but these errors were encountered: