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

Description

Data access layer for all member synchronization state, including last-sync timestamps, conflict resolution rules, sync logs, and integration configuration per organization. Provides the persistence layer for sync health monitoring and audit reporting.

Feature: Member System Integration

member-sync-repository

Responsibilities

  • Store and retrieve last-sync timestamps per organization and system
  • Persist conflict resolution rules per organization
  • Write sync log entries for full and delta sync operations
  • Track personnummer writeback events for audit trail
  • Provide query interfaces for sync status reporting

Interfaces

getLastSyncTimestamp(organizationId, system)
updateLastSyncTimestamp(organizationId, system, timestamp)
getConflictResolutionRules(organizationId)
writeSyncLogEntry(entry)
getSyncLogs(organizationId, limit, offset)
getErrorCount(organizationId, system, since)
getIntegrationConfig(organizationId, system)
saveIntegrationConfig(organizationId, config)
logPersonnummerWriteback(memberId, system, timestamp)

Related Data Entities (2)

Data entities managed by this component