-
Notifications
You must be signed in to change notification settings - Fork 1
feat : 스킬교환 알림 Notification 도메인 연결 및 채팅 Redis Outbox 패턴 적용 #156
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
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
94b4cd7
chore: FRONTEND_PROD_URL, BACKEND_URL, BACKEND_PROD_URL Value 추가
chuuminggg 1284857
Merge branch 'main' of https://github.com/SWYP-Link-it/backend
chuuminggg fc5ff71
Merge branch 'main' of https://github.com/SWYP-Link-it/backend
chuuminggg 2d51667
Merge branch 'main' of https://github.com/SWYP-Link-it/backend
chuuminggg b963c9f
Merge branch 'main' of https://github.com/SWYP-Link-it/backend
chuuminggg 77bdf45
Merge branch 'main' of https://github.com/SWYP-Link-it/backend
chuuminggg 96d87fc
Merge branch 'main' of https://github.com/SWYP-Link-it/backend
chuuminggg 031791a
Merge branch 'main' of https://github.com/SWYP-Link-it/backend
chuuminggg ae81b27
Merge branch 'main' of https://github.com/SWYP-Link-it/backend
chuuminggg 14350bc
Merge branch 'main' of https://github.com/SWYP-Link-it/backend
chuuminggg 5efc1b1
refactor : message 필드 추가
chuuminggg 3c71556
refactor : REST API 응답에 message 포함
chuuminggg c0c0345
refactor : 채팅 메시지 전송 시 알림 발송
chuuminggg 972f5af
Merge branch 'main' into feature/notification/message
chuuminggg 761d298
refactor : null 체크 변경
chuuminggg bf43b7e
Merge branch 'feature/notification/message' of https://github.com/SWY…
chuuminggg a310cb4
refactor : 중복 발송 상태 수정
chuuminggg 720feff
fix : RedisConfig에 알림 리스너 등록
chuuminggg a3642c4
fix : 이미지 메시지 전송 시 ChatMessage.content NPE 발생 문제 해결
chuuminggg e3ed193
Merge branch 'main' of https://github.com/SWYP-Link-it/backend into f…
chuuminggg 8c31e08
refactor : 닉네임 처리 로직 개선 및 시스템/알 수 없음 구분 (resolveNickname()으로 null/bla…
chuuminggg a054172
fix : Redis에서 받은 JSON 역직렬화 오류로 알림 미수신 이슈 수정
chuuminggg ba2771a
fix : 의미없는 ObjectMapper를 RequiredArgsConstructor로 Spring Bean 주입 방식으로 변경
chuuminggg de0c260
fix : Redis publish 시 트랜잭션 커밋 이후 실행하도록 적용 (트랜잭션이 롤백되는 경우에도 알림 발행하는 이슈…
chuuminggg e037390
refactor : ErrorCode 추가 (N005, CH007)
chuuminggg ffe4c6a
feat : 새 예외 클래스 생성 (N005 : NotificationPublishFailedException, CH007 …
chuuminggg daf7fb9
refactor : 신규 exception Swagger Docs 추가
chuuminggg 94183f2
Merge branch 'main' of https://github.com/SWYP-Link-it/backend into f…
chuuminggg c36084b
fix : 미커밋된 예외 클래스 파일 추가 (NotificationPublishFailedException, ChatPubl…
chuuminggg 0cc0de4
feat : 스킬교환 요청 이벤트를 Notification 도메인에 연결
chuuminggg fddb8da
refactor : 채팅 Redis 발행을 Transactional Outbox 패턴으로 내재화
chuuminggg bab0f0f
Merge branch 'main' into feature/notification/message
chuuminggg 2a5bc36
fix : ChatService 코드리뷰 반영
chuuminggg caae131
fix : ChatServiceTest ObjectMapper Mock 추가
chuuminggg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
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.
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.
saved.getCreatedAt()이 null일 경우 NullPointerException이 발생할 위험이 있습니다. JPA Auditing(@CreatedDate) 필드는 트랜잭션 내에서 엔티티가 아직 flush되지 않은 상태라면 채워지지 않을 수 있습니다. 트랜잭션 커밋 전에 해당 값이 필요하다면, 엔티티 저장 후 명시적으로 flush()를 호출하여 필드 생성을 강제하는 것이 좋습니다. 또한 프로젝트의 시간대 정책에 맞게 변환 로직을 점검해 주시기 바랍니다.
References