aitbc
75e656539d
fix: resolve load balancer strategy endpoint query parameter issue
✅ Load Balancer Strategy Endpoint Fixed
- Added Query parameter import from FastAPI
- Updated endpoint to properly accept query parameters
- Fixed parameter handling for strategy selection
- Maintained backward compatibility
✅ API Functionality
- PUT /load-balancer/strategy?strategy=<strategy_name>
- Supports all load balancing strategies
- Proper error handling for invalid strategies
- Returns success confirmation with timestamp
✅ Testing Verified
- resource_based strategy: ✅ Working
- round_robin strategy: ✅ Working
- Invalid strategy: ✅ Proper error handling
- Other endpoints: ✅ Still functional
🚀 Load balancer strategy endpoint now fully operational!
2026-04-02 15:14:53 +02:00
..
2026-04-02 15:14:53 +02:00
2026-04-02 14:50:58 +02:00
2026-04-02 14:50:58 +02:00
2026-04-02 14:46:57 +02:00