Sha256: 77d230e5b3bd7c77e34bb63a7859e4c7a11c4faa28d43c672ec424e0979778c7

Contents?: true

Size: 716 Bytes

Versions: 158

Compression:

Stored size: 716 Bytes

Contents

module Actions
  module Pulp3
    module Repository
      class CopyVersion < Pulp3::AbstractAsyncTask
        def plan(source_repository, smart_proxy, target_repository)
          plan_self(:source_repository_id => source_repository.id,
                    :target_repository_id => target_repository.id,
                    :smart_proxy_id => smart_proxy.id)
        end

        def invoke_external_task
          source = ::Katello::Repository.find(input[:source_repository_id])
          target = ::Katello::Repository.find(input[:target_repository_id] || input[:target_repository])
          output[:pulp_tasks] = target.backend_service(smart_proxy).copy_version(source)
        end
      end
    end
  end
end

Version data entries

158 entries across 158 versions & 1 rubygems

Version Path
katello-4.7.1 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.6.2.1 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.6.2 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.7.0 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.6.1 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.7.0.rc2 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.7.0.rc1 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.4.2.2 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.4.2.1 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.4.2 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.5.1 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.6.0 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.6.0.rc2 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.6.0.rc1 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.5.0 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.5.0.rc2 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.4.1 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.5.0.rc1 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.4.0.2 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.4.0.1 app/lib/actions/pulp3/repository/copy_version.rb