]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: Notification queue
authorStephan Müller <smueller@suse.com>
Mon, 26 Nov 2018 14:59:26 +0000 (15:59 +0100)
committerStephan Müller <smueller@suse.com>
Wed, 12 Dec 2018 13:53:09 +0000 (14:53 +0100)
commit0d3f312f57a92f9bfe1d04b916e0f5127600d52e
treeb968d2c3675e4a3ef9b4fd22ea71f08d25862e58
parent174dd6ed4d1581068e9bfb6d3544db8624eeb3cf
mgr/dashboard: Notification queue

It's now possible to send an array of notification configs to the notification
service. These array is cached for, by default 500ms, before this array
is unified and than converted to full notifications that are seen by the
user.

Useful if different service can come to the same conclusions regarding
the notification. This is the case for the prometheus notification service
and the prometheus alert service.

Fixes: https://tracker.ceph.com/issues/37469
Signed-off-by: Stephan Müller <smueller@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/shared/services/notification.service.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/services/notification.service.ts