diff options
author | Eric Giffon <eric.giffon@sonarsource.com> | 2023-05-05 16:09:51 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-05-16 20:02:49 +0000 |
commit | 8aadda9b9bfaadc2e8b047c2c8318a43c1c8b62b (patch) | |
tree | 7f15b6812e321add2f8b8379ca9d09a39ca72efc /sonar-ws | |
parent | 0f6906caea05555b37525e165b363d45521ed7f6 (diff) | |
download | sonarqube-8aadda9b9bfaadc2e8b047c2c8318a43c1c8b62b.tar.gz sonarqube-8aadda9b9bfaadc2e8b047c2c8318a43c1c8b62b.zip |
SONAR-19197 Update ES and web services with code variants
Co-authored-by: Antoine Vinot <antoine.vinot@sonarsource.com>
Diffstat (limited to 'sonar-ws')
-rw-r--r-- | sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java | 1 | ||||
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-hotspots.proto | 1 | ||||
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-issues.proto | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java index b9f417bc9b8..8791003f93f 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java @@ -102,6 +102,7 @@ public class IssuesWsParameters { public static final String PARAM_ASC = "asc"; public static final String PARAM_ADDITIONAL_FIELDS = "additionalFields"; public static final String PARAM_TIMEZONE = "timeZone"; + public static final String PARAM_CODE_VARIANTS = "codeVariants"; public static final String FACET_MODE_EFFORT = "effort"; diff --git a/sonar-ws/src/main/protobuf/ws-hotspots.proto b/sonar-ws/src/main/protobuf/ws-hotspots.proto index c846f04ad9e..0e0599e42de 100644 --- a/sonar-ws/src/main/protobuf/ws-hotspots.proto +++ b/sonar-ws/src/main/protobuf/ws-hotspots.proto @@ -75,6 +75,7 @@ message ShowWsResponse { optional bool canChangeStatus = 17; repeated sonarqube.ws.commons.Flow flows = 19; repeated sonarqube.ws.commons.MessageFormatting messageFormattings = 20; + repeated string codeVariants = 21; } message Component { diff --git a/sonar-ws/src/main/protobuf/ws-issues.proto b/sonar-ws/src/main/protobuf/ws-issues.proto index b03e72200b1..1956a10558a 100644 --- a/sonar-ws/src/main/protobuf/ws-issues.proto +++ b/sonar-ws/src/main/protobuf/ws-issues.proto @@ -161,6 +161,8 @@ message Issue { optional string ruleDescriptionContextKey = 37; repeated sonarqube.ws.commons.MessageFormatting messageFormattings = 38; + + repeated string codeVariants = 39; } message Transitions { |