【发布时间】:2022-12-22 18:29:28
【问题描述】:
如何使用 Spring boot 3.x 和 Spring WebFlux 启用 POST env 管理端点?
这在 Spring Boot 2.7.x 上运行良好,在 Spring Boot 3.x 上不再适用。
激活调试模式 (debug: true) 我找不到任何 WritableEnvironmentEndpointAutoConfiguration 的踪迹。
这是我的 application.yml 的相关部分。
management:
endpoints:
enabled-by-default: true
web:
exposure:
include: '*'
endpoint:
env:
post:
enabled: true
enabled: true
health:
probes:
enabled: true
show-details: always
【问题讨论】:
标签: java spring-boot spring-boot-actuator