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.

Feature: Assignment Counting & Honorarium Tracking

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)