Skip to content

Commit

Permalink
Merge pull request ManageIQ#97 from tinaafitz/vm_reconfigure_request_…
Browse files Browse the repository at this point in the history
…service_model

Add vm_reconfigure_request service model.
(cherry picked from commit e8b6ccd6732fe3e9ff4e347670309c7f34bb196c)

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1565724
  • Loading branch information
gmcculloug authored and d-m-u committed Jun 6, 2018
1 parent 9cf668a commit 7484d78
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module MiqAeMethodService
class MiqAeServiceVmMigrateRequest < MiqAeServiceMiqRequest
require_relative "mixins/miq_ae_service_miq_provision_quota_mixin"
include MiqAeServiceMiqProvisionQuotaMixin
def ci_type
'vm'
end
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
module MiqAeMethodService
class MiqAeServiceVmReconfigureRequest < MiqAeServiceMiqRequest
require_relative "mixins/miq_ae_service_miq_provision_quota_mixin"
include MiqAeServiceMiqProvisionQuotaMixin
def ci_type
'vm'
end
end
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module MiqAeServiceMiqProvisionQuotaMixin
extend ActiveSupport::Concern
included do
expose(:check_quota)
end
end

0 comments on commit 7484d78

Please sign in to comment.