Sha256: 3515a030f4bb333002f0a320fc1bd753f2311bd7ff8408e14730341837c2f8dc
Contents?: true
Size: 1.41 KB
Versions: 31
Compression:
Stored size: 1.41 KB
Contents
module Actions module Pulp3 module ContentViewVersion class Export < Pulp3::AbstractAsyncTask input_format do param :content_view_version_id, Integer param :from_content_view_version_id, Integer param :smart_proxy_id, Integer param :exporter_data, Hash param :format, String param :chunk_size, Integer param :repository_id, Integer end def invoke_external_task repository = ::Katello::Repository.find(input[:repository_id]) unless input[:repository_id].blank? cvv = ::Katello::ContentViewVersion.find(input[:content_view_version_id]) from_cvv = ::Katello::ContentViewVersion.find(input[:from_content_view_version_id]) unless input[:from_content_view_version_id].blank? ::Katello::Pulp3::ContentViewVersion::Export.create(smart_proxy: smart_proxy, content_view_version: cvv, from_content_view_version: from_cvv, format: input[:format], repository: repository) .create_export(input[:exporter_data], chunk_size: input[:chunk_size]) end end end end end
Version data entries
31 entries across 31 versions & 1 rubygems