Skip to content

Commit

Permalink
fix: monitoring 모듈 의존성을 runtimeOnly에서 implementation으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
GiJungPark committed Nov 5, 2024
1 parent acdf10e commit c63287f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dmforu-admin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ tasks.getByName("jar") {
dependencies {
implementation(project(":dmforu-domain"))
implementation(project(":dmforu-crawling"))
implementation(project(":dmforu-support:monitoring"))

runtimeOnly(project(":dmforu-infrastructure:fcm"))
runtimeOnly(project(":dmforu-infrastructure:storage:mysql"))
runtimeOnly(project(":dmforu-infrastructure:storage:mongo"))
runtimeOnly(project(":dmforu-support:monitoring"))

testImplementation("org.mockito.kotlin:mockito-kotlin:4.1.0")
}
3 changes: 2 additions & 1 deletion dmforu-api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ tasks.getByName("jar") {

dependencies {
implementation(project(":dmforu-domain"))
implementation(project(":dmforu-support:monitoring"))

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

runtimeOnly(project(":dmforu-infrastructure:storage:mysql"))
runtimeOnly(project(":dmforu-infrastructure:storage:mongo"))
runtimeOnly(project(":dmforu-support:monitoring"))

testImplementation("org.springframework.boot:spring-boot-starter-validation")
}
2 changes: 2 additions & 0 deletions dmforu-support/monitoring/src/main/resources/monitoring.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
management:
server:
port: 9292
endpoint:
metrics:
enabled: true
Expand Down

0 comments on commit c63287f

Please sign in to comment.