Skip to content

Document store

The detailed view of a building block of 5.1; its summary is 5.2 — Document store.

Aspect Detail
Role a private bucket for the uploaded PDF, kept until its case is deleted and served to whoever reads the case (spec 339 (docs/specs/339-case-api.md) §5.2, 8.3); this replaces the one-day lifecycle of ADR-0009 (docs/adr/adr-0009-async-intake-pubsub-bucket-firestore.md) §3 point 5
Interfaces the case's document-store port; its Cloud Storage adapter (spec 264 (docs/specs/264-google-case-adapters.md))
Code backend/app/src/main/java/net/lauper/feecheck/cases/infrastructure
Per environment Cloud Storage in europe-west6; locally fake-gcs-server; offline the document store's stub
Status built; the bucket on Google Cloud has no lifecycle rule
Not to be confused with the document database, which holds derived copies only (8.3, ADR-0018 (docs/adr/adr-0018-postgresql-authoritative-document-database-derived.md))