Skip to content

Commit

Permalink
Merge pull request ManageIQ#11846 from juliancheal/added_lenovo_provider
Browse files Browse the repository at this point in the history
Added manageiq-providers-lenovo to Gemfile
  • Loading branch information
blomquisg authored Feb 14, 2017
2 parents 7506b85 + cc0bc09 commit c7040a3
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 3 deletions.
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ unless dependencies.detect { |d| d.name == "manageiq-ui-classic" }
gem "manageiq-ui-classic", :git => "https://github.com/ManageIQ/manageiq-ui-classic", :branch => "master"
end

unless dependencies.detect { |d| d.name == "manageiq-providers-lenovo" }
gem "manageiq-providers-lenovo", :git => "https://github.com/ManageIQ/manageiq-providers-lenovo", :branch => "master"
end

# Unmodified gems
gem "activerecord-session_store", "~>1.0.0"
gem "acts_as_list", "~>0.7.2"
Expand Down
2 changes: 1 addition & 1 deletion config/permissions.tmpl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@
- ems-type:hawkular
- ems-type:hawkular_datawarehouse
- ems-type:kubernetes
- ems-type:lenovo_ph_infra
- ems-type:nuage_network
- ems-type:openshift
- ems-type:openshift_enterprise
- ems-type:openstack
- ems-type:openstack_infra
- ems-type:openstack_network
- ems-type:physical_infra_manager
- ems-type:rhevm
- ems-type:scvmm
- ems-type:swift
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module MiqAeMethodService
class MiqAeServiceEmsPhysicalInfra < MiqAeServiceExtManagementSystem
end
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module MiqAeMethodService
class MiqAeServiceManageIQ_Providers_Lenovo_PhysicalInfraManager < MiqAeServiceEmsPhysicalInfra
end
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module MiqAeMethodService
class MiqAeServiceManageIQ_Providers_Lenovo_Provider < MiqAeServiceProvider
expose :physical_infra_ems, :association => true
end
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module MiqAeMethodService
class MiqAeServiceManageIQ_Providers_PhysicalInfraManager < MiqAeServiceManageIQ_Providers_BaseManager
end
end
1 change: 0 additions & 1 deletion spec/lib/miq_automation_engine/miq_ae_service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ module MiqAeServiceSpec
Category
Datacenter
ManageIQ::Providers::BaseManager
ManageIQ::Providers::PhysicalInfraManager
ManageIQ::Providers::Kubernetes::ContainerManager::Scanning::Job
VmServer
VmSynchronize
Expand Down
2 changes: 1 addition & 1 deletion spec/models/ext_management_system_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"openstack" => "OpenStack",
"openstack_infra" => "OpenStack Platform Director",
"openstack_network" => "OpenStack Network",
"physical_infra_manager" => "PhysicalInfraManager", # TODO: (julian) remove once we have a physical_infra_manager implementation
"lenovo_ph_infra" => "Lenovo XClarity",
"nuage_network" => "Nuage Network Manager",
"rhevm" => "Red Hat Virtualization Manager",
"scvmm" => "Microsoft System Center VMM",
Expand Down

0 comments on commit c7040a3

Please sign in to comment.