From 351e7858621b01e3d783ebaff54ed4358941e0de Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Wed, 27 Sep 2017 16:12:05 +0200 Subject: [PATCH] Add missing annotations on CE billing interfaces --- .../org/sonar/server/organization/BillingValidations.java | 5 +++++ .../server/organization/BillingValidationsExtension.java | 2 ++ 2 files changed, 7 insertions(+) diff --git a/server/sonar-server/src/main/java/org/sonar/server/organization/BillingValidations.java b/server/sonar-server/src/main/java/org/sonar/server/organization/BillingValidations.java index 55faca1638a..f5a03ec6037 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/organization/BillingValidations.java +++ b/server/sonar-server/src/main/java/org/sonar/server/organization/BillingValidations.java @@ -20,6 +20,9 @@ package org.sonar.server.organization; +import org.sonar.api.ce.ComputeEngineSide; +import org.sonar.api.server.ServerSide; + import static java.util.Objects.requireNonNull; /** @@ -27,6 +30,8 @@ import static java.util.Objects.requireNonNull; * When the billing plugin is not loaded, no check will be done. * This is not the interface that should be implemented by the plugin, but {@link BillingValidationsExtension} */ +@ComputeEngineSide +@ServerSide public interface BillingValidations { /** diff --git a/server/sonar-server/src/main/java/org/sonar/server/organization/BillingValidationsExtension.java b/server/sonar-server/src/main/java/org/sonar/server/organization/BillingValidationsExtension.java index 0b70671d8c9..43702e136c8 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/organization/BillingValidationsExtension.java +++ b/server/sonar-server/src/main/java/org/sonar/server/organization/BillingValidationsExtension.java @@ -20,6 +20,7 @@ package org.sonar.server.organization; +import org.sonar.api.ExtensionPoint; import org.sonar.api.ce.ComputeEngineSide; import org.sonar.api.server.ServerSide; @@ -28,5 +29,6 @@ import org.sonar.api.server.ServerSide; */ @ServerSide @ComputeEngineSide +@ExtensionPoint public interface BillingValidationsExtension extends BillingValidations { } -- 2.39.5