Sha256: 081528668e595e66391d516df147d82107b9bebff5db623388504d7372617d79
Contents?: true
Size: 751 Bytes
Versions: 9
Compression:
Stored size: 751 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 end def invoke_external_task pulp_resources.content.import_into_repo(input[:pulp_id], input[:unit_type_id], input[:upload_id], input[:unit_key], unit_metadata: {}) end def rescue_strategy Dynflow::Action::Rescue::Skip end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems