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

Description

Service responsible for triggering integration sync jobs according to configured schedules. Reads sync_schedule configuration per integration and invokes the appropriate adapter at the scheduled time. Supports manual trigger requests from the admin UI.

Feature: External System Integration Configuration

sync-scheduler

Responsibilities

  • Execute integration syncs on configured schedules using cron-like logic
  • Support manual sync trigger requests from administrators
  • Record sync execution history with outcome and error details

Interfaces

scheduleSyncs(): void
triggerManualSync(integrationId: string): Promise<SyncResult>
getNextScheduledSync(integrationId: string): Date
getSyncHistory(integrationId: string, limit: number): SyncRecord[]
cancelScheduledSync(integrationId: string): void

Relationships

Dependencies (2)

Components this component depends on

Related Data Entities (2)

Data entities managed by this component