-
Notifications
You must be signed in to change notification settings - Fork 2
Dev #124
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
Conversation
This file contains hidden or 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
Contributor
caniro
commented
Jun 4, 2025
- 정기반영
refactor: 체결 로직 리팩토링 및 테스트 코드 일부 작성
chore: github actions run-name 오타 수정
* fix: 호가 갱신시 잔량을 기준으로 추가하도록 수정 주문 복원 기능에 대해서도 일관적으로 동작하도록 수정했습니다. * refactor: 다른 handler의 이벤트 핸들링 style에 맞게 변경 EventListener의 class명을 명시적으로 기재하지 않고, method의 spec을 기반으로 Spring이 event를 주입하는 방식으로 변경했습니다.
test: 로그인, 계좌 관련 단위테스트 추가 및 리팩토링
* refactor: deprecated된 주문큐 클래스 제거 개발 버전에서 WaitingOrders, WaitingOrdersMaanger로 성공을 확인했기 때문에, 기존 deprecated 클래스를 제거합니다 * refactor: Order 엔티티 리팩터링 공통 생성 로직을 super 클래스에 끌어올렸습니다. remainingSize 수정 메서드를 super 클래스에 끌어올렸습니다. validationError 기반으로 exception을 반환하는 기능을 super 클래스에 끌어올렸습니다. 상태변화 메서드에 대한 null체크를 추가했습니다. * test: Order 도메인 단위테스트 추가 Order 도메인의 엔티티들에 대한 단위 테스트를 추가했습니다. * test: Asset 엔티티 null check 추가, 단위 테스트 추가 * refactor: 주문 접수시 sub logic들 리팩토링 Account, Wallet의 의존성을 불필요하게 분리했던 점을 수정했습니다. Order, Wallet, Account는 하나의 트랜잭션에서 강하게 일관성이 필요한 점을 고려했습니다. * test: OrderCommand ValidationTest 추가 NotNull과 같은 개발자의 추가적인 설정이 불필요한 Annotation을 제외한 제약들에 대해 테스트를 수행했습니다. * refactor: 테스트용 CustomMockUser Annotation id 참조 수정 id가 CommonValues로부터 값을 참조해 가독성을 좋게 만들었습니다. * remove: 삭제되어야 했던 dependency 수정
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.
