stable

Clone or download

Read-only

Refacto: User story should build itself

part of story #21385 display Program's iterations No functional changes Please note that UserStoryRepresentationBuilder have not been improved yet. I aim to move its logic in Domain in next pach Change-Id: Iec7f45c60c1bf85da5eef3786f647660db3b74db

Modified Files

Name
M plugins/program_management/include/Adapter/Program/Backlog/Timebox/CrossReferenceRetriever.php +9 −1 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/Timebox/TitleValueRetriever.php +9 −1 Go to diff View file
R plugins/program_management/include/Adapter/Program/Backlog/Timebox/UriRetriever.php Go to diff View file
A plugins/program_management/include/Adapter/Program/Backlog/UserStory/IsOpenRetriever.php +41 −0 Go to diff View file
A plugins/program_management/include/Adapter/Program/Backlog/UserStory/TrackerIdRetriever.php +43 −0 Go to diff View file
M plugins/program_management/include/Adapter/Program/Feature/Links/UserStoryRepresentationBuilder.php +38 −24 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/Feature/Links/UserStory.php +40 −3 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/UserStory/RetrieveTrackerId.php +31 −0 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/UserStory/RetrieveUserStoryCrossRef.php +29 −0 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/UserStory/RetrieveUserStoryTitle.php +29 −0 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/UserStory/RetrieveUserStoryURI.php +29 −0 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/UserStory/UserStoryIdentifier.php +65 −0 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/UserStory/VerifyIsOpen.php +29 −0 Go to diff View file
M plugins/program_management/include/REST/v1/ProgramBacklogItemsResource.php +12 −0 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/REST/v1/ProjectResource.php +2 −2 Go to diff View file
M plugins/program_management/include/REST/v1/UserStoryRepresentation.php +3 −3 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/Timebox/CrossReferenceRetrieverTest.php +12 −10 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/Timebox/TitleValueRetrieverTest.php +13 −6 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/Timebox/UriRetrieverTest.php +10 −9 Go to diff View file
A plugins/program_management/tests/unit/Adapter/Program/Backlog/UserStory/IsOpenRetrieverTest.php +56 −0 Go to diff View file
A plugins/program_management/tests/unit/Adapter/Program/Backlog/UserStory/TrackerIdRetrieverTest.php +54 −0 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Feature/Links/UserStoryRepresentationBuilderTest.php +25 −53 Go to diff View file
A plugins/program_management/tests/unit/Builder/UserStoryIdentifierBuilder.php +42 −0 Go to diff View file
A plugins/program_management/tests/unit/Domain/Program/Backlog/UserStory/UserStoryIdentifierTest.php +88 −0 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrieveCrossRefStub.php +6 −0 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrieveTitleValueUserCanSeeStub.php +2 −2 Go to diff View file
A plugins/program_management/tests/unit/Stub/RetrieveTrackerIdStub.php +44 −0 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrieveUriStub.php +5 −0 Go to diff View file
A plugins/program_management/tests/unit/Stub/RetrieveUserStoryCrossRefStub.php +44 −0 Go to diff View file
A plugins/program_management/tests/unit/Stub/RetrieveUserStoryTitleStub.php +44 −0 Go to diff View file
A plugins/program_management/tests/unit/Stub/RetrieveUserStoryURIStub.php +44 −0 Go to diff View file
A plugins/program_management/tests/unit/Stub/VerifyIsOpenStub.php +43 −0 Go to diff View file