Skip to content

Add ReplicatorEvents module to separate event logic from other files

What does this MR do and why?

Add ReplicatorEvents module to allow for different event constant definitions.

Include all events (EVENT_CREATED, EVENT_UPDATED, EVENT_DELETED) in ReplicatorEvents concern.

When BlobReplicatorStrategy includes ReplicatorEvents, the imported EVENT_UPDATED of included do call will also get included, I think it won't get used though, thinking that I have made this change.

The updated module provides consistency across replicator strategies and allows for future extensibility.

Issue: #417610 (closed)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Chloe Fons

Merge request reports

Loading