Sha256: 7855c4d79f5df8f5be8313ff5f211592d8f6737c2b5bd510759ae2486745510a
Contents?: true
Size: 790 Bytes
Versions: 4
Compression:
Stored size: 790 Bytes
Contents
module Actions module Pulp3 module Orchestration module AlternateContentSource class Delete < Pulp3::Abstract def plan(acs, smart_proxy) sequence do plan_action(Actions::Pulp3::AlternateContentSource::Delete, acs, smart_proxy) plan_action(Actions::Pulp3::AlternateContentSource::DeleteRemote, acs, smart_proxy) plan_self(acs_id: acs.id, smart_proxy_id: smart_proxy.id) end end def finalize acs_id = input[:acs_id] smart_proxy_id = input[:smart_proxy_id] ::Katello::SmartProxyAlternateContentSource.find_by(alternate_content_source_id: acs_id, smart_proxy_id: smart_proxy_id).destroy end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems