Service Layer medium complexity backend
1
Dependencies
0
Dependents
3
Entities
0
Integrations

Description

Listens for threshold-crossing events emitted by the Threshold Tracking Service and dispatches coordinator-targeted push notifications through the shared Push Notification Service. Formats messages with peer mentor name, reached tier, and relevant honorarium rate information.

Feature: Assignment Count & Honorarium Threshold Tracking

honorarium-notification-service

Responsibilities

  • Subscribe to threshold-crossing domain events
  • Compose coordinator-targeted notification payloads with tier context
  • Route notifications to the correct coordinator(s) for the peer mentor's local association
  • Log notification dispatch for audit trail

Interfaces

handleThresholdCrossedEvent(event)
buildNotificationPayload(peerMentorId, tier, associationId)
resolveCoordinatorsForAssociation(associationId)
dispatchCoordinatorAlert(coordinatorIds, payload)

Relationships

Dependencies (1)

Components this component depends on