Upgrade libthrift

Upgrade libthrift to the newest version.

Change-Id: I371acaec6d2e3f79f997c86a0b6051d3612f88db
Issue-ID: SDC-2264
Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
diff --git a/asdctool/pom.xml b/asdctool/pom.xml
index 762d749..bfc1f00 100644
--- a/asdctool/pom.xml
+++ b/asdctool/pom.xml
@@ -237,6 +237,10 @@
 					<artifactId>groovy</artifactId>
 					<groupId>org.codehaus.groovy</groupId>
 				</exclusion>
+				<exclusion>
+					<groupId>org.apache.thrift</groupId>
+					<artifactId>libthrift</artifactId>
+				</exclusion>
 			</exclusions>
 		</dependency>
 
@@ -396,6 +400,11 @@
 			<version>${cassandra.driver.version}</version>
 			<scope>compile</scope>
 		</dependency>
+		<dependency>
+			<groupId>org.apache.thrift</groupId>
+			<artifactId>libthrift</artifactId>
+			<version>${libthrift.version}</version>
+		</dependency>
 
 		<!-- CASSANDRA END -->
 
diff --git a/catalog-be/pom.xml b/catalog-be/pom.xml
index a68174c..fbab1e3 100644
--- a/catalog-be/pom.xml
+++ b/catalog-be/pom.xml
@@ -319,6 +319,10 @@
                     <artifactId>commons-collections</artifactId>
                     <groupId>commons-collections</groupId>
                 </exclusion>
+                <exclusion>
+                    <groupId>org.apache.thrift</groupId>
+                    <artifactId>libthrift</artifactId>
+                </exclusion>
             </exclusions>
         </dependency>
 
@@ -419,6 +423,11 @@
             <version>${cassandra.driver.version}</version>
             <scope>compile</scope>
         </dependency>
+        <dependency>
+            <groupId>org.apache.thrift</groupId>
+            <artifactId>libthrift</artifactId>
+            <version>${libthrift.version}</version>
+        </dependency>
         <!-- CASSANDRA END -->
 
         <!-- Inserted for ECOMP Portal Integration -->
diff --git a/catalog-dao/pom.xml b/catalog-dao/pom.xml
index 3e04560..360a23a 100644
--- a/catalog-dao/pom.xml
+++ b/catalog-dao/pom.xml
@@ -304,6 +304,10 @@
 					<groupId>org.apache.cassandra</groupId>
 					<artifactId>cassandra-all</artifactId>
 				</exclusion>
+				<exclusion>
+					<groupId>org.apache.thrift</groupId>
+					<artifactId>libthrift</artifactId>
+				</exclusion>
 			</exclusions>
 		</dependency>
 		<dependency>
@@ -312,6 +316,11 @@
 			<version>3.11.3</version>
 			<scope>test</scope>
 		</dependency>
+		<dependency>
+			<groupId>org.apache.thrift</groupId>
+			<artifactId>libthrift</artifactId>
+			<version>${libthrift.version}</version>
+		</dependency>
 		<!-- CASSANDRA END -->
 
 		<dependency>
diff --git a/catalog-model/pom.xml b/catalog-model/pom.xml
index a28a040..579d231 100644
--- a/catalog-model/pom.xml
+++ b/catalog-model/pom.xml
@@ -127,6 +127,10 @@
 					<artifactId>groovy</artifactId>
 					<groupId>org.codehaus.groovy</groupId>
 				</exclusion>
+				<exclusion>
+					<groupId>org.apache.thrift</groupId>
+					<artifactId>libthrift</artifactId>
+				</exclusion>
 			</exclusions>
 		</dependency>
 
@@ -178,6 +182,11 @@
 			<version>${cassandra.driver.version}</version>
 			<scope>provided</scope>
 		</dependency>
+		<dependency>
+			<groupId>org.apache.thrift</groupId>
+			<artifactId>libthrift</artifactId>
+			<version>${libthrift.version}</version>
+		</dependency>
 		<!-- CASSANDRA END -->
 
 		<dependency>
diff --git a/pom.xml b/pom.xml
index 462aa6c..b3b6ced 100644
--- a/pom.xml
+++ b/pom.xml
@@ -125,6 +125,7 @@
 
         <!--cassandra -->
         <cassandra.driver.version>3.0.0</cassandra.driver.version>
+        <libthrift.version>0.12.0</libthrift.version>
         <!-- maven central (Nexus) -->
         <nexus.id.release>nexus</nexus.id.release>
         <nexus.id.snapshot>nexus</nexus.id.snapshot>
diff --git a/test-apis-ci/pom.xml b/test-apis-ci/pom.xml
index 2bbf089..ccfd79f 100644
--- a/test-apis-ci/pom.xml
+++ b/test-apis-ci/pom.xml
@@ -243,6 +243,10 @@
                     <artifactId>groovy</artifactId>
                     <groupId>org.codehaus.groovy</groupId>
                 </exclusion>
+                <exclusion>
+                    <groupId>org.apache.thrift</groupId>
+                    <artifactId>libthrift</artifactId>
+                </exclusion>
             </exclusions>
         </dependency>
 
@@ -380,6 +384,11 @@
             <version>${cassandra.driver.version}</version>
             <scope>compile</scope>
         </dependency>
+        <dependency>
+            <groupId>org.apache.thrift</groupId>
+            <artifactId>libthrift</artifactId>
+            <version>${libthrift.version}</version>
+        </dependency>
         <!-- CASSANDRA END -->
 
         <dependency>