-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mooli Tayer
committed
Jul 2, 2017
1 parent
996b178
commit c3ea91d
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
app/models/manageiq/providers/openshift/monitoring_manager.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
module ManageIQ::Providers | ||
class Openshift::MonitoringManager < ManageIQ::Providers::MonitoringManager | ||
|
||
include ManageIQ::Providers::Kubernetes::MonitoringManagerMixin | ||
|
||
belongs_to :parent_manager, | ||
:foreign_key => :parent_ems_id, | ||
:class_name => "ManageIQ::Providers::Openshift::ContainerManager", | ||
:autosave => true, | ||
:inverse_of => :monitoring_manager | ||
|
||
def self.ems_type | ||
@ems_type ||= "openshift_monitor".freeze | ||
end | ||
|
||
def self.description | ||
@description ||= "Openshift Monitor".freeze | ||
end | ||
end | ||
end |