aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2017-10-12 16:50:31 +0200
committerGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-10-23 08:01:13 -0700
commita49db7d096955fd4586a000ef8c8ff8b2ae5a405 (patch)
tree82b0dc74dcbaaccc00711df046a96df9f23302e7 /sonar-ws/src/main
parent01a14f1ac3e23faa8c213069a9bab099523ea8de (diff)
downloadsonarqube-a49db7d096955fd4586a000ef8c8ff8b2ae5a405.tar.gz
sonarqube-a49db7d096955fd4586a000ef8c8ff8b2ae5a405.zip
SONAR-9940 add WS api/editions/apply_license (mocked implementation)
edition key is the whole license if license contains string "manual", the state will be changed to MANUAL_IN_PROGRESS if license contains string "done", the license will be applies without requiring a restart otherwise state will go to AUTOMATIC_IN_PROGRESS
Diffstat (limited to 'sonar-ws/src/main')
-rw-r--r--sonar-ws/src/main/protobuf/ws-editions.proto1
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-editions.proto b/sonar-ws/src/main/protobuf/ws-editions.proto
index 9e486715aae..8f173acc923 100644
--- a/sonar-ws/src/main/protobuf/ws-editions.proto
+++ b/sonar-ws/src/main/protobuf/ws-editions.proto
@@ -25,6 +25,7 @@ option java_outer_classname = "WsEditions";
option optimize_for = SPEED;
// GET api/editions/status
+// POST api/editions/apply_license
message StatusResponse {
optional string currentEditionKey = 1;
optional InstallationStatus installationStatus = 2;