Sha256: 660dd7b7d4c89aa2c65640a4fff6a78cb5fd2f3009a51920bed8c66c264c6d67

Contents?: true

Size: 700 Bytes

Versions: 195

Compression:

Stored size: 700 Bytes

Contents

module Actions
  module Katello
    module Repository
      class BulkMetadataGenerate < Actions::Base
        def plan(repos, options = {})
          sequence do
            plan_action(::Actions::BulkAction, ::Actions::Katello::Repository::MetadataGenerate, repos.in_default_view, options) if repos.in_default_view.any?
            plan_action(::Actions::BulkAction, ::Actions::Katello::Repository::MetadataGenerate, repos.archived, options) if repos.archived.any?
            plan_action(::Actions::BulkAction, ::Actions::Katello::Repository::MetadataGenerate, repos.in_published_environments, options) if repos.in_published_environments.any?
          end
        end
      end
    end
  end
end

Version data entries

195 entries across 195 versions & 1 rubygems

Version Path
katello-4.7.3 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.7.2 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.7.1 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.6.2.1 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.6.2 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.7.0 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.6.1 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.7.0.rc2 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.7.0.rc1 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.4.2.2 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.4.2.1 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.4.2 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.5.1 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.6.0 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.6.0.rc2 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.6.0.rc1 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.5.0 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.5.0.rc2 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.4.1 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.5.0.rc1 app/lib/actions/katello/repository/bulk_metadata_generate.rb