implement Edge-Hub integration with user_id validation (SCRUM-93, SCRUM-94)

- Agent: Updated config and main
- Edge: Implemented adapter factory in main.py to switch between MQTT and HTTP.
- Edge: Updated AgentData entity and processing logic to support user_id.
- Infrastructure: Configured docker-compose for dynamic protocol switching and environment management.
This commit is contained in:
esk4nz
2026-03-23 21:31:31 +02:00
parent 30f81ec1ae
commit c085a49c8c
8 changed files with 59 additions and 23 deletions

View File

@@ -14,6 +14,7 @@ class GpsData(BaseModel):
class AgentData(BaseModel):
user_id: int
accelerometer: AccelerometerData
gps: GpsData
timestamp: datetime