Sha256: 3c792e0c61a1cd8070fe4c2eadce2b14c91c604c20bf5f96ae0ba6ede0dd90da

Contents?: true

Size: 640 Bytes

Versions: 7

Compression:

Stored size: 640 Bytes

Contents

module Actions
  module Pulp3
    module ContentViewVersion
      class Export < Pulp3::AbstractAsyncTask
        input_format do
          param :content_view_version_id, Integer
          param :smart_proxy_id, Integer
          param :exporter_data, Hash
        end

        def invoke_external_task
          cvv = ::Katello::ContentViewVersion.find(input[:content_view_version_id])
          ::Katello::Pulp3::ContentViewVersion::Export.new(smart_proxy: smart_proxy,
                                                   content_view_version: cvv).create_export(input[:exporter_data][:pulp_href])
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
katello-3.17.3 app/lib/actions/pulp3/content_view_version/export.rb
katello-3.17.2 app/lib/actions/pulp3/content_view_version/export.rb
katello-3.17.1 app/lib/actions/pulp3/content_view_version/export.rb
katello-3.17.0 app/lib/actions/pulp3/content_view_version/export.rb
katello-3.17.0.rc2.2 app/lib/actions/pulp3/content_view_version/export.rb
katello-3.17.0.rc2.1 app/lib/actions/pulp3/content_view_version/export.rb
katello-3.17.0.rc2 app/lib/actions/pulp3/content_view_version/export.rb