stable

Clone or download

Read-only

Refactoring: Build requests for sibling milestones

Part of story #16125 [release management] create a new Aggregator Release How to test: - No functional change expected for the retrieval of sibling milestones (sprints or releases in our templates). This affects the Breadcrumbs in AgileDashboard. It does not look like the REST route is used in our own code. Change-Id: Ifd512b9f4542ae747c423a59090b7f4e3a720981

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/BreadCrumbDropdown/MilestoneCrumbBuilder.php +6 −11 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/MilestoneDao.class.php +9 −8 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/Milestone/Request/SiblingMilestoneRequest.php +112 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Milestone/MilestoneRepresentationBuilder.php +0 −27 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/MilestoneResource.class.php +11 −13 Go to diff View file
M plugins/agiledashboard/include/Planning/MilestoneFactory.class.php +22 −30 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneFactoryGetPaginatedMilestonesTest.php +166 −0 Go to diff View file