MicroProfile Health Check 2.0 final
Add this version to your project with:
<dependency>
<groupId>org.eclipse.microprofile.health</groupId>
<artifactId>microprofile-health-api</artifactId>
<version>2.0</version>
</dependency>
Changes in 2.0
- Message body of Health check response was modified,
outcome
andstate
were replaced by status [Breaking Change] - Deprecation of
@Health
annotation - Introduction of Health checks for
@Liveness
and@Readiness
on/health/ready
and/health/live
endpoints - TCK enhancement and cleanup
- JSON schema fixed and enhanced
- Enhance examples in spec (introduce Health check procedures producers)
- Explicit that Health check procedures are not called in predictable order