Skip to content
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

[Feat/186] 매칭 우선순위 API 구현 #189

Merged
merged 28 commits into from
Feb 4, 2025
Merged

[Feat/186] 매칭 우선순위 API 구현 #189

merged 28 commits into from
Feb 4, 2025

Conversation

rimi3226
Copy link
Contributor

@rimi3226 rimi3226 commented Jan 26, 2025

🚀 개요

매칭 우선순위 API 구현

⏳ 작업 상세 내용

  • 조건에 따라 priority 값 측정하는 matchingPrioirtyEvaluateService 구현
  • 게임 모드, 매칭 타입에 따라 우선순위 계산하는 matchingPriorityCalculateService 구현
  • Mike ENUM 상태 두 가지로 변경
  • MemberService에서 GameStyle 관련 수정하는 Service를 전부 MemberGameStyleService로 옮김. 원래는 FacadeService에서 직접 각 단계를 불러와서 처리했으나, 재사용성을 고려해 MemberService의 updateGameStyle 메소드에서 MemberGameStyleService를 불러와서 실행시킴
  • Matching 우선순위 리스트 처리하기 전, 서로 차단한 사용자의 경우 제외
  • 5분동안 대기중인 매칭 기록 리스트 불러올 때 index 처리하도록 Repository 내용 설정

📝 더 꼼꼼히 봐야할 부분

  • 빠른대전 티어 기획 정리되면 수정하겠습니다!
  • Matching 로직 중에 차단당한 사용자를 확인하는 메소드를 사용하는 부분 괜찮은지 확인 부탁드립니다.
  • MatchingRepository에서 인덱스로 조회하는거 괜찮은지 확인 부탁드립니다.

🔍 반드시 참고해야하는 변경 사항

  • 없을 경우 체크

@rimi3226 rimi3226 self-assigned this Jan 26, 2025
@rimi3226 rimi3226 linked an issue Jan 26, 2025 that may be closed by this pull request
2 tasks
Copy link
Member

@Eunjin3395 Eunjin3395 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

일단 api 요청이 에러가 나서 ㅠㅠ 수정 후에 다시 더 테스트를 해봐야 할 것 같습니다......

Copy link
Member

@Eunjin3395 Eunjin3395 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

테스트 코드 제외 리뷰 완료

Copy link
Member

@Eunjin3395 Eunjin3395 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@rimi3226 rimi3226 merged commit 28893c4 into develop Feb 4, 2025
1 check passed
@rimi3226 rimi3226 deleted the feat/186 branch February 4, 2025 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

✨ [Feat] 매칭 우선순위 계산 API 구현
2 participants