AI Assistant
de092755af
feat: Switch form approval to Redis channel instead of webhook
Changed from webhook to Redis Pub/Sub channel:
- Created endpoint POST /api/v1/claims/approve
- Publishes to Redis channel: form_approve:{claim_id}
- Added idempotency_key for future RabbitMQ integration
- Fire-and-forget approach (no waiting for response)
Benefits:
- Higher performance (Redis Pub/Sub is faster)
- Better scalability
- Ready for RabbitMQ queue integration
- Idempotency key included for duplicate protection
Files:
- backend/app/api/claims.py (new /approve endpoint)
- frontend/src/components/form/StepClaimConfirmation.tsx (updated saveFormData)
- docs/REDIS_FORM_APPROVE.md (documentation)
2025-11-25 12:29:36 +03:00
..
2025-10-24 16:19:58 +03:00
2025-11-25 12:29:36 +03:00
2025-10-27 19:37:41 +03:00
2025-10-24 16:19:58 +03:00
2025-11-14 19:06:36 +03:00
2025-10-24 16:19:58 +03:00
2025-10-24 16:19:58 +03:00
2025-11-14 19:06:36 +03:00