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

Version Path
katello-4.16.0 app/lib/actions/pulp3/alternate_content_source/update_remote.rb
katello-4.15.1 app/lib/actions/pulp3/alternate_content_source/update_remote.rb
katello-4.16.0.rc2 app/lib/actions/pulp3/alternate_content_source/update_remote.rb
katello-4.16.0.rc1 app/lib/actions/pulp3/alternate_content_source/update_remote.rb
katello-4.14.3 app/lib/actions/pulp3/alternate_content_source/update_remote.rb
katello-4.14.2 app/lib/actions/pulp3/alternate_content_source/update_remote.rb
katello-4.15.0 app/lib/actions/pulp3/alternate_content_source/update_remote.rb
katello-4.15.0.rc2 app/lib/actions/pulp3/alternate_content_source/update_remote.rb
katello-4.15.0.rc1 app/lib/actions/pulp3/alternate_content_source/update_remote.rb
katello-4.14.1 app/lib/actions/pulp3/alternate_content_source/update_remote.rb
katello-4.14.0 app/lib/actions/pulp3/alternate_content_source/update_remote.rb
katello-4.14.0.rc3 app/lib/actions/pulp3/alternate_content_source/update_remote.rb
katello-4.14.0.rc2 app/lib/actions/pulp3/alternate_content_source/update_remote.rb
katello-4.14.0.rc1.1 app/lib/actions/pulp3/alternate_content_source/update_remote.rb
katello-4.14.0.rc1 app/lib/actions/pulp3/alternate_content_source/update_remote.rb
katello-4.13.1 app/lib/actions/pulp3/alternate_content_source/update_remote.rb
katello-4.13.0 app/lib/actions/pulp3/alternate_content_source/update_remote.rb
katello-4.12.1 app/lib/actions/pulp3/alternate_content_source/update_remote.rb
katello-4.13.0.rc1 app/lib/actions/pulp3/alternate_content_source/update_remote.rb
katello-4.12.0 app/lib/actions/pulp3/alternate_content_source/update_remote.rb