stable

Clone or download

Read-only

Merge VerifyIsVisibleFeatureAdapter in ArtifactVisibleVerifier

part of story #21385 display Program's iterations No functional change expected in the following use cases: - GET children of feature - GET content of a Program Increment (Features planned in a PI) - PATCH content of a PI (drag / drop in a PI) - GET program backlog (unplanned Features) - PATCH top backlog (drag / drop in backlog) - Retrieval of Parent features (choice of Parent when creating User Stories in Teams) Notes: Checking if a user can see an Artifact is always the same process. It is the same for a Timebox or a Feature, so we merge the adapters to have only one adapter that implements many interfaces, similar to RetrieveCrossReference or RetrieveURI. Change-Id: I753da7c7452d74edf148e809117d68e6fb390929

Modified Files

Name
M plugins/program_management/include/Adapter/ArtifactVisibleVerifier.php +30 −9 Go to diff View file
D plugins/program_management/include/Adapter/Program/Feature/VerifyIsVisibleFeatureAdapter.php +0 −64 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/Feature/FeatureIdentifier.php +4 −4 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/Feature/VerifyFeatureIsVisible.php +1 −4 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/Feature/VerifyFeatureIsVisibleByProgram.php +1 −1 Go to diff View file
M plugins/program_management/include/REST/v1/ProgramBacklogItemsResource.php +4 −4 Go to diff View file
M plugins/program_management/include/REST/v1/ProgramIncrementResource.php +7 −7 Go to diff View file
M plugins/program_management/include/REST/v1/ProjectResource.php +2 −3 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +8 −24 Go to diff View file
M plugins/program_management/tests/unit/Adapter/ArtifactVisibleVerifierTest.php +133 −18 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/TopBacklog/ProcessTopBacklogChangeTest.php +42 −81 Go to diff View file
D plugins/program_management/tests/unit/Adapter/Program/Feature/VerifyIsVisibleFeatureAdapterTest.php +0 −167 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/Domain/Program/Backlog/Feature/FeatureIdentifierTest.php +2 −2 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/Content/ContentModifierTest.php +2 −2 Go to diff View file
M plugins/program_management/tests/unit/Domain/Team/PossibleParentHandlerTest.php +6 −6 Go to diff View file
M plugins/program_management/tests/unit/Stub/VerifyFeatureIsVisibleByProgramStub.php +16 −8 Go to diff View file
M plugins/program_management/tests/unit/Stub/VerifyFeatureIsVisibleStub.php +1 −1 Go to diff View file