aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2016-01-15 17:19:07 +0100
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2016-01-15 18:05:43 +0100
commit2aeb5d7035dabbfef7aac0239c189e5561e3bd60 (patch)
treed30ef429f57f4e1ef660a02df2ff446d52d6e8e8 /sonar-ws/src
parent13759e254c6b78fbd36957c95707e2cd9214fd15 (diff)
downloadsonarqube-2aeb5d7035dabbfef7aac0239c189e5561e3bd60.tar.gz
sonarqube-2aeb5d7035dabbfef7aac0239c189e5561e3bd60.zip
SONAR-7135 WS api/measures/component_tree better best value algorithm
Diffstat (limited to 'sonar-ws/src')
-rw-r--r--sonar-ws/src/main/protobuf/ws-measures.proto6
1 files changed, 5 insertions, 1 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-measures.proto b/sonar-ws/src/main/protobuf/ws-measures.proto
index 5217936392c..5960ea78943 100644
--- a/sonar-ws/src/main/protobuf/ws-measures.proto
+++ b/sonar-ws/src/main/protobuf/ws-measures.proto
@@ -70,7 +70,11 @@ message Measures {
message Measure {
optional string metric = 1;
optional string value = 2;
- repeated PeriodValue periods = 3;
+ optional PeriodsValue periods = 3;
+}
+
+message PeriodsValue {
+ repeated PeriodValue periodsValue = 1;
}
message PeriodValue {