Sha256: 99f7d44cd7b0e4954f32a126516599adb7a9f745d8c3acd54f9db1560c1e382d
Contents?: true
Size: 635 Bytes
Versions: 70
Compression:
Stored size: 635 Bytes
Contents
module Actions module Candlepin class AsyncHypervisors < Candlepin::AbstractAsyncTask # this action is for tracking an async candlepin task when the task id is already known input_format do param :task_id end def invoke_external_task self.external_task = { :id => input[:task_id] } poll_external_task end def on_finish super output[:hypervisors] = ::Actions::Katello::Host::Hypervisors.parse_hypervisors(external_task.delete('resultData')) end private def job_poll_params {:result_data => true} end end end end
Version data entries
70 entries across 70 versions & 1 rubygems