Sha256: f9f4d1383c4b4b4330423ee77e96518a0287c3dbbc3afc1566773f463d049e84
Contents?: true
Size: 1.26 KB
Versions: 58
Compression:
Stored size: 1.26 KB
Contents
module Actions module Pulp3 module ContentViewVersion class CreateExporter < Pulp3::Abstract input_format do param :smart_proxy_id, Integer param :content_view_version_id, Integer param :destination_server, String param :format, String param :base_path, String param :repository_id, Integer end def run cvv = ::Katello::ContentViewVersion.find(input[:content_view_version_id]) repository = ::Katello::Repository.find(input[:repository_id]) unless input[:repository_id].blank? output[:exporter_data] = ::Katello::Pulp3::ContentViewVersion::Export.create(smart_proxy: smart_proxy, content_view_version: cvv, destination_server: input[:destination_server], format: input[:format], base_path: input[:base_path], repository: repository).create_exporter end end end end end
Version data entries
58 entries across 58 versions & 1 rubygems