Skip to content

Commit

Permalink
Add Report: Projects by Quota Items
Browse files Browse the repository at this point in the history
  • Loading branch information
zakiva committed Oct 9, 2017
1 parent 6be8273 commit a74ac6e
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 1 deletion.
2 changes: 2 additions & 0 deletions config/miq_expression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
- ContainerNodePerformance
- ContainerProject
- ContainerProjectPerformance
- ContainerQuota
- ContainerReplicator
- ContainerRoute
- ContainerService
Expand Down Expand Up @@ -87,6 +88,7 @@
- container_projects
- container_images
- container_nodes
- container_quota_items
- customization_scripts
- customization_script_media
- customization_script_ptables
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
---
title: Projects by Quota Items
rpt_group: Custom
rpt_type: Custom
priority:
db: ContainerQuota
cols:
- name
include:
container_project:
columns:
- name
container_quota_items:
columns:
- resource
- quota_desired_display
- quota_enforced_display
- quota_observed_display
col_order:
- container_project.name
- name
- container_quota_items.resource
- container_quota_items.quota_desired_display
- container_quota_items.quota_enforced_display
- container_quota_items.quota_observed_display
headers:
- Project Name
- Quota Name
- Resource
- Desired
- Enforced
- Observed
conditions:
order: Ascending
sortby:
- container_project.name
- container_quota_items.resource
group:
graph:
dims:
filename:
file_mtime:
categories: []
timeline:
template_type: report
where_clause:
db_options: {}
generate_cols:
generate_rows:
col_formats:
-
-
-
-
-
-
tz:
time_profile_id:
display_filter:
col_options: {}
rpt_options:
:pdf:
:page_size: US-Letter
:queue_timeout:
miq_group_id: 2
user_id: 1
menu_name: Projects by Quota Items
2 changes: 1 addition & 1 deletion spec/models/miq_report/seeding_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
describe MiqReport do
context "Seeding" do
include_examples(".seed called multiple times", 144)
include_examples(".seed called multiple times", 145)
end
end

0 comments on commit a74ac6e

Please sign in to comment.