[Fix] 프로젝트 쿼터 응답 DTO가 통일되지 않는 문제 해결 #27 - #43
Merged
Conversation
Member
|
작업이 다 완료되었다면 드래프트 풀어주세요 |
callme-waffle
marked this pull request as ready for review
June 21, 2026 23:05
Member
|
LGTM |
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)
projectBrief필드를 제거하고quota만 응답하도록 정리했습니다.projectBrief에서quota로 통일했습니다.🔗 관련 이슈 (Related Issue)
Closes #27
🛠 작업 내용 / 작업 순서 (Implementation Details)
ProjectResponse.projectBrief제거ProjectRequestDto,ProjectRequestResponse,ProjectQuotaRequest의 생성요청 쿼터 필드명을quota로 통일✨ 주요 변경 사항 (Key Changes)
ProjectResponse에서 deprecatedprojectBriefrecord component와 builder 할당을 제거했습니다.ProjectRequestResponse가 생성요청 쿼터를quota필드로 직렬화하도록 변경했습니다.ProjectRequestDto내부 필드와 승인 시 생성 DTO 변환 로직이quota명명으로 동작하도록 정리했습니다.quota를 사용하고projectBrief를 노출하지 않도록 수정했습니다.projectBrief미노출과quota노출을 명시적으로 검증했습니다.🧪 테스트 결과 (Test Results)
테스트 환경
http://127.0.0.1:8080aolda-issue1-mariadbMariaDB 컨테이너aolda-test-redisRedis 컨테이너SessionData를 직접 생성하고acc-session-id쿠키로 API 호출테스트 방법
전체 자동 테스트 실행
./gradlew testBUILD SUCCESSFULSwagger/OpenAPI 문서 검증
/v3/api-docs호출projectBrief_count=0확인/api/v1/projects,/api/v1/projects/request,/api/v1/admin/projects,/api/v1/admin/projects/request200 응답 예시에quota포함 및projectBrief미포함 확인실제 프로젝트 목록 API 호출
GET /api/v1/projectsGET /api/v1/admin/projects?limit=1quota존재 및projectBrief없음 확인실제 프로젝트 생성요청 목록 API 호출
GET /api/v1/projects/request?keyword=issue27-quota-request-20260619-001&limit=1GET /api/v1/admin/projects/request?keyword=issue27-quota-request-20260619-001&limit=1quota존재 및projectBrief없음 확인테스트 리소스 정리 검증
project_requests,outbox_events테스트 데이터 삭제테스트 결과
검증 결과 요약: