Skip to content

Commit

Permalink
fixes #852 parameterize health and info configuration file (#853)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehu committed Dec 5, 2020
1 parent accee8b commit db85287
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions health/src/main/resources/config/health.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
# Server health endpoint that can output OK to indicate the server is alive

# true to enable this middleware handler.
enabled: true
enabled: ${health.enabled:true}

# true to return Json format message
useJson: false
useJson: ${health.useJson:false}
3 changes: 1 addition & 2 deletions info/src/main/resources/config/info.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
# Server info endpoint that can output environment and component along with configuration

# Indicate if the server info is enable or not.
enableServerInfo: true
enableServerInfo: ${info.enableServerInfo:true}

0 comments on commit db85287

Please sign in to comment.