stable

Clone or download

Read-only

Build FeatureIdentifiers outside of REST Representations

part of story #21385 display Program's iterations Expected functional change: when user cannot read a Feature's title, a Feature Representation is built but with a null title. Previously, it was not built. No other functional change expected in the following use cases: - GET the Program backlog (unplanned Features) - GET the content of a Program Increment (Features planned in a PI) Change-Id: I1ad9fc88afa7e60554e4606c0628ceba103a68f3

Modified Files

Name
M plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/Content/ContentDao.php +6 −14 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/Timebox/TitleValueRetriever.php +8 −1 Go to diff View file
M plugins/program_management/include/Adapter/Program/Feature/Content/FeatureContentRetriever.php +18 −25 Go to diff View file
M plugins/program_management/include/Adapter/Program/Feature/FeatureElementsRetriever.php +20 −18 Go to diff View file
M plugins/program_management/include/Adapter/Program/Feature/FeatureRepresentationBuilder.php +5 −23 Go to diff View file
M plugins/program_management/include/Adapter/Program/Feature/FeaturesDao.php +24 −26 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/Feature/Content/FeaturePlanChange.php +3 −3 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/Feature/FeatureIdentifier.php +38 −0 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/Feature/RetrieveFeatureTitle.php +28 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/Feature/SearchPlannableFeatures.php +1 −1 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Content/SearchFeatures.php +1 −1 Go to diff View file
M plugins/program_management/include/REST/v1/FeatureRepresentation.php +1 −1 Go to diff View file
M plugins/program_management/include/REST/v1/ProgramIncrementResource.php +4 −8 Go to diff View file
M plugins/program_management/include/REST/v1/ProjectResource.php +12 −7 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/Timebox/TitleValueRetrieverTest.php +17 −16 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Feature/Content/FeatureContentRetrieverTest.php +29 −99 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Feature/FeatureElementsRetrieverTest.php +30 −57 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Feature/FeatureRepresentationBuilderTest.php +44 −117 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Feature/UserStoriesInMirroredProgramIncrementsPlannerTest.php +1 −4 Go to diff View file
M plugins/program_management/tests/unit/Builder/FeatureIdentifierBuilder.php +1 −1 Go to diff View file
M plugins/program_management/tests/unit/Builder/PlannableFeatureBuilder.php +1 −1 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/Feature/Content/FeaturePlanChangeTest.php +1 −4 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/Feature/FeatureIdentifierTest.php +123 −44 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/Feature/Links/UserStoryRetrieverTest.php +1 −1 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrieveBackgroundColorStub.php +5 −0 Go to diff View file
A plugins/program_management/tests/unit/Stub/RetrieveFeatureTitleStub.php +59 −0 Go to diff View file
M plugins/program_management/tests/unit/Stub/SearchFeaturesStub.php +8 −3 Go to diff View file
A plugins/program_management/tests/unit/Stub/SearchPlannableFeaturesStub.php +51 −0 Go to diff View file
M plugins/program_management/tests/unit/Stub/VerifyFeatureIsVisibleStub.php +16 −10 Go to diff View file