Skip to content

Move bulk ingestion tasks to generic locations

Brian Williams requested to merge bwill/move-bulk-ingestion-tasks into master

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.

Edited by Brian Williams

Merge request reports

Loading