ManageIQ/manageiq-ui-classic

View on GitHub
product/views/ServiceTemplate.yaml

Summary

Maintainability
Test Coverage
#
# 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: Catalog Items

# Menu name
name: Catalog Items

# Main DB table report is based on
db: ServiceTemplate

# Columns to fetch from the main table
cols:
- name
- description
- type_display
- prov_type
- display
#- provision_cost
- created_at
- template_valid?

# Included tables (joined, has_one, has_many) and columns
include:
  picture:
    columns:
    - id
  service_template_catalog:
    columns:
    - name

# Included tables and columns for query performance
include_for_find:
  :picture: {}

# Order of columns (from all tables)
col_order:
- name
- description
- type_display
- prov_type
- display
- service_template_catalog.name
#- provision_cost
- created_at
- template_valid?

# Column titles, in order
headers:
- Name
- Description
- Type
- Item Type
- Display in Catalog
- Catalog
#- Cost
- Created On
- Valid

col_formats:
-
-
-
- :boolean_yes_no

col_options:
  tenant.name:
    :display_method: user_super_admin?

# 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: