Infrastructure medium complexity backend
0
Dependencies
0
Dependents
0
Entities
0
Integrations

Description

Durable object storage layer that holds finalized Bufdir export artifacts for audit and re-download. Each stored object is immutable, addressable by export ID and format, and retained according to the audit retention policy.

Feature: Bufdir Export

export-storage

Sources & reasoning

Source explicitly names one-click Bufdir export as a Phase 2 (Core Product) admin-portal deliverable, distinct from report generation. The export action and its archived artifact are operationally distinct from generation.

  • selve Bufdir-eksporten er en admin-funksjon: organisasjonsadministrator kjører eksporten fra Admin Web Portal
  • Bufdir-rapportering og eksport med ett klikk (kun i Admin Web Portal; mobilen bidrar med selve aktivitetsregistreringen)

Responsibilities

  • Store finalized PDF and CSV export artifacts immutably
  • Address artifacts by export ID and format for retrieval
  • Enforce audit retention policy on stored exports
  • Provide read streams for re-download without mutation
  • Guarantee durability and integrity of stored artifacts

Interfaces

putArtifact(exportId, format, bytes): StorageKey
getArtifact(exportId, format): FileStream
listArtifacts(exportId): StorageKey[]