Skip to content
Advertisement

Tag: actuator

Multiple instances of a bean of one class filled with values from application.properties

I intend to write some HealtCheckContributors for a Spring Boot application using spring-boot-actuator. Hence, I implemented two of them. they are intended for checking the health of different apps, of course, but have a nearly identical structure, except the configuration properties, … SonarQube complains about that and I wonder if it is possible to have a single health check class

Advertisement