You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
97af0b2f3a
Prior to this commit, Actuator endpoints would use the application ObjectMapper instance for serializing payloads as JSON. This was problematic in several cases: * application-specific configuration would change the actuator endpoint output. * choosing a different JSON mapper implementation in the application would break completely some endpoints. Spring Boot Actuator already has a hard dependency on Jackson, and this commit uses that fact to configure a shared `ObjectMapper` instance that will be used by the Actuator infrastructure consistently, without polluting the application context. This `ObjectMapper` is used in Actuator for: * JMX endpoints * Spring MVC endpoints with an HTTP message converter * Spring WebFlux endpoints with an `Encoder` * Jersey endpoints with a `ContextResolver<ObjectMapper>` For all web endpoints, this configuration is limited to the actuator-specific media types such as `"application/vnd.spring-boot.actuator.v3+json"`. Fixes gh-12951 |
5 years ago | |
---|---|---|
.. | ||
checkstyle-header.txt | 6 years ago | |
checkstyle-suppressions.xml | 5 years ago | |
checkstyle.xml | 5 years ago | |
import-control.xml | 5 years ago | |
nohttp-checkstyle-suppressions.xml | 6 years ago | |
nohttp-checkstyle.xml | 6 years ago | |
nohttp-whitelist.txt | 5 years ago |