[DP-233] AI 답변 응답 전체 필드 수신 및 트렌드 엔드포인트 정리#138
Merged
github-actions[bot] merged 3 commits intodevelopV2from Apr 25, 2026
Merged
Conversation
added 3 commits
April 25, 2026 14:06
AI 서버가 answer_content 외 반환하던 key_points, suggested_tags, related_contents, confidence 필드를 파싱·저장·API 응답에 포함
- TopContentItem에 rank 필드 추가 (AI 서버 payload 기존 포함)
- TrendController.getAnalysisByPeriod() 제거 (GET /trends/analysis/{periodStart})
- TrendAnalysisService.getByPeriod() 제거
AI 서버 응답에 포함되나 BE에서 파싱/저장하지 않음
|
2 tasks
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.


Summary
POST /posts/{postId}/ai-answer응답에 AI 서버가 반환하던key_points,suggested_tags,confidence필드 추가 수신/저장TopContentItem에rank필드 추가 (AI 서버 payload에 기존 포함)GET /trends/analysis/{periodStart}엔드포인트 및TrendAnalysisService.getByPeriod()제거 (히스토리 폐기 결정)related_contents는 BE에서 파싱하지 않음 (팀 협의)Test plan
AiAnswerClientTest— 전체 응답 객체 파싱 검증AiAnswerServiceTest— 신규 필드 포함 저장 및 반환 검증AiAnswerControllerTest— keyPoints, suggestedTags, confidence 응답 검증TrendAnalysisServiceTest— getByPeriod 관련 테스트 제거TrendControllerTest— getAnalysisByPeriod 관련 테스트 제거./gradlew build --no-daemon)