aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch-protocol/src/main/protobuf/batch_report.proto
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-07-16 21:41:03 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-07-16 21:41:03 +0200
commit57cb022d1b9751a1a73fcf7a2054aa1b24ab4c27 (patch)
tree316a18fb54f71039b89ea405915a397018ce8cb8 /sonar-batch-protocol/src/main/protobuf/batch_report.proto
parent97e740133e533f623b6a0bc774dda3804d8df62f (diff)
downloadsonarqube-57cb022d1b9751a1a73fcf7a2054aa1b24ab4c27.tar.gz
sonarqube-57cb022d1b9751a1a73fcf7a2054aa1b24ab4c27.zip
Rename variables "sut" to "underTest" in tests
Diffstat (limited to 'sonar-batch-protocol/src/main/protobuf/batch_report.proto')
-rw-r--r--sonar-batch-protocol/src/main/protobuf/batch_report.proto20
1 files changed, 14 insertions, 6 deletions
diff --git a/sonar-batch-protocol/src/main/protobuf/batch_report.proto b/sonar-batch-protocol/src/main/protobuf/batch_report.proto
index 08c5340d366..6632bb8a6f9 100644
--- a/sonar-batch-protocol/src/main/protobuf/batch_report.proto
+++ b/sonar-batch-protocol/src/main/protobuf/batch_report.proto
@@ -45,13 +45,21 @@ message Metadata {
optional string project_key = 2;
optional string branch = 3;
optional int32 root_component_ref = 4;
+}
+
+message ActiveRuleParameter {
+ optional string key = 1;
+ optional string value = 2;
+}
- /*
- Keys of the rules that were enabled in Quality profiles.
- A key is a string composed of the repository and the subKey, specific to the repository. Format is
- "{repository}:{subKey}", for instance "java:NullDereference".
- */
- repeated string active_rule_key = 5;
+/*
+ The rules that are enabled in the Quality profiles associated with the project
+*/
+message ActiveRule {
+ optional string rule_repository = 1;
+ optional string rule_key = 2;
+ optional Severity severity = 3;
+ repeated ActiveRuleParameter parameter = 4;
}
message ComponentLink {