v0.1.10
What's Changed
Conditional bean creation:
- The
actuatorTaskSchedulerbean inActuatorAutoConfigurationis now only created if aMeterRegistrybean is present, by adding the@ConditionalOnBean(MeterRegistry.class)annotation.
Test improvements and coverage:
- The
ActuatorAutoConfigurationTestclass has been refactored to use nested test classes, explicitly testing both the presence and absence of theMeterRegistrybean, and verifying thatactuatorTaskScheduleris only created when appropriate. - The
ActuatorEndpointsAutoConfigurationTestclass has been refactored to use nested test classes and ordered execution. It now includes tests for both default and disabled endpoint configurations, verifying that endpoint beans are only created when enabled.
Full Changelog: v0.1.9...v0.1.10