aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main/protobuf/ws-newcodeperiods.proto
diff options
context:
space:
mode:
authorJacek <52388493+jacek-poreda-sonarsource@users.noreply.github.com>2019-09-17 09:09:22 +0200
committerSonarTech <sonartech@sonarsource.com>2019-09-24 20:21:17 +0200
commit07370a8a8f90ba0340847c40783f420aedc0a139 (patch)
treeb627601195fc58083876a22ea55bfb0f2ab2dc27 /sonar-ws/src/main/protobuf/ws-newcodeperiods.proto
parente8f1a84869bcb72af1ca30fa78b9c936a3e028a3 (diff)
downloadsonarqube-07370a8a8f90ba0340847c40783f420aedc0a139.tar.gz
sonarqube-07370a8a8f90ba0340847c40783f420aedc0a139.zip
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
Diffstat (limited to 'sonar-ws/src/main/protobuf/ws-newcodeperiods.proto')
-rw-r--r--sonar-ws/src/main/protobuf/ws-newcodeperiods.proto7
1 files changed, 4 insertions, 3 deletions
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;
}