stable

Clone or download

Read-only

Add GET program_increment/id/iterations route

part of story #21385 display Program's iterations How to test: have feature flag for iteration enable: tuleap config-set feature_flag_program_management_display_iteration 1 make sure that iterations are configured in program admiistration create a program increment, create an iteration artifact, in program increment link your iteration with a _is_child link query the REST route in API explorer, you must retrieve the iteration(s) linked to your PI Change-Id: If2749fa0d0348e82ef1c07850909e4cc9ba68088

Modified Files

Name
A plugins/program_management/include/Adapter/Program/Backlog/Iteration/IterationsRetriever.php +95 −0 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/ProgramIncrementsRetriever.php +7 −20 Go to diff View file
A plugins/program_management/include/Adapter/Workspace/Tracker/Artifact/ArtifactProxy.php +97 −0 Go to diff View file
A plugins/program_management/include/REST/v1/IterationRepresentation.php +112 −0 Go to diff View file
M plugins/program_management/include/REST/v1/ProgramIncrementResource.php +65 −0 Go to diff View file
M plugins/program_management/tests/rest/_fixtures/program_program_management/program-management-config.xml +3 −0 Go to diff View file
M plugins/program_management/tests/rest/_fixtures/program_program_management/project.xml +46 −1 Go to diff View file
M plugins/program_management/tests/rest/v1/Helper/ProgramDataBuilder.php +24 −1 Go to diff View file
M plugins/program_management/tests/rest/v1/ProjectResourceTest.php +26 −0 Go to diff View file
A plugins/program_management/tests/unit/Adapter/Program/Backlog/Iteration/IterationsRetrieverTest.php +101 −0 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/ProgramIncrementsRetrieverTest.php +1 −1 Go to diff View file