decomposer: generate deliverable files for Define the service contract and project architecture for the FastAPI endpoint monitoring service.; Implement the typed monitor CRUD API and concurrency-safe in-memory state according to the service design.; Implement secure on-demand endpoint checks with status updates, latency measurement, robust error handling, and redacted structured logs.; Add operational API endpoints and environment-driven runtime configuration to the monitoring service.; Create automated tests for the monitoring service.; Package the service with Docker and developer documentation.; Validate the complete project.

This commit is contained in:
2026-08-09 15:38:33 +00:00
parent 9ad91adae2
commit 7453853114

View File

@@ -3,43 +3,40 @@ requires = ["hatchling>=1.25"]
build-backend = "hatchling.build"
[project]
name = "endpoint-monitor"
name = "endpoint-monitor-service"
version = "1.0.0"
description = "Secure on-demand HTTP endpoint monitoring API"
readme = "README.md"
description = "A secure process-local FastAPI endpoint monitor"
requires-python = ">=3.12"
dependencies = [
"aiohttp>=3.10,<4",
"fastapi>=0.115,<1",
"httpx>=0.27,<1",
"pydantic-settings>=2.5,<3",
"uvicorn[standard]>=0.30,<1",
]
[project.optional-dependencies]
dev = [
"httpx>=0.27,<1",
"mypy>=1.11,<2",
"pytest>=8.3,<9",
"pytest-asyncio>=0.24,<1",
"pytest-anyio>=0.0.0,<0.1",
"ruff>=0.6,<1",
]
[tool.hatch.build.targets.wheel]
packages = ["app"]
packages = ["src/monitor_service"]
[tool.pytest.ini_options]
addopts = "-q"
asyncio_mode = "auto"
testpaths = ["tests"]
addopts = "-q"
[tool.ruff]
line-length = 100
line-length = 120
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "ASYNC"]
select = ["E", "F", "I", "B", "UP"]
[tool.mypy]
python_version = "3.12"
strict = true
packages = ["app"]
packages = ["monitor_service"]