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.11.0.rc2 app/lib/actions/pulp/repository/import_upload.rb
katello-3.11.0.rc1 app/lib/actions/pulp/repository/import_upload.rb
katello-3.10.0 app/lib/actions/pulp/repository/import_upload.rb
katello-3.10.0.rc1.1 app/lib/actions/pulp/repository/import_upload.rb
katello-3.9.1 app/lib/actions/pulp/repository/import_upload.rb
katello-3.10.0.rc1 app/lib/actions/pulp/repository/import_upload.rb
katello-3.9.0 app/lib/actions/pulp/repository/import_upload.rb
katello-3.8.1 app/lib/actions/pulp/repository/import_upload.rb
katello-3.9.0.rc2 app/lib/actions/pulp/repository/import_upload.rb
katello-3.9.0.rc1 app/lib/actions/pulp/repository/import_upload.rb
katello-3.7.1.1 app/lib/actions/pulp/repository/import_upload.rb
katello-3.7.1 app/lib/actions/pulp/repository/import_upload.rb
katello-3.8.0 app/lib/actions/pulp/repository/import_upload.rb
katello-3.8.0.rc3 app/lib/actions/pulp/repository/import_upload.rb
katello-3.8.0.rc2 app/lib/actions/pulp/repository/import_upload.rb
katello-3.7.0 app/lib/actions/pulp/repository/import_upload.rb
katello-3.8.0.rc1 app/lib/actions/pulp/repository/import_upload.rb
katello-3.7.0.rc2 app/lib/actions/pulp/repository/import_upload.rb
katello-3.7.0.rc1 app/lib/actions/pulp/repository/import_upload.rb