2020-11-24 15:15:51 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Gitlab
|
|
|
|
module BackgroundMigration
|
|
|
|
# This class creates/updates those project historical vulnerability statistics
|
|
|
|
# that haven't been created nor initialized. It should only be executed in EE.
|
|
|
|
class PopulateVulnerabilityHistoricalStatistics
|
2021-02-22 17:27:13 +05:30
|
|
|
def perform(project_ids, retention_period = 90)
|
2020-11-24 15:15:51 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2021-06-08 01:23:25 +05:30
|
|
|
Gitlab::BackgroundMigration::PopulateVulnerabilityHistoricalStatistics.prepend_mod_with('Gitlab::BackgroundMigration::PopulateVulnerabilityHistoricalStatistics')
|