This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 200275 - Refactor Report Component to use Data Collection Convenient query asembly APIs
Summary: Refactor Report Component to use Data Collection Convenient query asembly APIs
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Cosmos (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P1 enhancement (vote)
Target Milestone: ---   Edit
Assignee: John Todd CLA
QA Contact:
URL: http://wiki.eclipse.org/COSMOS_Design...
Whiteboard:
Keywords:
Depends on: 212187 212189
Blocks:
  Show dependency tree
 
Reported: 2007-08-16 19:14 EDT by Sheldon Lee-Loy CLA
Modified: 2012-01-03 13:47 EST (History)
5 users (show)

See Also:


Attachments
CBE report template change to talk to CBE datamanager (3.67 KB, text/plain)
2008-01-04 16:57 EST, John Todd CLA
no flags Details
New classes the refactored BIRT reports use (5.22 KB, patch)
2008-01-10 17:07 EST, John Todd CLA
no flags Details | Diff
Refactored BIRT report templates (7.11 KB, patch)
2008-01-10 17:08 EST, John Todd CLA
sleeloy: iplog+
Details | Diff
New classes for BIRT templates to talk to (6.29 KB, patch)
2008-01-11 15:53 EST, John Todd CLA
sleeloy: iplog+
Details | Diff
Changes to ResourceId of stat datamanager (926 bytes, patch)
2008-01-17 14:48 EST, John Todd CLA
sleeloy: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sheldon Lee-Loy CLA 2007-08-16 19:14:54 EDT
The BIRT ODA should use the data collection MDR convenient APIs
Comment 1 Sheldon Lee-Loy CLA 2007-11-12 09:27:12 EST
There were no changes made since the data collection team did not create statistical or cbe data mangers
Comment 2 Sheldon Lee-Loy CLA 2007-11-15 20:52:08 EST
Reopening bug.  BIRT ODA should work with new data collection apis in i8.
Comment 3 Sheldon Lee-Loy CLA 2007-11-15 21:23:24 EST
This enhancement involves refactoring the existing reports to use the new Data Collection Query APIs. The existing examplar report templates utilize the old query assembly components. In addition, a datafeed is required to get a list of datasource that a statistical or monitoring data manager is aware of.

This is further explained in the design document referenced by the URL link in this bugzilla report.
Comment 4 Sheldon Lee-Loy CLA 2007-11-16 14:04:43 EST
Reassigning to John as per our conversation on the Data Visualization Call (Nov-16)
Comment 5 John Todd CLA 2008-01-04 16:57:23 EST
Created attachment 86242 [details]
CBE report template change to talk to CBE datamanager

These are the report template changes to talk to the CBE datamanager
Comment 6 Sheldon Lee-Loy CLA 2008-01-07 14:26:40 EST
Reviewed patches and checked in changes into CVS. 

Comment 7 John Todd CLA 2008-01-10 17:07:25 EST
Created attachment 86621 [details]
New classes the refactored BIRT reports use

These are 2 new classes that the BIRT reports use to talk to the appropriate datamanagers.
Comment 8 John Todd CLA 2008-01-10 17:08:45 EST
Created attachment 86622 [details]
Refactored BIRT report templates

These are the changes to the BIRT report templates to use DataManagers, it includes the changes to both the CBE template and the Stat template.
Comment 9 John Todd CLA 2008-01-11 15:53:55 EST
Created attachment 86721 [details]
New classes for BIRT templates to talk to 

Added Copyright to the new source files.
Comment 10 Bill Muldoon CLA 2008-01-12 17:44:02 EST
(In reply to comment #9)
> Created an attachment (id=86721) [details]
> New classes for BIRT templates to talk to 
> Added Copyright to the new source files.

JT, I've checked in your attachment. Thanks, Bill
Comment 11 John Todd CLA 2008-01-14 16:17:10 EST
There is no JUnit test for ER, to test you need the Data Report Web Application for the UI side and a Data Collection environment for the DataManager (server) side.

The following links can be used to test the Log report template and the Statistical report template outside the GUI context of the COSMOS UI These links use the running tomcat on localhost (where the Data Report Web application should be deployed)

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cosmos/tests/data-reporting/org.eclipse.cosmos.dr.tests/WebContent/org/eclipse/cosmos/dr/gvs/report/viewer/LogReport.html?root=Technology_Project&view=co 

And 

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cosmos/tests/data-reporting/org.eclipse.cosmos.dr.tests/WebContent/org/eclipse/cosmos/dr/gvs/report/viewer/StatReport.html?root=Technology_Project&view=co 

Comment 12 John Todd CLA 2008-01-17 14:48:16 EST
Created attachment 87194 [details]
Changes to ResourceId of stat datamanager

The ResourceId of the Statistical DataManager changed, so that has to be reflected in the birt helper code.
Comment 13 Shivashankari CLA 2008-01-22 07:53:29 EST
Data input as
report template = ..\COSMOSUI\templates\StatReport.rptdesign
data set id = "server 33 tomcat1181829221515"
keyset = TomcatSet

and

report template =..\COSMOSUI\templates\LogReport.rptdesign
data set id = "server 33 tomcat1181829221515"
keyset = CBE

gives blank reports against the 20th build (last candidate build).
Comment 14 John Todd CLA 2008-01-22 08:25:57 EST
I will be working with Sheldon to resolve this problem, I believe it is a build integration issue.

- John
Comment 15 John Todd CLA 2008-01-22 09:54:13 EST
Some dependant plugins needed to added to 
webapps/COSMOSReportViewer/WEB-INF/platform/plugins
org.eclipse.cosmos.dc.logging.datamgr.client
org.eclipse.cosmos.dc.logging.datamgr.common
org.eclipse.cosmos.dc.stat.datamgr.client
org.eclipse.cosmos.dc.stat.datamgr.common
org.eclipse.cosmos.dc.dataManager.client
org.eclipse.cosmos.common

- John
Comment 16 Jagmit CLA 2008-01-22 15:40:18 EST
Added the above plugins in the latest cosmos build
Comment 17 Shivashankari CLA 2008-01-28 01:13:35 EST
Verified as a part of e2e manual testing reported as TPTP manual reports.
Comment 18 Sheldon Lee-Loy CLA 2008-01-28 09:38:24 EST
Verified.
Comment 19 Sheldon Lee-Loy CLA 2008-03-05 13:12:12 EST
verified, closing bug.