Certification Expiry Background Job
Component Detail
Infrastructure
medium complexity
backend
2
Dependencies
0
Dependents
3
Entities
0
Integrations
Description
A scheduled backend job that runs daily to compare certification expiry dates against the current date and automatically creates pause log entries for mentors whose certifications have expired. Ensures that HLF's requirement of hiding expired-certification mentors from public rosters is enforced without manual intervention.
certification-expiry-job
Responsibilities
- Run on a daily schedule to detect newly expired certifications
- Invoke Pause Mentor Service for each mentor with a newly expired certification
- Avoid creating duplicate pause entries if mentor is already paused
- Log job execution outcomes for observability
Interfaces
run(): Future<void>
detectExpiredCertifications(): Future<List<String>>
scheduleDaily(): void
Relationships
Dependencies (2)
Components this component depends on
Related Data Entities (3)
Data entities managed by this component