Add Pydantic models and FastAPI router structure for agent and backend
CI / basic-check (push) Has been cancelled

This commit is contained in:
Perplexity Bot
2026-08-04 18:55:54 +00:00
parent dc1b2ab99b
commit 69124b31f1
15 changed files with 546 additions and 111 deletions
+15
View File
@@ -0,0 +1,15 @@
from pydantic import BaseModel
class AgentConfig(BaseModel):
service_name: str = 'netmapper-agent'
version: str = '0.1.0'
monitored_services: list[str] = [
'netmapper-agent.service',
'netmapper-backend.service',
'netmapper-worker.service',
'netmapper-frontend.service',
]
settings = AgentConfig()