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-24 21:34:50 +03:00
2025-11-24 13:36:14 +03:00
2025-11-14 19:06:36 +03:00
2025-11-19 18:46:48 +03:00
2025-10-24 21:12:30 +03:00
2025-11-20 18:31:42 +03:00
2025-10-24 16:19:58 +03:00
2025-10-25 10:39:57 +03:00