Revolis.AI Legal
Fallback Matrix (D3)
Mapovanie endpoint -> fallback správanie + retry stratégia pre kritické flowy.
| Endpoint | Consumer | Retry | Fallback správanie |
|---|---|---|---|
| /api/billing/checkout | PricingCards | 2 retries, exponential backoff (500ms, 1000ms) on transient/network errors | Stay on billing page; do not redirect; allow user to retry by clicking CTA again. |
| /api/billing/portal | ManageSubscriptionButton | 2 retries, exponential backoff (500ms, 1000ms) on transient/network errors | Fallback to /billing for NO_CUSTOMER or missing URL; keep action non-destructive. |
| /api/legal/dpa-request | DpaRequestForm | 2 retries, exponential backoff (500ms, 1000ms) on transient/network errors | Keep user-entered form values, display inline error, allow immediate re-submit. |
| /api/support/request | SupportRequestForm | 2 retries, exponential backoff (500ms, 1000ms) on transient/network errors | Keep user-entered form values, show error banner, preserve support SLA context. |
| /api/healthz | /landing | /legal | ServiceStatusCards | 2 retries, exponential backoff (400ms, 800ms) per probe | Show degraded state per card and provide manual 'Obnoviť status' action. |
| /api/observability/probes | Status/observability ops checks | Single API call, can be polled externally | Use degradedCount as release gate signal; trigger incident workflow if non-zero. |
JSON endpoint pre monitoring integrácie:
/api/observability/fallback-matrix