Repository navigation
feat(session): 세션 조회 API 구현 - #115
Merged
Merged
Conversation
9 tasks
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.
배경
현재 Session 생성·복구·token 검증·inactivity expiration 기반은 존재하지만 Session 조회 API와 mode/mission read state가 구현되어 있지 않다.
Closes #110
변경 내용
GET /api/v1/sessions/{sessionId}구현SessionAccessVerifier재사용ExperienceMode(MISSION,FREE)와 nullablemissionId추가SessionStatus를expiredAt에서 read-time 파생poppy.session.inactivity-timeout기반expiresAt계산mode = null,missionId = null반환mode 변경 write API와 Simulation Pass invalidation 정책은 이번 Issue 범위에서 제외했다.
검증
./gradlew.bat test— 329 tests passed./gradlew.bat build— passed로컬 PostgreSQL Testcontainers의 client limit 때문에 검증 시
SPRING_DATASOURCE_HIKARI_MAXIMUM_POOL_SIZE=7을 실행 환경 변수로만 지정했다. repository 설정에는 반영하지 않았다.