Initial commit: Message Gateway project
- FastAPI приложение для отправки мониторинговых алертов в мессенджеры - Поддержка Telegram и MAX/VK - Интеграция с Grafana, Zabbix, AlertManager - Автоматическое создание тикетов в Jira - Управление группами мессенджеров через API - Декораторы для авторизации и скрытия эндпоинтов - Подробная документация в папке docs/ Автор: Сергей Антропов Сайт: https://devops.org.ru
This commit is contained in:
27
app/api/v1/router.py
Normal file
27
app/api/v1/router.py
Normal file
@@ -0,0 +1,27 @@
|
||||
"""
|
||||
Роутер API версии 1.
|
||||
|
||||
Автор: Сергей Антропов
|
||||
Сайт: https://devops.org.ru
|
||||
"""
|
||||
from fastapi import APIRouter
|
||||
|
||||
from app.api.v1.endpoints import (
|
||||
health,
|
||||
monitoring,
|
||||
debug,
|
||||
jira,
|
||||
message,
|
||||
groups,
|
||||
)
|
||||
|
||||
# Создаем роутер для API v1
|
||||
api_router = APIRouter(prefix="/api/v1")
|
||||
|
||||
# Подключаем эндпоинты
|
||||
api_router.include_router(health.router)
|
||||
api_router.include_router(monitoring.router)
|
||||
api_router.include_router(debug.router)
|
||||
api_router.include_router(jira.router)
|
||||
api_router.include_router(message.router)
|
||||
api_router.include_router(groups.router)
|
||||
Reference in New Issue
Block a user