46.7.1 自动配置的InfoContributors
Last updated
Was this helpful?
Last updated
Was this helpful?
Spring Boot会在合适的时候自动配置以下InfoContributors
:
名称
描述
暴露Environment
中key为info
的所有key
暴露git信息,如果存在git.properties
文件
暴露构建信息,如果存在META-INF/build-info.properties
文件
注 使用management.info.defaults.enabled
属性可禁用以上所有InfoContributors
。