Refactor CI external mapper
What does this MR do and why?
This is the second step of #382531 (closed). In this MR, I am just refactoring Gitlab::Ci::Config::External::Mapper
because it will be better to work with in my next MRs.
P.S. I haven't written tests for the new files because they are already covered by the mapper tests but I'll open a follow-up issue for it.
The changes are behind a feature flag ci_refactoring_external_mapper
(#385179 (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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Furkan Ayhan