Closed fabiobrz closed 4 years ago
thanks @fabiobrz for the report. This basically renders HealthCheckResponse unusable in this kind of scenario. We will fix it in the next release.
@pgunapal volunteered to take this. Thanks!
@pgunapal mentioned that the State enum should also be renamed to Status, so I am marking this issue as a breaking change.
@pgunapal mentioned that the State enum should also be renamed to Status, so I am marking this issue as a breaking change.
+1 see links reported here for comparison between schema definition and actual response, too: https://github.com/eclipse/microprofile-health/issues/243#issue-566439370
Hi all, while testing the latest spec release (2.2) on Wildfly, the following Arquillian test case failed:
because of the following serialization issue:
So it looks like
HealthCheckResponse
definition [1] is not matching the spec payload schema [2].[1] https://github.com/eclipse/microprofile-health/blob/2.2/api/src/main/java/org/eclipse/microprofile/health/HealthCheckResponse.java#L155
[2] https://download.eclipse.org/microprofile/microprofile-health-2.2/microprofile-health-spec.html#_json_schema