Add Projects::ProjectPathChangedEvent
What does this MR do and why?
Context
As part of &7920 (closed), a new cache mechanism was added to Gitlab Pages internal API.
This cache must be invalidated in many different situations, and for that we're using the Gitlab Event Store to dispatch/subscribe to these events.
This MR
This MR introduce the Projects::ProjectPathChangedEvent
event, which is one of the events required to invalidate the Gitlab Pages internal API cache (introduced in #363867 (closed)).
Another MR will use this event to invalidate the cache, like it was done in Invalidate Pages API internal cache with Projec... (!92015 - merged)
Related to: #364063 (closed)
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
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.
-
I have evaluated the MR acceptance checklist for this MR.