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

Add Report: Projects by Quota Items #15776

Merged
merged 1 commit into from
Oct 11, 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
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
Copy link

@zeari zeari Aug 13, 2017

Choose a reason for hiding this comment

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

Ugh, again with these counting specs...
where does it end

Copy link
Member

Choose a reason for hiding this comment

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

You 👏 can 👏 never 👏 stop 👏 counting!!