Restful-ws jakarta ee9 namespace support#469
Merged
pierDipi merged 20 commits intocloudevents:masterfrom Sep 27, 2022
Merged
Conversation
rvowles
reviewed
Sep 10, 2022
|
I would also like to see this merged as jakarta has been the new standard for around 2 years now. |
pierDipi
reviewed
Sep 14, 2022
Member
There was a problem hiding this comment.
Hi @abutch3r, thanks for the PR.
I did a quick scan of the PR, one concern that I have is that the new module http/restful-ws-jakarta-integration-tests used for testing different implementations will be published as part of the release even though it is only used for testing.
Can we avoid publishing the new module http/restful-ws-jakarta-integration-tests since it is not meant to be used by users?
…ta in own module Add microprofile with openliberty example using new jar Signed-off-by: alex-butcher <21243172+abutch3r@users.noreply.github.com>
Signed-off-by: alex-butcher <21243172+abutch3r@users.noreply.github.com>
Port jersey integration tests from javax.* to jakarta.* Includes port of jersey-junit to support jakarta as no current version exists that does. Signed-off-by: alex-butcher <21243172+abutch3r@users.noreply.github.com>
fix file paths Signed-off-by: alex-butcher <21243172+abutch3r@users.noreply.github.com>
Tidy-up pom files and filepaths Signed-off-by: alex-butcher <21243172+abutch3r@users.noreply.github.com>
Signed-off-by: alex-butcher <21243172+abutch3r@users.noreply.github.com>
Now checks if `datacontenttype` matches the regex: `^(application|text)\/([a-zA-Z]+\+)?json$")` This regex support `application/foobar+json` or standard ``` application/json text/json ``` Signed-off-by: Isaac Aymerich <isaac.aymerich@roche.com> Signed-off-by: alex-butcher <21243172+abutch3r@users.noreply.github.com>
Signed-off-by: GitHub <noreply@github.com> Co-authored-by: pierDipi <pierdipi@redhat.com> Signed-off-by: alex-butcher <21243172+abutch3r@users.noreply.github.com>
Was using `ExtensionParser` instead `ExtensionProvider` Signed-off-by: Jorge Oliva <Jorge.OlivaFernandez@santander.co.uk> Signed-off-by: alex-butcher <21243172+abutch3r@users.noreply.github.com>
Signed-off-by: Gerard Klijs <gerard.klijs@axoniq.io> Signed-off-by: alex-butcher <21243172+abutch3r@users.noreply.github.com>
Signed-off-by: Vikram Vuppla <naga.vicky@gmail.com> Signed-off-by: alex-butcher <21243172+abutch3r@users.noreply.github.com>
Disable new Jakarta EE 9 + Jersey test case as requires builidng SDK version to be 11 or greater Signed-off-by: alex-butcher <21243172+abutch3r@users.noreply.github.com>
dc71324 to
b410cb9
Compare
pierDipi
reviewed
Sep 22, 2022
…ta in own module Add microprofile with openliberty example using new jar Signed-off-by: alex-butcher <21243172+abutch3r@users.noreply.github.com>
Signed-off-by: alex-butcher <21243172+abutch3r@users.noreply.github.com>
Port jersey integration tests from javax.* to jakarta.* Includes port of jersey-junit to support jakarta as no current version exists that does. Signed-off-by: alex-butcher <21243172+abutch3r@users.noreply.github.com>
fix file paths Signed-off-by: alex-butcher <21243172+abutch3r@users.noreply.github.com>
Tidy-up pom files and filepaths Signed-off-by: alex-butcher <21243172+abutch3r@users.noreply.github.com>
Signed-off-by: alex-butcher <21243172+abutch3r@users.noreply.github.com>
Disable new Jakarta EE 9 + Jersey test case as requires builidng SDK version to be 11 or greater Signed-off-by: alex-butcher <21243172+abutch3r@users.noreply.github.com>
…om/abutch3r/sdk-java into 468-restful-ws-jakarta-ee9-support
|
No @pierDipi looks solid to me! |
Member
robp94
pushed a commit
to robp94/sdk-java
that referenced
this pull request
Apr 28, 2023
* Replace javax restful-ws namespace usage with jakarata in own module * Add microprofile with openliberty example using new jar * Update gitignore to cover all copied directories * Update Jersey Version to support jakarta.* namespace packages * Port jersey integration tests from javax.* to jakarta.* * Undo changes to existing integration test package names * Add Integration test for Microprofile/Liberty for Jee9 package * Add documentation for new Jakarta package Signed-off-by: alex-butcher <21243172+abutch3r@users.noreply.github.com> (cherry picked from commit f08a099)
robp94
pushed a commit
to robp94/sdk-java
that referenced
this pull request
May 2, 2023
* Replace javax restful-ws namespace usage with jakarata in own module * Add microprofile with openliberty example using new jar * Update gitignore to cover all copied directories * Update Jersey Version to support jakarta.* namespace packages * Port jersey integration tests from javax.* to jakarta.* * Undo changes to existing integration test package names * Add Integration test for Microprofile/Liberty for Jee9 package * Add documentation for new Jakarta package Signed-off-by: alex-butcher <21243172+abutch3r@users.noreply.github.com> (cherry picked from commit f08a099) Signed-off-by: Robert Pospisil <robert.pospisil@mobilexag.de>
pierDipi
pushed a commit
that referenced
this pull request
May 10, 2023
* Replace javax restful-ws namespace usage with jakarata in own module * Add microprofile with openliberty example using new jar * Update gitignore to cover all copied directories * Update Jersey Version to support jakarta.* namespace packages * Port jersey integration tests from javax.* to jakarta.* * Undo changes to existing integration test package names * Add Integration test for Microprofile/Liberty for Jee9 package * Add documentation for new Jakarta package Signed-off-by: Robert Pospisil <robert.pospisil@mobilexag.de> Co-authored-by: Alex Butcher <21243172+abutch3r@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #468
Add support for newer Jakarta EE versions
This is just a way to show what changes are needed to support the move from the
javax->jakartanamespaces which is required for the latest version of Microprofile and the upcoming Spring-boot 3 and Spring-framework 6. which both support Jakarta EE9 and also with the upcoming JEE10 release.The PR works by copying the contents of the original restful-ws definitions into a new module and during the copy replaces javax with jakarata. the Pom also depends on a newer jakarta ws-api package that uses the jakarta named packages. This ensures a single code base between the two packages with minimal build overhead
This includes a port of the reasteasy test case as the Jersey scenario requires Java11 and given Spring don't support it yet, that has not been ported either.
The name of the package is just a place holder and more then happy to change to meet the requirements of the project.