stable

Clone or download

Read-only

Build ProgramIdentifier from ProgramIncrement

part of story #21368 create mirrored iteration No functional change expected in features / program increment content REST routes. This also renamed the "SearchProgram" interface to "RetrieveProgramOfProgramIncrement" and the exception from "ProgramNotFoundException" to "ProgramIncrementHasNoProgramException". Change-Id: I7a403cb94580d8d46fa2138d668495bb5e735d02

Modified Files

Name
M plugins/program_management/include/Adapter/Program/Feature/Content/FeatureContentRetriever.php +15 −18 Go to diff View file
M plugins/program_management/include/Adapter/Program/ProgramDao.php +11 −7 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/Feature/Content/RetrieveFeatureContent.php +6 −2 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Content/ContentModifier.php +23 −35 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Content/ModifyContent.php +6 −2 Go to diff View file
R plugins/program_management/include/Domain/Program/ProgramNotFoundException.php Go to diff View file
M plugins/program_management/include/Domain/Program/ProgramIdentifier.php +17 −0 Go to diff View file
D plugins/program_management/include/Domain/Program/ProgramSearcher.php +0 −54 Go to diff View file
R plugins/program_management/include/Domain/Program/SearchProgram.php Go to diff View file
M plugins/program_management/include/REST/v1/ProgramIncrementResource.php +32 −26 Go to diff View file
A plugins/program_management/tests/integration/Adapter/Program/ProgramDaoTest.php +81 −0 Go to diff View file
A plugins/program_management/tests/unit/Adapter/Program/Feature/Content/FeatureContentRetrieverTest.php +202 −0 Go to diff View file
D plugins/program_management/tests/unit/Adapter/Program/Feature/Content/ProgramIncrementContentRetrieverTest.php +0 −204 Go to diff View file
M plugins/program_management/tests/unit/Builder/ProgramIdentifierBuilder.php +0 −6 Go to diff View file
M plugins/program_management/tests/unit/Builder/ProgramIncrementIdentifierBuilder.php +6 −0 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/Content/ContentModifierTest.php +7 −24 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/ProgramIdentifierTest.php +54 −11 Go to diff View file
D plugins/program_management/tests/unit/Domain/Program/ProgramSearcherTest.php +0 −65 Go to diff View file
A plugins/program_management/tests/unit/Stub/ContentStoreStub.php +43 −0 Go to diff View file
A plugins/program_management/tests/unit/Stub/RetrieveProgramOfProgramIncrementStub.php +52 −0 Go to diff View file