Update and rename 40.4. Custom application info information to 40.4. Custom application info information.md

master
qibaoguang 2015-03-01 20:40:46 +08:00
parent 1931523f1b
commit dbb02a1499
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
### 40.4. 自定义应用info信息
通过设置Spring属性info.*你可以定义info端点暴露的数据。所有在info关键字下的Environment属性都将被自动暴露。例如你可以将下面的配置添加到application.properties
```java
info.app.name=MyService
info.app.description=My awesome service
info.app.version=1.0.0
```