Skip to content

Replace event string with constant in Repository Replicator Strategy

What does this MR do and why?

This MR modifies RepositoryReplicatorStrategy where hardcoded strings was used to represent the 'created', 'updated' & 'deleted' event types.

The hardcoded string has been replaced with respective constants EVENT_CREATED, EVENT_UPDATED & EVENT_DELETED to avoid potential typos or inconsistencies in the event type & potential bugs.

Related to #417608 (closed)

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

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 Javiera Tapia

Merge request reports