stable

Clone or download

Read-only

Add REST endpoint to retrieve program increments

A new REST endpoint `GET /projects/:id/program_increments` is available to retrieve them. The implementation is quite naive and likely to be slow even with a limited number of artifacts. An optimization phase will come later. Part of story #18408: plan Features in Program Increment Change-Id: I2e971cb7111b54704934a81e1fe0f6088de12d33

Modified Files

Name
A plugins/scaled_agile/include/Adapter/Program/Backlog/ProgramIncrement/ProgramIncrementsDAO.php +52 −0 Go to diff View file
A plugins/scaled_agile/include/Adapter/Program/Backlog/ProgramIncrement/ProgramIncrementsRetriever.php +79 −0 Go to diff View file
A plugins/scaled_agile/include/Program/Backlog/ProgramIncrement/ProgramIncrement.php +39 −0 Go to diff View file
A plugins/scaled_agile/include/Program/Backlog/ProgramIncrement/ProgramIncrementBuilder.php +57 −0 Go to diff View file
A plugins/scaled_agile/include/Program/Backlog/ProgramIncrement/RetrieveProgramIncrements.php +33 −0 Go to diff View file
A plugins/scaled_agile/include/REST/v1/ProgramIncrementRepresentation.php +46 −0 Go to diff View file
M plugins/scaled_agile/include/REST/v1/ProjectResource.php +66 −6 Go to diff View file
M plugins/scaled_agile/tests/rest/ScaledAgile/ProjectResourceTest.php +17 −0 Go to diff View file
M plugins/scaled_agile/tests/rest/_fixtures/program_scaled_agile/project.xml +16 −1 Go to diff View file
A plugins/scaled_agile/tests/unit/Adapter/Program/Backlog/ProgramIncrement/ProgramIncrementsRetrieverTest.php +131 −0 Go to diff View file
A plugins/scaled_agile/tests/unit/Program/Backlog/ProgramIncrement/ProgramIncrementBuilderTest.php +57 −0 Go to diff View file