Skip to content

newspaper gem置き換え - 退会時の通知システム #9152

@machida

Description

@machida

概要

newspaper gemによるユーザーのライフサイクル関連退会時の通知システムをRailsの標準的な仕組みに置き換えます。

詳細は下記を参照してください。
newspaper廃止 · fjordllc/bootcamp Wiki

一部、#9015 こちらのPRで対応をしているため、その部分は打ち消し線で消してあります。

対象イベント

  • :graduation_update'graduation.update'
  • :comeback_update'comeback.update'
  • :retirement_create'retirement.create'

対象ファイル

Publisher(イベント発行側)

  • app/controllers/graduation_controller.rb:12
  • app/controllers/comeback_controller.rb:15
  • app/controllers/retirement_controller.rb:17

Subscriber(イベント購読側)

  • app/models/graduation_notifier.rb
  • app/models/comeback_notifier.rb
  • app/models/unfinished_data_destroyer.rb(retirement_create購読)

チェックリスト

  • GraduationNotifierクラスのインターフェース確認
  • ComebackNotifierクラスのインターフェース確認
  • UnfinishedDataDestroyerクラスのインターフェース確認
  • graduation.update通知の置き換え実装
  • comeback.update通知の置き換え実装
  • retirement.create通知の置き換え実装
  • ユーザーライフサイクル関連テストの修正
  • 動作確認(卒業復活・退会処理)

注意点

  • 卒業復活・退会時の通知タイミングが重要
  • UnfinishedDataDestroyerの処理内容を確認
  • 管理者による操作時の動作も確認

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

本番確認中

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions