Repository navigation
refactor: TrackMaster를 member로 옮겨 member↔track 순환 의존을 끊는다 - #159
Merged
Merged
Conversation
…o chore/merge-train
…nto chore/merge-train
… chore/merge-train
…o chore/merge-train
…to chore/merge-train
…chore/merge-train
…to chore/merge-train
…into chore/merge-train # Conflicts: # src/main/java/com/bcsdlab/bcsdinternalapiv2/curriculum/service/AdminCurriculumService.java
…o chore/merge-train
- TrackMaster·TrackMasterRepository를 member.model·member.repository로 옮긴다. 부원 소속을 나타내는 엔티티라 member가 소유하고, track은 이를 참조만 한다. - 회원 등록·명부 수정의 트랙 없음 예외를 MemberExceptionType.TRACK_NOT_FOUND로 바꾼다. 상태 코드(404)와 메시지는 기존 TrackExceptionType과 같아 응답은 그대로다. - ArchUnit으로 도메인 패키지 사이의 새 순환을 막는다. auth↔member, track↔curriculum은 한 방향만 무시하는 허용 예외로, global.config는 조립 지점이라 검사에서 뺀다.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 8 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This was referenced Oct 18, 2026
ff1451
marked this pull request as ready for review
October 18, 2026 13:39
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
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.
요약
TrackMaster·TrackMasterRepository를track→member로 옮겨 member → track 의존을 없앴습니다. (부원 소속을 나타내는 엔티티라 member가 소유하고, track은 참조만 합니다. 테이블·스키마 변경은 없습니다.)TrackExceptionType.TRACK_NOT_FOUND를MemberExceptionType.TRACK_NOT_FOUND로 바꿨습니다. 상태 코드 404와 메시지 "존재하지 않는 트랙입니다."는 같아서 응답은 바뀌지 않습니다.archunit-junit5:1.4.1, 테스트 전용)으로 도메인 패키지 사이에 새 순환이 생기지 않게 막습니다.global.config는 보안·MVC 설정을 조립하는 곳이라 검사에서 뺍니다(global.config → auth).머지 순서
#148~#157이 머지된 뒤에 이 PR을 main으로 rebase하고 ready로 바꿉니다. 그 전까지는 diff에 앞선 PR들의 변경이 함께 보입니다. 이 PR의 변경은 마지막 커밋 하나입니다.
검증
DomainDependencyTest·TrackAccessGuardTest·MemberTest통과