diff options
author | Godin <mandrikov@gmail.com> | 2010-12-13 08:37:40 +0000 |
---|---|---|
committer | Godin <mandrikov@gmail.com> | 2010-12-13 08:37:40 +0000 |
commit | 3a7235c0209772229ee4bd82cb0a505729749b3a (patch) | |
tree | e9cf89546a088603a6f00f93907b4b4d0b03ef06 /sonar-ws-client | |
parent | 30041ec9b27951cd09b7d6b64694f2d179f7ec19 (diff) | |
download | sonarqube-3a7235c0209772229ee4bd82cb0a505729749b3a.tar.gz sonarqube-3a7235c0209772229ee4bd82cb0a505729749b3a.zip |
SONAR-833: New Web Service to get history of measures (time machine)
Diffstat (limited to 'sonar-ws-client')
-rw-r--r-- | sonar-ws-client/src/main/java/org/sonar/wsclient/services/TimeMachineQuery.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/services/TimeMachineQuery.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/services/TimeMachineQuery.java index 31a00fe9518..6d4fee7fa96 100644 --- a/sonar-ws-client/src/main/java/org/sonar/wsclient/services/TimeMachineQuery.java +++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/services/TimeMachineQuery.java @@ -2,6 +2,9 @@ package org.sonar.wsclient.services; import java.util.Date; +/** + * @since 2.5 + */ public class TimeMachineQuery extends Query<TimeMachineData> { public static final String BASE_URL = "/api/timemachine"; @@ -48,8 +51,8 @@ public class TimeMachineQuery extends Query<TimeMachineData> { url.append('?'); appendUrlParameter(url, "resource", resourceKeyOrId); appendUrlParameter(url, "metrics", metrics); - appendUrlParameter(url, "first_date", from); - appendUrlParameter(url, "last_date", to); + appendUrlParameter(url, "fromDateTime", from, true); + appendUrlParameter(url, "toDateTime", to, true); return url.toString(); } |