stable

Clone or download

Read-only

Missing pagination in /milestones/:id/milestones

This is part of story #8380: have short response time when I load Planning view Every routes that deal with collection were paginated in Tuleap except this one. This is not anymore the case and the route is now more than two times faster (1.02s instead of 2.88s to load 10 paginated submilestones instead of 50 not paginated). Change-Id: I750c8fd4171e21c1532f64e1869a15fc3bdc08b9

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/Milestone/Backlog/DescendantBacklogStrategy.class.php +3 −2 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/MilestoneDao.class.php +53 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/MilestoneRepresentationBuilder.class.php +8 −9 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/Milestone/PaginatedMilestones.php +44 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/MilestoneResource.class.php +11 −9 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/PlanningResource.class.php +3 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/ProjectBacklogResource.class.php +3 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/ProjectMilestonesResource.class.php +3 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v2/ProjectBacklogResource.class.php +3 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboardRouterBuilder.php +2 −1 Go to diff View file
M plugins/agiledashboard/include/Planning/MilestoneFactory.class.php +60 −26 Go to diff View file
M plugins/agiledashboard/include/Planning/MilestonePaneFactory.class.php +7 −1 Go to diff View file
M plugins/agiledashboard/include/agiledashboardPlugin.class.php +2 −1 Go to diff View file
M plugins/agiledashboard/include/autoload.php +3 −2 Go to diff View file
M plugins/agiledashboard/tests/include/MilestoneFactoryTest.php +72 −24 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact.class.php +0 −18 Go to diff View file