Mercurial > hg > release > thermostat-1.4
changeset 1789:52efef101293
Bump mongo-java-driver version
This version of mongo-java-driver works with mongodb 3.0.
Reviewed-by: jerboaa
Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2015-June/013919.html
PR2607
author | Severin Gehwolf <sgehwolf@redhat.com> |
---|---|
date | Tue, 15 Sep 2015 17:54:24 +0200 |
parents | ee586d51072d |
children | d257748e30c4 |
files | pom.xml storage/cli/src/main/java/com/redhat/thermostat/storage/cli/internal/MongoProcessRunner.java |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/pom.xml Tue Sep 15 10:35:40 2015 -0400 +++ b/pom.xml Tue Sep 15 17:54:24 2015 +0200 @@ -158,9 +158,9 @@ used. --> <jcommon.version>1.0.17</jcommon.version> <jgraphx.version>2.3.0.5</jgraphx.version> - <mongo-driver.version>2.11.4</mongo-driver.version> + <mongo-driver.version>2.13.2</mongo-driver.version> <!-- the OSGi Bundle-Version; should match the manifest in the jar --> - <mongo-driver.osgi-version>2.11.4.RELEASE</mongo-driver.osgi-version> + <mongo-driver.osgi-version>2.13.2.RELEASE</mongo-driver.osgi-version> <commons-beanutils.version>1.8.3</commons-beanutils.version> <commons-cli.version>1.2</commons-cli.version> <commons-io.version>2.4</commons-io.version>
--- a/storage/cli/src/main/java/com/redhat/thermostat/storage/cli/internal/MongoProcessRunner.java Tue Sep 15 10:35:40 2015 -0400 +++ b/storage/cli/src/main/java/com/redhat/thermostat/storage/cli/internal/MongoProcessRunner.java Tue Sep 15 17:54:24 2015 +0200 @@ -52,6 +52,7 @@ import com.redhat.thermostat.common.tools.ApplicationException; import com.redhat.thermostat.common.utils.LoggedExternalProcess; import com.redhat.thermostat.common.utils.LoggingUtils; +import com.redhat.thermostat.common.utils.StringUtils; import com.redhat.thermostat.service.process.UnixProcessUtilities; import com.redhat.thermostat.shared.config.InvalidConfigurationException; import com.redhat.thermostat.shared.locale.LocalizedString; @@ -179,6 +180,8 @@ List<String> commands = null; commands = getStartupCommand(dbVersion); + logger.log(Level.FINEST, "Executing mongo: " + StringUtils.join(" ", commands)); + display(translator.localize(LocaleResources.STARTING_STORAGE_SERVER)); LoggedExternalProcess process = new LoggedExternalProcess(commands);