Skip to content

Commit

Permalink
Merge pull request #282 from mansam/move-cinder-manager-inventory-cla…
Browse files Browse the repository at this point in the history
…sses

Move CinderManager inventory classes
(cherry picked from commit c691435)

https://bugzilla.redhat.com/show_bug.cgi?id=1573215
  • Loading branch information
agrare authored and simaishi committed Apr 30, 2018
1 parent 15748a2 commit bb56c82
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions app/models/manageiq/providers/openstack/builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ def build_inventory(ems, target)
inventory(
ems,
target,
ManageIQ::Providers::Openstack::Inventory::Collector::StorageManager::CinderManager,
ManageIQ::Providers::Openstack::Inventory::Persister::StorageManager::CinderManager,
[ManageIQ::Providers::Openstack::Inventory::Parser::StorageManager::CinderManager]
ManageIQ::Providers::Openstack::Inventory::Collector::CinderManager,
ManageIQ::Providers::Openstack::Inventory::Persister::CinderManager,
[ManageIQ::Providers::Openstack::Inventory::Parser::CinderManager]
)
when ManageIQ::Providers::Openstack::NetworkManager
inventory(
Expand All @@ -28,7 +28,7 @@ def build_inventory(ems, target)
ManageIQ::Providers::Openstack::Inventory::Persister::TargetCollection,
[ManageIQ::Providers::Openstack::Inventory::Parser::CloudManager,
ManageIQ::Providers::Openstack::Inventory::Parser::NetworkManager,
ManageIQ::Providers::Openstack::Inventory::Parser::StorageManager::CinderManager]
ManageIQ::Providers::Openstack::Inventory::Parser::CinderManager]
)
else
# Fallback to ems refresh
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class ManageIQ::Providers::Openstack::Inventory::Collector::StorageManager::CinderManager < ManageIQ::Providers::Openstack::Inventory::Collector
class ManageIQ::Providers::Openstack::Inventory::Collector::CinderManager < ManageIQ::Providers::Openstack::Inventory::Collector
include ManageIQ::Providers::Openstack::Inventory::Collector::HelperMethods

def cloud_volumes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class ManageIQ::Providers::Openstack::Inventory::Parser::StorageManager::CinderManager < ManageIQ::Providers::Openstack::Inventory::Parser
class ManageIQ::Providers::Openstack::Inventory::Parser::CinderManager < ManageIQ::Providers::Openstack::Inventory::Parser
def parse
cloud_volumes
cloud_volume_snapshots
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class ManageIQ::Providers::Openstack::Inventory::Persister::StorageManager::CinderManager < ManageIQ::Providers::Openstack::Inventory::Persister
class ManageIQ::Providers::Openstack::Inventory::Persister::CinderManager < ManageIQ::Providers::Openstack::Inventory::Persister
def initialize_inventory_collections
add_inventory_collections(storage,
%i(
Expand Down

0 comments on commit bb56c82

Please sign in to comment.