aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main/protobuf/ws-qualitygates.proto
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2016-09-20 16:40:20 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2016-09-22 14:10:31 +0200
commite34e860366092c1546718919e7852b10b64ab341 (patch)
tree259d30e31fdb27a4bac1f70d60c1f9d43107e906 /sonar-ws/src/main/protobuf/ws-qualitygates.proto
parent7b348e0ba5ce74367fc15d7aef4b163a4ecb1048 (diff)
downloadsonarqube-e34e860366092c1546718919e7852b10b64ab341.tar.gz
sonarqube-e34e860366092c1546718919e7852b10b64ab341.zip
SONAR-8117 Extract creation of quality gate condition into QualityGateConditionsUpdater
Diffstat (limited to 'sonar-ws/src/main/protobuf/ws-qualitygates.proto')
-rw-r--r--sonar-ws/src/main/protobuf/ws-qualitygates.proto10
1 files changed, 10 insertions, 0 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-qualitygates.proto b/sonar-ws/src/main/protobuf/ws-qualitygates.proto
index bbdbe48e581..125e5667d8d 100644
--- a/sonar-ws/src/main/protobuf/ws-qualitygates.proto
+++ b/sonar-ws/src/main/protobuf/ws-qualitygates.proto
@@ -97,5 +97,15 @@ message CreateWsResponse {
optional string name = 2;
}
+// POST api/qualitygates/create_condition
+message CreateConditionWsResponse {
+ optional int64 id = 1;
+ optional string metric = 2;
+ optional string op = 3;
+ optional string warning = 4;
+ optional string error = 5;
+ optional int32 period = 6;
+}
+