Skip to content

Commit

Permalink
Merge pull request #18097 from fdupont-redhat/conversion_host_ems
Browse files Browse the repository at this point in the history
Add ext_management_system method to conversion host
  • Loading branch information
agrare authored Oct 15, 2018
2 parents 256bdd6 + 90da9fa commit 8bc0049
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/conversion_host.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8bc0049

Please sign in to comment.