-
Notifications
You must be signed in to change notification settings - Fork 62
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
microprofile-health-35 Provide different types of health check #142
microprofile-health-35 Provide different types of health check #142
Conversation
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.
Existing @Health
checks cannot be assumed to be valid @Liveness
checks.
8a317bd
to
d967712
Compare
Mention within spec this phrase (from initial request)
This is important when
|
Well, I still find the I would also recommend to add a new annotation to specify custom health checks groups, something like |
@mkouba I really like your idea in the second paragraph but this PR probably isn't the right place to track it. Can you create an issue for it please? |
2609cf8
to
3bd1c10
Compare
I'd avoid using terms like "MP-HC". This is AsciiDoc -- if "MicroProfile Health Check" is too long to write all the time, use a variable :-) |
I agree @Ladicek. But for clarity I suggest that we manage that in another ticket / PR |
Signed-off-by: Antoine Sabot-Durand <antoine@sabot-durand.net>
85d09fe
to
8a18483
Compare
Correct old typo Signed-off-by: Antoine Sabot-Durand <antoine@sabot-durand.net>
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.
one small mistake, can be fixed in another PR. Thanks!
Typo correction Signed-off-by: Antoine Sabot-Durand <antoine@sabot-durand.net>
api/src/main/java/org/eclipse/microprofile/health/Liveness.java
Outdated
Show resolved
Hide resolved
api/src/main/java/org/eclipse/microprofile/health/Readiness.java
Outdated
Show resolved
Hide resolved
Add more review Signed-off-by: Antoine Sabot-Durand <antoine@sabot-durand.net>
One more comment: please increase the package-info version from 1.0 to 1.1 since new APIs were added. |
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.
Please update package-info.java. Sorry, I missed this in my last review.
Update OSGI API version Signed-off-by: Antoine Sabot-Durand <antoine@sabot-durand.net>
@Emily-Jiang are you sure it should be 1.1 and not 2.0 to follow spec version? |
I merge with required version modification. |
First version of the pull request for #35.
HealthCheckResponse
description will probably need to be change to take Readiness into account.