aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2018-04-19 11:46:40 +0200
committerSonarTech <sonartech@sonarsource.com>2018-05-10 20:20:53 +0200
commit62be519c1ab5366d14a22a3ebfd735b74fccf09f (patch)
treec086b9f352c76de5bf5690f097f44046cdb14499 /sonar-ws/src/main
parent5097d1877b4d9d49a5a35a57ba4002ceb30b839e (diff)
downloadsonarqube-62be519c1ab5366d14a22a3ebfd735b74fccf09f.tar.gz
sonarqube-62be519c1ab5366d14a22a3ebfd735b74fccf09f.zip
SONAR-10592 rename concept of WorkersPauseStatus
Diffstat (limited to 'sonar-ws/src/main')
-rw-r--r--sonar-ws/src/main/protobuf/ws-ce.proto9
1 files changed, 7 insertions, 2 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-ce.proto b/sonar-ws/src/main/protobuf/ws-ce.proto
index b52038250c0..76d8446fcbf 100644
--- a/sonar-ws/src/main/protobuf/ws-ce.proto
+++ b/sonar-ws/src/main/protobuf/ws-ce.proto
@@ -59,8 +59,13 @@ message ComponentResponse {
// GET api/ce/info
message InfoWsResponse {
- optional bool workersPaused = 1;
- optional bool workersPauseRequested = 2;
+ optional WorkersPauseStatus workersPauseStatus = 1;
+}
+
+enum WorkersPauseStatus {
+ RESUMED = 0;
+ PAUSING = 1;
+ PAUSED = 2;
}
// GET api/ce/task_types