Comment 2 for bug 1457785

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/185146
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=02bab799bab051cc22f4fdf9d19d7a17939cdde7
Submitter: Jenkins
Branch: master

commit 02bab799bab051cc22f4fdf9d19d7a17939cdde7
Author: Rohit Jaiswal <email address hidden>
Date: Fri May 22 21:04:50 2015 +0000

    Fixing event types pattern for Role Noti. handler

    Identity(Keystone) notifications have a handler
    for Role that has event type as identity.role.*
    Another for RoleAssignment which accepts
    identity.role_assignment.* events.

    Since event types are regular expressions,
    an event like identity.role_assignment.created
    is matched with identity.role.* and gets incorrectly
    routed to the Role Handler.

    This fix restricts the event type regex for Role
    handler to just identity.role.* events and excludes
    identity.role_* events.

    Change-Id: I526467ef2f8204e8093f7470b86949e3e0e69990
    Closes-Bug: #1457785