Sha256: bdee7865ebcc84f3b37667a15645753b98d2e93e37ef40e7c9a027032b30a9a3

Contents?: true

Size: 561 Bytes

Versions: 6

Compression:

Stored size: 561 Bytes

Contents

module Actions
  module Pulp3
    module Orchestration
      module AlternateContentSource
        class RefreshRemote < 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])
            smart_proxy_acs.backend_service.update_remote
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
katello-4.6.2.1 app/lib/actions/pulp3/orchestration/alternate_content_source/refresh_remote.rb
katello-4.6.2 app/lib/actions/pulp3/orchestration/alternate_content_source/refresh_remote.rb
katello-4.6.1 app/lib/actions/pulp3/orchestration/alternate_content_source/refresh_remote.rb
katello-4.6.0 app/lib/actions/pulp3/orchestration/alternate_content_source/refresh_remote.rb
katello-4.6.0.rc2 app/lib/actions/pulp3/orchestration/alternate_content_source/refresh_remote.rb
katello-4.6.0.rc1 app/lib/actions/pulp3/orchestration/alternate_content_source/refresh_remote.rb