-
Notifications
You must be signed in to change notification settings - Fork 1
Feature/125 add notification #166
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
Conversation
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
- 저장, 조회, 삭제
- 구독 - 발신
- 읽음 처리를 명시하기 위해서 데이터는 DB에 영속화되므로 유실 데이터를 관리할 필요가 없음.
- 알림 외 서비스에서 이용 가능
- 반환 값 필요 없다고 판단
…메시지는 Ssesender에서 관리 - SRP
- 구독할 때, 초기화 과정에 전송이 포함되어야 함.
- 글로벌 패키지 루트에 있는 것이 불편했음.
- 타입 - 알림이 되어야 하는 이벤트 - XX가 되어야 하는 이벤트
- 서버 이벤트의 하위 클래스.
- publishVolunteerApplyStatusChangeEvent
- 저장, 조회, 삭제
- 구독 - 발신
- 읽음 처리를 명시하기 위해서 데이터는 DB에 영속화되므로 유실 데이터를 관리할 필요가 없음.
- 알림 외 서비스에서 이용 가능
- 반환 값 필요 없다고 판단
…메시지는 Ssesender에서 관리 - SRP
- 컨테이너를 하나만 사용하도록 구성
- 설명 필드 추가. - 정적 팩토리 메서드 from 추가.
- from (entity to dto) 정적 팩토리 메서드
- 읽음 필드 삭제. - 수신자 아이디 필드 삭제.
- 콜백로 설정한 complete, timeout은 handler가 없어서 테스트가 불가능.
|
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.



이전 PR 참고