aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorAurelien Poscia <aurelien.poscia@sonarsource.com>2022-06-08 17:11:15 +0200
committersonartech <sonartech@sonarsource.com>2022-06-15 20:03:02 +0000
commitb7206c7c6fd9a77f2bea2a9c1bb004d9366f748a (patch)
treeef92fb477a99769bbc46e9f72a7f95493d7fe919 /sonar-ws
parent1d5c0a3bb6123d0e9754238f7017384fdc7526f9 (diff)
downloadsonarqube-b7206c7c6fd9a77f2bea2a9c1bb004d9366f748a.tar.gz
sonarqube-b7206c7c6fd9a77f2bea2a9c1bb004d9366f748a.zip
SONAR-11599 drop module_uuid from ES index, api/issues/search and issueDto.
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/issues/IssuesService.java2
-rw-r--r--sonar-ws/src/main/protobuf/ws-duplications.proto6
-rw-r--r--sonar-ws/src/main/protobuf/ws-issues.proto2
3 files changed, 4 insertions, 6 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/issues/IssuesService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/issues/IssuesService.java
index e61c8dce878..6c03868c425 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/issues/IssuesService.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/issues/IssuesService.java
@@ -22,7 +22,6 @@ package org.sonarqube.ws.client.issues;
import java.io.InputStream;
import java.util.stream.Collectors;
import javax.annotation.Generated;
-import org.sonarqube.ws.Issues;
import org.sonarqube.ws.Issues.AddCommentResponse;
import org.sonarqube.ws.Issues.AssignResponse;
import org.sonarqube.ws.Issues.AuthorsResponse;
@@ -40,7 +39,6 @@ import org.sonarqube.ws.client.BaseService;
import org.sonarqube.ws.client.GetRequest;
import org.sonarqube.ws.client.PostRequest;
import org.sonarqube.ws.client.WsConnector;
-import org.sonarqube.ws.client.batch.IssuesRequest;
/**
* @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/issues">Further information about this web service online</a>
diff --git a/sonar-ws/src/main/protobuf/ws-duplications.proto b/sonar-ws/src/main/protobuf/ws-duplications.proto
index 98cbe46885c..3b5a827db3d 100644
--- a/sonar-ws/src/main/protobuf/ws-duplications.proto
+++ b/sonar-ws/src/main/protobuf/ws-duplications.proto
@@ -48,9 +48,9 @@ message File {
string project = 4;
string projectUuid = 5;
string projectName = 6;
- string subProject = 7;
- string subProjectUuid = 8;
- string subProjectName = 9;
+ reserved 7; //subProject
+ reserved 8; //subProjectUuid
+ reserved 9; //subProjectName
string branch = 10;
string pullRequest = 11;
}
diff --git a/sonar-ws/src/main/protobuf/ws-issues.proto b/sonar-ws/src/main/protobuf/ws-issues.proto
index 9f7bc31bf5a..0b7b09fa598 100644
--- a/sonar-ws/src/main/protobuf/ws-issues.proto
+++ b/sonar-ws/src/main/protobuf/ws-issues.proto
@@ -109,7 +109,7 @@ message Issue {
optional string component = 4;
optional int64 unusedComponentId = 5;
optional string project = 6;
- optional string subProject = 7;
+ reserved 7; // drop subProject
optional int32 line = 8;
optional string hash = 31;
optional sonarqube.ws.commons.TextRange textRange = 9;