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