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

Description

Server-side infrastructure adapter that triggers PDF generation for a given Bufdir report. Calls the backend PDF rendering pipeline (headless browser or PDF library such as Puppeteer or pdfkit) and returns a signed, time-limited download URL. Isolates the Report Export Service from the specific PDF generation technology so the approach can be swapped when the Bufdir format is confirmed.

Feature: Bufdir Export

pdf-export-adapter

Responsibilities

  • Invoke the server-side PDF rendering endpoint with the report ID
  • Receive and return a signed short-lived download URL
  • Handle rendering errors and surface actionable error codes
  • Support future format variants (Excel/CSV) via a strategy parameter

Interfaces

generateExportFile(reportId, format)
getSignedDownloadUrl(reportId, format, expirySeconds)
checkRenderStatus(jobId)
cancelRender(jobId)

Related Data Entities (1)

Data entities managed by this component