From 07370a8a8f90ba0340847c40783f420aedc0a139 Mon Sep 17 00:00:00 2001 From: Jacek <52388493+jacek-poreda-sonarsource@users.noreply.github.com> Date: Tue, 17 Sep 2019 09:09:22 +0200 Subject: WS bug fixes (#2070) - add example to show new code period action - list available types for set new code period action - fix empty responses for protobuff enum - add new code periods WS ITs --- sonar-ws/src/main/protobuf/ws-newcodeperiods.proto | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sonar-ws') diff --git a/sonar-ws/src/main/protobuf/ws-newcodeperiods.proto b/sonar-ws/src/main/protobuf/ws-newcodeperiods.proto index 7bf16771ac9..73b7fdc5350 100644 --- a/sonar-ws/src/main/protobuf/ws-newcodeperiods.proto +++ b/sonar-ws/src/main/protobuf/ws-newcodeperiods.proto @@ -40,7 +40,8 @@ message ListWSResponse { } enum NewCodePeriodType { - PREVIOUS_VERSION = 0; - NUMBER_OF_DAYS = 1; - SPECIFIC_ANALYSIS = 2; + UNKNOWN = 0; + PREVIOUS_VERSION = 1; + NUMBER_OF_DAYS = 2; + SPECIFIC_ANALYSIS = 3; } -- cgit v1.2.3