Skip to content

Commit

Permalink
upgrade thrift to avoid security vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
smallnest committed Mar 27, 2019
1 parent ab8f136 commit 1e228ff
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion thrift/dependency-reduced-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@
</dependencies>
<properties>
<skip_maven_deploy>true</skip_maven_deploy>
<maven.compiler.target>1.8</maven.compiler.target>
<java.version>1.8</java.version>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
</project>

13 changes: 9 additions & 4 deletions thrift/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>com.colobu</groupId>
Expand All @@ -14,6 +13,12 @@
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>1.3.2</version>
</dependency>

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-math3</artifactId>
Expand All @@ -28,7 +33,7 @@
<dependency>
<groupId>org.apache.thrift</groupId>
<artifactId>libthrift</artifactId>
<version>0.11.0</version>
<version>[0.12.0,)</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down
2 changes: 1 addition & 1 deletion thrift/src/main/java/com/colobu/thrift/AppServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public static void main( String[] args )
if (args.length >0) {
delay = Long.parseLong(args[0]);
}
try {
try {
handler = new GreeterHandler(delay);
processor = new Greeter.Processor(handler);

Expand Down

0 comments on commit 1e228ff

Please sign in to comment.