feat(notifications): TODO 7 — draft decision toast + email + bell badge

This commit is contained in:
Александр Зимин
2026-05-14 14:40:35 +00:00
parent 50d263745a
commit 9050e2427e
21 changed files with 1992 additions and 82 deletions
@@ -224,3 +224,18 @@ ordinis:
realm: ${ORDINIS_KEYCLOAK_ADMIN_REALM:nstart}
client-id: ${ORDINIS_KEYCLOAK_ADMIN_CLIENT_ID:}
client-secret: ${ORDINIS_KEYCLOAK_ADMIN_CLIENT_SECRET:}
# Notifications module — push email for draft lifecycle events.
# Activated via ordinis.notifications.enabled=true (writer pod only).
# SMTP creds: spring.mail.* (standard Spring Boot mail properties).
# See ordinis-notifications module + migration 0021/0024.
notifications:
enabled: ${ORDINIS_NOTIFICATIONS_ENABLED:true}
poll-interval-ms: ${ORDINIS_NOTIFICATIONS_POLL_INTERVAL_MS:30000}
batch-size: ${ORDINIS_NOTIFICATIONS_BATCH_SIZE:50}
# Reviewer pool email — receives RecordDraftSubmitted / RecordDraftWithdrawn pings.
# Leave blank to disable reviewer-pool notifications (maker-only notifications still work).
reviewer-pool-email: ${ORDINIS_NOTIFICATIONS_REVIEWER_POOL_EMAIL:}
email:
from-address: ${ORDINIS_NOTIFICATIONS_FROM:}
base-url: ${ORDINIS_NOTIFICATIONS_BASE_URL:}