Sha256: 3f88a82d4c86d2b0466628cdc021a6f7b8cb472061796e4ad0bae2f6e0299ef9

Contents?: true

Size: 696 Bytes

Versions: 57

Compression:

Stored size: 696 Bytes

Contents

module Actions
  module Pulp3
    module ContentViewVersion
      class CreateImporter < Pulp3::Abstract
        input_format do
          param :smart_proxy_id, Integer
          param :content_view_version_id, Integer
          param :path, String
          param :metadata, Hash
        end

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

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
katello-4.4.2.2 app/lib/actions/pulp3/content_view_version/create_importer.rb
katello-4.4.2.1 app/lib/actions/pulp3/content_view_version/create_importer.rb
katello-4.4.2 app/lib/actions/pulp3/content_view_version/create_importer.rb
katello-4.4.1 app/lib/actions/pulp3/content_view_version/create_importer.rb
katello-4.4.0.2 app/lib/actions/pulp3/content_view_version/create_importer.rb
katello-4.4.0.1 app/lib/actions/pulp3/content_view_version/create_importer.rb
katello-4.3.1 app/lib/actions/pulp3/content_view_version/create_importer.rb
katello-4.4.0 app/lib/actions/pulp3/content_view_version/create_importer.rb
katello-4.4.0.rc2 app/lib/actions/pulp3/content_view_version/create_importer.rb
katello-4.4.0.rc1 app/lib/actions/pulp3/content_view_version/create_importer.rb
katello-4.2.2 app/lib/actions/pulp3/content_view_version/create_importer.rb
katello-4.3.0 app/lib/actions/pulp3/content_view_version/create_importer.rb
katello-4.3.0.rc4 app/lib/actions/pulp3/content_view_version/create_importer.rb
katello-4.3.0.rc3 app/lib/actions/pulp3/content_view_version/create_importer.rb
katello-4.3.0.rc2.1 app/lib/actions/pulp3/content_view_version/create_importer.rb
katello-4.3.0.rc2 app/lib/actions/pulp3/content_view_version/create_importer.rb
katello-4.3.0.rc1 app/lib/actions/pulp3/content_view_version/create_importer.rb
katello-4.2.1 app/lib/actions/pulp3/content_view_version/create_importer.rb
katello-4.2.0.1 app/lib/actions/pulp3/content_view_version/create_importer.rb
katello-4.1.4 app/lib/actions/pulp3/content_view_version/create_importer.rb