The monasca_events_api.app.core.model Module

monasca_events_api.app.core.model.prepare_message_to_sent(body)[source]

prepare_message_to_sent convert message to proper format,

Parameters

body (dict) – original request body

Return dict

prepared message for publish to kafka