aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorDaniel Schwarz <daniel.schwarz@sonarsource.com>2017-04-10 10:08:59 +0200
committerDaniel Schwarz <bartfastiel@users.noreply.github.com>2017-04-20 09:48:52 +0200
commitaa868b02dbe13f89e0f52eaac67a5510b8697903 (patch)
treee97131bc7980d7fa07aca95edccadbddd1cdb226 /sonar-ws
parentc8d2aaabbc936cfb722b9b147a20c29d7696b4da (diff)
downloadsonarqube-aa868b02dbe13f89e0f52eaac67a5510b8697903.tar.gz
sonarqube-aa868b02dbe13f89e0f52eaac67a5510b8697903.zip
SONAR-9078 return project names for api/components/suggestions
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/protobuf/ws-components.proto7
1 files changed, 7 insertions, 0 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-components.proto b/sonar-ws/src/main/protobuf/ws-components.proto
index 76321305382..cd480edc5a0 100644
--- a/sonar-ws/src/main/protobuf/ws-components.proto
+++ b/sonar-ws/src/main/protobuf/ws-components.proto
@@ -51,6 +51,7 @@ message SuggestionsWsResponse {
repeated Category suggestions = 1;
optional string warning = 2;
repeated Organization organizations = 3;
+ repeated Project projects = 4;
message Category {
optional string category = 1;
@@ -62,6 +63,11 @@ message SuggestionsWsResponse {
optional string key = 1;
optional string name = 2;
}
+
+ message Project {
+ optional string key = 1;
+ optional string name = 2;
+ }
}
// WS api/components/search_projects
@@ -77,6 +83,7 @@ message Component {
optional string key = 2;
optional string refId = 3;
optional string refKey = 4;
+ optional string project = 15;
optional string projectId = 5;
optional string name = 6;
optional string description = 7;