Exposing configuration details

Spring Boot Actuator provides some endpoints that expose the configuration details of your Spring application. These endpoints provide you all configured bean details and also provide insight into the decisions that auto-configuration made when populating the Spring application context. Let's see the most essential endpoint for exploring an application's Spring context, which is the /beans endpoint. This endpoint returns information in the form of JSON as follows:

[ { context: "application", parent: null, beans: [ { bean: "springBootActuatorApplication", scope: "singleton", type: "com.dineshonjava.sba.SpringBootActuatorApplication$$EnhancerBySpringCGLIB$$ee8dc6d9", resource: "null", dependencies: [ ] }, { bean: ...

Get Mastering Spring Boot 2.0 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.