Fix path of properties in health controller.

This commit is contained in:
Konstantinos Triantafyllou 2024-07-31 15:59:40 +03:00
parent 5235db8218
commit c8187434b9
1 changed files with 6 additions and 6 deletions

View File

@ -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());
}