Merged
Conversation
Closed
d34d11c to
52e9b68
Compare
52e9b68 to
ab8611d
Compare
ckdals4600
added a commit
that referenced
this pull request
Dec 14, 2025
ed015f4 to
eab711f
Compare
ckdals4600
added a commit
that referenced
this pull request
Dec 15, 2025
ckdals4600
added a commit
that referenced
this pull request
Dec 15, 2025
📊 코드 커버리지 리포트
|
minibr
approved these changes
Dec 18, 2025
32a68d5 to
6dd5b91
Compare
6dd5b91 to
9e514ed
Compare
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.
관련 이슈
PR 설명
1. API 명세 구현 (
LinkController,LinkApi)GET /v1/links/{id}/summary?format=format(Enum:CONCISE,DETAILED) - 요약의 상세 정도를 지정.RecreateSummaryResponse(기존 요약, 신규 요약, 비교 정보 포함).{ "status": "SUCCESS", "message": "메타 정보 수집 완료", "data": { "existingSummary": "기존 요약입니다", "newSummary": "신규 요약입니다", "comparison": "기존 요약과 신규 요약 차이점 입니다." } }2. 비즈니스 로직 (
LinkFacade,SummaryService)LinkFacade에서LinkService(URL 조회)와SummaryService(요약 로직)를 조율함.AiSummaryClient를 통해 새로운 요약을 생성함.comparisonSummary로직을 수행함.3. AI 클라이언트 추상화 및 Mocking
AiSummaryClient(Interface): 외부 AI 서버와의 통신을 위한 인터페이스 정의. 향후 FeignClient 등으로 교체 용이하도록 설계.MockAiSummaryClient(Impl):format(CONCISE/DETAILED)에 따라 다른 내용의 더미 텍스트 반환.generateSummary: 기존 요약과 신규 요약 비교 내용 제공comparisonSummary: 실제 AI 서버가 없어도 프론트엔드 연동 및 로직 테스트가 가능하도록 구현함.4. 테스트 작성 (통합 및 유닛 테스트)
LinkApiIntegrationTest):LinkFacadeTest: Facade 계층에서 서비스 간의 호출 흐름과 데이터 조합 로직 검증함.SummaryServiceTest:AiSummaryClient호출 위임 및 비즈니스 로직 단위 테스트 수행함.SummaryQueryServiceTest: 요약 조회 성공 및 실패(SUMMARY_NOT_FOUND예외) 케이스 검증함.