diff --git a/app/models/conversion_host.rb b/app/models/conversion_host.rb index 202ae1eb06d..1c1cb4fdd88 100644 --- a/app/models/conversion_host.rb +++ b/app/models/conversion_host.rb @@ -6,6 +6,7 @@ class ConversionHost < ApplicationRecord belongs_to :resource, :polymorphic => true has_many :service_template_transformation_plan_tasks, :dependent => :nullify has_many :active_tasks, -> { where(:state => 'active') }, :class_name => ServiceTemplateTransformationPlanTask, :inverse_of => :conversion_host + delegate :ext_management_system, :to => :resource, :allow_nil => true # To be eligible, a conversion host must have the following properties # - A transport mechanism is configured for source (set by 3rd party)