Threshold Notification Trigger
Component Detail
Service Layer
low complexity
backend
0
Dependencies
0
Dependents
4
Entities
0
Integrations
Description
Thin orchestration service that listens for threshold-crossing events from the Honorarium Calculation Service and delegates to the shared Push Notification Service to dispatch coordinator alerts. Decouples honorarium logic from notification delivery.
threshold-notification-trigger
Responsibilities
- Subscribe to threshold-crossed events
- Compose coordinator notification payload with mentor name and threshold details
- Delegate push delivery to the shared Push Notification Service
Interfaces
onThresholdCrossed(event)
buildNotificationPayload(mentorId, threshold)
dispatchCoordinatorAlert(payload)
Related Data Entities (4)
Data entities managed by this component