Sha256: 49019d7aead89cc245fde4323ecdf78eda7a08443c4a9980b105d532b09136b7

Contents?: true

Size: 593 Bytes

Versions: 52

Compression:

Stored size: 593 Bytes

Contents

module Actions
  module Pulp3
    module AlternateContentSource
      class DeleteRemote < Pulp3::AbstractAsyncTask
        def plan(smart_proxy_acs, options = {})
          plan_self(smart_proxy_id: smart_proxy_acs.smart_proxy_id, smart_proxy_acs_id: smart_proxy_acs.id, old_url: options[:old_url])
        end

        def invoke_external_task
          smart_proxy_acs = ::Katello::SmartProxyAlternateContentSource.find(input[:smart_proxy_acs_id])
          output[:response] = smart_proxy_acs.backend_service.delete_remote(old_url: input[:old_url])
        end
      end
    end
  end
end

Version data entries

52 entries across 52 versions & 1 rubygems

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