[refactor/#384] Post 패키지 최상위 승격 및 DDD 레이어 재배치#392
Merged
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
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.
❤️ 기능 설명
post컨텍스트를com.techfork.post최상위 패키지로 승격하고, 내부 구조를 DDD 레이어 기준으로 재배치했습니다.주요 변경:
domain / application / infrastructure / presentation기준으로 패키지 재배치application.batch: processorinfrastructure.batch: reader / writerQuery -> Service -> Result -> Converter -> ResponseQuery record로 통일infrastructure.row로 분리presentation.response로 분리PostCommandService를PostViewCountCommandService로 명확화support제거 후application.summary,application.embedding으로 재배치lookup서비스를application.query.lookup으로 정리테스트
./gradlew compileJava compileTestJava ./gradlew test \ --tests com.techfork.post.infrastructure.PostRepositoryTest \ --tests com.techfork.post.application.query.PostQueryServiceTest \ --tests com.techfork.post.application.summary.SummaryExtractionServiceTest \ --tests com.techfork.post.application.batch.PostSummaryProcessorTest \ --tests com.techfork.post.application.batch.PostEmbeddingProcessorTest \ --tests com.techfork.activity.bookmark.application.command.BookmarkCommandServiceTest \ --tests com.techfork.activity.readpost.application.command.ReadPostCommandServiceTest \ --tests com.techfork.post.application.command.PostViewCountCommandServiceTest연결된 issue
close #384
🩷 Approve 하기 전 확인해주세요!
post.application.query -> activity.bookmark.infrastructure.BookmarkRepository직접 의존을 후속 이슈로 넘겨도 되는지 확인 부탁드립니다.Post.create(RssFeedItem, TechBlog)경계 정리를 후속 이슈로 분리하는 방향이 괜찮은지 확인 부탁드립니다.✅ 체크리스트