diff --git a/plugins/index.md b/plugins/index.md index 1e184671e3..ed8a79d4fc 100644 --- a/plugins/index.md +++ b/plugins/index.md @@ -313,7 +313,7 @@ Available for: ## Notifications -The Notifications plugin provides support for publishing business notifications in SAP Build Work Zone. Notification types are defined by annotating CDS events, which the plugin then intercepts and forwards automatically: +The Notifications plugin provides support for sending emails and publishing business notifications in SAP Build Work Zone. Define notification types declaratively via `@notification` CDS annotations or JSON config — the plugin intercepts annotated events and forwards them automatically: ```cds @notification: { @@ -382,22 +382,23 @@ service IncidentService { Features: - CAP service-based API — simple, backend-agnostic -- Notification types defined via CDS @notification annotations -- Notification types defined via JSON (Node.js only) +- Notification types defined via CDS `@notification` annotations — `cds build` compiles them to `notification-types.json` +- Notification types defined via JSON config - Auto-emit: annotated CDS events are forwarded to ANS automatically -- Email delivery via configurable delivery channels +- **Email delivery** via `@notification.email.subject` and `@notification.email.html` annotations with Mustache syntax - Email HTML templates for rich email notifications -- Batch notifications — emit multiple notifications in a single call -- i18n support and dynamic priority for notification types +- **Batch notifications** — send multiple notifications in a single outbox event +- **i18n support** via `{i18n>key}` syntax in annotations +- **Dynamic priority** via `@notification.priority` with runtime expressions - Console logging in development — no external service needed - Transactional outbox — maximized scalability and resilience - Automatic registration and lifecycle management of notification types on startup - +- Optional database storage for sent notifications with cooldown to prevent duplicate delivery (Java) Available for: [![Node.js](/logos/nodejs.svg 'Link to the plugins repository.'){style="height:2.5em; display:inline; margin:0 0.2em;"}](https://github.com/cap-js/notifications#readme) -[![Java](/logos/java.svg 'Link to the plugins repository.'){style="height:3em; display:inline; margin:0 0.2em;"}](https://github.com/cap-java/cds-feature-notifications#readme) +[![Java](/logos/java.svg 'Link to the plugins repository.'){style="height:3em; display:inline; margin:0 0.2em;"}](https://github.com/cap-java/cds-feature-notifications#readme) ## Telemetry