Mercurial > hg > thermostat-ng > agent
changeset 2782:a41e1f11e4f2
Update to thermostat-common 0.1.3 to fix incorrect JSON
This patch updates the jar version for thermostat-common to 0.1.3.
(it also deleted two unused imports)
0.1.3 contains an updated JSONService with a Timetamp typeadapter that
produces expected JSON for the jcmd web service.
With this patch, jcmd works.
Reviewed-by: ebaron
Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2017-October/025561.html
author | Simon Tooke <stooke@redhat.com> |
---|---|
date | Fri, 27 Oct 2017 14:34:16 -0400 |
parents | cd8047394d27 |
children | 4e505d9ed3c7 |
files | plugins/jvm-overview/agent/src/main/java/com/redhat/thermostat/jvm/overview/agent/internal/model/VmInfoDAOImpl.java pom.xml |
diffstat | 2 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/jvm-overview/agent/src/main/java/com/redhat/thermostat/jvm/overview/agent/internal/model/VmInfoDAOImpl.java Thu Oct 26 16:48:48 2017 +0200 +++ b/plugins/jvm-overview/agent/src/main/java/com/redhat/thermostat/jvm/overview/agent/internal/model/VmInfoDAOImpl.java Fri Oct 27 14:34:16 2017 -0400 @@ -43,8 +43,6 @@ import java.util.logging.Level; import java.util.logging.Logger; -import com.redhat.thermostat.lang.schema.models.Timestamp; -import com.sun.org.apache.bcel.internal.generic.RETURN; import org.apache.felix.scr.annotations.Activate; import org.apache.felix.scr.annotations.Component; import org.apache.felix.scr.annotations.ConfigurationPolicy;
--- a/pom.xml Thu Oct 26 16:48:48 2017 +0200 +++ b/pom.xml Fri Oct 27 14:34:16 2017 -0400 @@ -235,7 +235,7 @@ <thermostat.web.deploy.dir>${thermostat.build.directory}/${project.build.finalName}</thermostat.web.deploy.dir> <!-- common Thermostat package from base repo (loaded from Maven central) --> - <thermostat.common.version>0.1.2</thermostat.common.version> + <thermostat.common.version>0.1.3</thermostat.common.version> <junit.version>4.10</junit.version> <mockito.version>1.9.5</mockito.version>