Commit Graph

8 Commits

Author SHA1 Message Date
GSRN
d8dcca386e fix: Refactor imports in OfflineMode, Settings, and API services
Some checks failed
Frontend (React) / test (18) (push) Failing after 1m46s
Frontend (React) / test (20) (push) Failing after 1m37s
Frontend (React) / lighthouse (push) Has been skipped
Frontend (React) / build (push) Has been skipped
Docker Build and Push / build-and-push (push) Failing after 44s
Integration Tests / integration-tests (push) Failing after 2m39s
LabFusion CI/CD Pipeline / service-adapters (push) Successful in 1m7s
Integration Tests / performance-tests (push) Has been skipped
LabFusion CI/CD Pipeline / frontend (push) Successful in 8m37s
LabFusion CI/CD Pipeline / integration-tests (push) Has been skipped
LabFusion CI/CD Pipeline / api-gateway (push) Failing after 1m30s
LabFusion CI/CD Pipeline / api-docs (push) Successful in 1m46s
Frontend (React) / test (16) (push) Failing after 1m38s
### Summary of Changes
- Removed unused imports from `OfflineMode.js` and `Settings.js` to streamline the code.
- Cleaned up the import statements in `api.js` by eliminating the unused `formatServiceData` and `formatEventData` functions.

### Expected Results
- Improved code clarity and maintainability by adhering to clean code principles and reducing unnecessary dependencies.
2025-09-16 09:04:19 +02:00
GSRN
1f98e03c02 fix: Enhance error handling tests and add service status checks
Some checks failed
Docker Build and Push / build-and-push (push) Failing after 38s
LabFusion CI/CD Pipeline / service-adapters (push) Successful in 54s
LabFusion CI/CD Pipeline / api-gateway (push) Failing after 1m19s
LabFusion CI/CD Pipeline / api-docs (push) Successful in 1m46s
Frontend (React) / test (16) (push) Failing after 1m38s
Frontend (React) / test (18) (push) Failing after 1m45s
Frontend (React) / test (20) (push) Failing after 1m35s
Frontend (React) / build (push) Has been skipped
Frontend (React) / lighthouse (push) Has been skipped
LabFusion CI/CD Pipeline / frontend (push) Failing after 4m35s
LabFusion CI/CD Pipeline / integration-tests (push) Has been skipped
Integration Tests / integration-tests (push) Failing after 2m37s
Integration Tests / performance-tests (push) Has been skipped
### Summary of Changes
- Introduced new tests for `handleRequestError` to cover various error scenarios including connection timeouts and service errors.
- Added tests for `determineServiceStatus` to verify service availability states.
- Updated `formatServiceData` and `formatEventData` tests to ensure correct formatting and handling of invalid data.

### Expected Results
- Improved coverage and reliability of error handling utilities tests, ensuring accurate error responses and service status checks.
- Enhanced maintainability of test code by applying clean code principles and better organization.
2025-09-15 22:37:57 +02:00
GSRN
fed58f2282 fix: Enhance App component tests with improved mocks and structure
Some checks failed
Frontend (React) / test (18) (push) Failing after 1m36s
Frontend (React) / test (20) (push) Failing after 1m25s
Frontend (React) / build (push) Has been skipped
Frontend (React) / lighthouse (push) Has been skipped
Integration Tests / integration-tests (push) Failing after 2m33s
Integration Tests / performance-tests (push) Has been skipped
Docker Build and Push / build-and-push (push) Failing after 36s
LabFusion CI/CD Pipeline / service-adapters (push) Successful in 51s
LabFusion CI/CD Pipeline / api-gateway (push) Failing after 1m13s
LabFusion CI/CD Pipeline / api-docs (push) Successful in 1m37s
LabFusion CI/CD Pipeline / frontend (push) Failing after 1m42s
LabFusion CI/CD Pipeline / integration-tests (push) Has been skipped
Frontend (React) / test (16) (push) Failing after 1m30s
### Summary of Changes
- Updated test file to include mocks for Recharts and Dashboard components to prevent rendering issues during tests.
- Refactored the service status hook mock to provide a more accurate representation of service availability.
- Adjusted test cases to ensure they correctly verify the presence of key elements in the App component.

### Expected Results
- Improved reliability and clarity of tests for the App component, ensuring accurate rendering and service status checks.
- Enhanced maintainability of test code by applying clean code principles and better organization.
2025-09-15 22:21:22 +02:00
glenn schrooyen
8c87c84208 Update CI workflows for Python linting by increasing flake8 line length limit to 150 characters for better readability; adjust service-adapters.yml and ci.yml accordingly; update progress documentation
Some checks failed
API Docs (Node.js Express) / test (16) (push) Failing after 5m42s
API Docs (Node.js Express) / test (20) (push) Has been cancelled
API Docs (Node.js Express) / build (push) Has been cancelled
API Docs (Node.js Express) / security (push) Has been cancelled
API Docs (Node.js Express) / test (18) (push) Has been cancelled
LabFusion CI/CD Pipeline / api-gateway (push) Has been cancelled
LabFusion CI/CD Pipeline / service-adapters (push) Has been cancelled
LabFusion CI/CD Pipeline / api-docs (push) Has been cancelled
LabFusion CI/CD Pipeline / frontend (push) Has been cancelled
LabFusion CI/CD Pipeline / integration-tests (push) Has been cancelled
LabFusion CI/CD Pipeline / security-scan (push) Has been cancelled
Docker Build and Push / build-and-push (push) Has been cancelled
Docker Build and Push / security-scan (push) Has been cancelled
Docker Build and Push / deploy-staging (push) Has been cancelled
Docker Build and Push / deploy-production (push) Has been cancelled
Frontend (React) / test (16) (push) Has been cancelled
Frontend (React) / test (18) (push) Has been cancelled
Frontend (React) / test (20) (push) Has been cancelled
Frontend (React) / build (push) Has been cancelled
Frontend (React) / lighthouse (push) Has been cancelled
Frontend (React) / security (push) Has been cancelled
Integration Tests / performance-tests (push) Has been cancelled
Service Adapters (Python FastAPI) / security (push) Has been cancelled
Service Adapters (Python FastAPI) / test (3.1) (push) Has been cancelled
Service Adapters (Python FastAPI) / test (3.11) (push) Has been cancelled
Service Adapters (Python FastAPI) / test (3.12) (push) Has been cancelled
Service Adapters (Python FastAPI) / test (3.9) (push) Has been cancelled
Service Adapters (Python FastAPI) / build (push) Has been cancelled
Integration Tests / integration-tests (push) Has been cancelled
2025-09-12 22:42:47 +02:00
glenn schrooyen
6cdb4df779 Update CI workflows to use Maven wrapper for consistency and improve npm dependency installation logic; enhance progress tracking documentation
Some checks failed
API Docs (Node.js Express) / test (16) (push) Failing after 5m3s
API Docs (Node.js Express) / test (18) (push) Failing after 5m3s
API Docs (Node.js Express) / test (20) (push) Failing after 43s
API Docs (Node.js Express) / build (push) Has been skipped
API Docs (Node.js Express) / security (push) Has been skipped
API Gateway (Java Spring Boot) / test (17) (push) Failing after 4m55s
API Gateway (Java Spring Boot) / test (21) (push) Failing after 4m55s
API Gateway (Java Spring Boot) / build (push) Has been skipped
API Gateway (Java Spring Boot) / security (push) Has been skipped
LabFusion CI/CD Pipeline / api-gateway (push) Failing after 4m53s
LabFusion CI/CD Pipeline / service-adapters (push) Failing after 4m58s
LabFusion CI/CD Pipeline / api-docs (push) Failing after 4m56s
LabFusion CI/CD Pipeline / frontend (push) Failing after 5m58s
LabFusion CI/CD Pipeline / integration-tests (push) Has been skipped
LabFusion CI/CD Pipeline / security-scan (push) Has been skipped
Docker Build and Push / build-and-push (push) Failing after 32s
Docker Build and Push / security-scan (push) Has been skipped
Frontend (React) / test (16) (push) Failing after 6m3s
Frontend (React) / test (18) (push) Failing after 6m6s
Frontend (React) / test (20) (push) Failing after 1m37s
Frontend (React) / build (push) Has been skipped
Frontend (React) / security (push) Has been skipped
Integration Tests / integration-tests (push) Failing after 23s
Docker Build and Push / deploy-staging (push) Has been skipped
Integration Tests / performance-tests (push) Has been skipped
Docker Build and Push / deploy-production (push) Has been skipped
Frontend (React) / lighthouse (push) Has been skipped
2025-09-12 02:22:16 +02:00
glenn schrooyen
4ca0fe02da Implement CI/CD pipeline setup and enhance frontend and API Docs scripts; update progress tracking and project structure documentation
Some checks failed
API Docs (Node.js Express) / test (18) (push) Failing after 22s
API Docs (Node.js Express) / test (20) (push) Failing after 22s
API Docs (Node.js Express) / build (push) Has been skipped
API Docs (Node.js Express) / security (push) Has been skipped
LabFusion CI/CD Pipeline / api-gateway (push) Failing after 4m53s
Docker Build and Push / build-and-push (push) Failing after 3m31s
Docker Build and Push / security-scan (push) Has been skipped
API Docs (Node.js Express) / test (16) (push) Failing after 3m7s
API Gateway (Java Spring Boot) / test (17) (push) Failing after 7m42s
API Gateway (Java Spring Boot) / test (21) (push) Failing after 5m11s
API Gateway (Java Spring Boot) / build (push) Has been skipped
API Gateway (Java Spring Boot) / security (push) Has been skipped
LabFusion CI/CD Pipeline / service-adapters (push) Failing after 6m30s
LabFusion CI/CD Pipeline / api-docs (push) Failing after 10s
LabFusion CI/CD Pipeline / frontend (push) Failing after 4m54s
LabFusion CI/CD Pipeline / integration-tests (push) Has been skipped
LabFusion CI/CD Pipeline / security-scan (push) Has been skipped
Frontend (React) / test (16) (push) Failing after 4m58s
Frontend (React) / test (18) (push) Failing after 4m58s
Frontend (React) / test (20) (push) Failing after 4m58s
Frontend (React) / build (push) Has been skipped
Frontend (React) / security (push) Has been skipped
Integration Tests / integration-tests (push) Failing after 35s
Integration Tests / performance-tests (push) Has been skipped
Service Adapters (Python FastAPI) / test (3.1) (push) Failing after 15s
Service Adapters (Python FastAPI) / test (3.11) (push) Failing after 5m23s
Service Adapters (Python FastAPI) / test (3.12) (push) Failing after 6m18s
Service Adapters (Python FastAPI) / test (3.9) (push) Failing after 6m18s
Docker Build and Push / deploy-staging (push) Has been skipped
Service Adapters (Python FastAPI) / build (push) Has been skipped
Service Adapters (Python FastAPI) / security (push) Has been skipped
Docker Build and Push / deploy-production (push) Has been skipped
Frontend (React) / lighthouse (push) Has been skipped
2025-09-12 00:22:15 +02:00
glenn schrooyen
b9206de1a0 Update README and documentation; refactor frontend components for improved structure and resilience 2025-09-11 23:46:29 +02:00
glenn schrooyen
21e4972ab1 initial project setup 2025-09-11 22:08:12 +02:00