changeset 1751:4ffeb792c418

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
author Omair Majid <omajid@redhat.com>
date Wed, 10 Jun 2015 13:30:06 -0400
parents 368907b4505c
children c61456d95bd3
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	Wed Jun 10 12:00:49 2015 -0400
+++ b/pom.xml	Wed Jun 10 13:30:06 2015 -0400
@@ -265,9 +265,9 @@
          See the main thermostat bash script where this property is
          used. -->
     <jcommon.version>1.0.17</jcommon.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	Wed Jun 10 12:00:49 2015 -0400
+++ b/storage/cli/src/main/java/com/redhat/thermostat/storage/cli/internal/MongoProcessRunner.java	Wed Jun 10 13:30:06 2015 -0400
@@ -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);