[23기_최우혁] 동시성 & 결제 연동 미션 제출합니다.#26
Open
whc9999 wants to merge 5 commits intoCEOS-Developers:whc9999from
Open
Conversation
- 서비스 메서드의 조회, 검증, 생성, 저장 흐름 분리 - 엔티티 factory와 도메인 메서드로 생성/상태 변경 규칙 이동 - CustomException과 ErrorCode 기반으로 예외 응답 통일 - 역직렬화 중 발생한 CustomException 처리 보강 - 예약 쿠폰 할인 정책을 CouponDiscountPolicy로 분리 - 매점 주문/재고 처리 흐름과 에러 코드 의미 정리 - Gradle wrapper 복구 및 관련 테스트 보정 - README에 리팩토링 내역과 설계 의도 정리
- 예매 생성과 좌석 저장을 하나의 트랜잭션으로 통합 - Screening 조회에 PESSIMISTIC_WRITE 락 적용 - ReservedSeat 유니크 제약을 최종 중복 방어선으로 유지 - 좌석 중복 저장 시 SEAT_ALREADY_RESERVED 예외로 변환 - 동시성 해결 방법과 선택 근거를 README에 정리
- CEOS 외부 결제 서버 RestClient 연동 추가 - 예매 결제에 티켓팅 케이스 적용 - 매점 주문 결제에 커머스 케이스 적용 - 결제 실패 및 재고 부족 시 보상 처리 추가 - 결제 상태 관리를 위한 예약/매점 주문 상태 확장 - 결제 연동 설계와 테스트 결과 README 정리
- 매점 상품, 재고, 상영 일정, 영화관/상영관 관리 API를 admin 경로로 이동 - 인물, 사진, 이벤트 생성 및 연결 API를 admin 경로로 이동 - 일반 사용자 컨트롤러에는 조회, 구매, 사용자 활동 API만 유지 - 좌석 선점 API 제거 및 좌석 조회 API만 유지 - 기존 /api/admin/** 보안 규칙으로 관리자 권한 제어 적용
- JWT 검증 실패 warn 로그 추가 - 인증/인가 실패 응답을 공통 JSON 형식으로 통일 - JWT credential null 처리 및 Authorization 문자열 상수화 - 회원가입 이메일 중복 확인을 existsByEmail로 개선 - 로그인/회원가입 요청 validation 추가 - JWT secret 환경변수 분리 - 예매 가격 계산 정책 분리 - refresh token HttpOnly Cookie 전환
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.
No description provided.