-
Notifications
You must be signed in to change notification settings - Fork 1
서비스 운영 전 점검을 합니다. #362
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
base: main
Are you sure you want to change the base?
서비스 운영 전 점검을 합니다. #362
Conversation
Redis 호스트 설정 변경
비효율적인 엔티티 간 연관관계 개선
관리자 전용 API 접근 권한 부여
CoolSms 환경 변수 추가
모임 이미지 예외처리
모임 기능 관련 상세한 예외처리 로직 추가
프로필 이미지 크기 초과 관련 예외처리 추가
닉네임 수정 시 중복 예외 처리
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.
Pull Request Overview
This PR aims to verify SMS notification delivery for meeting creation and matching while preparing for production operational tests. Key changes include:
- Adapting refresh token persistence from a database to Redis
- Enhancing JWT token generation and authentication flows via updated domain classes and services
- Introducing admin functionality (initialization, login, and management) along with updated deployment scripts and CI/CD workflows
Reviewed Changes
Copilot reviewed 169 out of 169 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| RefreshTokenRepository.java | Updated to use Redis (CrudRepository) and the new RefreshToken domain |
| LoginRequest.java, TokenType.java, RefreshToken.java | New and updated DTO/Domain classes for authentication token handling |
| CustomMemberDetails.java, CustomMemberDetailsService.java | Revised user detail loading logic with profile image lookup |
| TokenService.java, AdminService.java | Updated token generation and admin authentication logic |
| AdminInitializer.java, AdminController.java, AdminApi.java | Newly added admin endpoints and API definitions |
| Test.java, FestamateApplication.java | Added Sentry testing endpoint and scheduling enablement |
| docker-compose-prod.yml, docker-compose-dev.yml | Updated environment variables and service dependency configurations |
| .github/workflows/cd-prod.yml, cd-dev.yml | Revised CI/CD workflows to include .env generation and deployment steps |
| README.md | Updated project assets and documentation |
Comments suppressed due to low confidence (1)
docker-compose-prod.yml:21
- [nitpick] Ensure that the new service name 'redis-service' is consistently updated in all dependent configurations and scripts to avoid connection issues.
- redis-service
| docker compose -f docker-compose-dev.yml build | ||
| docker compose -f docker-compose-dev.yml push |
Copilot
AI
May 18, 2025
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.
The production CD workflow now uses docker-compose-dev.yml instead of the production compose file, which may lead to deployment mismatches. Please verify if this change is intentional.
| docker compose -f docker-compose-dev.yml build | |
| docker compose -f docker-compose-dev.yml push | |
| docker compose -f docker-compose-prod.yml build | |
| docker compose -f docker-compose-prod.yml push |
| public Map<String, String> loginAdmin(LoginRequest loginRequest) { | ||
|
|
||
| Member member = memberRepository.findByLoginId(loginRequest.getLoginId()) | ||
| .orElseThrow(() -> new RuntimeException("사용자를 찾을 수 없습니다.")); |
Copilot
AI
May 18, 2025
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.
[nitpick] Consider using a more specific exception type instead of RuntimeException for authentication failures to improve error handling and clarity.
#️⃣ 연관된 이슈
#357
📝 작업 내용
📷 스크린샷 (선택)
💬 리뷰 요구사항 (선택)