diff options
author | Guillaume Jambet <guillaume.jambet@sonarsource.com> | 2018-03-08 12:17:35 +0100 |
---|---|---|
committer | Guillaume Jambet <guillaume.jambet@gmail.com> | 2018-03-16 10:01:03 +0100 |
commit | d651bd4c8f834d1a14fa87a7557e834c86c9df56 (patch) | |
tree | 62202b3e6fc50dec1fc201b915766b4c92fb883f /sonar-ws | |
parent | 8deda8acb06865cd41f383d4e9d9dc27b937fa71 (diff) | |
download | sonarqube-d651bd4c8f834d1a14fa87a7557e834c86c9df56.tar.gz sonarqube-d651bd4c8f834d1a14fa87a7557e834c86c9df56.zip |
SONAR-9206 Enhance /api/components/search_projects response with organizations
Diffstat (limited to 'sonar-ws')
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-components.proto | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-components.proto b/sonar-ws/src/main/protobuf/ws-components.proto index a995eb42cbc..0218de0edee 100644 --- a/sonar-ws/src/main/protobuf/ws-components.proto +++ b/sonar-ws/src/main/protobuf/ws-components.proto @@ -69,11 +69,6 @@ message SuggestionsWsResponse { optional bool isFavorite = 7; } - message Organization { - optional string key = 1; - optional string name = 2; - } - message Project { optional string key = 1; optional string name = 2; @@ -83,8 +78,9 @@ message SuggestionsWsResponse { // WS api/components/search_projects message SearchProjectsWsResponse { optional sonarqube.ws.commons.Paging paging = 1; - repeated Component components = 2; - optional sonarqube.ws.commons.Facets facets = 3; + repeated Organization organizations = 2; + repeated Component components = 3; + optional sonarqube.ws.commons.Facets facets = 4; } // WS api/components/provisioned @@ -129,3 +125,10 @@ message Component { } } +message Organization { + optional string key = 1; + optional string name = 2; +} + + + |