This Spring-Boot starter that provides services and controllers that a required if an application show be able to be administrated with the spring-boot-admin application.
This client uses the AutoConfiguration feature of Spring Boot to register service and controller beans in the application context.
The main service that is used is a registrar that registeres the application at the spring-boot-admin application by periodically calling a REST-API to check or perform the registration of itself.
The following properties have to be included in the environment (i.e. application.properties) to ensure all features to work properly.
info.id | The identifier in the registry - this property is published by the /info endpoint |
info.version | The version number - also published by the /info endpoint |
spring.boot.admin.url | URL of the spring-boot-admin application to register at |
logging.file | File path of the logfile of the application |