From c8187434b9d550bbf23093fea18fa5280ac04cfc Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Wed, 31 Jul 2024 15:59:40 +0300 Subject: [PATCH] Fix path of properties in health controller. --- .../AuthorizationLibraryCheckDeployController.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/eu/dnetlib/uoaauthorizationlibrary/authorization/controllers/AuthorizationLibraryCheckDeployController.java b/src/main/java/eu/dnetlib/uoaauthorizationlibrary/authorization/controllers/AuthorizationLibraryCheckDeployController.java index e79ee9c..6e37823 100644 --- a/src/main/java/eu/dnetlib/uoaauthorizationlibrary/authorization/controllers/AuthorizationLibraryCheckDeployController.java +++ b/src/main/java/eu/dnetlib/uoaauthorizationlibrary/authorization/controllers/AuthorizationLibraryCheckDeployController.java @@ -34,12 +34,12 @@ public class AuthorizationLibraryCheckDeployController { @RequestMapping(value = "/health_check/advanced", method = RequestMethod.GET) public Map checkEverything() { Map 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()); }