Bug 553512

Summary: display baselines for metrics on detailed chart page for autogroups
Product: [Other] RHQ Project Reporter: Ian Springer <ian.springer>
Component: Core UIAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 1.3CC: ccrouch, cwelton
Target Milestone: ---Keywords: SubBug
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-05 13:12:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 565628    

Description Ian Springer 2010-01-08 03:58:45 UTC
JON 1.x displayed baselines for an autogroup metric when the user went to the detailed chart page for that metric. This functionality has been broken in JON 2.x since 2.0, because we never implemented the EJB methods for calculating a baseline for a metric across an autogroup. The GUI code was there, but since the backend EJB methods were not there, an exception occurred and was dumped to the GUI. To clear up this exception, display of baselines for autogroup metrics has been disabled (see https://bugzilla.redhat.com/show_bug.cgi?id=535828).

I think the main thing to impl will be a method in MeasurementBaselineManagerLocal/MeasurementBaselineManagerBean with the following signature:

MeasurementBaseline calculateAutoBaseline(Subject subject, int parentResourceId, int childResourceTypeId, int definitionId, long startDate,
        long endDate, boolean save) throws BaselineCreationException, MeasurementNotFoundException;

This method would be called by ViewChartFormPrepareAction._setupBaselineExpectedRange() in the GUI layer, in order to calculate the baseline.

Comment 1 wes hayutin 2010-02-16 16:52:02 UTC
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs.

keyword:
new = Tracking + FutureFeature + SubBug

Comment 2 wes hayutin 2010-02-16 16:58:00 UTC
making sure we're not missing any bugs in rhq_triage

Comment 3 Corey Welton 2010-10-05 13:12:55 UTC
Closing - autogroups are being replaced.