Sha256: 3949667562e4994d45ff4913459c2edc28d67b5a8aeea4fbee2a6a71de240bb7

Contents?: true

Size: 676 Bytes

Versions: 27

Compression:

Stored size: 676 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 :matching_content
          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

27 entries across 27 versions & 1 rubygems

Version Path
katello-4.2.0.1 app/lib/actions/katello/repository/index_content.rb
katello-4.1.4 app/lib/actions/katello/repository/index_content.rb
katello-4.0.3 app/lib/actions/katello/repository/index_content.rb
katello-4.2.0.1.rc3 app/lib/actions/katello/repository/index_content.rb
katello-4.2.0.1.rc2 app/lib/actions/katello/repository/index_content.rb
katello-4.2.0.rc2 app/lib/actions/katello/repository/index_content.rb
katello-4.1.3 app/lib/actions/katello/repository/index_content.rb
katello-4.2.0.rc1 app/lib/actions/katello/repository/index_content.rb
katello-4.0.2.1 app/lib/actions/katello/repository/index_content.rb
katello-4.1.2.1 app/lib/actions/katello/repository/index_content.rb
katello-4.0.2 app/lib/actions/katello/repository/index_content.rb
katello-4.1.2 app/lib/actions/katello/repository/index_content.rb
katello-4.1.1 app/lib/actions/katello/repository/index_content.rb
katello-4.1.0 app/lib/actions/katello/repository/index_content.rb
katello-4.0.1.2 app/lib/actions/katello/repository/index_content.rb
katello-4.1.0.rc2.2 app/lib/actions/katello/repository/index_content.rb
katello-4.1.0.rc2.1 app/lib/actions/katello/repository/index_content.rb
katello-4.0.1.1 app/lib/actions/katello/repository/index_content.rb
katello-4.1.0.rc2 app/lib/actions/katello/repository/index_content.rb
katello-4.0.1 app/lib/actions/katello/repository/index_content.rb