stable

Clone or download

Read-only

Add a log to indicate we want to synchronize a team

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 `Should synchronize team <TEAM_ID>` Note in order to ease review the handling of event will be split in small commit It's expected that there is no spinner when event is sent It's expected that no error is displayed if something goes wrong Note: project flag tuleap config-set feature_flag_program_management_join_train must be enabled to test this patch: Change-Id: I0bd825db633c428642ac94cf4523f2fad249d3a1

Modified Files

Name
M plugins/program_management/include/Adapter/Program/Admin/ProgramAdminPresenter.php +3 −0 Go to diff View file
M plugins/program_management/include/DisplayAdminProgramManagementController.php +1 −0 Go to diff View file
A plugins/program_management/include/SynchronizeTeamController.php +77 −0 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +10 −0 Go to diff View file
A plugins/program_management/scripts/admin/src/api/synchronize-team.test.ts +40 −0 Go to diff View file
A plugins/program_management/scripts/admin/src/api/synchronize-team.ts +38 −0 Go to diff View file
M plugins/program_management/scripts/admin/src/dom/DocumentAdapter.ts +4 −0 Go to diff View file
M plugins/program_management/scripts/admin/src/dom/RetrieveElement.ts +4 −0 Go to diff View file
M plugins/program_management/scripts/admin/src/dom/RetrieveElementStub.ts +4 −0 Go to diff View file
M plugins/program_management/scripts/admin/src/index.ts +4 −1 Go to diff View file
A plugins/program_management/scripts/admin/src/teams/synchronize-team.test.ts +52 −0 Go to diff View file
A plugins/program_management/scripts/admin/src/teams/synchronize-team.ts +49 −0 Go to diff View file
M plugins/program_management/site-content/fr_FR/LC_MESSAGES/tuleap-program_management.po +5 −0 Go to diff View file
M plugins/program_management/site-content/pt_BR/LC_MESSAGES/tuleap-program_management.po +3 −0 Go to diff View file
M plugins/program_management/templates/admin/teams/admin-list-teams.mustache +4 −2 Go to diff View file
A plugins/program_management/tests/unit/SynchronizeTeamControllerTest.php +104 −0 Go to diff View file