docs: bootstrap ONAPAY platform repository (from-scratch rebuild)
- CLAUDE.md v1.1, 19 ADRs (ADR-0019: rebuild from scratch, Anything MVP code not reused) - Architecture docs (microservices, stack, UI composition, Kubernetes deployment) - Cost, pricing and production run-cost estimate - Contract specs (CDC v1.0, v2.0, MVP V1, vision v4.0) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# ADR-0006 — Temporal pour les sagas et traitements planifiés
|
||||
**Statut** : Accepté · 2026-12-03
|
||||
|
||||
**Décision** : Temporal auto-hébergé sur EKS (persistance RDS `pg-support`, base `temporal`). Utilisé par :
|
||||
- payment-orchestrator : workflow `Payment` par intent, avec minuteur d'expiration, attente du callback, interrogation du statut en repli, compensations ;
|
||||
- identity : workflow `GuestActivation` (lien valide 72 h, relance J+1) ;
|
||||
- reconciliation : traitement nocturne planifié.
|
||||
|
||||
Identifiant de workflow = identifiant métier (idempotence). L'UI Temporal permet de visualiser chaque saga.
|
||||
|
||||
**Alternatives rejetées** : machine à états XState + pg-boss (durabilité et minuteurs à réimplémenter) ; chorégraphie pure par événements (flux de paiement non traçable).
|
||||
Reference in New Issue
Block a user