Service Layer high complexity backend
3
Dependencies
3
Dependents
7
Entities
0
Integrations

Description

Core service managing the full certification lifecycle for peer mentors, including issuance, renewal, expiry evaluation, and revocation. Triggers deactivation of expired peer mentors by propagating status flags to the Peer Mentor Service and the pause/deactivation flow. Coordinates with the Scheduled Notification Infrastructure to schedule expiry alerts at configurable lead times (30 days, 7 days before expiry).

Feature: Digital Peer Mentor Certificate & Credentials

certification-service

Responsibilities

  • Issue, renew, and revoke peer mentor certifications linked to users and courses
  • Evaluate certification expiry and set status flags on the peer mentor record
  • Trigger automatic deactivation of peer mentors with lapsed certificates
  • Schedule and manage expiry alert notifications via the notification infrastructure
  • Validate that a peer mentor holds an active certificate before inclusion in matching pools

Interfaces

issueCertificate(userId, courseId, expiryDate)
revokeCertificate(certificationId, reason)
renewCertificate(certificationId, newExpiryDate)
getCertificationStatus(userId)
evaluateExpiry(certificationId)
runExpiryCheck()
scheduleExpiryAlerts(certificationId)
deactivateExpiredPeerMentor(userId)
getActiveCertificates(orgId)
isActivelyQualified(userId)