event_routing_backends.processors.caliper package#

Subpackages#

Submodules#

event_routing_backends.processors.caliper.constants module#

Constants related to IMS Caliper and events transformation into Caliper.

event_routing_backends.processors.caliper.envelope_processor module#

event_routing_backends.processors.caliper.registry module#

Registry to keep track of Caliper event transformers

class event_routing_backends.processors.caliper.registry.CaliperTransformersRegistry#

Bases: event_routing_backends.processors.transformer_utils.registry.TransformerRegistry

Registry to keep track of Caliper event transformers

mapping = {}#

event_routing_backends.processors.caliper.transformer module#

event_routing_backends.processors.caliper.transformer_processor module#

Caliper processor for transforming and routing events.

class event_routing_backends.processors.caliper.transformer_processor.CaliperProcessor#

Bases: event_routing_backends.processors.mixins.base_transformer_processor.BaseTransformerProcessorMixin

Caliper Processor for transforming and routing events.

This processor first transform the event using the registered transformer and then route the events through the configured routers.

Every router configured to be used MUST support the transformed event type.

registry#

alias of event_routing_backends.processors.caliper.registry.CaliperTransformersRegistry

transform_event(event)#

Transform the event into IMS Caliper format.

Parameters

event (dict) – Event to be transformed.

Returns

transformed event

Return type

dict

Raises

Any Exception

Module contents#

Caliper processors and spec implementation.