Sha256: 89f5d52697ef70e3c55375ef97e7fb6093fb828c91fd0b157f64878d3f61e8b8

Contents?: true

Size: 642 Bytes

Versions: 59

Compression:

Stored size: 642 Bytes

Contents

module Actions
  module Katello
    module Repository
      class IndexContent < Actions::EntryAction
        middleware.use Actions::Middleware::ExecuteIfContentsChanged

        input_format do
          param :id, Integer
          param :dependency, Hash
          param :contents_changed
          param :source_repository_id
        end

        def run
          source_repository = ::Katello::Repository.find(input[:source_repository_id]) if input[:source_repository_id]
          repo = ::Katello::Repository.find(input[:id])
          repo.index_content(source_repository: source_repository)
        end
      end
    end
  end
end

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
katello-3.18.5 app/lib/actions/katello/repository/index_content.rb
katello-3.18.4 app/lib/actions/katello/repository/index_content.rb
katello-3.18.3.1 app/lib/actions/katello/repository/index_content.rb
katello-3.18.3 app/lib/actions/katello/repository/index_content.rb
katello-3.18.2.1 app/lib/actions/katello/repository/index_content.rb
katello-3.18.2 app/lib/actions/katello/repository/index_content.rb
katello-3.17.3 app/lib/actions/katello/repository/index_content.rb
katello-3.18.1.1 app/lib/actions/katello/repository/index_content.rb
katello-3.17.2 app/lib/actions/katello/repository/index_content.rb
katello-3.18.1 app/lib/actions/katello/repository/index_content.rb
katello-3.18.0 app/lib/actions/katello/repository/index_content.rb
katello-3.17.1 app/lib/actions/katello/repository/index_content.rb
katello-3.16.2 app/lib/actions/katello/repository/index_content.rb
katello-3.18.0.rc2.1 app/lib/actions/katello/repository/index_content.rb
katello-3.18.0.rc2 app/lib/actions/katello/repository/index_content.rb
katello-3.17.0 app/lib/actions/katello/repository/index_content.rb
katello-3.18.0.rc1 app/lib/actions/katello/repository/index_content.rb
katello-3.17.0.rc2.2 app/lib/actions/katello/repository/index_content.rb
katello-3.17.0.rc2.1 app/lib/actions/katello/repository/index_content.rb
katello-3.16.1.2 app/lib/actions/katello/repository/index_content.rb