Comment 27 for bug 1657348

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ui (stable/newton)

Reviewed: https://review.openstack.org/431521
Committed: https://git.openstack.org/cgit/openstack/fuel-ui/commit/?id=e9d4aa951dc7f0421e42105c404ae687ff1c45cc
Submitter: Jenkins
Branch: stable/newton

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.

    Partial-Bug: #1657348

    Depends-On: I2e6a0daaf8712ab3064df728a8fb463ef805aa06

    Change-Id: I6a7eae7abf2b43143039db7ca262ae40ce5a30b4