-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Refactor] deprecated 코드 제거, 혈당 가이드 중복 처리 #88
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Analysis Details0 IssuesCoverage and DuplicationsProject ID: co-niverse_dangjang-backend_AYj2jZJELehUZAlqDvRk |
13wjdgk
approved these changes
Nov 23, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
확인했습니당 ~
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes 📝
Details 🌼
deprecated 코드 제거
이전 버전 API를 제거하면서 기존에 deprecated 처리된 코드도 삭제했습니다
테스트도 전부 수정했기 때문에 이제 build하면 실패하지 않아요
혈당 가이드 중복 처리
다른 가이드와 마찬가지로 혈당 가이드도 저장 또는 업데이트할 때 중복이 발생하면 예외 처리하지 않고 건너뛰도록 했어요
건강지표가 MySQL에 들어갈 때 duplicate exception 발생하고 롤백하니까 가이드는 건너뛰는게 가장 좋을 것 같네요!
혈당 가이드 테스트 분리
@Order
로 강한 결합을 가졌던 테스트를 전부 분리했습니다혈당 가이드의 모든 테스트 코드는 독립적으로 실행돼요
side car 호출 클래스 분리
예외처리를 한 곳에서 진행하기 위해 AppLog나 Notification이 FluentBit에 데이터를 집어넣는 것을 하나의 메서드로 처리했습니다
이렇게 되면
NotificationSendService
클래스는 없어도 되는데 Spring Batch 구현 때 어떻게 될지 몰라서 남겨두었습니당 나중에 이브가 구현할 때 판단하면 될 것 같아요Check List ☑️