commit e9d4aa951dc7f0421e42105c404ae687ff1c45cc
Author: Julia Aranovich <email address hidden>
Date: Mon Jan 30 12:53:09 2017 +0300
Fetch unread notifications number
Replace 20sec polling of the whole notification collection
by polling of notification statistics (GET /api/notifications/stats)
which includes number of unread notifications.
This number is rendered in notifications badge in Fuel UI.
Also, notifications are marked as read by a new handler
PUT /api/notifications/change_status with {status: 'read'} payload.
Reviewed: https:/ /review. openstack. org/431521 /git.openstack. org/cgit/ openstack/ fuel-ui/ commit/ ?id=e9d4aa951dc 7f0421e42105c40 4ae687ff1c45cc
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit e9d4aa951dc7f04 21e42105c404ae6 87ff1c45cc
Author: Julia Aranovich <email address hidden>
Date: Mon Jan 30 12:53:09 2017 +0300
Fetch unread notifications number
Replace 20sec polling of the whole notification collection ons/stats)
by polling of notification statistics (GET /api/notificati
which includes number of unread notifications.
This number is rendered in notifications badge in Fuel UI.
Also, notifications are marked as read by a new handler ons/change_ status with {status: 'read'} payload.
PUT /api/notificati
Partial-Bug: #1657348
Depends-On: I2e6a0daaf8712a b3064df728a8fb4 63ef805aa06
Change-Id: I6a7eae7abf2b43 143039db7ca262a e40ce5a30b4