stable
Clone or download
Read-only
part of story #27185 add a team and inherit the existing PI & Iterations How to test: Link a new team in a program => if configuration is ok, you should have a `synchronize` button Click on synchronize => check program_managment_syslog in your tuleap container => you should have a message: `[debug] Team <TEAM_ID> of Program <PROGRAM_ID> needs PI and Iterations synchronization` Note: project flag tuleap config-set feature_flag_program_management_join_train must be enabled to test this patch. Change-Id: I9c73b5e435dce64665e1f770fcc93430b0647170
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/program_management/include/Adapter/Events/TeamSynchronizationEventProxy.php | +66 | −0 | Go to diff View file |
M | plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/IterationCreationProcessorBuilder.php | +8 | −1 | Go to diff View file |
A | plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/MirroredTimeboxesSynchronizationDispatcher.php | +62 | −0 | Go to diff View file |
M | plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/ProgramIncrementCreationProcessorBuilder.php | +8 | −1 | Go to diff View file |
A | plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/SynchronizeTeamProcessor.php | +45 | −0 | Go to diff View file |
M | plugins/program_management/include/Adapter/Team/TeamDao.php | +9 | −1 | Go to diff View file |
M | plugins/program_management/include/Adapter/Team/VisibleTeamSearcher.php | +21 | −0 | Go to diff View file |
A | plugins/program_management/include/Domain/Events/TeamSynchronizationEvent.php | +30 | −0 | Go to diff View file |
A | plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/CommandTeamSynchronization.php | +30 | −0 | Go to diff View file |
A | plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/DispatchMirroredTimeboxesSynchronization.php | +26 | −0 | Go to diff View file |
A | plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/ProcessTeamSynchronization.php | +28 | −0 | Go to diff View file |
A | plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/TeamSynchronizationCommand.php | +56 | −0 | Go to diff View file |
A | plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/TeamSynchronizationHandler.php | +41 | −0 | Go to diff View file |
M | plugins/program_management/include/Domain/Team/SearchVisibleTeamsOfProgram.php | +9 | −0 | Go to diff View file |
M | plugins/program_management/include/Domain/Team/TeamIdentifier.php | +15 | −0 | Go to diff View file |
A | plugins/program_management/include/Domain/Team/TeamIsNotAggregatedByProgramException.php | +47 | −0 | Go to diff View file |
M | plugins/program_management/include/Domain/Team/TeamIsNotVisibleException.php | +15 | −1 | Go to diff View file |
A | plugins/program_management/include/Domain/Team/VerifyIsTeamOfProgram.php | +26 | −0 | Go to diff View file |
M | plugins/program_management/include/REST/v1/ProgramIncrementResource.php | +2 | −0 | Go to diff View file |
M | plugins/program_management/include/REST/v1/ProjectResource.php | +1 | −0 | Go to diff View file |
M | plugins/program_management/include/SynchronizeTeamController.php | +35 | −11 | Go to diff View file |
M | plugins/program_management/include/program_managementPlugin.php | +39 | −2 | Go to diff View file |
M | plugins/program_management/site-content/fr_FR/LC_MESSAGES/tuleap-program_management.po | +8 | −5 | Go to diff View file |
M | plugins/program_management/site-content/pt_BR/LC_MESSAGES/tuleap-program_management.po | +7 | −2 | Go to diff View file |
A | plugins/program_management/tests/unit/Adapter/Events/TeamSynchronizationEventProxyTest.php | +85 | −0 | Go to diff View file |
A | plugins/program_management/tests/unit/Adapter/Program/Backlog/AsynchronousCreation/MirroredTimeboxesSynchronizationDispatcherTest.php | +95 | −0 | Go to diff View file |
A | plugins/program_management/tests/unit/Adapter/Program/Backlog/AsynchronousCreation/SynchronizeTeamProcessorTest.php | +36 | −0 | Go to diff View file |
M | plugins/program_management/tests/unit/Adapter/Team/VisibleTeamSearcherTest.php | +34 | −5 | Go to diff View file |
A | plugins/program_management/tests/unit/Domain/Program/Backlog/AsynchronousCreation/TeamSynchronizationHandlerTest.php | +50 | −0 | Go to diff View file |
M | plugins/program_management/tests/unit/Domain/Team/TeamIdentifierTest.php | +15 | −0 | Go to diff View file |
A | plugins/program_management/tests/unit/Stub/CommandTeamSynchronizationStub.php | +52 | −0 | Go to diff View file |
A | plugins/program_management/tests/unit/Stub/DispatchSynchronizationCommandStub.php | +54 | −0 | Go to diff View file |
A | plugins/program_management/tests/unit/Stub/ProcessTeamSynchronizationStub.php | +51 | −0 | Go to diff View file |
M | plugins/program_management/tests/unit/Stub/SearchVisibleTeamsOfProgramStub.php | +12 | −0 | Go to diff View file |
A | plugins/program_management/tests/unit/Stub/TeamSynchronizationEventStub.php | +47 | −0 | Go to diff View file |
A | plugins/program_management/tests/unit/Stub/VerifyIsTeamOfProgramStub.php | +47 | −0 | Go to diff View file |
M | plugins/program_management/tests/unit/SynchronizeTeamControllerTest.php | +77 | −12 | Go to diff View file |