stable

Clone or download

Read-only

Refactoring: Build requests instead of building builders for Top Milestones

Part of story #16125 [release management] create a new Aggregator Release How to test: - No functional change expected for the retrieval of Top milestones (releases in our templates). This affects Planning view and Project milestones widget Change-Id: I3bbf8949bec623fc14e0bd8602c0177be8b1ad6a

Modified Files

Name
D plugins/agiledashboard/include/AgileDashboard/Milestone/CurrentMilestoneRepresentationBuilder.php +0 −69 Go to diff View file
D plugins/agiledashboard/include/AgileDashboard/Milestone/FutureMilestoneRepresentationBuilder.php +0 −68 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/MilestoneDao.class.php +25 −26 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/PaginatedMilestones.php +26 −9 Go to diff View file
R plugins/agiledashboard/include/AgileDashboard/REST/MalformedQueryParameterException.php Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/Milestone/Request/PeriodQuery.php +61 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/Milestone/Request/RawTopMilestoneRequest.php +106 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/Milestone/Request/RefinedTopMilestoneRequest.php +163 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/Milestone/Request/TopMilestoneRequestRefiner.php +101 −0 Go to diff View file
D plugins/agiledashboard/include/AgileDashboard/Milestone/StatusMilestoneRepresentationBuilder.php +0 −68 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/QueryToCriterionOnlyAllStatusConverter.php +3 −2 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/QueryToCriterionStatusConverter.php +1 −0 Go to diff View file
D plugins/agiledashboard/include/AgileDashboard/REST/QueryToMilestoneRepresentationBuilderConverter.php +0 −95 Go to diff View file
D plugins/agiledashboard/include/AgileDashboard/REST/QueryToPeriodMilestoneRepresentationBuilderConverter.php +0 −76 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/AgileDashboardProjectResource.php +79 −1 Go to diff View file
R plugins/agiledashboard/include/AgileDashboard/Milestone/MilestoneRepresentationBuilder.class.php Go to diff View file
R plugins/agiledashboard/include/AgileDashboard/Milestone/PaginatedMilestonesRepresentations.class.php Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/REST/v1/Milestone/ProjectMilestonesResource.php +110 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/MilestoneRepresentation.class.php +7 −32 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/MilestoneResource.class.php +14 −6 Go to diff View file
D plugins/agiledashboard/include/AgileDashboard/REST/v1/ProjectMilestonesResource.class.php +0 −192 Go to diff View file
M plugins/agiledashboard/include/Planning/MilestoneFactory.class.php +49 −59 Go to diff View file
D plugins/agiledashboard/tests/unit/AgileDashboard/Milestone/CurrentMilestoneRepresentationBuilderTest.php +0 −121 Go to diff View file
D plugins/agiledashboard/tests/unit/AgileDashboard/Milestone/FutureMilestoneRepresentationBuilderTest.php +0 −121 Go to diff View file
R plugins/agiledashboard/include/AgileDashboard/Milestone/MilestoneRepresentationBuilderInterface.php Go to diff View file
A plugins/agiledashboard/tests/unit/AgileDashboard/Milestone/Request/RefinedTopMilestoneRequestTest.php +99 −0 Go to diff View file
A plugins/agiledashboard/tests/unit/AgileDashboard/Milestone/Request/TopMilestoneRequestRefinerTest.php +128 −0 Go to diff View file
A plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneFactoryGetPaginatedMilestonesTest.php +179 −0 Go to diff View file
M plugins/agiledashboard/tests/unit/REST/QueryToCriterionOnlyAllStatusConverterTest.php +3 −3 Go to diff View file
M plugins/agiledashboard/tests/unit/REST/QueryToCriterionStatusConverterTest.php +1 −0 Go to diff View file
D plugins/agiledashboard/tests/unit/REST/QueryToMilestoneRepresentationBuilderConverterTest.php +0 −125 Go to diff View file
D plugins/agiledashboard/tests/unit/REST/QueryToPeriodMilestoneRepresentationBuilderConverterTest.php +0 −91 Go to diff View file
A plugins/agiledashboard/tests/unit/REST/v1/Milestone/MilestoneRepresentationBuilderTest.php +172 −0 Go to diff View file
A plugins/agiledashboard/tests/unit/REST/v1/Milestone/ProjectMilestonesResourceTest.php +147 −0 Go to diff View file