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.14.2 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.15.0 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.15.0.rc2 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.15.0.rc1 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.14.1 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.14.0 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.14.0.rc3 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.14.0.rc2 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.14.0.rc1.1 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.14.0.rc1 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.13.1 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.13.0 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.12.1 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.13.0.rc1 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.12.0 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.12.0.rc3 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.12.0.rc2 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.12.0.rc1 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.11.1 app/lib/actions/katello/repository/bulk_metadata_generate.rb
katello-4.11.0 app/lib/actions/katello/repository/bulk_metadata_generate.rb