aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorJacek <jacek.poreda@sonarsource.com>2020-12-09 10:48:20 +0100
committersonartech <sonartech@sonarsource.com>2020-12-22 20:09:35 +0000
commit9ae766e0e86ae86d2bff494b68af6c17bf329a61 (patch)
treecadaa640083de0a14f77cb9fe86e0ea999372b83 /sonar-ws
parent8556ba8e2bedb1591c9e8510606d75bfdedbdf3d (diff)
downloadsonarqube-9ae766e0e86ae86d2bff494b68af6c17bf329a61.tar.gz
sonarqube-9ae766e0e86ae86d2bff494b68af6c17bf329a61.zip
SONAR-13999 drop organization from Components WS
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/component/ComponentsWsParameters.java1
-rw-r--r--sonar-ws/src/main/protobuf/ws-components.proto10
2 files changed, 3 insertions, 8 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/component/ComponentsWsParameters.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/component/ComponentsWsParameters.java
index c8ec18c42a8..ba2c023eb3e 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/component/ComponentsWsParameters.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/component/ComponentsWsParameters.java
@@ -31,7 +31,6 @@ public class ComponentsWsParameters {
public static final String ACTION_SUGGESTIONS = "suggestions";
// parameters
- public static final String PARAM_ORGANIZATION = "organization";
public static final String PARAM_QUALIFIERS = "qualifiers";
public static final String PARAM_STRATEGY = "strategy";
public static final String PARAM_FILTER = "filter";
diff --git a/sonar-ws/src/main/protobuf/ws-components.proto b/sonar-ws/src/main/protobuf/ws-components.proto
index 7a43f5dcdb3..17f44c7bcb0 100644
--- a/sonar-ws/src/main/protobuf/ws-components.proto
+++ b/sonar-ws/src/main/protobuf/ws-components.proto
@@ -50,8 +50,7 @@ message ShowWsResponse {
message SuggestionsWsResponse {
repeated Category results = 1;
optional string warning = 2;
- repeated sonarqube.ws.commons.Organization organizations = 3;
- repeated Project projects = 4;
+ repeated Project projects = 3;
message Category {
optional string q = 1;
@@ -63,7 +62,6 @@ message SuggestionsWsResponse {
optional string key = 1;
optional string name = 2;
optional string match = 3;
- optional string organization = 4;
optional string project = 5;
optional bool isRecentlyBrowsed = 6;
optional bool isFavorite = 7;
@@ -78,9 +76,8 @@ message SuggestionsWsResponse {
// WS api/components/search_projects
message SearchProjectsWsResponse {
optional sonarqube.ws.commons.Paging paging = 1;
- repeated sonarqube.ws.commons.Organization organizations = 2;
- repeated Component components = 3;
- optional sonarqube.ws.commons.Facets facets = 4;
+ repeated Component components = 2;
+ optional sonarqube.ws.commons.Facets facets = 3;
}
// WS api/components/provisioned
@@ -98,7 +95,6 @@ message ProvisionedWsResponse {
}
message Component {
- optional string organization = 12;
optional string key = 2;
optional string refId = 3;
optional string refKey = 4;