[REFACTOR] 서비스 확장에 따른 모듈 및 서버 분리 #141
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.
🎋 이슈 및 작업중인 브랜치
🔑 주요 내용
@nitronium102
추후 확장에 대비해 무거운 작업 위주였던 Place 도메인의 모듈과 서버를 분리하였습니다. (global-utils 모듈이 아닌 api-common 모듈을 새로 만든 이유는 api 관련 코드 및 라이브러리들이 순수 전역 공통 모듈인 global-utils와 뒤섞이지 않게 하기 위함)
ssolv-api-core(분리): 메인 비즈니스 서버ssolv-api-place(분리): 장소 전용 서버ssolv-api-common(신설): API 서버들의 공통 로직(보안, 예외 처리, 공통 설정)또한, Nginx Gateway 라우팅을 통해 /api/v1/places 경로는 backend-place로, 그 외 요청은 backend-core로 전달되도록 변경하였습니다.
테스트 환경의 경우 Test Fixtures를 도입하여, TestAuthHelper, TestSecurityConfig 등 여러 모듈의 테스트에서 공통으로 사용하는 유틸리티 클래스들을
ssolv-api-common/src/testFixtures로 분리했습니다. (Gradle의 java-test-fixtures 플러그인을 사용하여 core와 place 모듈이 이 공통 테스트 도구들을 안전하게 공유할 수 있도록 설정)Check List