diff options
author | Zipeng WU <zipeng.wu@sonarsource.com> | 2023-03-09 16:16:52 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-03-10 20:02:47 +0000 |
commit | 413f576affaeb64c30fac088d97ebef8d9e24e1a (patch) | |
tree | bcdd10cefe7f525045a208d90453396cfffb0741 /sonar-ws | |
parent | ac52dfa0e238a35355a885155c1188af06fdd83e (diff) | |
download | sonarqube-413f576affaeb64c30fac088d97ebef8d9e24e1a.tar.gz sonarqube-413f576affaeb64c30fac088d97ebef8d9e24e1a.zip |
SONAR-18647 Remove parameter period in api/measures endpoints
Diffstat (limited to 'sonar-ws')
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-measures.proto | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-measures.proto b/sonar-ws/src/main/protobuf/ws-measures.proto index ebe34f594a3..2d86f60418b 100644 --- a/sonar-ws/src/main/protobuf/ws-measures.proto +++ b/sonar-ws/src/main/protobuf/ws-measures.proto @@ -32,8 +32,7 @@ message ComponentTreeWsResponse { optional Component baseComponent = 2; repeated Component components = 3; optional Metrics metrics = 4; - //deprecated since 8.1 - optional Periods periods = 5; + reserved 5; //periods optional Period period = 6; } @@ -41,8 +40,7 @@ message ComponentTreeWsResponse { message ComponentWsResponse { optional Component component = 1; optional Metrics metrics = 2; - //deprecated since 8.1 - optional Periods periods = 3; + reserved 3; //periods optional Period period = 4; } @@ -90,10 +88,6 @@ message Period { optional string parameter = 4; } -message Periods { - repeated Period periods = 1; -} - message Metrics { repeated sonarqube.ws.commons.Metric metrics = 1; } @@ -101,16 +95,12 @@ message Metrics { message Measure { optional string metric = 1; optional string value = 2; - //deprecated since 8.1 - optional PeriodsValue periods = 3; + reserved 3; // periods optional string component = 4; optional bool bestValue = 5; optional PeriodValue period = 6; } -message PeriodsValue { - repeated PeriodValue periodsValue = 1; -} message PeriodValue { //deprecated since 8.1 |