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.3.1 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.4.0 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.4.0.rc2 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.4.0.rc1 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.2.2 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.3.0 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.3.0.rc4 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.3.0.rc3 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.3.0.rc2.1 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.3.0.rc2 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.3.0.rc1 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.2.1 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.2.0.1 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.1.4 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.0.3 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.2.0.1.rc3 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-3.18.5 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.2.0.1.rc2 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.2.0.rc2 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
katello-4.1.3 app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb