heat.common.messaging module¶
- class heat.common.messaging.RequestContextSerializer(base)[source]¶
Bases:
oslo_messaging.serializer.Serializer
- static deserialize_context(ctxt)[source]¶
Deserialize a dictionary into a request context.
- Parameters
ctxt – Request context dictionary
- Returns
Deserialized form of entity
- deserialize_entity(ctxt, entity)[source]¶
Deserialize something from primitive form.
- Parameters
ctxt – Request context, in deserialized form
entity – Primitive to be deserialized
- Returns
Deserialized form of entity
- heat.common.messaging.get_notifier(publisher_id)[source]¶
Return a configured oslo_messaging notifier.
- heat.common.messaging.get_rpc_client(**kwargs)[source]¶
Return a configured oslo_messaging RPCClient.
- heat.common.messaging.get_rpc_server(target, endpoint)[source]¶
Return a configured oslo_messaging rpc server.