Bug 725252
Summary: | MeasurementBaselineManager.findBaselinesForResource() not working with CLI | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Simeon Pinder <spinder> |
Component: | CLI | Assignee: | Jay Shaughnessy <jshaughn> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | low | Docs Contact: | |
Priority: | high | ||
Version: | 3.0.1 | CC: | hrupp, jshaughn, skondkar |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-02-07 19:25:35 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: | 678340 |
Description
Simeon Pinder
2011-07-24 17:43:01 UTC
This is listed as part of our API: http://docs.redhat.com/docs/en-US/JBoss_Operations_Network/2.4/html/API_Guides/remote-api/org/rhq/enterprise/server/measurement/MeasurementBaselineManagerRemote.html How can this be part of the remote interface but not available in the CLI? Are there any other classes suffering a similar problem? This worked perfectly for me. I manually added a baseline to my platform system load metric and, using all autocomplete: rhqadmin@localhost:7080$ MeasurementBaselineManager.findBaselinesForResource(10001) one row MeasurementBaseline: computeTime: Mon Jul 25 16:47:19 EDT 2011 id: 10001 max: 0.30761803289605116 mean: 0.05965119910371322 min: 0.037404573797650664 schedule: [MeasurementSchedule, id=10008] userEntered: true I don't see the reported problem. This is using the drift branch (should be no different than Master). Moving to on_qa as this was either not a problem or has been fixed. This was reported against JON 2.4.1 aka 3.0.1 branch, so we should make sure that it is actually tested against JON 2.4.1 as well and not still a problem that has been fixed by later commits in master + drift code. Tested on jon241GA build. Logged into CLI and attempted to do tab completion with MeasurementBaselineManager. rhqadmin.193.104:7080$ Measurement MeasurementBaselineManager MeasurementDataManager MeasurementDefinitionManager MeasurementScheduleManager MeasurementBaselineManager.findBaselinesForResource() is not available to the CLI. It displays only MeasurementBaselineManager.toString() rhqadmin.193.104:7080$ MeasurementBaselineManager.toString() Also verified on latest master build#224. Manually added a baseline to platform system load metric. The autocomplete shows 'findBaselinesForResource' rhqadmin.201.124:7080$ Measurement MeasurementBaselineManager MeasurementDataManager MeasurementDefinitionManager MeasurementScheduleManager rhqadmin.201.124:7080$ MeasurementBaselineManager. findBaselinesForResource toString Verified that it is working: rhqadmin.201.124:7080$ MeasurementBaselineManager.findBaselinesForResource(10001) one row MeasurementBaseline: computeTime: Thu Jul 28 12:57:38 IST 2011 id: 10001 max: 0.024875621890547265 mean: 0.024875621890547265 min: 0.024875621890547265 schedule: [MeasurementSchedule, id=10008] userEntered: true Marking as verified. changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE |