diff --git a/build.gradle b/build.gradle index 0d8888b4..4c77f3aa 100644 --- a/build.gradle +++ b/build.gradle @@ -28,7 +28,7 @@ openapi3 { servers = [ { url = "http://localhost:8080" }, { url = "https://studay.store" }, - { url = "http://studay.store" } + { url = "http://3.114.43.57:8080" } ] title = "스터데이" description = "스터데이 API 문서" @@ -43,7 +43,11 @@ repositories { } dependencies { + + // Web implementation 'org.springframework.boot:spring-boot-starter-web' + + // Test testImplementation 'org.springframework.boot:spring-boot-starter-test' // S3 @@ -102,6 +106,12 @@ dependencies { // spatial type implementation 'org.hibernate:hibernate-spatial:6.3.1.Final' + // Prometheus + runtimeOnly 'io.micrometer:micrometer-registry-prometheus' + + // Spring Actuator + implementation 'org.springframework.boot:spring-boot-starter-actuator' + } tasks.named('test') { diff --git a/src/main/java/org/guzzing/studayserver/domain/auth/config/Constants.java b/src/main/java/org/guzzing/studayserver/domain/auth/config/Constants.java index 0a174137..9822173e 100644 --- a/src/main/java/org/guzzing/studayserver/domain/auth/config/Constants.java +++ b/src/main/java/org/guzzing/studayserver/domain/auth/config/Constants.java @@ -11,5 +11,6 @@ public class Constants { "/swagger-ui/**", "/swagger-resources/**", "/v3/api-docs/**", + "/actuator/**" }; }