Simple Reports for Launch Control

Registered by Zygmunt Krynicki

With the introduction of data views users have an ability to write custom SQL queries and access them from anywhere via AJAX. We want to enable them to create innovative and custom-tailored reports that capture some unique aspect of their daily work.

Blueprint information

Status:
Complete
Approver:
Paul Larson
Priority:
Undefined
Drafter:
Zygmunt Krynicki
Direction:
Approved
Assignee:
Zygmunt Krynicki
Definition:
Approved
Series goal:
Accepted for 0.4
Implementation:
Implemented
Milestone target:
milestone icon 0.4
Started by
Zygmunt Krynicki
Completed by
Zygmunt Krynicki

Sprints

Whiteboard

Status: Done

[zyga, 2011-04-27]: It's not clear how reports can reference static files (scripts, css). I ran into this problem when working on demo reports.
[zyga, 2011-04-28]: See the branch for a working demo of reports. I'm still working on the actual three demo reports that asac requested.
[zyga, 2011-05-02]: Created lp:~linaro-validation/launch-control/data-views-and-reports as a storage container for data views and reports

> >
> > so basically three graphs:
> >
> > image status (currently only one image type: linaro-alip):
> > 1. show boot for last 10 runs or so for each board type
> >
> > lab status
> > 1. show boot for last 10 runs for each board ID
> >
> > measurement line chart
> > 1. for each board type, draw a line chart for last 30 runs of the
> > stream test (MB/s unit)
> > so for measurement line chart, we have two chart (one for each board type).
> >
> > measurement bar chart (one chart for all board types)
> > 1. pick one measurement of stream test and for each board type, draw
> > a bar for the last 10 measurements
> > so basically: Beagle/Panda (measurement 1) -> Beagle/Panda
> > (measurement 2) -> Beagle/Panda (measurement 3) ...
we havent discussed this on call, but i think its a good way to show
bar charts to have beagle/panda next to each other here. if this is
too much, its ok to stick to the original three of course.

Remove old report/source concept: DONE
Add report classes similar to data view classes that load/cache report templates from disk: DONE
Add appropriate configuration entries: DONE
Alter report-list view to show list of available reports: DONE
Create report-detail view that renders the specified report: DONE
Write simple tests that ensure no data leaks to the inner template: DONE
Write example reports that match example data views: DONE
Find simple XML-RPC client for jQuery: DONE
Write simple javascript library for interacting with dashboard API: DONE
Write demo reports noted above: DONE
Create a branch of launch-control used solely for storing 3rd party (non demo) reports: DONE
Reconfigure validation.linaro.org to use reports and data views from that branch automatically (pull every day): DONE

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.