keystone  18.0.0
About: OpenStack Keystone (Core Service: Identity) provides an authentication and authorization service for other OpenStack services. Provides a catalog of endpoints for all OpenStack services.
The "Victoria" series (maintained release).
  Fossies Dox: keystone-18.0.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

keystone.notifications.CadfRoleAssignmentNotificationWrapper Class Reference
Inheritance diagram for keystone.notifications.CadfRoleAssignmentNotificationWrapper:
[legend]
Collaboration diagram for keystone.notifications.CadfRoleAssignmentNotificationWrapper:
[legend]

Public Member Functions

def __init__ (self, operation)
 
def __call__ (self, f)
 

Public Attributes

 action
 
 event_type
 

Static Public Attributes

string ROLE_ASSIGNMENT = 'role_assignment'
 

Detailed Description

Send CADF notifications for ``role_assignment`` methods.

This function is only used for role assignment events. Its ``action`` and
``event_type`` are dictated below.

- action: ``created.role_assignment`` or ``deleted.role_assignment``
- event_type: ``identity.role_assignment.created`` or
    ``identity.role_assignment.deleted``

Sends a CADF notification if the wrapped method does not raise an
:class:`Exception` (such as :class:`keystone.exception.NotFound`).

:param operation: one of the values from ACTIONS (created or deleted)

Definition at line 599 of file notifications.py.

Constructor & Destructor Documentation

◆ __init__()

def keystone.notifications.CadfRoleAssignmentNotificationWrapper.__init__ (   self,
  operation 
)

Definition at line 617 of file notifications.py.

Member Function Documentation

◆ __call__()

Member Data Documentation

◆ action

keystone.notifications.CadfRoleAssignmentNotificationWrapper.action

◆ event_type

keystone.notifications.CadfRoleAssignmentNotificationWrapper.event_type

◆ ROLE_ASSIGNMENT

string keystone.notifications.CadfRoleAssignmentNotificationWrapper.ROLE_ASSIGNMENT = 'role_assignment'
static

Definition at line 615 of file notifications.py.


The documentation for this class was generated from the following file: