Commit Graph

9 Commits

Author SHA1 Message Date
openhands 1339b8bc55 Fix discovery service persistence issue
- Add discovery_results table to database schema
- Create persistent discovery service with database storage
- Update dashboard API to use persistent discovery service
- Initialize persistent discovery service on application startup
- Fix 404 errors when polling discovery scan results
2025-11-07 09:28:47 +00:00
openhands 744e8f6946 Reorganize repository structure for better organization
Created organized directory structure:
- scripts/ - for utility scripts (test runners, etc.)
- tests/mocks/ - for mock servers
- deploy/ - for all deployment scripts
- src/dashboard/ - for dashboard assets

Moved files:
- Test runners: run_tests_by_system.py, run_tests_detailed.py, run_tests_with_db.sh → scripts/
- Deployment scripts: deploy-onprem.sh, setup-server.sh, etc. → deploy/
- Mock servers: mock-optimization-server.py, mock-scada-server.py → tests/mocks/
- Individual tests: test_*.py files → tests/
- Integration tests: test-e2e-deployment.py, test-remote-integration.py → tests/integration/
- Dashboard assets: fixed-dashboard.js → src/dashboard/

Deleted redundant files:
- pytest-mock.ini (redundant with pytest.ini)
- setup-server-backup.sh (duplicate of setup-server.sh)

Kept essential files in root:
- Core documentation (README.md, QUICKSTART.md, etc.)
- Environment templates
- Docker files
- Main test runner (run_tests.py)
- Application entry point (start_dashboard.py)
2025-11-06 19:53:39 +00:00
openhands d9481b7246 Add untracked test files and update deployment scripts
- Add discovery protocol test files for debugging and direct testing
- Add remote test integration scripts and configuration
- Update deployment and monitoring scripts with recent changes
- Include test-remote.yml configuration for remote testing
2025-11-06 19:29:21 +00:00
openhands 66e56eb70c fix: Update test deployment scripts to use port 8081 for test environment
- Updated test-deployment.sh to use port 8081 instead of 8080
- Updated test-e2e-deployment.py to use port 8081 instead of 8080
- Updated setup-test-environment.sh to use port 8081 instead of 8080
- All test scripts now work correctly with test environment configuration
2025-11-01 17:50:28 +00:00
openhands 69b1752774 Complete production deployment with fixes
- Fixed PostgreSQL connection timeout parameter
- Fixed database host configuration for Docker networking
- Fixed SQL datetime syntax for PostgreSQL compatibility
- Fixed REST API binding to 0.0.0.0 for external access
- Added comprehensive documentation
- Enhanced deployment scripts
- Added dashboard configuration system
- Updated settings for production deployment
2025-11-01 10:28:25 +00:00
openhands 7372c5a161 Add standalone test script for mock services without Docker dependency 2025-10-30 14:24:45 +00:00
openhands d6635806f3 Add comprehensive automated tests for mock SCADA and optimizer services 2025-10-30 14:08:29 +00:00
openhands 333797314c Add comprehensive test environment setup with mock SCADA and optimizer services 2025-10-30 13:56:36 +00:00
openhands 6c8c83b7e5 Add deployment configuration and monitoring stack
- Docker Compose configuration for full stack deployment
- Prometheus and Grafana monitoring setup
- Health monitoring integration
- Backup and restore scripts
- Security hardening documentation
- Quick start guide for deployment
- Phase 7 completion summary

Features:
- Complete container orchestration
- Monitoring stack with metrics collection
- Automated backup procedures
- Security audit scripts
- Production deployment guidelines
2025-10-30 07:37:44 +00:00