Merged
Conversation
- 오류 발생시 Discord 주소로 Webhook 전송 - 테스트 종료시 파기할 Webhook 주소이므로 하드코딩
- 공간 목록 반환 시 한글-영어 쌍으로 표현하도록 변경 - 물건 목록 반환 시 물건 이름을 한글-영어 쌍으로 배열로 반환하도록 수정
- SecurityConfig에서 배포 환경 주소를 설정할 수 있도록 @value 어노테이션 추가 - JwtAuthenticationFilter에서 요청 URL, 쿠키 및 Authorization 헤더에 대한 디버깅 로깅 추가 - OAuth2SuccessHandler에서 쿠키 도메인을 배포 환경 주소로 설정하여 보안 강화
- application-test.properties 파일에 배포 환경 주소를 추가하여 테스트 시 환경 설정을 개선함.
- SecurityConfig에서 CORS 설정을 모든 출처를 허용하도록 변경 - OAuth2SuccessHandler에서 배포 환경 주소 관련 필드 및 코드 제거하여 코드 간소화
- SecurityConfig에서 CORS 설정을 로컬 개발 환경 주소로 변경하고, 배포 환경 주소를 추가하여 환경에 따른 유연성을 높임.
- OAuth2SuccessHandler에서 이메일 쿠키의 secure 속성을 제거하여, 클라이언트 측에서 접근 가능하도록 변경함.
- 방의 현재 용량이 1 이하일 경우 방을 삭제하도록 조건을 변경하여 로직을 개선함.
- 방 입장 기능을 위한 Websocket Message 엔드포인트를 추가하여 사용자가 방에 참여할 수 있도록 구현함. - 기존 방 퇴장 및 방 생성 로직과 일관성을 유지하며, 방의 모든 정보를 반환하도록 수정함.
- JWT의 만료 시간을 30일로 연장하고, 갱신 시간도 동일하게 30일로 설정
- 방 입장 API의 MessageMapping 경로를 수정 - 테스트를 위해 쿠키의 유효기간 30일로 지정
- WebSocketController에 유사도 계산을 위한 API 추가 - 유사도 결과를 전달하기 위한 DTO 클래스 SimilarityResponseMessage 및 SimilarityResultMessage 생성 - GameWebSocketController와 GamePlayService에 디버깅 로그 추가
- 유사도 계산 API 호출 시, 첫 번째 및 두 번째 단어를 URL 인코딩하여 전송하도록 수정함.
- WebSocketController에서 유사도 계산 API 호출 시 사용하는 URL을 로컬 주소에서 클러스터 주소로 수정함.
- SimilarityResultMessage 클래스에서 'bod' 필드를 'body'로 변경
- 방 퇴장 및 입장 시 사용자 목록을 클라이언트에 전송하는 기능을 추가함. - 사용자 목록을 담기 위한 UserListMessage DTO 클래스를 새로 생성함. - RoomService에 UUID로 방을 조회하는 메서드를 추가함.
- 점수 획득 실행 시 gameScoreInfo 초기화 후 값을 확인하는 디버깅 로그를 추가함. - 각 게임 점수의 이메일, 점수 및 추가 점수를 출력하도록 수정함.
- 일부 Service에 @requiredargsconstructor 적용
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.
1차 서버 개발 완료