Skip to content

feat: 도메인 이벤트 기반 자동 푸시 알림 및 운영 플래그 추가 - #305

Merged
JokeBear777 merged 3 commits into
developfrom
feat/push-domain-events
Aug 6, 2026
Merged

feat: 도메인 이벤트 기반 자동 푸시 알림 및 운영 플래그 추가#305
JokeBear777 merged 3 commits into
developfrom
feat/push-domain-events

Conversation

@JokeBear777

Copy link
Copy Markdown
Collaborator

개요

혼잡도, 신고 처리 결과, 캐릭터 해금 시 자동으로 푸시 발송 작업을 생성하는 도메인 이벤트 기반 알림 기능을 추가했습니다.

자동 알림별 활성화 여부를 운영 중 재배포 없이 변경할 수 있도록 Redis 기반 런타임 플래그와 관리자 조회·변경 API를 추가했습니다.

작업사항

  • 즐겨찾기한 공간이 VACANT 상태로 변경되었을 때 한산 알림 발송
  • 신고 처리 결과가 확정되었을 때 신고 작성자에게 결과 알림 발송
  • 캐릭터 최초 구매 및 관리자 지급 시 캐릭터 해금 알림 발송
  • @TransactionalEventListener(AFTER_COMMIT)를 통한 트랜잭션 커밋 이후 알림 처리
  • 기존 PushDispatchService 및 worker 발송 파이프라인 재사용
  • 캐릭터샵 이동을 위한 CHARACTER_STORE action 추가
  • 자동 푸시 제목과 본문을 DomainPushContentFactory로 분리
  • Redis 기반 자동 알림 런타임 플래그 관리 기능 추가
  • 자동 알림 플래그 조회 및 변경 관리자 API 추가
    • GET /api/admin/notifications/event-flags
    • PATCH /api/admin/notifications/event-flags/{eventType}
  • Redis 값이 없거나 조회에 실패하면 YAML 기본값을 사용하도록 처리
  • 혼잡도, 신고, 캐릭터 이벤트 및 플래그 관리 관련 테스트 추가

관련 이슈

  • 없음

@JokeBear777
JokeBear777 merged commit 9f1d95d into develop Aug 6, 2026
1 check passed
@JokeBear777
JokeBear777 deleted the feat/push-domain-events branch August 6, 2026 03:57
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