Certificate Expiry Scheduler
Component Detail
Infrastructure
medium complexity
backend
3
Dependencies
0
Dependents
3
Entities
0
Integrations
Description
Infrastructure component that orchestrates periodic expiry evaluation for all certifications and coordinates the triggering of alert notifications via the Scheduled Notification Infrastructure. Runs as a scheduled job (e.g., nightly) to evaluate upcoming and lapsed certificates and enqueue notifications or deactivation actions.
certificate-expiry-scheduler
Responsibilities
- Run nightly expiry evaluation over all active certifications
- Enqueue expiry alert notifications at configured lead times (30 days, 7 days)
- Trigger deactivation flow for certifications past expiry date
- Log evaluation results for audit and debugging
- Support configurable lead time thresholds per organization
Interfaces
runExpiryEvaluationJob()
enqueueExpiryAlerts(certificationIds, leadTimeDays)
triggerDeactivationBatch(expiredCertificationIds)
getLastRunStatus()
setLeadTimeThresholds(orgId, thresholds)
logEvaluationResult(result)
Relationships
Dependencies (3)
Components this component depends on
Related Data Entities (3)
Data entities managed by this component