Skip to content

Commit

Permalink
Merge pull request #256 from tinaafitz/expose_folder_to_emsfolder
Browse files Browse the repository at this point in the history
Expose folders to ems_folder service model.

(cherry picked from commit 305f45f)

https://bugzilla.redhat.com/show_bug.cgi?id=1640194
  • Loading branch information
gmcculloug authored and simaishi committed Nov 5, 2018
1 parent f9a4af8 commit bbd3266
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ class MiqAeServiceEmsFolder < MiqAeServiceModelBase
require_relative "mixins/miq_ae_service_ems_operations_mixin"
include MiqAeServiceEmsOperationsMixin

expose :hosts, :association => true
expose :vms, :association => true
expose :hosts, :association => true
expose :vms, :association => true
expose :folders, :association => true

def register_host(host)
sync_or_async_ems_operation(false, "register_host", [host.id])
Expand Down

0 comments on commit bbd3266

Please sign in to comment.