Service Layer high complexity backend
0
Dependencies
0
Dependents
25
Entities
0
Integrations

Description

Core service that orchestrates asynchronous aggregation of all activity, event, and participant data within a reporting period and organization scope into a structured Bufdir-compliant report. Enforces strict multi-organization data isolation and stores a snapshot for audit purposes.

Feature: Bufdir Automated Reporting

bufdir-report-generator-service

Responsibilities

  • Aggregate activities, events, and participants within period and organization scope
  • Enforce data isolation between organizations
  • Produce a Bufdir-schema-compliant report data structure
  • Persist report snapshot to repository for auditability

Interfaces

generateReport(organizationId, periodId)
getGenerationStatus(jobId)
cancelGeneration(jobId)
validateReportData(reportData)
applyOrganizationScope(query, organizationId)
buildReportStructure(aggregatedData)
scheduleAsyncGeneration(params)