Move DestroyOrphanEntriesWorker to VirtualRegistries::Cache
What does this MR do and why?
In this MR, we move VirtualRegistries::Packages::Cache::DestroyOrphanEntriesWorker to VirtualRegistries::Cache::DestroyOrphanEntriesWorker so it can be reused for both container virtual registries and maven virtual registries.
For this, we update the original worker to no-op and call the new worker (same implementation, just different namespace) in the places where the old worker was used.
References
- Followed the same strategy as
MarkEntriesForDestructionWorkerin !214682 (merged) - Removing worker classes guide
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #581789