Add create service for push mirrors
What does this MR do and why?
Contributes to #455515 (closed)
Problem
Currently, push mirror creation logic is duplicated and inconsitent
between API and UI. Moreover, we rely on Projects::UpdateService
to
make changes to push mirrors. It's error-prone and inconvenient to use
push mirrors.
Solution
- Extract common push mirror creation logic into
RemoteMirrors::CreateService
- Add a new value object
Attributes
to handle allowed attributes list
Roadmap
Edited by Vasilii Iakliushin