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 12:08:15 +02:00
2026-04-02 12:08:15 +02:00
2026-04-02 12:08:15 +02:00
2026-04-02 12:16:02 +02:00
2026-04-02 12:16:02 +02:00
2026-04-02 12:16:02 +02:00
2026-04-02 12:21:20 +02:00
2026-04-02 12:21:20 +02:00
2026-03-08 12:16:01 +01:00
2026-03-30 18:29:59 +02:00
2026-04-02 12:21:20 +02:00
2026-03-31 21:45:43 +02:00
2026-04-02 12:39:23 +02:00
2026-03-31 21:45:43 +02:00
2026-03-06 22:17:54 +01:00
2026-03-08 11:26:18 +01:00
2026-03-08 11:26:18 +01:00
2026-03-08 11:26:18 +01:00
2026-04-02 14:05:16 +02:00
2026-03-08 11:26:18 +01:00
2026-03-06 22:17:54 +01:00
2026-03-06 22:17:54 +01:00
2026-03-06 22:17:54 +01:00
2026-03-06 22:17:54 +01:00
2026-03-31 15:11:44 +02:00
2026-03-18 20:32:44 +01:00
2026-03-26 08:47:26 +01:00
2026-03-31 21:45:43 +02:00
2026-03-31 15:11:44 +02:00
2026-03-27 21:29:34 +01:00
2026-03-08 11:26:18 +01:00