diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2019-12-09 10:04:05 +0100 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2020-01-13 20:46:30 +0100 |
commit | 965271a98d0a9ce7062baa9de53bdd042e0a7c35 (patch) | |
tree | f0a3b18a0e62577a6051768766a404cc86abddff /sonar-ws | |
parent | 0cde042754aba04f6c46ed5a1c73d8989b3f5d52 (diff) | |
download | sonarqube-965271a98d0a9ce7062baa9de53bdd042e0a7c35.tar.gz sonarqube-965271a98d0a9ce7062baa9de53bdd042e0a7c35.zip |
SONAR-12720 move Comment to ws-commons.proto
Diffstat (limited to 'sonar-ws')
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-commons.proto | 9 | ||||
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-issues.proto | 16 |
2 files changed, 10 insertions, 15 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-commons.proto b/sonar-ws/src/main/protobuf/ws-commons.proto index f94db9af466..73a7b39b6d3 100644 --- a/sonar-ws/src/main/protobuf/ws-commons.proto +++ b/sonar-ws/src/main/protobuf/ws-commons.proto @@ -129,6 +129,15 @@ message Changelog { } } +message Comment { + optional string key = 1; + optional string login = 2; + optional string htmlText = 5; + optional string markdown = 6; + optional bool updatable = 7; + optional string createdAt = 8; +} + message Metric { optional string key = 1; optional string name = 2; diff --git a/sonar-ws/src/main/protobuf/ws-issues.proto b/sonar-ws/src/main/protobuf/ws-issues.proto index fa6c6f65f16..40c0921a813 100644 --- a/sonar-ws/src/main/protobuf/ws-issues.proto +++ b/sonar-ws/src/main/protobuf/ws-issues.proto @@ -164,22 +164,8 @@ message Actions { repeated string actions = 1; } -message Comment { - optional string key = 1; - optional string login = 2; - // TODO drop, it's already in field "users" - optional string email = 3; - // TODO drop, it's already in field "users" - optional string userName = 4; - optional string htmlText = 5; - // TODO rename markdownText ? - optional string markdown = 6; - optional bool updatable = 7; - optional string createdAt = 8; -} - message Comments { - repeated Comment comments = 1; + repeated sonarqube.ws.commons.Comment comments = 1; } // Deprecated since 5.5 |