feat: store layer with indexes, optimistic concurrency, GridFS, credential crypto (phase 2)
- mongo-driver v2 connection with bounded startup retry + /readyz gate - idempotent creation of all §4.9 indexes - UpdateVersioned: version-filtered updates, conflict vs not-found errors - AES-256-GCM Seal/Open for ticketing credentials, base64(nonce|ct) - GridFS file store: MIME sniffing, MAX_UPLOAD_MB cap, sha256 metadata - HMAC-signed short-lived file URL tokens (§5.1, 1h TTL) - integration tests against compose Mongo via docker-compose.test.yml overlay Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# Test-only overlay: publishes Mongo on loopback so host-run integration
|
||||
# tests can reach it. Never used in normal deployment (§12 keeps Mongo
|
||||
# unpublished):
|
||||
# docker compose -f docker-compose.yml -f docker-compose.test.yml up -d mongo
|
||||
services:
|
||||
mongo:
|
||||
ports:
|
||||
- "127.0.0.1:27017:27017"
|
||||
Reference in New Issue
Block a user