diff options
author | Jacek <jacek.poreda@sonarsource.com> | 2019-10-22 13:39:33 -0500 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2019-10-23 20:21:04 +0200 |
commit | e7e6956074d6d7ce5d6f8323af89ea876a79ef2c (patch) | |
tree | dd15c5125829c211c3584491d326ee171971b1ee /sonar-ws | |
parent | c7a8da830b3c080e6c6234a462b9fac3a04c4363 (diff) | |
download | sonarqube-e7e6956074d6d7ce5d6f8323af89ea876a79ef2c.tar.gz sonarqube-e7e6956074d6d7ce5d6f8323af89ea876a79ef2c.zip |
SONAR-11604 - api/measures/component move 'periods' response field to 'period'
- api/measures/component and api/measures/component_tree move 'periods' response field to 'period'
Diffstat (limited to 'sonar-ws')
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-measures.proto | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-measures.proto b/sonar-ws/src/main/protobuf/ws-measures.proto index 0385751c43b..17d7c0c866c 100644 --- a/sonar-ws/src/main/protobuf/ws-measures.proto +++ b/sonar-ws/src/main/protobuf/ws-measures.proto @@ -32,14 +32,18 @@ message ComponentTreeWsResponse { optional Component baseComponent = 2; repeated Component components = 3; optional Metrics metrics = 4; + //deprecated since 8.1 optional Periods periods = 5; + optional Period period = 6; } // WS api/measures/component message ComponentWsResponse { optional Component component = 1; optional Metrics metrics = 2; + //deprecated since 8.1 optional Periods periods = 3; + optional Period period = 4; } // WS api/measures/search @@ -80,6 +84,7 @@ message Component { } message Period { + //deprecated since 8.1 optional int32 index = 1; optional string mode = 2; optional string date = 3; @@ -97,9 +102,11 @@ message Metrics { message Measure { optional string metric = 1; optional string value = 2; + //deprecated since 8.1 optional PeriodsValue periods = 3; optional string component = 4; optional bool bestValue = 5; + optional PeriodValue period = 6; } message PeriodsValue { @@ -107,6 +114,7 @@ message PeriodsValue { } message PeriodValue { + //deprecated since 8.1 optional int32 index = 1; optional string value = 2; optional bool bestValue = 3; |