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

Support MP health 2.2 #2264

Merged
merged 4 commits into from
Aug 19, 2020
Merged

Support MP health 2.2 #2264

merged 4 commits into from
Aug 19, 2020

Conversation

tjquinno
Copy link
Member

Resolves #2259

Minor adaptation to MicroProfile Health 2.2

There are very few substantive changes in the spec from 2.1 to 2.2. Even the changes in the PR are not really required, but they save us a tiny bit of code and illustrate in our code base the use of two (minor) additions to the MP health API.

I searched our code base for other opportunities to use other changes in MP health and found none.

Signed-off-by: tim.quinn@oracle.com tim.quinn@oracle.com

Signed-off-by: tim.quinn@oracle.com <tim.quinn@oracle.com>
@tjquinno tjquinno self-assigned this Aug 17, 2020
@tomas-langer
Copy link
Member

Based on the failed tests, I guess there was a change in module name of the MP health? Seems the test using module path are failing...

Copy link
Member

@tomas-langer tomas-langer left a comment

Choose a reason for hiding this comment

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

Please try the module based test (such as tests/integration/native-image/mp-1/test-runtime.sh) to verify all module infos are correct.

@tjquinno
Copy link
Member Author

Re: the module issue -- Yes, I found this last night and am continuing to work on it this morning. The error message in the pipeline test and locally is this:

Error occurred during initialization of boot layer
java.lang.module.ResolutionException: Modules jakarta.enterprise.cdi.api and cdi.api export package javax.enterprise.inject.spi to module jersey.server

Copy link
Member

@tomas-langer tomas-langer left a comment

Choose a reason for hiding this comment

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

LGTM

@tjquinno tjquinno merged commit 0bfd979 into helidon-io:master Aug 19, 2020
@tjquinno tjquinno deleted the health-2.2 branch August 19, 2020 12:35
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.

Adopt MP Health 2.2
2 participants