event_routing_backends.management.commands package#
Subpackages#
Submodules#
event_routing_backends.management.commands.recover_failed_events module#
Management command for resending events when a failure occurs.
- class event_routing_backends.management.commands.recover_failed_events.Command(stdout=None, stderr=None, no_color=False, force_color=False)#
Bases:
django.core.management.base.BaseCommand
Management command for resending events when a failure occurs in the event routing backend.
- add_arguments(parser)#
Entry point for subclassed commands to add custom arguments.
- handle(*args, **options)#
Configure the command and start the transform process.
- help = 'Management command for resending events when a failure occurs\nin the event routing backend.'#
event_routing_backends.management.commands.transform_tracking_logs module#
Management command for transforming tracking log files.
- class event_routing_backends.management.commands.transform_tracking_logs.Command(stdout=None, stderr=None, no_color=False, force_color=False)#
Bases:
django.core.management.base.BaseCommand
Transform tracking logs to an LRS or other output destination.
- add_arguments(parser)#
Entry point for subclassed commands to add custom arguments.
- handle(*args, **options)#
Configure the command and start the transform process.
- help = 'Transform tracking logs to an LRS or other output destination.'#
- event_routing_backends.management.commands.transform_tracking_logs.get_dest_config_from_options(destination_provider, dest_config_options)#
Prepare our destination configuration.
All None’s if these are being sent to an LRS, or use values from the destination_configuration JSON option.
- event_routing_backends.management.commands.transform_tracking_logs.get_libcloud_drivers(source_provider, source_config, destination_provider, destination_config)#
Attempt to configure the libcloud drivers for source and destination.
- event_routing_backends.management.commands.transform_tracking_logs.get_source_config_from_options(source_config_options)#
Prepare our source configuration from the configuration JSON.
- event_routing_backends.management.commands.transform_tracking_logs.transform_tracking_logs(source, source_container, source_prefix, sender)#
Transform one or more tracking log files from the given source to the given destination.
- event_routing_backends.management.commands.transform_tracking_logs.validate_destination(driver, container_name, prefix, source_objects)#
Validate that the given libcloud destination exists and can be written to.
- event_routing_backends.management.commands.transform_tracking_logs.validate_source_and_files(driver, container_name, prefix)#
Validate that the given libcloud source exists and has files in it to read.