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-30 18:11:31 +00:00
|
|
|
issues: {
|
|
|
|
pipeline: BulkImports::Projects::Pipelines::IssuesPipeline,
|
|
|
|
stage: 2
|
|
|
|
},
|
2021-09-13 09:11:26 +00:00
|
|
|
finisher: {
|
|
|
|
pipeline: BulkImports::Common::Pipelines::EntityFinisher,
|
2021-09-30 18:11:31 +00:00
|
|
|
stage: 3
|
2021-09-13 09:11:26 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
::BulkImports::Projects::Stage.prepend_mod_with('BulkImports::Projects::Stage')
|