Skip to content

feat: Admin 술 단건 조회 및 참조 데이터 API 추가#553

Merged
Whale0928 merged 14 commits intomainfrom
claude/analyze-whiskey-api-ToXyF
Jan 19, 2026
Merged

feat: Admin 술 단건 조회 및 참조 데이터 API 추가#553
Whale0928 merged 14 commits intomainfrom
claude/analyze-whiskey-api-ToXyF

Conversation

@Whale0928
Copy link
Copy Markdown
Collaborator

  • 술(Alcohol) 단건 상세 조회 API 추가 (GET /alcohols/{id})
  • 테이스팅 태그 목록 조회 API 추가 (GET /tasting-tags)
  • 지역 목록 조회 API 추가 (GET /regions)
  • 증류소 목록 조회 API 추가 (GET /distilleries)
  • 관련 DTO, Repository, Service 메서드 추가
  • 통합 테스트 추가 (해피케이스 + 인증 방어로직)

claude and others added 14 commits January 19, 2026 16:10
- 술(Alcohol) 단건 상세 조회 API 추가 (GET /alcohols/{id})
- 테이스팅 태그 목록 조회 API 추가 (GET /tasting-tags)
- 지역 목록 조회 API 추가 (GET /regions)
- 증류소 목록 조회 API 추가 (GET /distilleries)
- 관련 DTO, Repository, Service 메서드 추가
- 통합 테스트 추가 (해피케이스 + 인증 방어로직)
- 술 단건 상세 조회 RestDocs 테스트 추가
- 테이스팅 태그 목록 RestDocs 테스트 추가
- 지역 목록 RestDocs 테스트 추가
- 증류소 목록 RestDocs 테스트 추가
- AlcoholsHelper에 테스트 데이터 생성 메서드 추가
- asciidoc 문서 확장 (alcohols.adoc, reference.adoc)
테이스팅 태그, 지역, 증류소 목록 API에 페이지네이션 기능을 추가합니다.

- AdminReferenceSearchRequest DTO 추가 (keyword, sortOrder, page, size)
- TastingTag/Region/Distillery Repository에 Page 반환 및 keyword 검색 지원
- 컨트롤러에서 PageRequest 생성 및 GlobalResponse.fromPage() 사용
- RestDocs 테스트에 queryParameters 및 pagination meta 필드 문서화
- 통합 테스트에 pagination 파라미터 및 meta 검증 추가
TastingTagRepository 인터페이스에 Pagination 메서드 추가 후
InMemory 구현체에 누락된 메서드 구현
- admin-api에 spring-boot-starter-data-jpa 의존성 추가 (main scope)
- InMemoryAlcoholQueryRepository에 누락된 findAdminAlcoholDetailById 메서드 추가
- admin-api에서 spring-data-jpa 의존성 제거 (testImplementation만 유지)
- AdminReferenceSearchRequest에 toPageable() 메서드 추가
- 컨트롤러에서 PageRequest, Sort import 제거하고 toPageable() 사용
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@Whale0928 Whale0928 merged commit 2cf048e into main Jan 19, 2026
8 checks passed
@Whale0928 Whale0928 deleted the claude/analyze-whiskey-api-ToXyF branch January 19, 2026 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants