aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2016-03-08 21:06:35 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2016-03-10 15:20:40 +0100
commit66af03fd25ea718f34548e449f95d5601d2e9aa2 (patch)
tree383530549eaa162275fa60db9cbccdcf106031a6 /sonar-ws
parenteaecfdf4c2f3df6e0a11de96b585de603e702c9f (diff)
downloadsonarqube-66af03fd25ea718f34548e449f95d5601d2e9aa2.tar.gz
sonarqube-66af03fd25ea718f34548e449f95d5601d2e9aa2.zip
SONAR-7453 Rename rules remediation function fields in WS
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/protobuf/ws-rules.proto18
1 files changed, 17 insertions, 1 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-rules.proto b/sonar-ws/src/main/protobuf/ws-rules.proto
index ce049c220bc..46fc628ab16 100644
--- a/sonar-ws/src/main/protobuf/ws-rules.proto
+++ b/sonar-ws/src/main/protobuf/ws-rules.proto
@@ -86,7 +86,7 @@ message Rule {
optional string lang = 19;
optional string langName = 20;
optional Params params = 21;
- // debt fields, unsupported since 5.5
+ // characteristic fields, unsupported since 5.5
optional string unusedDefaultDebtChar = 23;
optional string unusedDefaultDebtSubChar = 24;
optional string unusedDebtChar = 25;
@@ -94,14 +94,30 @@ message Rule {
optional string unusedDebtCharName = 27;
optional string unusedDebtSubCharName = 28;
+ // Deprecated since 5.5, replaced by defaultRemFnType
optional string defaultDebtRemFnType = 29;
+ // Deprecated since 5.5, replaced by defaultRemFnGapMultiplier
optional string defaultDebtRemFnCoeff = 30;
+ // Deprecated since 5.5, replaced by defaultRemFnBaseEffort
optional string defaultDebtRemFnOffset = 31;
+ // Deprecated since 5.5, replaced by gapDescription
optional string effortToFixDescription = 32;
optional bool debtOverloaded = 33;
+ // Deprecated since 5.5, replaced by remFnType
optional string debtRemFnType = 34;
+ // Deprecated since 5.5, replaced by remFnGapMultiplier
optional string debtRemFnCoeff = 35;
+ // Deprecated since 5.5, replaced by remFnBaseEffort
optional string debtRemFnOffset = 36;
+
+ optional string defaultRemFnType = 38;
+ optional string defaultRemFnGapMultiplier = 39;
+ optional string defaultRemFnBaseEffort = 40;
+ optional string remFnType = 41;
+ optional string remFnGapMultiplier = 42;
+ optional string remFnBaseEffort = 43;
+ optional string gapDescription = 44;
+
optional sonarqube.ws.commons.RuleType type = 37;
message Params {