Service Layer medium complexity backend
1
Dependencies
1
Dependents
2
Entities
0
Integrations

Description

Infrastructure service that schedules and triggers the nightly badge evaluation job. Integrates with the backend job scheduling system to invoke achievement service evaluation runs at a configured time each night and at the half-year boundary dates.

Feature: Achievement Badges & Status Recognition

badge-evaluation-scheduler

Responsibilities

  • Schedule nightly badge evaluation job via cron-style trigger
  • Trigger half-year boundary evaluation on June 30 and December 31
  • Log job execution results and surface errors for monitoring
  • Prevent duplicate evaluation runs within the same evaluation window

Interfaces

scheduleNightlyEvaluation(cronExpression)
triggerImmediateEvaluation()
getLastRunMetadata()
cancelScheduledRun(jobId)
registerHalfYearTrigger()

Relationships

Dependencies (1)

Components this component depends on

Dependents (1)

Components that depend on this component

Related Data Entities (2)

Data entities managed by this component