-
Notifications
You must be signed in to change notification settings - Fork 897
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13731 from mzazrivec/core_changes_for_ansible_tow…
…er_playbook_ui Core changes for Ansible Tower Playbooks & Repositories UI
- Loading branch information
Showing
5 changed files
with
174 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
class ConfigurationScriptSource < ApplicationRecord | ||
has_many :configuration_script_payloads | ||
belongs_to :manager, :class_name => "ExtManagementSystem" | ||
|
||
virtual_total :total_payloads, :configuration_script_payloads | ||
end |
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
--- | ||
- :aut | ||
- :automate | ||
- :ansible | ||
- :clo | ||
- :cnt | ||
- :compute | ||
|
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
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,82 @@ | ||
# | ||
# 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: Repository | ||
|
||
# Menu name | ||
name: Repository | ||
|
||
# Main DB table report is based on | ||
db: ConfigurationScriptSource | ||
|
||
# Columns to fetch from the main table | ||
cols: | ||
- name | ||
- description | ||
- total_payloads | ||
- created_at | ||
- updated_at | ||
|
||
# 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 | ||
- description | ||
- total_payloads | ||
- created_at | ||
- updated_at | ||
|
||
# Column titles, in order | ||
headers: | ||
- Name | ||
- Description | ||
- Playbooks | ||
- Created On | ||
- Updated On | ||
|
||
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: |
86 changes: 86 additions & 0 deletions
86
product/views/ManageIQ_Providers_AnsibleTower_AutomationManager_Playbook.yaml
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,86 @@ | ||
# | ||
# 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: Ansible Tower Playbooks | ||
|
||
# Menu name | ||
name: Playbooks | ||
|
||
# Main DB table report is based on | ||
db: ManageIQ::Providers::AnsibleTower::AutomationManager::Playbook | ||
|
||
# Columns to fetch from the main table | ||
cols: | ||
- name | ||
- description | ||
- repository | ||
- created_at | ||
- updated_at | ||
|
||
# Included tables (joined, has_one, has_many) and columns | ||
include: | ||
configuration_script_source: | ||
columns: | ||
- name | ||
|
||
# Order of columns (from all tables) | ||
col_order: | ||
- name | ||
- description | ||
- configuration_script_source.name | ||
- created_at | ||
- updated_at | ||
|
||
# Column titles, in order | ||
headers: | ||
- Name | ||
- Description | ||
- Repository | ||
- Created On | ||
- Updated On | ||
|
||
|
||
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: |