stable
Clone or download
Read-only
Plateform administrators don't need anymore to edit /etc/tuleap/conf/local.inc to set the number of backend workers. tuleap config-get sys_nb_backend_workers tuleap config-set sys_nb_backend_workers 3 If administrators try to set sys_nb_backend_workers to 0, the command is rejected if there are enabled plugins that depend on async jobs Note: due to the load of PluginManager at the middle of the stack in the validator, some tests (see ConfigSet, ConfigResetCommand, …) have been rewritten. Part of story #35093: execute custom code as artifact post action Change-Id: I47a3afdd2352b08bf8e217072b0716391c0918bd
Modified Files
Name | ||||
---|---|---|---|---|
M | doc/back-end/redis.md | +2 | −2 | Go to diff View file |
M | plugins/fts_meilisearch/include/Server/Administration/MeilisearchSaveAdminSettingsController.php | +8 | −8 | Go to diff View file |
M | plugins/fts_meilisearch/include/fts_meilisearchPlugin.php | +5 | −1 | Go to diff View file |
M | plugins/fts_meilisearch/tests/unit/Server/Administration/MeilisearchSaveAdminSettingsControllerTest.php | +18 | −23 | Go to diff View file |
M | plugins/svn/include/svnPlugin.php | +4 | −1 | Go to diff View file |
M | src/common/CLI/Command/ConfigResetCommand.php | +3 | −5 | Go to diff View file |
M | src/common/Config/ConfigSet.php | +5 | −8 | Go to diff View file |
A | src/common/Config/ConfigUpdater.php | +28 | −0 | Go to diff View file |
M | src/common/Config/GetConfigKeys.php | +3 | −1 | Go to diff View file |
M | src/common/Config/InvalidConfigKeyException.php | +2 | −1 | Go to diff View file |
A | src/common/Config/KeyMetadataProvider.php | +29 | −0 | Go to diff View file |
A | src/common/Config/KeysThatCanBeModifiedProvider.php | +29 | −0 | Go to diff View file |
M | src/common/Plugin/PluginManager.php | +2 | −1 | Go to diff View file |
A | src/common/Plugin/RetrieveEnabledPlugins.php | +31 | −0 | Go to diff View file |
A | src/common/Queue/NbBackendWorkersConfigValidator.php | +69 | −0 | Go to diff View file |
M | src/common/Queue/WorkerAvailability.php | +13 | −2 | Go to diff View file |
M | src/etc/local.inc.dist | +0 | −7 | Go to diff View file |
M | src/tuleap-cfg/Command/Docker/LogToSyslog.php | +4 | −1 | Go to diff View file |
M | src/utils/tuleap.php | +14 | −2 | Go to diff View file |
A | tests/lib/Builders/Config/ConfigKeyMetadataBuilder.php | +85 | −0 | Go to diff View file |
A | tests/lib/Stubs/Config/ConfigUpdaterStub.php | +61 | −0 | Go to diff View file |
A | tests/lib/Stubs/Config/KeyMetadataProviderStub.php | +46 | −0 | Go to diff View file |
A | tests/lib/Stubs/Plugin/RetrieveEnabledPluginsStub.php | +51 | −0 | Go to diff View file |
M | tests/unit/common/CLI/Command/ConfigResetCommandTest.php | +31 | −45 | Go to diff View file |
M | tests/unit/common/Config/ConfigSetTest.php | +56 | −38 | Go to diff View file |
M | tests/unit/common/Config/GetConfigKeysTest.php | +10 | −0 | Go to diff View file |
A | tests/unit/common/Queue/NbBackendWorkersConfigValidatorTest.php | +149 | −0 | Go to diff View file |
M | tests/unit/common/Queue/WorkerAvailabilityTest.php | +1 | −1 | Go to diff View file |