Refactor general configuration

Use standard configuration store api for general configuration. This is best practice and also required for the audit log to work properly.

Besides that we still need to load the general configuration manually for the instance injection binding in ScmServletModules. Since the instance injection does not resolve the bindings regularly we need also still need to update the injectable scm config using the "load" hack in the resource.

Committed-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
This commit is contained in:
Eduard Heimbuch
2023-04-12 12:37:52 +02:00
committed by SCM-Manager
parent aa78cb6f03
commit c6df84557b
19 changed files with 274 additions and 353 deletions

View File

@@ -71,13 +71,12 @@ public class GitRepositoryResolver implements RepositoryResolver<HttpServletRequ
* Method description
*
*
* @param request
* @param repositoryName
* @param request http request
* @param repositoryName repository name
*
* @return
* @return jgit repository
*
* @throws RepositoryNotFoundException
* @throws ServiceNotAuthorizedException
* @throws ServiceNotEnabledException
*/
@Override