Uh oh!
There was an error while loading. Please reload this page.
feat: 코스발견 탭 상단 배너 조회 API 추가 (prod) - #210
Conversation
Banner 엔티티/Repository/Service/Controller 추가, GET /api/banner로 활성 배너를 sortOrder 순으로 반환. Android 연동은 후속 작업.
sortOrder에 유니크 제약이 없어 값이 같은 배너가 있으면 정렬 순서가 요청마다 달라질 수 있어, id ASC를 보조 키로 붙여 결정론적으로 정렬되도록 함.
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
배경
#209 (dev 반영 완료)의 배너 조회 API를 prod에도 반영. dev 브랜치 전체를 머지하면 배너와 무관한 대규모 인프라 변경(Grafana/Prometheus/ELK, deploy.sh 재작성 등, 아직 미검증)이 함께 나가므로, 배너 API 커밋만 별도로 cherry-pick해서 올림.
변경 사항
#209와 동일:
Banner엔티티,BannerRepository,GetBannerResponseDto/BannerResponse,BannerService,BannerControllerGET /api/banner— 활성 배너를 sortOrder(동률 시 id) 순으로 반환SuccessStatus.GET_BANNER_SUCCESS추가영향 범위
신규 도메인 추가로 기존 API/로직에는 영향 없음. 인증 불필요한 공개 엔드포인트. main 대상 배포이므로 병합 시 prod EC2에 실제 배포됨.
검증
./gradlew compileJava성공 확인