Sha256: ed2c99e508b27c77fd297c6e1edaebe31e1d1fdb6c5cc5a6e2ab0388237b5d24

Contents?: true

Size: 468 Bytes

Versions: 83

Compression:

Stored size: 468 Bytes

Contents

module Actions
  module Pulp3
    module Repository
      class RefreshRemote < Pulp3::AbstractAsyncTask
        def plan(repository, smart_proxy)
          plan_self(repository_id: repository.id, smart_proxy_id: smart_proxy.id)
        end

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

Version data entries

83 entries across 83 versions & 1 rubygems

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