stable

Clone or download

Read-only

Move Program Increments configuration to dedicated DAO

part of story #21368 create mirrored iteration No functional change expected PlanStore was getting too crowded with too many responsibilities. It has been split into multiple single-method interfaces, which are easier to reuse and stub. Change-Id: I698064b603d92088b73f8204d2a3fb9277aafa2f

Modified Files

Name
M plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/ProgramIncrementTrackerConfigurationBuilder.php +11 −22 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/ProgramIncrementsDAO.php +35 −1 Go to diff View file
M plugins/program_management/include/Adapter/Program/Plan/PlanDao.php +1 −33 Go to diff View file
M plugins/program_management/include/Adapter/Program/Plan/PlanProgramIncrementConfigurationBuilder.php +12 −14 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/ProgramIncrementLabels.php +51 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/ProgramIncrementTrackerConfiguration.php +7 −22 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/RetrieveProgramIncrementLabels.php +31 −0 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/RetrieveProgramIncrementTracker.php +28 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Plan/PlanStore.php +0 −7 Go to diff View file
M plugins/program_management/include/REST/v1/ProgramIncrementResource.php +2 −2 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +5 −5 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/ProgramIncrementTrackerConfigurationBuilderTest.php +18 −71 Go to diff View file
D plugins/program_management/tests/unit/Adapter/Program/Plan/PlanConfigurationBuilderTest.php +0 −119 Go to diff View file
A plugins/program_management/tests/unit/Adapter/Program/Plan/PlanProgramIncrementConfigurationBuilderTest.php +100 −0 Go to diff View file
M plugins/program_management/tests/unit/DisplayProgramBacklogControllerTest.php +11 −2 Go to diff View file
A plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/ProgramIncrementLabelsTest.php +54 −0 Go to diff View file
A plugins/program_management/tests/unit/Stub/RetrieveProgramIncrementLabelsStub.php +50 −0 Go to diff View file
A plugins/program_management/tests/unit/Stub/RetrieveProgramIncrementTrackerStub.php +50 −0 Go to diff View file