Skip to content

Commit

Permalink
feat: Spring Boot Actuator 추가 (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
kkjsw17 authored Mar 3, 2025
1 parent 879b51c commit 4e45625
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions clog-api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ dependencies {

implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.5")
implementation("org.springframework.boot:spring-boot-starter-validation")
implementation("org.springframework.boot:spring-boot-starter-actuator")

implementation("org.springframework.boot:spring-boot-starter-security")
implementation("org.springframework.boot:spring-boot-starter-oauth2-client")
Expand Down
5 changes: 5 additions & 0 deletions clog-api/src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
management:
endpoints:
web:
exposure:
include: "*"
6 changes: 6 additions & 0 deletions clog-api/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,9 @@ springdoc:
groups-order: DESC
tags-sorter: alpha
operations-sorter: method

management:
endpoints:
web:
exposure:
include: "health"

0 comments on commit 4e45625

Please sign in to comment.