notification.server
Modules
notification.server
Module notification.server
API
Definitions
commons/notification.server
Configurables
notification.server: port
Port of the service's listener.
notification.server: basePath
Base path the service is attached at.
notification.server: ns
Namespace of every notification this instance stores and serves.
notification.server: tablePrefix
Prefix of the service's tables.
notification.server: auth
Listener auth.
notification.server: db
Database connection.
notification.server: scopeSend
Scope required to send notifications.
notification.server: scopeRead
Scope required to read and mark the caller's own notifications.
notification.server: scopeAdmin
Scope required to list any recipient's notifications and to delete.
notification.server: retentionDays
Notifications older than this are purged, read or not.
notification.server: purgeIntervalSeconds
How often the purge job runs, in seconds.
notification.server: maxPageSize
Largest page a listing returns.
notification.server: replayLimit
Most notifications replayed when a stream reconnects with Last-Event-ID.
notification.server: ticketTtlSeconds
Lifetime of an SSE stream ticket, in seconds.
notification.server: corsAllowOrigins
Origins allowed by CORS.
Import
import commons/notification.server;Other versions
0.1.0
Metadata
Released date: 27 days ago
Version: 0.1.0
License: Apache-2.0
Compatibility
Platform: any
Ballerina version: 2201.13.4
GraalVM compatible: Yes
Pull count
Total: 1
Current verison: 1
Weekly downloads
Keywords
commons
notification
inbox
sse
Contributors