aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch-protocol/src/main/protobuf/batch_report.proto
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2015-04-22 13:48:50 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2015-04-22 13:50:31 +0200
commit43b3d2f8720f15e24fb0a21e1bf27be7e58d5842 (patch)
tree333a5a63f84e4f1b87c2751daabbfaacbcf56cd1 /sonar-batch-protocol/src/main/protobuf/batch_report.proto
parent5145acd9a6b9d988863942fe06c38aa1737e6350 (diff)
downloadsonarqube-43b3d2f8720f15e24fb0a21e1bf27be7e58d5842.tar.gz
sonarqube-43b3d2f8720f15e24fb0a21e1bf27be7e58d5842.zip
SONAR-6256 Add dependencies in batch report
Diffstat (limited to 'sonar-batch-protocol/src/main/protobuf/batch_report.proto')
-rw-r--r--sonar-batch-protocol/src/main/protobuf/batch_report.proto16
1 files changed, 16 insertions, 0 deletions
diff --git a/sonar-batch-protocol/src/main/protobuf/batch_report.proto b/sonar-batch-protocol/src/main/protobuf/batch_report.proto
index 6f3620a22dc..02af18c8520 100644
--- a/sonar-batch-protocol/src/main/protobuf/batch_report.proto
+++ b/sonar-batch-protocol/src/main/protobuf/batch_report.proto
@@ -251,3 +251,19 @@ message CoverageDetail {
repeated int32 covered_line = 2 [packed = true];
}
}
+
+message FileDependency {
+ optional int32 to_file_ref = 1;
+ optional int32 weight = 2;
+}
+
+message ModuleDependencies {
+ repeated ModuleDependency dep = 1;
+ message ModuleDependency {
+ optional string key = 1;
+ optional string version = 2;
+ optional string scope = 3;
+ repeated ModuleDependency child = 4;
+ }
+}
+