The monasca_events_api.app.controller.v1.events
Module¶
-
class
monasca_events_api.app.controller.v1.events.
Events
[source]¶ Bases:
object
Events.
Events acts as a RESTful endpoint accepting messages contains collected events from the OpenStack message bus. Works as getaway for any further processing for accepted data.
-
SUPPORTED_CONTENT_TYPES
= {'application/json'}¶
-
VERSION
= 'v1.0'¶
-
on_post
(req, res)[source]¶ Accepts sent events as json.
Accepts events sent to resource which should be sent to Kafka queue.
- Parameters
req – current request
res – current response
-
property
version
¶
-