mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-10 19:39:01 +00:00
Update `ConditionalOnAvailableEndpoint` so that it now uses the same matching code as the endpoint filter. This allows the condition to match endpoint IDs that contain a dash. In order to share logic, the `ExposeExcludePropertyEndpointFilter` class has been deprecated and its logic moved to a new `expose` package under `IncludExcludeEndpointFilter`. This filter is used by both the `OnAvailableEndpointCondition` and the auto-configuration classes. Fixes gh-21044