Skip to content

Commit

Permalink
Support for opening URL from the UI through automate 2/2.
Browse files Browse the repository at this point in the history
  • Loading branch information
martinpovolny committed Jun 17, 2019
1 parent fd120d3 commit c3d74b4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ module MiqAeMethodService
class MiqAeServiceCloudTenant < MiqAeServiceModelBase
expose :update_cloud_tenant
expose :delete_cloud_tenant
require_relative "mixins/miq_ae_saved_url_mixin"
include MiqAeSavedUrlMixin
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ module MiqAeMethodService
class MiqAeServiceGenericObject < MiqAeServiceModelBase
require_relative "mixins/miq_ae_service_remove_from_vmdb_mixin"
include MiqAeServiceRemoveFromVmdb
require_relative "mixins/miq_ae_saved_url_mixin"
include MiqAeSavedUrlMixin
require 'drb'

def add_to_service(service)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ class MiqAeServiceHost < MiqAeServiceModelBase
include MiqAeServiceEmsOperationsMixin
require_relative "mixins/miq_ae_service_remove_from_vmdb_mixin"
include MiqAeServiceRemoveFromVmdb
require_relative "mixins/miq_ae_saved_url_mixin"
include MiqAeSavedUrlMixin

expose :read_only_storages
expose :writable_storages, :method => :writable_accessible_storages
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ module MiqAeMethodService
class MiqAeServiceMiqGroup < MiqAeServiceModelBase
require_relative "mixins/miq_ae_service_custom_attribute_mixin"
include MiqAeServiceCustomAttributeMixin
require_relative "mixins/miq_ae_saved_url_mixin"
include MiqAeSavedUrlMixin

expose :filters, :method => :get_filters
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ class MiqAeServiceService < MiqAeServiceModelBase
include MiqAeServiceCustomAttributeMixin
require_relative "mixins/miq_ae_service_remove_from_vmdb_mixin"
include MiqAeServiceRemoveFromVmdb
require_relative "mixins/miq_ae_saved_url_mixin"
include MiqAeSavedUrlMixin

expose :retire_service_resources
expose :automate_retirement_entrypoint
Expand Down

0 comments on commit c3d74b4

Please sign in to comment.