-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
WFLY-18508 spring-resteasy Quickstart Common Enhancements CY2023Q3 #755
Conversation
@emmartins @jamezp I start to work on this according to the changes in: #711 It's still in draft and I'll complete the missing parts. Currently the integration-test and existing tests can pass. |
The JDK11 can not be used because this example needs at least JDK17. |
@emmartins Thanks for checking! I'll modify the test accordingly. In addition, this test can only be run under JDK16 (because of the Spring dep). What can I do to fix this? |
Let's ignore the test fails for now, I guess we should expose the matrix JDK choices, similar to MATRIX_OS, which will then allow you to send something like MATRIX_JDK: '"17"' to not test JDK 11. |
ok seems I missed something, you didn't update the README.adoc as specified by:
The content included above provides you the testing instructions, which use wildfly:start -DjbossHome=... (as followup of mvn package -Pprovisioned-server), which are the instructions being tested by the CI. I will consider a 'post-enhancements' move to wildfly:run single command instead, but for now let's have all QS using same ok? |
@@ -186,29 +191,132 @@ | |||
</dependencies> | |||
|
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.
We need also plugin management to be added, please see https://docs.google.com/document/d/1GFnZrnlwRkwC0HfziRws2UUWR99KdaQayA7Ei12SGN4/edit#heading=h.rcftxwtudvl5
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.
@emmartins I have added the plugin management section, not sure I add it correctly or not. In addition I found the batch-proessing
example doesn't have this section either:
Shall I add the section their too?
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.
Since this is not a MicroProfile quickstart you don't need the wildfly-jar plugin
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.
Wrt batch-processing it was fixed yesterday :-)
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.
Wrt batch-processing it was fixed yesterday :-)
Cool!
Spring 6 only works on Java 17+. I'm not sure how we can resolve this because of the workflow call. Creating the workflow matrix in JSON is an option, but likely not a great one. However, the other option is to not call the workflow. |
Maybe we can split the CI file for Java 11 or 17? @emmartins wdyt? |
@emmartins Thanks for the advice! I'll update the README accordingly.
|
@emmartins I have updated the doc and the tests passed in JDK17, so I mark this PR as ready for preview. Please let me know if there is anything else need to be changed :D |
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.
Looks good to me, only one more change, please squash the commits into one.
@emmartins Done! |
thank you @liweinan |
FYI I created https://issues.redhat.com/browse/WFLY-18689 to deliver the matrix.jdk customization this QS needs. As I said before I will leave this to post-enhancements. |
@liweinan FYI WFLY-18689 was now fixed, which included the changes in this quickstart yml to only test it on JDK 17 |
Cool! |
Relative PR: #767 |
https://issues.redhat.com/browse/WFLY-18508