Sha256: 75bf2faebd5072728fbc4fa274d79cdff8ab383d4fa63b2cdc4a5be3ac45398d
Contents?: true
Size: 781 Bytes
Versions: 47
Compression:
Stored size: 781 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 param :metadata, Hash 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], metadata: input[:metadata] ).create_import(input[:importer_data][:pulp_href]) end end end end end
Version data entries
47 entries across 47 versions & 1 rubygems