Closed
Conversation
- Common 모듈: annotation, config, exception, handler, jwt, model, utils 통합 - Domain 모듈: 17개 도메인별로 config, controller, model, repository, service 구조화 - 테스트 코드 패키지 선언을 실제 디렉토리 구조에 맞게 수정 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- 모듈러 모놀리스 구조 변경으로 인한 import 경로 업데이트 - Config 파일들의 import 경로 수정 - 테스트 코드의 import 경로 수정 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
CLAUDE.md 개선: - Windows 환경 지원 추가 (gradlew.bat 사용 안내) - JOOQ 생성 방법 명확화 (jooq-docker 플러그인 vs 로컬 MySQL) - 모듈러 모놀리스 아키텍처 구조 상세화 (common 모듈 + 18개 domain 모듈) - 테스트 커버리지 제외 항목 구체화 build.gradle 개선: - Jacoco 커버리지 제외 패턴을 모듈러 모놀리스 구조에 맞게 수정 - JOOQ 생성 클래스만 정확히 제외 (org/jooq/**) - 도메인별 설정/모델/리포지토리 제외 패턴 추가 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
Important Review skippedMore than 25% of the files skipped due to max files limit. The review is being skipped to prevent a low-quality review. 193 files out of 300 files are above the max files limit of 100. Please upgrade to Pro plan to get higher limits. You can disable this status message by setting the ✨ Finishing touches
🧪 Generate unit tests (beta)
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 |
테스트 결과571 tests ±0 571 ✅ ±0 1m 3s ⏱️ -1s Results for commit 74f8d90. ± Comparison against base commit f38a8d5. This pull request removes 570 and adds 570 tests. Note that renamed tests count towards both. |
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.
#️⃣연관된 이슈
#299
📝작업 내용
개요
레이어드 아키텍처의 한계를 극복하고 도메인 경계를 명확히 하기 위해 모듈러 모놀리스 아키텍처로 패키지 구조를 전환했습니다.
주요 변경사항
1. 모듈 구조 재편
Common 모듈: 공통 인프라 레이어
annotation/: AOP 기반 커스텀 애노테이션 (AlarmTrigger, CheckPostMetaData)config/: 공통 설정 (ai, db, infra, storage, swagger, web)exception/: 공통 예외 클래스handler/: 글로벌 예외 핸들러jwt/: JWT 인증/인가 유틸리티model/: 공통 도메인 모델 (BaseEntity, ErrorCode, PageInfo 등)utils/: 유틸리티 클래스Domain 모듈: 18개 비즈니스 도메인
controller/,service/,repository/,model/구조화2. 패키지 경로 전면 변경
kr.co.amateurs.server.domain.controller.*→ 신규:kr.co.amateurs.server.domain.*/controller/*kr.co.amateurs.server.domain.dto.*→ 신규:kr.co.amateurs.server.domain.*/model/dto/*kr.co.amateurs.server.domain.entity.*→ 신규:kr.co.amateurs.server.domain.*/model/entity/*3. 도메인별 모델 재구성
각 도메인은 다음과 같은 표준 구조를 따릅니다:
4. 테스트 코드 정리
test/java/kr/co/amateurs/server/common/: 공통 테스트 설정test/java/kr/co/amateurs/server/domain/*/: 도메인별 테스트5. 문서 및 빌드 설정 개선
gradlew.bat사용법)**/common/**,**/domain/*/config/**,**/domain/*/model/**,**/domain/*/repository/**제외아키텍처 변경의 장점
Breaking Changes
main브랜치를 pull 받은 후 작업 브랜치를 rebase 해야 합니다💬리뷰 요구사항(선택) 및 기타 참고사항
테스트 실행
모든 테스트가 정상적으로 통과하는지 확인 부탁드립니다:
빌드 확인
JOOQ 코드 생성 및 전체 빌드가 성공하는지 확인 부탁드립니다:
리뷰 포인트
✅ 체크리스트