stable

Clone or download

Read-only

Refacto: UserStoryRepresentation must build itself

part of story #21385 display Program's iterations No functional changes Note: UserStoryRepresnetation now build itself. An new Object UserStory have been introduced it has a public constructor, it's temporary to don't have a huge review In nexts pacth I aim to: - have UserStory object build itself - move logic of `UserStoryRepresentationBuilder` in domain For now this builder is only called by Program_increment/{id}/children I'll have to retreive user stories for iteration/{id}/children Change-Id: Ib779da5208c33e9547d1b38c97dc3f65d09e9ecc

Modified Files

Name
M plugins/program_management/include/Adapter/Program/Backlog/TopBacklog/ArtifactTopBacklogActionBuilder.php +4 −4 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/TopBacklog/MassChangeTopBacklogActionBuilder.php +6 −15 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/TopBacklog/Workflow/AddToTopBacklogPostActionJSONParser.php +3 −9 Go to diff View file
M plugins/program_management/include/Adapter/Program/Feature/Links/UserStoryRepresentationBuilder.php +17 −10 Go to diff View file
M plugins/program_management/include/Adapter/Program/Plan/PlanDao.php +2 −1 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/Feature/Links/UserStory.php +36 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Plan/PlanStore.php +0 −2 Go to diff View file
A plugins/program_management/include/Domain/Program/Plan/VerifyIsPlannable.php +29 −0 Go to diff View file
M plugins/program_management/include/REST/v1/ProgramBacklogItemsResource.php +5 −3 Go to diff View file
M plugins/program_management/include/REST/v1/UserStoryRepresentation.php +23 −1 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +2 −2 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/TopBacklog/ArtifactTopBacklogActionBuilderTest.php +11 −17 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/TopBacklog/MassChangeTopBacklogActionBuilderTest.php +9 −12 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/TopBacklog/Workflow/AddToTopBacklogPostActionJSONParserTest.php +9 −14 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Feature/Links/UserStoryRepresentationBuilderTest.php +35 −52 Go to diff View file
A plugins/program_management/tests/unit/Stub/VerifyIsPlannableStub.php +48 −0 Go to diff View file