aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2016-02-02 11:41:19 +0100
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2016-02-02 11:41:19 +0100
commit152688e28380deb43cb5400b1ef0d54404fbc662 (patch)
tree3d3f1938f2f928a9a3d855580c89984c797c0086 /sonar-ws
parentd12f2e96085ec80308239f0777c0b0af80ec210e (diff)
downloadsonarqube-152688e28380deb43cb5400b1ef0d54404fbc662.tar.gz
sonarqube-152688e28380deb43cb5400b1ef0d54404fbc662.zip
SONAR-7134 WS api/measures/* return empy measures array when there is no measure
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/protobuf/ws-measures.proto6
1 files changed, 1 insertions, 5 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-measures.proto b/sonar-ws/src/main/protobuf/ws-measures.proto
index eec10749c8f..2ade7c75b56 100644
--- a/sonar-ws/src/main/protobuf/ws-measures.proto
+++ b/sonar-ws/src/main/protobuf/ws-measures.proto
@@ -53,7 +53,7 @@ message Component {
optional string qualifier = 8;
optional string path = 9;
optional string language = 10;
- optional Measures measures = 11;
+ repeated Measure measures = 11;
}
message Period {
@@ -71,10 +71,6 @@ message Metrics {
repeated sonarqube.ws.commons.Metric metrics = 1;
}
-message Measures {
- repeated Measure measures = 1;
-}
-
message Measure {
optional string metric = 1;
optional string value = 2;