멀티 모듈 구조 전환 및 추천 서비스 분리 #7
Merged
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.
개요
모놀리식 구조에서 멀티 모듈 구조로 전환하고, 추천 서비스를 독립적인 서브프로젝트로 분리한 PR입니다. 이를 통해 모듈 간 의존성을 명확히 하고, 각 모듈의 독립적인 개발 및 배포가 가능하도록 개선했습니다.
주요 기능
1. 멀티 모듈 구조 전환
app: 메인 애플리케이션 모듈common: 공통 유틸리티 및 인터페이스 모듈recommend: 독립적인 추천 서비스 모듈2. 추천 서비스 모듈 (recommend)
/api/v1/recommend엔드포인트3. 공통 모듈 (common)
4. 앱 모듈 (app)
RecommendServiceClient를 통한 추천 서비스 호출5. 서비스 간 통신
아키텍처 개선
1. 모듈 구조
2. 모듈 의존성
3. 레이어별 모듈 이동
domain/→app/src/main/java/.../domain/repository/→app/src/main/java/.../repository/service/→app/src/main/java/.../service/controller/→app/src/main/java/.../controller/config/→app/src/main/java/.../config/dto/→app/src/main/java/.../dto/resources/→app/src/main/resources/