chore: release v1.0.0 — каркас FastAPI, ingress Grafana, интеграции, документация
Made-with: Cursor
This commit is contained in:
1
onguard24/modules/__init__.py
Normal file
1
onguard24/modules/__init__.py
Normal file
@ -0,0 +1 @@
|
||||
"""Подключаемые модули onGuard24."""
|
||||
12
onguard24/modules/contacts.py
Normal file
12
onguard24/modules/contacts.py
Normal file
@ -0,0 +1,12 @@
|
||||
from fastapi import APIRouter
|
||||
|
||||
router = APIRouter(tags=["module-contacts"])
|
||||
|
||||
|
||||
@router.get("/")
|
||||
async def contacts_root():
|
||||
return {
|
||||
"module": "contacts",
|
||||
"status": "stub",
|
||||
"note": "люди, группы, каналы доставки",
|
||||
}
|
||||
12
onguard24/modules/schedules.py
Normal file
12
onguard24/modules/schedules.py
Normal file
@ -0,0 +1,12 @@
|
||||
from fastapi import APIRouter
|
||||
|
||||
router = APIRouter(tags=["module-schedules"])
|
||||
|
||||
|
||||
@router.get("/")
|
||||
async def schedules_root():
|
||||
return {
|
||||
"module": "schedules",
|
||||
"status": "stub",
|
||||
"note": "календарь и смены — следующий этап",
|
||||
}
|
||||
13
onguard24/modules/statusboard.py
Normal file
13
onguard24/modules/statusboard.py
Normal file
@ -0,0 +1,13 @@
|
||||
from fastapi import APIRouter
|
||||
|
||||
router = APIRouter(tags=["module-statusboard"])
|
||||
|
||||
|
||||
@router.get("/")
|
||||
async def statusboard_root():
|
||||
return {
|
||||
"module": "statusboard",
|
||||
"status": "stub",
|
||||
"note": "светофор по сервисам — агрегация по алертам",
|
||||
"demo": [],
|
||||
}
|
||||
Reference in New Issue
Block a user