stable
Clone or download
Read-only
This is a part of story #10495 have base cross tracker search widget How to test it: You should manually insert values in tables: - plugin_tracker_cross_tracker_report - plugin_tracker_cross_tracker_report_tracker If you insert a tracker your user can't read, the REST route won't return it. Rest test have a crappy settings as widget is not importable and POST route does not exist yet Change-Id: I12983be45237822f54e8eb9d6d28774c99f9e578
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/db/install.sql | +13 | −0 | Go to diff View file |
A | plugins/tracker/db/mysql/updates/2017/201708231717_add_table_cross_tracker_report.php | +63 | −0 | Go to diff View file |
M | plugins/tracker/db/uninstall.sql | +3 | −0 | Go to diff View file |
M | plugins/tracker/include/REST/ResourcesInjector.class.php | +7 | −2 | Go to diff View file |
A | plugins/tracker/include/REST/v1/CrossTracker/CrossTrackerReportRepresentation.php | +58 | −0 | Go to diff View file |
A | plugins/tracker/include/REST/v1/CrossTracker/CrossTrackerReportsResource.php | +92 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/CrossTracker/CrossTrackerReport.php | +58 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/CrossTracker/CrossTrackerReportDao.php | +99 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/CrossTracker/CrossTrackerReportFactory.php | +61 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/CrossTracker/CrossTrackerReportNotFoundException.php | +27 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/CrossTracker/CrossTrackerSaver.php | +39 | −0 | Go to diff View file |
M | plugins/tracker/include/autoload.php | +9 | −2 | Go to diff View file |
A | plugins/tracker/tests/Tracker/CrossTracker/CrossTrackerReportFactoryTest.php | +126 | −0 | Go to diff View file |
A | plugins/tracker/tests/rest/CrossTracker/CrossTrackerNonRegressionTrackerTest.php | +44 | −0 | Go to diff View file |
A | plugins/tracker/tests/rest/CrossTracker/CrossTrackerTest.php | +58 | −0 | Go to diff View file |
M | tests/lib/rest/TestDataBuilder.php | +12 | −0 | Go to diff View file |
M | tests/lib/rest/init_data.php | +1 | −0 | Go to diff View file |