diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2016-12-12 14:51:59 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2016-12-13 16:14:59 +0100 |
commit | 1593d587b770c84b919d9c019031cad87ba70a39 (patch) | |
tree | 7829c4f283a954e351e9df43fe7c8682b4f1ac81 /sonar-ws | |
parent | 769061f6d3b3cc8e3109688ad3b288c539c6324c (diff) | |
download | sonarqube-1593d587b770c84b919d9c019031cad87ba70a39.tar.gz sonarqube-1593d587b770c84b919d9c019031cad87ba70a39.zip |
SONAR-7290 Rewrite api/issues/changelog in Java
Diffstat (limited to 'sonar-ws')
-rw-r--r-- | sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java | 2 | ||||
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-issues.proto | 21 |
2 files changed, 23 insertions, 0 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java index c2e72e4196e..5fb8575c931 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java @@ -29,6 +29,8 @@ import java.util.List; */ public class IssuesWsParameters { + public static final String PARAM_ISSUE = "issue"; + public static final String ISSUES = "issues"; public static final String SEVERITIES = "severities"; public static final String STATUSES = "statuses"; diff --git a/sonar-ws/src/main/protobuf/ws-issues.proto b/sonar-ws/src/main/protobuf/ws-issues.proto index 3aca709bba7..8ba4dd7a64c 100644 --- a/sonar-ws/src/main/protobuf/ws-issues.proto +++ b/sonar-ws/src/main/protobuf/ws-issues.proto @@ -181,3 +181,24 @@ message Component { optional int64 projectId = 9; optional int64 subProjectId = 10; } + +// Response of GET api/issues/changelog +message ChangelogWsResponse { + repeated Changelog changelog = 1; + + message Changelog { + optional string user = 1; + optional string userName = 2; + optional string email = 3; + optional string creationDate = 4; + repeated Diff diffs = 5; + + message Diff { + optional string key = 1; + optional string newValue = 2; + optional string oldValue = 3; + } + } +} + + |