Skip to content

feat: add admin curation code filter#658

Merged
Whale0928 merged 1 commit into
mainfrom
feat/issuer-298
Jul 5, 2026
Merged

feat: add admin curation code filter#658
Whale0928 merged 1 commit into
mainfrom
feat/issuer-298

Conversation

@bottlenote-app

@bottlenote-app bottlenote-app Bot commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

개요

어드민 spec 기반 큐레이션 목록/피드 조회에서 code 기반 스펙 필터를 지원합니다.

변경 내용

  • CurationSearchRequest에 선택 파라미터 code 추가
  • Admin 목록/피드 검색 시 codecuration_spec.code로 해석해 specId exact match 필터 적용
  • keyword, isActive, page, size 기존 동작 유지
  • 알 수 없는 code는 빈 페이지 반환
  • blank/null code는 필터 미적용 처리
  • Admin RestDocs에 code query parameter 문서화

테스트 커버리지

  • Positive: code=WHISKY_PAIRING 단독 필터
  • Positive 조합: keyword + code + isActive
  • Negative: 알 수 없는 code 빈 결과
  • Boundary: blank code 필터 미적용
  • /curations/curations/feed 모두 단위 테스트 보강
  • Admin API 통합 테스트에도 positive/negative/boundary 케이스 추가

검증

  • ./gradlew :bottlenote-mono:test --tests 'app.bottlenote.curation.service.AdminSpecBasedCurationServiceTest' PASS
  • ./gradlew :bottlenote-admin-api:test --tests 'app.docs.curation.AdminSpecBasedCurationControllerDocsTest' PASS
  • ./gradlew docs_test PASS

미검증/로컬 제약

  • ./gradlew :bottlenote-admin-api:admin_integration_test --tests 'app.integration.curation.AdminSpecBasedCurationIntegrationTest'는 로컬 Docker/Testcontainers 초기화 단계에서 중단되어 assertion 진입 전 실패했습니다. 추가한 통합 테스트는 CI에서 검증 필요합니다.

관련 이슈

@bottlenote-app bottlenote-app Bot force-pushed the feat/issuer-298 branch 2 times, most recently from 9e2f391 to 420086a Compare July 5, 2026 15:57
@Whale0928 Whale0928 merged commit 0be24e9 into main Jul 5, 2026
7 checks passed
@Whale0928 Whale0928 deleted the feat/issuer-298 branch July 5, 2026 16:31
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.

1 participant