mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-08 18:41:37 +00:00
Update the `HealthEndpointGroups` customization support to use a post-processor rather than a mutable registry. Although this approach is slightly less flexible, it removes a lot of complexity from the `HealthEndpointGroups` code. Specifically, it allows us to drop the `HealthEndpointGroupsRegistry` interface entirely. The probe health groups are now added via the post-processor if they aren't already defined. Unlike the previous implementation, users are no longer able to customize status aggregation and http status code mapping rules _unless_ they also re-define the health indicators that are members of the group. See gh-20962