stable

Clone or download

Read-only

burnup_cache should be recompute when missing data

This is part of story #10670 a BurnUp chart based on Done stories How to test: - Access to an existing burnup - Event BURNUP_GENERATE should be launched - Once event is Done, burnup generation is not launched anymore - change start_date or duration of burnup, event should be launched Change-Id: I6bd8574055d28da0ef89f6d16e0569f9af3dd0b9

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/FormElement/Burnup.php +81 −17 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupCacheChecker.php +90 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupCacheDao.php +21 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupCacheDateRetriever.php +5 −2 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupCacheGenerator.php +57 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupDao.php +54 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupData.php +58 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupDataBuilder.php +94 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupLogger.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FormElement/SystemEvent/SystemEvent_BURNUP_DAILY.php +1 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/FormElement/SystemEvent/SystemEvent_BURNUP_GENERATE.php +152 −0 Go to diff View file
M plugins/agiledashboard/include/agiledashboardPlugin.class.php +39 −10 Go to diff View file
M plugins/agiledashboard/include/autoload.php +10 −5 Go to diff View file
A plugins/agiledashboard/tests/include/AgileDashboard/FormElement/BurnupCacheCheckerTest.php +128 −0 Go to diff View file
M plugins/tracker/include/Tracker/Chart/Data/Burndown.class.php +4 −2 Go to diff View file
A plugins/tracker/include/Tracker/Chart/Data/IProvideChartData.php +29 −0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/ChartCachedDaysComparator.php +73 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/ChartConfigurationFieldRetriever.php +7 −7 Go to diff View file
R plugins/tracker/include/Tracker/FormElement/BurndownConfigurationValueChecker.php Go to diff View file
R plugins/tracker/include/Tracker/FormElement/BurndownConfigurationValueRetriever.php Go to diff View file
M plugins/tracker/include/Tracker/FormElement/ChartMessageFetcher.php +1 −1 Go to diff View file
R plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_BurndownException.class.php Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Burndown.class.php +26 −47 Go to diff View file
M plugins/tracker/include/autoload.php +7 −5 Go to diff View file
A plugins/tracker/tests/Tracker/FormElement/ChartCachedDaysComparatorTest.php +56 −0 Go to diff View file
R plugins/tracker/tests/Tracker/FormElement/BurndownConfigurationFieldRetriverTest.php Go to diff View file
R plugins/tracker/tests/Tracker/FormElement/BurndownConfigurationValueCheckerTest.php Go to diff View file
R plugins/tracker/tests/Tracker/FormElement/BurndownConfigurationValueRetrieverTest.php Go to diff View file
M plugins/tracker/tests/Tracker_FormElement_Field_BurndownTest.php +10 −61 Go to diff View file