Sha256: 75bf2faebd5072728fbc4fa274d79cdff8ab383d4fa63b2cdc4a5be3ac45398d

Contents?: true

Size: 781 Bytes

Versions: 47

Compression:

Stored size: 781 Bytes

Contents

module Actions
  module Pulp3
    module ContentViewVersion
      class Import < Pulp3::AbstractAsyncTask
        input_format do
          param :content_view_version_id, Integer
          param :smart_proxy_id, Integer
          param :importer_data, Hash
          param :path, String
          param :metadata, Hash
        end

        def invoke_external_task
          cvv = ::Katello::ContentViewVersion.find(input[:content_view_version_id])
          output[:pulp_tasks] = ::Katello::Pulp3::ContentViewVersion::Import.new(
            smart_proxy: smart_proxy,
            content_view_version: cvv,
            path: input[:path],
            metadata: input[:metadata]
          ).create_import(input[:importer_data][:pulp_href])
        end
      end
    end
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
katello-4.2.2 app/lib/actions/pulp3/content_view_version/import.rb
katello-4.3.0 app/lib/actions/pulp3/content_view_version/import.rb
katello-4.3.0.rc4 app/lib/actions/pulp3/content_view_version/import.rb
katello-4.3.0.rc3 app/lib/actions/pulp3/content_view_version/import.rb
katello-4.3.0.rc2.1 app/lib/actions/pulp3/content_view_version/import.rb
katello-4.3.0.rc2 app/lib/actions/pulp3/content_view_version/import.rb
katello-4.3.0.rc1 app/lib/actions/pulp3/content_view_version/import.rb
katello-4.2.1 app/lib/actions/pulp3/content_view_version/import.rb
katello-4.2.0.1 app/lib/actions/pulp3/content_view_version/import.rb
katello-4.1.4 app/lib/actions/pulp3/content_view_version/import.rb
katello-4.0.3 app/lib/actions/pulp3/content_view_version/import.rb
katello-4.2.0.1.rc3 app/lib/actions/pulp3/content_view_version/import.rb
katello-3.18.5 app/lib/actions/pulp3/content_view_version/import.rb
katello-4.2.0.1.rc2 app/lib/actions/pulp3/content_view_version/import.rb
katello-4.2.0.rc2 app/lib/actions/pulp3/content_view_version/import.rb
katello-4.1.3 app/lib/actions/pulp3/content_view_version/import.rb
katello-4.2.0.rc1 app/lib/actions/pulp3/content_view_version/import.rb
katello-4.0.2.1 app/lib/actions/pulp3/content_view_version/import.rb
katello-4.1.2.1 app/lib/actions/pulp3/content_view_version/import.rb
katello-4.0.2 app/lib/actions/pulp3/content_view_version/import.rb