Sha256: 963ae097871a73f957d82be1606b2d21ca234c75b71fea330b43b9041806f7fc

Contents?: true

Size: 516 Bytes

Versions: 146

Compression:

Stored size: 516 Bytes

Contents

module Actions
  module Pulp3
    module Orchestration
      module Repository
        class RefreshIfNeeded < Pulp3::AbstractAsyncTask
          def plan(repository, smart_proxy, _options = {})
            plan_self(repository_id: repository.id, smart_proxy_id: smart_proxy.id)
          end

          def invoke_external_task
            repo = ::Katello::Repository.find(input[:repository_id])
            repo.backend_service(smart_proxy).refresh_if_needed
          end
        end
      end
    end
  end
end

Version data entries

146 entries across 146 versions & 1 rubygems

Version Path
katello-4.15.0.rc2 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.15.0.rc1 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.14.1 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.14.0 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.14.0.rc3 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.14.0.rc2 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.14.0.rc1.1 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.14.0.rc1 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.13.1 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.13.0 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.12.1 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.13.0.rc1 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.12.0 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.12.0.rc3 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.12.0.rc2 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.12.0.rc1 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.11.1 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.11.0 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.11.0.rc2 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.11.0.rc1 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb