Add API endpoint to publish CI Catalog Resource Version
What does this MR do and why?
Today, when publishing a new version to the CI Catalog, the metadata of components are fetched from the repository and extracted from the files.
The goal is to move this responsibility to release-cli
and accept
the required metadata from the client. To this end, a new API endpoint
will accept components_data
and pass it to
Ci::Catalog::Resources::ReleaseService
.
In this MR, we are implementing the new API endpoint
POST /projects/:id/catalog/publish
to publish a CI Catalog Resource
Version.
Related to #442783 (closed)
Implementation table
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Furkan Ayhan