Fix path of properties in health controller.
This commit is contained in:
parent
5235db8218
commit
c8187434b9
|
@ -34,12 +34,12 @@ public class AuthorizationLibraryCheckDeployController {
|
|||
@RequestMapping(value = "/health_check/advanced", method = RequestMethod.GET)
|
||||
public Map<String, String> checkEverything() {
|
||||
Map<String, String> response = new HashMap<>();
|
||||
response.put("security.redis.host", securityConfig.getRedis().getHost());
|
||||
response.put("security.redis.port", securityConfig.getRedis().getPort());
|
||||
response.put("security.redis.password", securityConfig.getRedis().getPassword());
|
||||
response.put("security.userInfoUrl", securityConfig.getUserInfoUrl());
|
||||
response.put("security.session", securityConfig.getSession());
|
||||
response.put("security.domain", securityConfig.getDomain());
|
||||
response.put("authorization.security.redis.host", securityConfig.getRedis().getHost());
|
||||
response.put("authorization.security.redis.port", securityConfig.getRedis().getPort());
|
||||
response.put("authorization.security.redis.password", securityConfig.getRedis().getPassword());
|
||||
response.put("authorization.security.userInfoUrl", securityConfig.getUserInfoUrl());
|
||||
response.put("authorization.security.session", securityConfig.getSession());
|
||||
response.put("authorization.security.domain", securityConfig.getDomain());
|
||||
if(GlobalVars.date != null) {
|
||||
response.put("Date of deploy", GlobalVars.date.toString());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue