Sha256: 5a92015dbf1ace0e982ae875b86e95ba0d3b9d06965286950aba5224ca38de95

Contents?: true

Size: 749 Bytes

Versions: 39

Compression:

Stored size: 749 Bytes

Contents

module Actions
  module Pulp
    module Repository
      class ImportUpload < Pulp::AbstractAsyncTask
        input_format do
          param :pulp_id
          param :unit_type_id
          param :upload_id
          param :unit_key
          param :unit_metadata
        end

        def invoke_external_task
          output[:pulp_tasks] = [pulp_resources.content.import_into_repo(input[:pulp_id],
                                                   input[:unit_type_id],
                                                   input[:upload_id],
                                                   input[:unit_key],
                                                   unit_metadata: input[:unit_metadata] || {})]
        end
      end
    end
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
katello-3.13.4 app/lib/actions/pulp/repository/import_upload.rb
katello-3.13.3 app/lib/actions/pulp/repository/import_upload.rb
katello-3.13.2 app/lib/actions/pulp/repository/import_upload.rb
katello-3.13.1 app/lib/actions/pulp/repository/import_upload.rb
katello-3.13.0 app/lib/actions/pulp/repository/import_upload.rb
katello-3.13.0.rc2.1 app/lib/actions/pulp/repository/import_upload.rb
katello-3.13.0.rc2 app/lib/actions/pulp/repository/import_upload.rb
katello-3.12.3 app/lib/actions/pulp/repository/import_upload.rb
katello-3.12.2 app/lib/actions/pulp/repository/import_upload.rb
katello-3.13.0.rc1 app/lib/actions/pulp/repository/import_upload.rb
katello-3.12.1 app/lib/actions/pulp/repository/import_upload.rb
katello-3.11.2 app/lib/actions/pulp/repository/import_upload.rb
katello-3.10.2 app/lib/actions/pulp/repository/import_upload.rb
katello-3.12.0 app/lib/actions/pulp/repository/import_upload.rb
katello-3.12.0.rc2 app/lib/actions/pulp/repository/import_upload.rb
katello-3.10.1.1 app/lib/actions/pulp/repository/import_upload.rb
katello-3.12.0.rc1 app/lib/actions/pulp/repository/import_upload.rb
katello-3.10.1 app/lib/actions/pulp/repository/import_upload.rb
katello-3.11.1 app/lib/actions/pulp/repository/import_upload.rb
katello-3.11.0 app/lib/actions/pulp/repository/import_upload.rb