Skip to content

Commit

Permalink
Add an Openshift InventoryCollectorWorker
Browse files Browse the repository at this point in the history
  • Loading branch information
agrare committed Oct 26, 2017
1 parent f731004 commit 1afe334
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ class ManageIQ::Providers::Openshift::ContainerManager < ManageIQ::Providers::Co
require_nested :ContainerTemplate
require_nested :EventCatcher
require_nested :EventParser
require_nested :InventoryCollectorWorker
require_nested :MetricsCollectorWorker
require_nested :OrchestrationStack
require_nested :RefreshParser
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
class ManageIQ::Providers::Openshift::ContainerManager::InventoryCollectorWorker < ManageIQ::Providers::BaseManager::InventoryCollectorWorker
require_nested :Runner
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
class ManageIQ::Providers::Openshift::ContainerManager::InventoryCollectorWorker::Runner < ManageIQ::Providers::BaseManager::InventoryCollectorWorker::Runner
include ManageIQ::Providers::Kubernetes::ContainerManager::InventoryCollectorMixin
end
4 changes: 4 additions & 0 deletions config/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
:poll: 1.seconds
:event_catcher_prometheus:
:poll: 20.seconds
:ems_inventory_collector_worker:
:ems_inventory_collector_worker_openshift:
:disabled: false
:watch_thread_shutdown_timeout: 10.seconds
:queue_worker_base:
:ems_metrics_collector_worker:
:ems_metrics_collector_worker_openshift: {}
Expand Down

0 comments on commit 1afe334

Please sign in to comment.