Peer Mentor Pause Management Service
Component Detail
Infrastructure
medium complexity
Shared Component
backend
0
Dependencies
1
Dependents
2
Entities
0
Integrations
Description
Shared service that handles transitioning a peer mentor into and out of paused status. Used by the certification feature to auto-pause mentors whose certification has expired. Shared with the peer-mentor-pause-management feature.
pause-management-service
Responsibilities
- Transition a peer mentor to paused status with a reason
- Reactivate a paused peer mentor
- Notify coordinator of status transitions
- Enforce business rules on pause eligibility
Interfaces
pauseMentor(mentorId, reason, initiatedBy)
reactivateMentor(mentorId, initiatedBy)
getMentorPauseStatus(mentorId)
getPausedMentors(coordinatorId)
Relationships
Related Data Entities (2)
Data entities managed by this component