aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch-protocol/src/main/protobuf
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2015-05-27 09:45:46 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2015-05-27 11:49:39 +0200
commite556427f59d55888b2c6c181620de7d767e3caf2 (patch)
tree64983349fb50626b4770e63d1cfc65f37765fd39 /sonar-batch-protocol/src/main/protobuf
parent154617a5034da3f35da19d415bc02939f395d25d (diff)
downloadsonarqube-e556427f59d55888b2c6c181620de7d767e3caf2.tar.gz
sonarqube-e556427f59d55888b2c6c181620de7d767e3caf2.zip
SONAR-6589 Remove projectKey from ComputationContext
Diffstat (limited to 'sonar-batch-protocol/src/main/protobuf')
-rw-r--r--sonar-batch-protocol/src/main/protobuf/batch_report.proto2
1 files changed, 2 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 fa7801297ef..869573da18d 100644
--- a/sonar-batch-protocol/src/main/protobuf/batch_report.proto
+++ b/sonar-batch-protocol/src/main/protobuf/batch_report.proto
@@ -41,6 +41,7 @@ option optimize_for = SPEED;
message Metadata {
optional int64 analysis_date = 1;
+ // TODO should we keep this project_key here or not ? Because it's a duplication of Component.key
optional string project_key = 2;
optional string branch = 6;
optional int32 root_component_ref = 3;
@@ -76,6 +77,7 @@ message Component {
// Only available on PROJECT and MODULE types
optional string version = 9;
// Only available on PROJECT and MODULE types
+ // TODO rename this property -> batchKey ? moduleKey ?
optional string key = 10;
// Only available on FILE type
optional int32 lines = 11;