aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver/src/main/java/org/sonar
diff options
context:
space:
mode:
authorAnita Stanisz <106669481+anita-stanisz-sonarsource@users.noreply.github.com>2024-12-16 11:13:03 +0100
committerSteve Marion <steve.marion@sonarsource.com>2024-12-18 11:13:24 +0100
commitd08dba2aee27acfd15693942fd5bf4b6c1ca9dbe (patch)
tree8189e56865ab57a21bbf8fc28aee029ecde6576e /server/sonar-webserver/src/main/java/org/sonar
parent3d7b1cdb41802c4dd1c79e7e0aedd432e80aab8d (diff)
downloadsonarqube-d08dba2aee27acfd15693942fd5bf4b6c1ca9dbe.tar.gz
sonarqube-d08dba2aee27acfd15693942fd5bf4b6c1ca9dbe.zip
SONAR-23893 Inject different AiCodeAssuranceVerifier impl depending on edition
Diffstat (limited to 'server/sonar-webserver/src/main/java/org/sonar')
-rw-r--r--server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java3
1 files changed, 2 insertions, 1 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 3332d79743d..cb6b4828d40 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
@@ -60,6 +60,7 @@ import org.sonar.core.platform.PlatformEditionProvider;
import org.sonar.core.platform.SpringComponentContainer;
import org.sonar.server.ai.code.assurance.AiCodeAssuranceEntitlement;
import org.sonar.server.ai.code.assurance.AiCodeAssuranceVerifier;
+import org.sonar.server.ai.code.assurance.NoOpAiCodeAssuranceVerifier;
import org.sonar.server.almintegration.ws.AlmIntegrationsWSModule;
import org.sonar.server.almintegration.ws.CredentialsEncoderHelper;
import org.sonar.server.almintegration.ws.ImportHelper;
@@ -348,7 +349,7 @@ public class PlatformLevel4 extends PlatformLevel {
DelegatingDevOpsProjectCreatorFactory.class,
// ai code assurance
- AiCodeAssuranceVerifier.class,
+ NoOpAiCodeAssuranceVerifier.class,
AiCodeAssuranceEntitlement.class,
// batch