From 62be519c1ab5366d14a22a3ebfd735b74fccf09f Mon Sep 17 00:00:00 2001
From: Simon Brandhof <simon.brandhof@sonarsource.com>
Date: Thu, 19 Apr 2018 11:46:40 +0200
Subject: SONAR-10592 rename concept of WorkersPauseStatus

---
 sonar-ws/src/main/protobuf/ws-ce.proto | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

(limited to 'sonar-ws/src/main')

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
-- 
cgit v1.2.3