Some checks failed
API Gateway (Java Spring Boot) / test (21) (push) Successful in 2m2s
API Gateway (Java Spring Boot) / test (17) (push) Successful in 2m2s
Frontend (React) / test (20) (push) Successful in 2m11s
Integration Tests / integration-tests (push) Failing after 25s
Integration Tests / performance-tests (push) Has been skipped
API Docs (Node.js Express) / test (20) (push) Successful in 2m36s
API Gateway (Java Spring Boot) / build (push) Failing after 40s
Service Adapters (Python FastAPI) / test (3.11) (push) Successful in 1m24s
Service Adapters (Python FastAPI) / test (3.12) (push) Successful in 1m27s
Service Adapters (Python FastAPI) / test (3.13) (push) Successful in 1m27s
Frontend (React) / build (push) Failing after 58s
Service Adapters (Python FastAPI) / build (push) Failing after 21s
Frontend (React) / lighthouse (push) Has been skipped
API Docs (Node.js Express) / build (push) Failing after 1m24s
### Summary of Changes - Deleted `docker-compose.dev.yml` and `docker-compose.yml` files to streamline the project structure. - Removed outdated Dockerfiles for services (API Gateway, Service Adapters, API Docs, and Frontend) to eliminate redundancy. - Updated `env.example` to reflect changes in service configurations, including local host settings for PostgreSQL and Redis. - Revised `README.md` to remove references to Docker deployment and clarify local development setup instructions. - Cleaned up documentation structure by removing obsolete files related to Docker rate limits and compatibility fixes. ### Expected Results - Simplified project setup and improved clarity for developers by focusing on current configurations and removing legacy artifacts.
API Gateway Service
The core API gateway for LabFusion, built with Java Spring Boot following clean code principles.
Purpose
- Central API endpoint for all frontend requests
- User authentication and authorization
- Dashboard and widget management
- Event and device state storage
- System metrics and health monitoring
Technology Stack
- Language: Java 17
- Framework: Spring Boot 3.2.0
- Port: 8080
- Database: PostgreSQL
- Message Bus: Redis
- Documentation: OpenAPI/Swagger
- Testing: JUnit 5, Mockito
- Quality: SpotBugs, Checkstyle, PMD, JaCoCo
Features
- JWT-based authentication framework
- RESTful API endpoints with comprehensive documentation
- WebSocket support for real-time updates
- Dashboard CRUD operations
- Event and device state management
- System health monitoring
- OpenAPI documentation generation
- Comprehensive error handling
- Clean code architecture with layered design
Architecture
- Controller Layer: REST endpoints with validation
- Service Layer: Business logic and orchestration
- Repository Layer: Data access abstraction
- Model Layer: JPA entities and DTOs
- Configuration: Spring Boot auto-configuration
API Endpoints
GET /actuator/health- Health checkGET /swagger-ui.html- API documentationGET /api/dashboards- Dashboard managementGET /api/system/metrics- System metricsPOST /api/events- Event publishing
Development Status
✅ Complete - Core functionality implemented with clean code principles