diff options
author | Anita Stanisz <106669481+anita-stanisz-sonarsource@users.noreply.github.com> | 2024-12-16 11:13:03 +0100 |
---|---|---|
committer | Steve Marion <steve.marion@sonarsource.com> | 2024-12-18 11:13:24 +0100 |
commit | d08dba2aee27acfd15693942fd5bf4b6c1ca9dbe (patch) | |
tree | 8189e56865ab57a21bbf8fc28aee029ecde6576e /server/sonar-webserver/src/main/java/org/sonar | |
parent | 3d7b1cdb41802c4dd1c79e7e0aedd432e80aab8d (diff) | |
download | sonarqube-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.java | 3 |
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 |