Sha256: 640c03b56a4caa9dedc8f5827d41f6beccf6d8ca8b35602aa94f5acfb18cc2c0
Contents?: true
Size: 586 Bytes
Versions: 57
Compression:
Stored size: 586 Bytes
Contents
module Actions module Pulp3 module AlternateContentSource class UpdateRemote < Pulp3::AbstractAsyncTask def plan(smart_proxy_acs) smart_proxy_acs.backend_service.create_test_remote plan_self(smart_proxy_acs_id: smart_proxy_acs.id, smart_proxy_id: smart_proxy_acs.smart_proxy_id) end def invoke_external_task smart_proxy_acs = ::Katello::SmartProxyAlternateContentSource.find(input[:smart_proxy_acs_id]) output[:response] = smart_proxy_acs.backend_service.update_remote end end end end end
Version data entries
57 entries across 57 versions & 1 rubygems