From 88b0a23c72a60d02df3db89de9bd00c2f42b2143 Mon Sep 17 00:00:00 2001 From: DongHoon Lee Date: Wed, 17 Jul 2024 02:05:24 +0900 Subject: [PATCH 1/2] =?UTF-8?q?[#93]=20fix(HealthCheckController):=20?= =?UTF-8?q?=EB=88=84=EB=9D=BD=EB=90=9C=20=EC=96=B4=EB=85=B8=ED=85=8C?= =?UTF-8?q?=EC=9D=B4=EC=85=98=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/beat/domain/user/api/HealthCheckController.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/beat/domain/user/api/HealthCheckController.java b/src/main/java/com/beat/domain/user/api/HealthCheckController.java index 6048ff6c..b8a9427a 100644 --- a/src/main/java/com/beat/domain/user/api/HealthCheckController.java +++ b/src/main/java/com/beat/domain/user/api/HealthCheckController.java @@ -1,9 +1,14 @@ package com.beat.domain.user.api; import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +@RestController +@RequestMapping("/health-check") public class HealthCheckController { - @GetMapping("/health-check") + @GetMapping public String healthcheck() { return "OK"; } From 77a82218f1952d7b67b91e5660ae0de1d4edb1e9 Mon Sep 17 00:00:00 2001 From: DongHoon Lee Date: Wed, 17 Jul 2024 02:06:23 +0900 Subject: [PATCH 2/2] =?UTF-8?q?[#93]=20refactor(SecurityConfig):=20?= =?UTF-8?q?=EB=88=84=EB=9D=BD=EB=90=9C=20=EA=B2=BD=EB=A1=9C=EB=AA=85=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/beat/global/common/config/SecurityConfig.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/beat/global/common/config/SecurityConfig.java b/src/main/java/com/beat/global/common/config/SecurityConfig.java index 430b66b7..1d80eaf7 100644 --- a/src/main/java/com/beat/global/common/config/SecurityConfig.java +++ b/src/main/java/com/beat/global/common/config/SecurityConfig.java @@ -30,6 +30,7 @@ public class SecurityConfig { "/api/performances/booking/**", "/api/schedules/**", "/api/notifications/**", + "/api/performances/detail/**", "/health-check", "/actuator/health", "/v3/api-docs/**",