diff options
author | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2016-01-20 12:23:09 +0100 |
---|---|---|
committer | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2016-01-20 12:44:43 +0100 |
commit | 49632b19154fa95cf68802645defa16027ab6de4 (patch) | |
tree | 0dbc9fc7cb0dec55d5828d111cbaa8ece4a65d4e /sonar-ws | |
parent | 35468c07da8166677e4155a87a912e2352ef241a (diff) | |
download | sonarqube-49632b19154fa95cf68802645defa16027ab6de4.tar.gz sonarqube-49632b19154fa95cf68802645defa16027ab6de4.zip |
SONAR-7129 WS api/components/tree return refKey
Diffstat (limited to 'sonar-ws')
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-components.proto | 17 | ||||
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-measures.proto | 19 | ||||
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-qualitygates.proto | 2 |
3 files changed, 19 insertions, 19 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-components.proto b/sonar-ws/src/main/protobuf/ws-components.proto index 9ff36b851a5..128ade44c99 100644 --- a/sonar-ws/src/main/protobuf/ws-components.proto +++ b/sonar-ws/src/main/protobuf/ws-components.proto @@ -48,12 +48,13 @@ message ShowWsResponse { message Component { optional string id = 1; - optional string refId = 2; - optional string key = 3; - optional string projectId = 4; - optional string name = 5; - optional string description = 6; - optional string qualifier = 7; - optional string path = 8; - optional string language = 9; + optional string key = 2; + optional string refId = 3; + optional string refKey = 4; + optional string projectId = 5; + optional string name = 6; + optional string description = 7; + optional string qualifier = 8; + optional string path = 9; + optional string language = 10; } diff --git a/sonar-ws/src/main/protobuf/ws-measures.proto b/sonar-ws/src/main/protobuf/ws-measures.proto index 5960ea78943..6014576568f 100644 --- a/sonar-ws/src/main/protobuf/ws-measures.proto +++ b/sonar-ws/src/main/protobuf/ws-measures.proto @@ -37,15 +37,16 @@ message ComponentTreeWsResponse { message Component { optional string id = 1; - optional string refId = 2; - optional string key = 3; - optional string projectId = 4; - optional string name = 5; - optional string description = 6; - optional string qualifier = 7; - optional string path = 8; - optional string language = 9; - optional Measures measures = 10; + optional string key = 2; + optional string refId = 3; + optional string refKey = 4; + optional string projectId = 5; + optional string name = 6; + optional string description = 7; + optional string qualifier = 8; + optional string path = 9; + optional string language = 10; + optional Measures measures = 11; } message Period { diff --git a/sonar-ws/src/main/protobuf/ws-qualitygates.proto b/sonar-ws/src/main/protobuf/ws-qualitygates.proto index f4669419d86..57e867e767d 100644 --- a/sonar-ws/src/main/protobuf/ws-qualitygates.proto +++ b/sonar-ws/src/main/protobuf/ws-qualitygates.proto @@ -20,8 +20,6 @@ syntax = "proto2"; package sonarqube.ws.qualitygate; -import "ws-commons.proto"; - option java_package = "org.sonarqube.ws"; option java_outer_classname = "WsQualityGates"; option optimize_for = SPEED; |