Sha256: 6bcf662ceaa2568a98abcfa2dbf6685b713889dc82739c35da454f4a20dcdad7

Contents?: true

Size: 512 Bytes

Versions: 53

Compression:

Stored size: 512 Bytes

Contents

module Actions
  module Pulp3
    module AlternateContentSource
      class Update < Pulp3::AbstractAsyncTask
        def plan(smart_proxy_acs)
          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
        end
      end
    end
  end
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
katello-4.8.0.rc1 app/lib/actions/pulp3/alternate_content_source/update.rb
katello-4.7.3 app/lib/actions/pulp3/alternate_content_source/update.rb
katello-4.7.2 app/lib/actions/pulp3/alternate_content_source/update.rb
katello-4.7.1 app/lib/actions/pulp3/alternate_content_source/update.rb
katello-4.6.2.1 app/lib/actions/pulp3/alternate_content_source/update.rb
katello-4.6.2 app/lib/actions/pulp3/alternate_content_source/update.rb
katello-4.7.0 app/lib/actions/pulp3/alternate_content_source/update.rb
katello-4.6.1 app/lib/actions/pulp3/alternate_content_source/update.rb
katello-4.7.0.rc2 app/lib/actions/pulp3/alternate_content_source/update.rb
katello-4.7.0.rc1 app/lib/actions/pulp3/alternate_content_source/update.rb
katello-4.6.0 app/lib/actions/pulp3/alternate_content_source/update.rb
katello-4.6.0.rc2 app/lib/actions/pulp3/alternate_content_source/update.rb
katello-4.6.0.rc1 app/lib/actions/pulp3/alternate_content_source/update.rb