Sha256: fd9cb31f19041cb42213c415268eaf70054d829ac3c4e0f7856cfe13defb8730

Contents?: true

Size: 856 Bytes

Versions: 56

Compression:

Stored size: 856 Bytes

Contents

module Actions
  module Pulp3
    module ContentViewVersion
      class DestroyImporter < Pulp3::Abstract
        input_format do
          param :smart_proxy_id, Integer
          param :importer_data, Hash
          param :organization_id, Integer
          param :importer_data, Hash
          param :path, String
          param :metadata, Hash
        end

        def run
          metadata_map = ::Katello::Pulp3::ContentViewVersion::MetadataMap.new(metadata: input[:metadata])
          import = ::Katello::Pulp3::ContentViewVersion::Import.new(
            organization: ::Organization.find(input[:organization_id]),
            smart_proxy: smart_proxy,
            path: input[:path],
            metadata_map: metadata_map
          )
          import.destroy_importer(input[:importer_data][:pulp_href])
        end
      end
    end
  end
end

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
katello-4.14.2 app/lib/actions/pulp3/content_view_version/destroy_importer.rb
katello-4.15.0 app/lib/actions/pulp3/content_view_version/destroy_importer.rb
katello-4.15.0.rc2 app/lib/actions/pulp3/content_view_version/destroy_importer.rb
katello-4.15.0.rc1 app/lib/actions/pulp3/content_view_version/destroy_importer.rb
katello-4.14.1 app/lib/actions/pulp3/content_view_version/destroy_importer.rb
katello-4.14.0 app/lib/actions/pulp3/content_view_version/destroy_importer.rb
katello-4.14.0.rc3 app/lib/actions/pulp3/content_view_version/destroy_importer.rb
katello-4.14.0.rc2 app/lib/actions/pulp3/content_view_version/destroy_importer.rb
katello-4.14.0.rc1.1 app/lib/actions/pulp3/content_view_version/destroy_importer.rb
katello-4.14.0.rc1 app/lib/actions/pulp3/content_view_version/destroy_importer.rb
katello-4.13.1 app/lib/actions/pulp3/content_view_version/destroy_importer.rb
katello-4.13.0 app/lib/actions/pulp3/content_view_version/destroy_importer.rb
katello-4.12.1 app/lib/actions/pulp3/content_view_version/destroy_importer.rb
katello-4.13.0.rc1 app/lib/actions/pulp3/content_view_version/destroy_importer.rb
katello-4.12.0 app/lib/actions/pulp3/content_view_version/destroy_importer.rb
katello-4.12.0.rc3 app/lib/actions/pulp3/content_view_version/destroy_importer.rb
katello-4.12.0.rc2 app/lib/actions/pulp3/content_view_version/destroy_importer.rb
katello-4.12.0.rc1 app/lib/actions/pulp3/content_view_version/destroy_importer.rb
katello-4.11.1 app/lib/actions/pulp3/content_view_version/destroy_importer.rb
katello-4.11.0 app/lib/actions/pulp3/content_view_version/destroy_importer.rb