aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver/src/main
diff options
context:
space:
mode:
authorAurelien Poscia <aurelien.poscia@sonarsource.com>2023-11-30 09:58:20 +0100
committersonartech <sonartech@sonarsource.com>2023-12-22 20:03:01 +0000
commit68de595dc688e9fd09bd8925c94d0bba830c3869 (patch)
tree6ca9621267a13fcc2a752dc2a882b60057ee7761 /server/sonar-webserver/src/main
parentc0c9226eb421d0581b269c74a083aad00a7ad679 (diff)
downloadsonarqube-68de595dc688e9fd09bd8925c94d0bba830c3869.tar.gz
sonarqube-68de595dc688e9fd09bd8925c94d0bba830c3869.zip
SONAR-21119 Provide method to get groups for GitLab & refactored GithubPaginatedHttpClient and GithubApplicationHttpClient to make them generic
Diffstat (limited to 'server/sonar-webserver/src/main')
-rw-r--r--server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java16
1 files changed, 11 insertions, 5 deletions
diff --git a/server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java b/server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java
index fc9b920c860..a57327580b2 100644
--- a/server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java
+++ b/server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java
@@ -33,11 +33,14 @@ import org.sonar.alm.client.github.GithubGlobalSettingsValidator;
import org.sonar.alm.client.github.GithubHeaders;
import org.sonar.alm.client.github.GithubPaginatedHttpClient;
import org.sonar.alm.client.github.GithubPermissionConverter;
-import org.sonar.alm.client.github.RatioBasedRateLimitChecker;
+import org.sonar.alm.client.RatioBasedRateLimitChecker;
import org.sonar.alm.client.github.config.GithubProvisioningConfigValidator;
import org.sonar.alm.client.github.security.GithubAppSecurityImpl;
+import org.sonar.alm.client.gitlab.GitlabApplicationHttpClient;
import org.sonar.alm.client.gitlab.GitlabGlobalSettingsValidator;
-import org.sonar.alm.client.gitlab.GitlabHttpClient;
+import org.sonar.alm.client.gitlab.GitlabHeaders;
+import org.sonar.alm.client.gitlab.GitlabApplicationClient;
+import org.sonar.alm.client.gitlab.GitlabPaginatedHttpClient;
import org.sonar.api.resources.ResourceTypes;
import org.sonar.api.server.rule.RulesDefinitionXmlLoader;
import org.sonar.auth.bitbucket.BitbucketModule;
@@ -555,22 +558,25 @@ public class PlatformLevel4 extends PlatformLevel {
ProjectKeyGenerator.class,
RatioBasedRateLimitChecker.class,
GithubAppSecurityImpl.class,
- GithubApplicationClientImpl.class,
- GithubPaginatedHttpClient.class,
GithubHeaders.class,
GithubApplicationHttpClient.class,
+ GithubPaginatedHttpClient.class,
+ GithubApplicationClientImpl.class,
GithubProvisioningConfigValidator.class,
GithubProvisioningWs.class,
GithubProjectCreatorFactory.class,
GithubPermissionConverter.class,
BitbucketCloudRestClientConfiguration.class,
BitbucketServerRestClient.class,
- GitlabHttpClient.class,
AzureDevOpsHttpClient.class,
new AlmIntegrationsWSModule(),
BitbucketCloudValidator.class,
BitbucketServerSettingsValidator.class,
GithubGlobalSettingsValidator.class,
+ GitlabHeaders.class,
+ GitlabApplicationHttpClient.class,
+ GitlabPaginatedHttpClient.class,
+ GitlabApplicationClient.class,
GitlabGlobalSettingsValidator.class,
AzureDevOpsValidator.class,