diff options
author | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2016-01-15 11:55:27 +0100 |
---|---|---|
committer | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2016-01-15 12:02:55 +0100 |
commit | 061165a76b9efa2956c23188e50d114d6cda3e02 (patch) | |
tree | 3d25234d9515b2bda30e85f6229e5d91f8fa9ada /sonar-ws | |
parent | 078c530623663185fab34680e09d54c43d014dc5 (diff) | |
download | sonarqube-061165a76b9efa2956c23188e50d114d6cda3e02.tar.gz sonarqube-061165a76b9efa2956c23188e50d114d6cda3e02.zip |
SONAR-7135 WS api/measures/component_tree parameterized periods in a measure
Diffstat (limited to 'sonar-ws')
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-measures.proto | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-measures.proto b/sonar-ws/src/main/protobuf/ws-measures.proto index 395484609a2..5217936392c 100644 --- a/sonar-ws/src/main/protobuf/ws-measures.proto +++ b/sonar-ws/src/main/protobuf/ws-measures.proto @@ -70,9 +70,10 @@ message Measures { message Measure { optional string metric = 1; optional string value = 2; - optional string variationValueP1 = 3; - optional string variationValueP2 = 4; - optional string variationValueP3 = 5; - optional string variationValueP4 = 6; - optional string variationValueP5 = 7; + repeated PeriodValue periods = 3; +} + +message PeriodValue { + optional int32 index = 1; + optional string value = 2; } |