v1.1.0: Alembic, pytest, домен и документация
- Миграции PostgreSQL через Alembic; DDL убран из lifespan приложения. - Тесты: health, status, ingress Grafana; моки Vault/Grafana/Forgejo. - Пакет onguard24/domain/ (сущности, шина событий), docs/DOMAIN.md. - Обновлены README, CHANGELOG, ARCHITECTURE. Made-with: Cursor
This commit is contained in:
23
onguard24/domain/__init__.py
Normal file
23
onguard24/domain/__init__.py
Normal file
@ -0,0 +1,23 @@
|
||||
"""Доменные сущности и шина событий (задел под модули)."""
|
||||
|
||||
from onguard24.domain.entities import Alert, EscalationPolicy, EscalationStep, Incident, Severity
|
||||
from onguard24.domain.events import (
|
||||
AlertReceived,
|
||||
DomainEvent,
|
||||
EventBus,
|
||||
InMemoryEventBus,
|
||||
Module,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
"Severity",
|
||||
"Alert",
|
||||
"Incident",
|
||||
"EscalationPolicy",
|
||||
"EscalationStep",
|
||||
"DomainEvent",
|
||||
"AlertReceived",
|
||||
"Module",
|
||||
"EventBus",
|
||||
"InMemoryEventBus",
|
||||
]
|
||||
Reference in New Issue
Block a user