You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the TAPAS-xq integration only handles the first step — storing the TEI file via `ProcessTeiFileJob`. The full pipeline will eventually need to cover:
Store TEI file to TAPAS-xq
Get MODS metadata back from TAPAS-xq
Run XSL transformations per view package to produce HTML fragments for the TAPAS reader
Each of these is its own job with its own error handling and status. This issue is for planning and building out the rest of that pipeline.
Design the job chain — likely jobs that trigger the next step on success
Wire `TapasXq::RetrievalService` into the application flow — the service already exists with `retrieve_tei`, `retrieve_mods`, and `retrieve_tfe` methods; the work is deciding where each is called (see Move MODS and TFE XML out of SQL storage #44 for details)
Update status tracking to handle multiple pipeline stages
Implement `POST /tapas-xq/:project-id/:doc-id/tei` (TEI-only store, no MODS/TFE regeneration) — low priority; only needed if a use case emerges for re-storing TEI without regenerating supplemental files
Write specs for each new job and service
Acceptance criteria
TEI store, MODS retrieval, and XSL transformation each have their own job
Status tracking reflects per-stage state
Pipeline works end-to-end in development with TAPAS-xq running
Specs cover happy path and error cases for each stage
Description
Right now the TAPAS-xq integration only handles the first step — storing the TEI file via `ProcessTeiFileJob`. The full pipeline will eventually need to cover:
Each of these is its own job with its own error handling and status. This issue is for planning and building out the rest of that pipeline.
Related issues
Prerequisites
Sub-tasks tracked separately
Related storage work
Steps
Acceptance criteria