feat: 귀국 루트 MVP3 구현 - #6
Merged
Merged
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (17)
📝 WalkthroughWalkthroughAdds city airport and flag metadata, sleep-time calculation, return-route generation and persistence, lifecycle tracking, response DTOs, and authenticated APIs for route creation, retrieval, boarding-pass lookup, and arrival progression. ChangesReturn Route Workflow
Estimated code review effort: 4 (Complex) | ~45 minutes Sequence Diagram(s)sequenceDiagram
participant Member
participant ReturnRouteController
participant ReturnRouteService
participant SleepTimeCalculator
participant CityRepository
participant ReturnRouteRepository
Member->>ReturnRouteController: POST create route
ReturnRouteController->>ReturnRouteService: createReturnRoute(memberId, resultId)
ReturnRouteService->>SleepTimeCalculator: generate sleep-adjustment days
ReturnRouteService->>CityRepository: select checkpoint cities
ReturnRouteService->>ReturnRouteRepository: persist route
ReturnRouteService-->>ReturnRouteController: ReturnRouteResponse
ReturnRouteController-->>Member: ApiResponse
Possibly related issues
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
…mvp3 # Conflicts: # src/main/java/com/cotato/cokerthon/domain/city/repository/CityRepository.java
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.
작업 내용
IN_PROGRESS,COMPLETED,CANCELLED상태를 추가했습니다.주요 API
POST /api/return-routes/results/{resultId}: 귀국 루트 생성GET /api/return-routes/current: 현재 귀국 루트 조회GET /api/return-routes/current/boarding-pass: 현재 귀국 항공권 조회POST /api/return-routes/current/sleep: 다음 경유지 도착 처리검증
./gradlew clean testGET /actuator/health응답200 OK확인Summary by CodeRabbit
New Features
Tests