Jelajahi Sumber

Bump postgrejdbc and Servlet library versions, update README.md files (#3171)

Radoslav Petrov 7 tahun lalu
induk
melakukan
e32f117bdd

+ 1 - 1
frameworks/Java/dropwizard/README.md

@@ -53,7 +53,7 @@ The tests were run with:
  * [Postgres 9.3](http://www.postgresql.org/)
  * [MySQL 5.7](http://www.mysql.com/)
  * [MongoDB 3.2](http://www.mongodb.com/)
- * [Dropwizard 1.1.1](http://dropwizard.io/)
+ * [Dropwizard 1.2.2](http://dropwizard.io/)
  * [MongoJack 2.7.0](http://mongojack.org/)
 
 Please confirm the versions data with the latest install scripts of TFB project.

+ 3 - 3
frameworks/Java/gemini/README.md

@@ -14,8 +14,8 @@ This is the Gemini portion of a [benchmarking test suite](../) comparing a varie
 
 ## Infrastructure Software Versions
 The tests were run with:
-* [Java OpenJDK 1.7.0_09](http://openjdk.java.net/)
-* [Resin 4.0.34](http://www.caucho.com/)
+* [Oracle Java 1.8](https://www.oracle.com/java/)
+* [Resin 4.0.55](http://www.caucho.com/)
 * [MySQL 5.5.29](https://dev.mysql.com/)
 
 ## Test URLs
@@ -29,4 +29,4 @@ http://localhost:8080/db
 
 ### Variable Query Test
 
-http://localhost:8080/db?queries=2
+http://localhost:8080/db?queries=2

+ 1 - 1
frameworks/Java/gemini/ivy.xml

@@ -10,7 +10,7 @@
         <dependency org="net.sf.trove4j" name="trove4j" rev="3.0.3" />
         <dependency org="com.github.spullara.mustache.java" name="compiler" rev="0.8.17" />
         <dependency org="org.mindrot" name="jbcrypt" rev="0.3m" />
-        <dependency org="postgresql" name="postgresql" rev="9.4.1208-jdbc42-atlassian-hosted" />
+        <dependency org="org.postgresql" name="postgresql" rev="42.1.4" />
         <dependency org="mysql" name="mysql-connector-java" rev="5.1.34" />
         <dependency org="com.mortennobel" name="java-image-scaling" rev="0.8.5" />
         <dependency org="org.im4java" name="im4java" rev="1.4.0" />

+ 1 - 1
frameworks/Java/jooby/pom.xml

@@ -18,7 +18,7 @@
 
   <properties>
     <jooby.version>1.2.1</jooby.version>
-    <postgresql.version>42.1.1</postgresql.version>
+    <postgresql.version>42.1.4</postgresql.version>
     <rocker.touchFile>/dev/null</rocker.touchFile>
 
     <!-- Startup class -->

+ 5 - 5
frameworks/Java/light-java/dependency-reduced-pom.xml

@@ -31,7 +31,7 @@
                   <pluginExecutionFilter>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-compiler-plugin</artifactId>
-                    <versionRange>[3.3,)</versionRange>
+                    <versionRange>[3.7.0,)</versionRange>
                     <goals>
                       <goal>compile</goal>
                       <goal>testCompile</goal>
@@ -90,17 +90,17 @@
       </plugin>
       <plugin>
         <artifactId>maven-compiler-plugin</artifactId>
-        <version>3.3</version>
+        <version>3.7.0</version>
         <dependencies>
           <dependency>
             <groupId>org.codehaus.plexus</groupId>
             <artifactId>plexus-compiler-javac-errorprone</artifactId>
-            <version>2.8</version>
+            <version>2.8.2</version>
           </dependency>
           <dependency>
             <groupId>com.google.errorprone</groupId>
             <artifactId>error_prone_core</artifactId>
-            <version>2.0.15</version>
+            <version>2.1.3</version>
           </dependency>
         </dependencies>
         <configuration>
@@ -156,7 +156,7 @@
     <version.commons.io>2.5</version.commons.io>
     <version.logback>1.1.9</version.logback>
     <version.junit>4.12</version.junit>
-    <version.postgres>42.1.1</version.postgres>
+    <version.postgres>42.1.4</version.postgres>
     <version.antlr4>4.5.3</version.antlr4>
     <version.mysql>5.1.41</version.mysql>
     <version.light-java-rest>1.2.5</version.light-java-rest>

+ 1 - 1
frameworks/Java/light-java/pom.xml

@@ -38,7 +38,7 @@
         <version.swagger>1.5.10</version.swagger>
         <version.hikaricp>2.6.1</version.hikaricp>
         <version.mysql>5.1.41</version.mysql>
-        <version.postgres>42.1.1</version.postgres>
+        <version.postgres>42.1.4</version.postgres>
     </properties>
 
     <dependencies>

+ 3 - 3
frameworks/Java/play1/conf/application.conf

@@ -115,14 +115,14 @@ db.pool.minSize=10
 # generic "destroy" method :
 # db.destroyMethod=close
 db.driver= com.mysql.jdbc.Driver
-db.url=jdbc:mysql://localhost:3306/hello_world?jdbcCompliantTruncation=false&elideSetAutoCommits=true&useLocalSessionState=true&cachePrepStmts=true&cacheCallableStmts=true&alwaysSendSetIsolation=false&prepStmtCacheSize=4096&cacheServerConfiguration=true&prepStmtCacheSqlLimit=2048&zeroDateTimeBehavior=convertToNull&traceProtocol=false&useUnbufferedInput=false&useReadAheadInput=false&maintainTimeStats=false&useServerPrepStmts&cacheRSMetadata=true&useSSL=false
-#db.url=jdbc:mysql://localhost:3306/hello_world
+db.url=jdbc:mysql://127.0.0.1:3306/hello_world?jdbcCompliantTruncation=false&elideSetAutoCommits=true&useLocalSessionState=true&cachePrepStmts=true&cacheCallableStmts=true&alwaysSendSetIsolation=false&prepStmtCacheSize=4096&cacheServerConfiguration=true&prepStmtCacheSqlLimit=2048&zeroDateTimeBehavior=convertToNull&traceProtocol=false&useUnbufferedInput=false&useReadAheadInput=false&maintainTimeStats=false&useServerPrepStmts&cacheRSMetadata=true&useSSL=false
+#db.url=jdbc:mysql://127.0.0.1:3306/hello_world
 db.user=benchmarkdbuser
 db.pass=benchmarkdbpass
 #db.jndiName=DefaultDS
 
 #db.default.driver= com.mysql.jdbc.Driver
-#db.default.url=jdbc:mysql://localhost:3306/hello_world?jdbcCompliantTruncation=false&elideSetAutoCommits=true&useLocalSessionState=true&cachePrepStmts=true&cacheCallableStmts=true&alwaysSendSetIsolation=false&prepStmtCacheSize=4096&cacheServerConfiguration=true&prepStmtCacheSqlLimit=2048&zeroDateTimeBehavior=convertToNull&traceProtocol=false&useUnbufferedInput=false&useReadAheadInput=false&maintainTimeStats=false&useServerPrepStmts&cacheRSMetadata=true
+#db.default.url=jdbc:mysql://127.0.0.1:3306/hello_world?jdbcCompliantTruncation=false&elideSetAutoCommits=true&useLocalSessionState=true&cachePrepStmts=true&cacheCallableStmts=true&alwaysSendSetIsolation=false&prepStmtCacheSize=4096&cacheServerConfiguration=true&prepStmtCacheSqlLimit=2048&zeroDateTimeBehavior=convertToNull&traceProtocol=false&useUnbufferedInput=false&useReadAheadInput=false&maintainTimeStats=false&useServerPrepStmts&cacheRSMetadata=true
 #db.default.user=benchmarkdbuser
 #db.default.pass=benchmarkdbpass
 #db.default.jndiName=DefaultDS

+ 1 - 1
frameworks/Java/proteus/pom.xml

@@ -248,7 +248,7 @@
 	  	<dependency>
 			<groupId>org.postgresql</groupId>
 			<artifactId>postgresql</artifactId>
-			<version>9.4.1212</version>
+			<version>42.1.4</version>
 		</dependency>  
 	</dependencies>
 	<properties>

+ 1 - 1
frameworks/Java/rapidoid/pom.xml

@@ -26,7 +26,7 @@
 		<dependency>
 			<groupId>org.postgresql</groupId>
 			<artifactId>postgresql</artifactId>
-			<version>9.4.1211</version>
+			<version>42.1.4</version>
 		</dependency>
 		<dependency>
 			<groupId>com.zaxxer</groupId>

+ 4 - 4
frameworks/Java/servlet/README.md

@@ -26,11 +26,11 @@ DB, Queries and Fortune use the same implementation as MySQL.
 The tests were run with:
 
 * [Java Oracle JDK 1.8.0](http://openjdk.java.net/)
-* [Resin 4.0.53](http://www.caucho.com/)
-* [Jackson 2.8.9](http://wiki.fasterxml.com/JacksonHome)
+* [Resin 4.0.55](http://www.caucho.com/)
+* [Jackson 2.9.3](http://wiki.fasterxml.com/JacksonHome)
 * [MySQL 5.7](https://dev.mysql.com/)
 * [Postgres 9.3](http://www.postgresql.org/)
-* [cache2k 1.0.0.CR4](https://cache2k.org/)
+* [cache2k 1.0.2Final](https://cache2k.org/)
 
 Please confirm the versions data with the latest install scripts of TFB project.
 
@@ -50,4 +50,4 @@ Please confirm the versions data with the latest install scripts of TFB project.
 
 ### `postgresql` Maven profile
  
- * Cache - `http://localhost:8080/servlet/cached-worlds`
+ * Cache - `http://localhost:8080/servlet/cached-worlds`

+ 3 - 3
frameworks/Java/servlet/pom.xml

@@ -11,7 +11,7 @@
 	<properties>
 		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 		<java-version>1.8</java-version>
-		<cache2k-version>1.0.0.CR4</cache2k-version>
+		<cache2k-version>1.0.2.Final</cache2k-version>
 		<!-- This is the default web.xml for plaintext and json only -->
 		<maven.war.xml>src/main/webapp/WEB-INF/web.xml</maven.war.xml>
 	</properties>
@@ -20,7 +20,7 @@
 		<dependency>
 			<groupId>com.fasterxml.jackson.core</groupId>
 			<artifactId>jackson-databind</artifactId>
-			<version>2.8.9</version>
+			<version>2.9.3</version>
 		</dependency>
 
 		<dependency>
@@ -104,7 +104,7 @@
 				<dependency>
 					<groupId>org.postgresql</groupId>
 					<artifactId>postgresql</artifactId>
-					<version>42.1.1</version>
+					<version>42.1.4</version>
 				</dependency>
 			</dependencies>
 			<build>

+ 1 - 1
frameworks/Java/vertx-web/pom.xml

@@ -54,7 +54,7 @@
     <dependency>
       <groupId>org.postgresql</groupId>
       <artifactId>postgresql</artifactId>
-      <version>42.1.1</version>
+      <version>42.1.4</version>
     </dependency>
 
     <dependency>

+ 2 - 2
frameworks/Java/vertx-web/src/main/conf/config.json

@@ -1,8 +1,8 @@
 {
-  "connection_string": "mongodb://localhost:27017",
+  "connection_string": "mongodb://127.0.0.1:27017",
   "db_name": "hello_world",
 
-  "host": "localhost",
+  "host": "127.0.0.1",
   "username": "benchmarkdbuser",
   "password": "benchmarkdbpass",
   "database": "hello_world",

+ 1 - 1
frameworks/Kotlin/hexagon/gradle.properties

@@ -9,4 +9,4 @@ kotlinVersion=1.2.0
 logbackVersion=1.2.3
 mongodbVersion=3.5.0
 postgresqlVersion=42.1.4
-testngVersion=6.13.1
+testngVersion=6.13.1

+ 1 - 1
frameworks/Scala/http4s/README.md

@@ -7,7 +7,7 @@
 ## Infrastructure Software Versions
 The tests were run with:
 
-* [Java Oracle 1.8.0_121](http://www.oracle.com/technetwork/java/javase)
+* [Java Oracle 1.8](http://www.oracle.com/technetwork/java/javase)
 * [http4s 0.15.9a](http://http4s.org/)
 * [blaze 0.12.4](https://github.com/http4s/blaze/)
 

+ 1 - 1
frameworks/Scala/http4s/build.sbt

@@ -25,7 +25,7 @@ libraryDependencies ++= Seq(
 	"org.tpolecat" %% "doobie-core" % doobieVersion,
 	"org.tpolecat" %% "doobie-hikari" % doobieVersion,
 	"com.zaxxer" %  "HikariCP" % "2.6.1",
-	"org.postgresql" % "postgresql" % "9.4.1212",
+	"org.postgresql" % "postgresql" % "42.1.4",
 	"ch.qos.logback" % "logback-classic" % "1.2.2"
 )