Certificate Expiry Background Job
Component Detail
Service Layer
medium complexity
backend
2
Dependencies
0
Dependents
2
Entities
0
Integrations
Description
Server-side scheduled job that queries certificates approaching expiry within the configurable warning window and enqueues push notification payloads via the Push Notification Service.
certificate-expiry-job
Responsibilities
- Query certificates table for records within the expiry warning window
- Deduplicate notifications to avoid repeated alerts for the same certificate
- Enqueue expiry warning push notifications for affected users
- Log job execution results for audit and operational visibility
Interfaces
run(): Promise<void>
findExpiringCertificates(windowDays: number): Promise<Certificate[]>
enqueueExpiryNotification(userId: string, certificate: Certificate): Promise<void>
Relationships
Dependencies (2)
Components this component depends on
Related Data Entities (2)
Data entities managed by this component