Welcome to mirror list, hosted at ThFree Co, Russian Federation.

populate_vulnerability_historical_statistics.rb « background_migration « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2e81b1615d80fb00db5d3815d71537875e8f2e9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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
      def perform(project_ids, retention_period = 90)
      end
    end
  end
end

Gitlab::BackgroundMigration::PopulateVulnerabilityHistoricalStatistics.prepend_if_ee('EE::Gitlab::BackgroundMigration::PopulateVulnerabilityHistoricalStatistics')