Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for External Automation Manager Inventory Group #14691

Merged
merged 1 commit into from
Apr 10, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
class ManageIQ::Providers::AnsibleTower::AutomationManager::Inventory < ManageIQ::Providers::ExternalAutomationManager::InventoryGroup
class ManageIQ::Providers::AnsibleTower::AutomationManager::Inventory < ManageIQ::Providers::ExternalAutomationManager::InventoryRootGroup
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The class you are trying to inherit from is missing, can you add it for External and Embedded as well? Thanks for fixing this bug 👍

end
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
class ManageIQ::Providers::EmbeddedAutomationManager::InventoryRootGroup < ManageIQ::Providers::AutomationManager::InventoryRootGroup
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
class ManageIQ::Providers::ExternalAutomationManager::InventoryRootGroup < ManageIQ::Providers::AutomationManager::InventoryRootGroup
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
#
# This is an MIQ Report configuration file
# Single value parameters are specified as:
# single_value_parm: value
# Multiple value parameters are specified as:
# multi_value_parm:
# - value 1
# - value 2
#

# Report title
title: InventoryGroup

# Menu name
name: InventoryGroup

# Main DB table report is based on
db: ManageIQ::Providers::AutomationManager::InventoryRootGroup

# Columns to fetch from the main table
cols:
- name
- total_configured_systems

# Included tables (joined, has_one, has_many) and columns

# Included tables and columns for query performance

# Order of columns (from all tables)
col_order:
- name
- total_configured_systems

# Column titles, in order
headers:
- Name
- Total Configured Systems

col_formats:
-
-
-
-
-

# Condition(s) string for the SQL query
conditions:

# Order string for the SQL query
order: Ascending

# Columns to sort the report on, in order
sortby:
- name

# Group rows (y=yes,n=no,c=count)
group: n

# Graph type
# Bar
# Column
# ColumnThreed
# ParallelThreedColumn
# Pie
# PieThreed
# StackedBar
# StackedColumn
# StackedThreedColumn

graph:

# Dimensions of graph (1 or 2)
# Note: specifying 2 for a single dimension graph may not return expected results
dims: