Certificate Expiry Scheduler
Component Detail
Service Layer
medium complexity
backend
0
Dependencies
0
Dependents
5
Entities
0
Integrations
Description
Scheduled backend job that queries for certificates expiring within 30 days and dispatches push notifications to affected peer mentors and their coordinators via the Push Notification Gateway. Also updates the active status on the organization's public-facing listing when a certificate expires, satisfying HLF's hard operational requirement.
certificate-expiry-scheduler
Responsibilities
- Query certifications table for records expiring within 30 days
- Dispatch renewal push notifications to peer mentors and coordinators
- Mark expired certificates and remove peer mentors from public listings
- Log expiry events for audit trail
Interfaces
runExpiryCheck(): ExpiryCheckResult
notifyExpiringCertificates(certifications: Certificate[]): void
deactivateExpiredCertificates(): number
Related Data Entities (5)
Data entities managed by this component