Move bulk ingestion tasks to generic locations
What does this MR do and why?
Describe in detail what your merge request does and why.
We want to reuse BulkInsertableTask and BulkUpdatableTask for a new ingestion service. This change facilitates this by moving these modules into generic locations so that they may be re-used. This will support the addition of SBoM report ingestion.
lib/gitlab/database/tasks/
was chosen as the new location, as these modules
perform bulk inserts / updates to the database and should work with any model.
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 Brian Williams