Class: Actions::Pulp3::ContentViewVersion::CreateImport
Instance Method Summary
collapse
#cancel, #cancel!, #combined_tasks, #done?, #external_task, #humanized_state, #new_or_existing_objects, #pulp_tasks, #rescue_external_task, #run, #task_groups
Methods inherited from Abstract
#smart_proxy
Instance Method Details
#invoke_external_task ⇒ Object
13
14
15
16
17
18
19
20
21
|
# File 'app/lib/actions/pulp3/content_view_version/create_import.rb', line 13
def invoke_external_task
metadata_map = ::Katello::Pulp3::ContentViewVersion::MetadataMap.new(metadata: input[:metadata])
output[:pulp_tasks] = ::Katello::Pulp3::ContentViewVersion::Import.new(
organization: ::Organization.find(input[:organization_id]),
smart_proxy: smart_proxy,
path: input[:path],
metadata_map: metadata_map
).create_import(input[:importer_data][:pulp_href])
end
|
#rescue_strategy_for_self ⇒ Object
23
24
25
26
27
28
|
# File 'app/lib/actions/pulp3/content_view_version/create_import.rb', line 23
def rescue_strategy_for_self
Dynflow::Action::Rescue::Skip
end
|