2021-09-13 09:11:26 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module BulkImports
|
|
|
|
module Projects
|
|
|
|
class Stage < ::BulkImports::Stage
|
|
|
|
private
|
|
|
|
|
|
|
|
def config
|
|
|
|
@config ||= {
|
|
|
|
group: {
|
|
|
|
pipeline: BulkImports::Projects::Pipelines::ProjectPipeline,
|
|
|
|
stage: 0
|
|
|
|
},
|
2021-09-27 18:12:38 +00:00
|
|
|
labels: {
|
|
|
|
pipeline: BulkImports::Common::Pipelines::LabelsPipeline,
|
|
|
|
stage: 1
|
|
|
|
},
|
2021-09-13 09:11:26 +00:00
|
|
|
finisher: {
|
|
|
|
pipeline: BulkImports::Common::Pipelines::EntityFinisher,
|
2021-09-27 18:12:38 +00:00
|
|
|
stage: 2
|
2021-09-13 09:11:26 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
::BulkImports::Projects::Stage.prepend_mod_with('BulkImports::Projects::Stage')
|