aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch-protocol/src/main/protobuf/batch_report.proto
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2015-07-29 17:42:20 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2015-07-31 11:00:25 +0200
commit93420cb74009febd28256484ca73241442bc1ff9 (patch)
tree612fc1f176e3b41cff95dd3038c2726d14725ee2 /sonar-batch-protocol/src/main/protobuf/batch_report.proto
parent5b93180b18e756c6a246b8d22307785d333d0002 (diff)
downloadsonarqube-93420cb74009febd28256484ca73241442bc1ff9.tar.gz
sonarqube-93420cb74009febd28256484ca73241442bc1ff9.zip
SONAR-6052 Extract primaryLocation as a special attribute
Also rework new issue API on batch side.
Diffstat (limited to 'sonar-batch-protocol/src/main/protobuf/batch_report.proto')
-rw-r--r--sonar-batch-protocol/src/main/protobuf/batch_report.proto7
1 files changed, 4 insertions, 3 deletions
diff --git a/sonar-batch-protocol/src/main/protobuf/batch_report.proto b/sonar-batch-protocol/src/main/protobuf/batch_report.proto
index 76eec978266..21fe15c2955 100644
--- a/sonar-batch-protocol/src/main/protobuf/batch_report.proto
+++ b/sonar-batch-protocol/src/main/protobuf/batch_report.proto
@@ -103,8 +103,9 @@ message Issue {
optional Severity severity = 5;
optional double effort_to_fix = 6;
optional string attributes = 7;
- repeated IssueLocation locations = 8;
- repeated ExecutionFlow execution_flows = 9;
+ optional IssueLocation primary_location = 9;
+ repeated IssueLocation additional_location = 10;
+ repeated ExecutionFlow execution_flow = 11;
}
message IssueLocation {
@@ -115,7 +116,7 @@ message IssueLocation {
}
message ExecutionFlow {
- repeated IssueLocation locations = 1;
+ repeated IssueLocation location = 1;
}
message Changesets {