8 Commits

Author SHA1 Message Date
rafaeldpsilva
7547e6b229 demand response 2025-12-10 15:26:34 +00:00
rafaeldpsilva
8ff20935fc Refactor auth middleware and update service config usage
- Remove redundant comments and docstrings in auth_middleware.py - Use
TOKEN_SERVICE_URL env variable for AuthMiddleware - Fix sensor service
proxy path in main.py - Use datetime.now() for request_stats start_time
2025-10-08 14:04:50 +01:00
rafaeldpsilva
ba99b09e08 Remove comments and verbose logging from services 2025-09-23 15:05:59 +01:00
rafaeldpsilva
2008ea0e70 Refactor service registry and load balancer integration
- Pass service registry to load balancer for dependency injection -
Remove dynamic imports of service registry in load balancer - Update
service registration and health check logic - Enable token-service in
docker-compose and service config - Add room names and rooms proxy
endpoints - Improve logging for proxy requests and health checks -
Update deploy script project name to sa4cps - Add test script for
coroutine fix - Minor code cleanup and formatting
2025-09-22 15:13:06 +01:00
rafaeldpsilva
aa07347604 Implement iterative FTP scan and skip logic with processed file cache
- Add iterative directory scanning to prevent infinite recursion - Cache
processed files in memory to avoid redundant database lookups - Skip
already processed files using cache and database fallback - Add tests
for skip logic and iterative scan behavior - Change logging for MongoDB
connection and file storage to debug level - Clean up FastAPI app and
remove redundant docstrings
2025-09-12 13:43:21 +01:00
rafaeldpsilva
a703240b27 Add data ingestion service proxy routes and update configs
- Add proxy routes for data ingestion service in API gateway - Register
data-ingestion-service in SERVICES config - Update docker-compose to
include data-ingestion-service and sensor-service dependencies - Fix
import typo in sensor-service (contextual -> contextlib) - Update FTP
credentials and environment variables for data-ingestion-service
2025-09-11 11:47:22 +01:00
rafaeldpsilva
d4f280de93 Remove legacy backend files and update microservices config
- Delete ARCHITECTURE.md and old services directory - Add sensor-service
and data-ingestion-service to Docker Compose - Comment out unused
services in docker-compose.yml - Update deploy.sh to use `docker
compose` command - Extend API gateway to proxy sensor-service routes and
WebSocket - Refactor health checks and service dependencies
2025-09-10 14:42:49 +01:00
rafaeldpsilva
a7a18e6295 first commit 2025-09-09 13:46:42 +01:00