Sha256: 326b2141210b44ac736b23eb9b35c4f5c1134da615c10a53aa5c95c546a9314a
Contents?: true
Size: 763 Bytes
Versions: 4
Compression:
Stored size: 763 Bytes
Contents
module Actions module Pulp3 module ContentViewVersion class Import < Pulp3::AbstractAsyncTask input_format do param :content_view_version_id, Integer param :smart_proxy_id, Integer param :importer_data, Hash param :path, String end def invoke_external_task cvv = ::Katello::ContentViewVersion.find(input[:content_view_version_id]) output[:pulp_tasks] = ::Katello::Pulp3::ContentViewVersion::Import.new(smart_proxy: smart_proxy, content_view_version: cvv, path: input[:path]).create_import(input[:importer_data][:pulp_href]) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems