stable

Clone or download

Read-only

Use TeamIdentifier in Program Increments creation

part of request #23383 Bad request error when planning a feature No functional change expected in creation of Program Increments mirrors. To test, create a new Program Increment artifact. Mirrors should be created in all Teams, unless your user cannot see all teams. You can also run Cypress tests for non-regression. Notes: Previously we used TrackerIdentifier. MirroredProgramIncrementTrackerIdentifier is stricter, as TrackerIdentifier could be any tracker. This makes it harder to pass invalid parameters. Change-Id: I748a7344702969b90f406c3fe8d27d42aa4e72d7

Modified Files

Name
M plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/ProgramIncrementCreationProcessorBuilder.php +9 −11 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/ProgramIncrementsCreator.php +9 −13 Go to diff View file
M plugins/program_management/include/Adapter/Program/PlanningAdapter.php +2 −2 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/CreateProgramIncrements.php +2 −3 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementCreationProcessor.php +24 −24 Go to diff View file
A plugins/program_management/include/Domain/Team/MirroredTimebox/MirroredProgramIncrementTrackerIdentifier.php +64 −0 Go to diff View file
A plugins/program_management/include/Domain/Team/MirroredTimebox/MirroredProgramIncrementTrackerIdentifierCollection.php +73 −0 Go to diff View file
M plugins/program_management/include/Domain/Team/MirroredTimebox/RetrieveMirroredProgramIncrementTracker.php +1 −1 Go to diff View file
A plugins/program_management/include/Domain/Team/MirroredTimebox/TeamHasNoMirroredProgramIncrementTrackerException.php +39 −0 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/AsynchronousCreation/ProgramIncrementCreationProcessorTest.php +10 −8 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/AsynchronousCreation/ProgramIncrementsCreatorTest.php +6 −23 Go to diff View file
A plugins/program_management/tests/unit/Builder/MirroredProgramIncrementTrackerIdentifierCollectionBuilder.php +59 −0 Go to diff View file
M plugins/program_management/tests/unit/Builder/TeamIdentifierBuilder.php +6 −1 Go to diff View file
A plugins/program_management/tests/unit/Domain/Team/MirroredTimebox/MirroredProgramIncrementTrackerIdentifierCollectionTest.php +81 −0 Go to diff View file
A plugins/program_management/tests/unit/Domain/Team/MirroredTimebox/MirroredProgramIncrementTrackerIdentifierTest.php +67 −0 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrieveMirroredProgramIncrementTrackerStub.php +11 −5 Go to diff View file