Urtzi Alfaro
|
6ddf608d37
|
Add subcription feature
|
2026-01-13 22:22:38 +01:00 |
|
Urtzi Alfaro
|
c68d82ca7f
|
Fix critical bugs and standardize service integrations
Critical Fixes:
- Orchestrator: Add missing OrchestrationStatus import (fixes HTTP 500 during demo clone)
- Procurement: Migrate from custom cache utils to shared Redis utils
- Suppliers: Use proper Settings for Redis configuration with TLS/auth
- Recipes/Suppliers clients: Fix endpoint paths (remove duplicate path segments)
- Procurement client: Use suppliers service directly for supplier details
Details:
1. services/orchestrator/app/api/internal_demo.py:
- Added OrchestrationStatus import to fix cloning error
- This was causing HTTP 500 errors during demo session cloning
2. services/procurement/app/api/purchase_orders.py + service:
- Replaced app.utils.cache with shared.redis_utils
- Standardizes caching across all services
- Removed custom cache utilities (deleted app/utils/cache.py)
3. services/suppliers/app/consumers/alert_event_consumer.py:
- Use Settings().REDIS_URL instead of os.getenv
- Ensures proper Redis connection with TLS and authentication
4. shared/clients/recipes_client.py:
- Fixed endpoint paths: recipes/recipes/{id} → recipes/{id}
- Applied to all recipe methods (by_id, by_products, instructions, yield)
5. shared/clients/suppliers_client.py:
- Fixed endpoint path: suppliers/suppliers/{id} → suppliers/{id}
6. shared/clients/procurement_client.py:
- get_supplier_by_id now uses SuppliersServiceClient directly
- Removes incorrect call to procurement service for supplier details
Impact:
- Demo session cloning now works without orchestrator errors ✅
- Consistent Redis usage across all services
- Correct service boundaries (suppliers data from suppliers service)
- Clean client endpoint paths
🤖 Generated with Claude Code (https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2025-12-16 11:33:22 +01:00 |
|
Urtzi Alfaro
|
c566967bea
|
Add AI insights feature
|
2025-12-15 21:14:22 +01:00 |
|
Urtzi Alfaro
|
ff830a3415
|
demo seed change
|
2025-12-13 23:57:54 +01:00 |
|
Urtzi Alfaro
|
667e6e0404
|
New alert service
|
2025-12-05 20:07:01 +01:00 |
|
Urtzi Alfaro
|
394ad3aea4
|
Improve AI logic
|
2025-11-05 13:34:56 +01:00 |
|
Urtzi Alfaro
|
63f5c6d512
|
Improve the frontend 3
|
2025-10-30 21:08:07 +01:00 |
|
Urtzi Alfaro
|
07c33fa578
|
Improve the frontend and repository layer
|
2025-10-23 07:44:54 +02:00 |
|
Urtzi Alfaro
|
8d30172483
|
Improve the frontend
|
2025-10-21 19:50:07 +02:00 |
|
Urtzi Alfaro
|
38fb98bc27
|
REFACTOR ALL APIs
|
2025-10-06 15:27:01 +02:00 |
|
Urtzi Alfaro
|
c6dd6fd1de
|
Add more services
|
2025-08-21 20:28:14 +02:00 |
|