Skip to content

Only use Spring's auto configuration for Actuator

Daniel Gerhardt requested to merge refac-actuator-autoconfig into master

An AutoConfigurationImportFilter has been implemented to filter auto configuration classes by package name. Only classes needed for Actuator are selected.

With this change Spring does no longer create beans for services that are disabled. This solves problems with Actuator's health endpoint reporting "DOWN" for those services.

An LdapTemplate bean is conditionally registered which was previously handled by auto configuration.

Fixes arsnova-backend#57.

Edited by Daniel Gerhardt

Merge request reports