Skip to content

Hot/fix#62

Open
rabitis99 wants to merge 19 commits intodevfrom
hot/fix
Open

Hot/fix#62
rabitis99 wants to merge 19 commits intodevfrom
hot/fix

Conversation

@rabitis99
Copy link
Copy Markdown
Collaborator

📌 관련 이슈

  • Closes #536

✨ 기능 요약


📝 상세 내역


✅ 테스트 체크리스트

  • 기능 정상 작동 확인
  • 예외/엣지 케이스 확인
  • UI/UX 흐름 확인 (필요 시 캡처 또는 영상 첨부)
  • 테스트 코드 작성 완료
  • API 연동 확인 (요청/응답 정상 동작)

📸 포스트맨 캡처 사진


🙋‍♀️ 리뷰어 참고사항

# Conflicts:
#	src/main/java/com/example/emergencyassistb4b4/domain/volunteer/infra/redis/service/TTLRedisService.java
#	src/main/java/com/example/emergencyassistb4b4/domain/volunteer/service/VolunteerPostService.java
@value → 프로퍼티 주입

MessagePostProcessor 별도 메서드로 분리

retry 로직 유지

TrackingDataService

flatMap(Optional::stream)로 Optional 처리 단순화

불필요한 null 체크 제거 및 forEach 사용

TrackingService

Optional 예외 처리 시 메시지 명시 (TEAM_NOT_FOUND)

변수명/로직 정리, 로직은 그대로

WebSocketHandler / TrackingSocketHandler

다중 세션 → 단일 세션 처리로 단순화

실패 시 Redis fallback

코드 정리, 로그 개선

LocationWebSocketService

구조·TTL 계산, Redis 처리 로직 정리

로직 자체는 변경 없음
- DTO 개선: VolunteerParticipationResponse, CheckinPeriodDto 구조 정리 및 불필요 필드 제거
- Controller 개선: updatePost, joinTeam 등에서 DB 중복 조회 제거, userDetails.getUser() 단일 조회 적용
- Service 개선: VolunteerJoinService, VolunteerPostService 리팩토링, Redis/DB 연계 로직 및 expired 처리 구조 개선
- Repository 정리: 사용되지 않는 메서드 삭제
- 기능 변경 없이 코드 간결화 및 유지보수성 향상
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant