diff --git a/README.md b/README.md index bcda2702..d026c76d 100644 --- a/README.md +++ b/README.md @@ -245,6 +245,8 @@ MySQL과 MariaDB의 Table Id 전략은 대부분이 IDENTITY 전략을 사용하 ### 5-2) Delete 해결책 이미 프로젝트에서 queryDsl를 사용하고 있어 이를 이용하는 것이 가장 간단했기 때문에 queryDsl의 delete in 쿼리를 사용하여 해결했습니다. +**상세 내용 링크 : ([글 링크](https://blogshine.tistory.com/686))** + --- ## 6. 인증, 인가를 비즈니스 로직으로부터 분리하기 diff --git a/build.gradle b/build.gradle index d075c2b6..f3aa57b3 100644 --- a/build.gradle +++ b/build.gradle @@ -71,10 +71,6 @@ dependencies { // flyway implementation 'org.flywaydb:flyway-core' - // Logging - implementation 'io.sentry:sentry-spring-boot-starter:5.4.0' - implementation 'io.sentry:sentry-logback:5.4.0' - // DevTool compileOnly 'org.projectlombok:lombok' annotationProcessor 'org.projectlombok:lombok' diff --git a/src/main/java/com/kustacks/kuring/worker/update/staff/StaffUpdater.java b/src/main/java/com/kustacks/kuring/worker/update/staff/StaffUpdater.java index ce30005d..ec836805 100644 --- a/src/main/java/com/kustacks/kuring/worker/update/staff/StaffUpdater.java +++ b/src/main/java/com/kustacks/kuring/worker/update/staff/StaffUpdater.java @@ -6,7 +6,6 @@ import com.kustacks.kuring.staff.domain.StaffRepository; import com.kustacks.kuring.worker.scrap.StaffScraper; import com.kustacks.kuring.worker.scrap.deptinfo.DeptInfo; -import io.sentry.Sentry; import lombok.extern.slf4j.Slf4j; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; @@ -55,7 +54,6 @@ public void update() { successDeptNames.add(deptInfo.getDeptName()); } catch (InternalLogicException e) { log.error("[StaffScraperException] {}학과 교직원 스크래핑 문제 발생.", deptInfo.getDeptName()); - Sentry.captureException(e); } } diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 69e4fbf5..d266318d 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -51,10 +51,6 @@ logging: file: name: classpath:/kuring.log -sentry: - traces-sample-rate: '1.0' - dsn: ${SENTRY_URL} - management: endpoint: health: diff --git a/src/test/resources/application-test.yml b/src/test/resources/application-test.yml index 95666fbb..931b4122 100644 --- a/src/test/resources/application-test.yml +++ b/src/test/resources/application-test.yml @@ -35,9 +35,6 @@ testcontainers: reuse: enable: true -sentry: - dsn: "" - logging: level: p6spy: debug