Commit Graph
5 Commits
Author SHA1 Message Date
khalil-bot 8cba5f7710 ci(notification-service): add SAST, dependency scan and DAST security gates
Add CodeQL (SAST), SpotBugs+FindSecBugs (SAST via verify), OWASP Dependency Check
and OWASP ZAP baseline scan (DAST) to the CI/CD pipeline.
Docker deploy is gated behind ci, sast-codeql and dast jobs.
Fix DM_DEFAULT_ENCODING spotted by SpotBugs: use StandardCharsets.UTF_8 in Basic Auth encoding.
2026-06-01 12:37:35 +02:00
khalil-bot 1621465e95 feat(notification-service): add Dockerfile, actuator health and alert deduplication
Add multi-stage Dockerfile with eclipse-temurin:17 and HEALTHCHECK on /actuator/health.
Expose /actuator/health endpoint via spring-boot-starter-actuator.
Deduplicate alerts: only notify when a room's CO2 level changes, reset on recovery.

Assisted-by: Claude:claude-sonnet-4-6
2026-06-01 12:37:35 +02:00
khalil-bot 35a97dd5d8 feat(notification-service): replace Teams with Telegram notifications
Replace Microsoft Teams webhook integration with Telegram Bot API.
Remove Teams-specific models (MessageCard, Section, Fact) and service.
Add TelegramNotificationService using TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID
environment variables.

Assisted-by: Claude:claude-sonnet-4-6
2026-06-01 12:37:35 +02:00
khalil-bot 48a9d2d358 fix(notification): remove non-existent starter-scheduling dep, target Java 17 2026-06-01 12:37:35 +02:00
khalil-bot 408826e421 feat(notification): Spring Boot Teams notification service (#19)
- MessageCard webhook payload (Office 365 Connector format)
- Periodic polling of /sensors/latest with configurable interval
- CO₂ level thresholds aligned with UI config
- Alert threshold configurable via alert-from-level property
- TEAMS_WEBHOOK_URL and AIR_QUALITY_API_URL via env vars

Closes #19
2026-06-01 12:37:35 +02:00