- Refactored REST API server to use non-blocking background task - Fixed setpoint manager bug in get_all_current_setpoints() method - Added proper authentication to REST API test - All 6 optimization-to-SCADA integration tests now passing - All 5 safety workflow tests continue to pass Key changes: 1. REST API server now starts in background task using asyncio.create_task() 2. Added proper server state management (_is_running, _server_task, _server) 3. Implemented proper shutdown mechanism with task cancellation 4. Fixed dictionary iteration bug in setpoint manager 5. Updated test to use correct admin password (admin123) 6. Test now authenticates before accessing protected endpoints |
||
|---|---|---|
| .. | ||
| auto_discovery.py | ||
| compliance_audit.py | ||
| emergency_stop.py | ||
| logging.py | ||
| optimization_manager.py | ||
| safety.py | ||
| security.py | ||
| setpoint_manager.py | ||
| tls_manager.py | ||