-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: 화면 구현에 필요한 API를 추가 구현한다. #128
Conversation
- 사용자가 명시적으로 좌석 선택 취소시 바로 release할 수 있도록 구현
@@ -7,4 +7,6 @@ public interface ReservationService { | |||
void selectSeat(String memberEmail, SeatSelectionRequest seatSelectionRequest); | |||
|
|||
void reservationTicket(String memberEmail, TicketPaymentRequest ticketPaymentRequest); | |||
|
|||
default void releaseSeat(String memberEmail, SeatSelectionRequest seatSelectionRequest) {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
디폴트 메서드로 정의하신 이유가 있나요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수정했습니다~
private final ScheduledExecutorService scheduler = Executors.newScheduledThreadPool(5); | ||
|
||
@Value("${ticketing.reservation.release-delay-seconds}") | ||
private int reservationReleaseDelay; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
밖에서 주입하고 final로 선언하는 건 어떤가요?
⛏ 작업 사항
화면 구현에 필요한 API를 추가 구현했습니다.
📝 작업 요약
💡 관련 이슈