diff options
author | vasraz <vasyl.razinkov@est.tech> | 2020-04-28 16:57:56 +0100 |
---|---|---|
committer | Ofir Sonsino <ofir.sonsino@intl.att.com> | 2020-05-05 08:14:51 +0000 |
commit | 8394fae8e6fca37ad8f3e10ade82d8d2507585d1 (patch) | |
tree | 72f1a120f9a09c2cc932c90155a9fda42999e310 /catalog-dao | |
parent | 5dbe45d88a8372343ed77504220b50b815b1b7f9 (diff) |
Remove all thrift's dependencies
Remove unused/duplicated dependencies
Change-Id: Ic2239acc5ddde1d0874b5139c228934ec1e61cd0
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-2985
Diffstat (limited to 'catalog-dao')
-rw-r--r-- | catalog-dao/pom.xml | 10 | ||||
-rw-r--r-- | catalog-dao/src/test/java/org/openecomp/sdc/be/utils/CassandraTestHelper.java | 11 |
2 files changed, 10 insertions, 11 deletions
diff --git a/catalog-dao/pom.xml b/catalog-dao/pom.xml index f89e5f7efc..7f37fdfe8b 100644 --- a/catalog-dao/pom.xml +++ b/catalog-dao/pom.xml @@ -309,6 +309,11 @@ Modifications copyright (c) 2018 Nokia <scope>provided</scope> </dependency> <dependency> + <groupId>com.datastax.oss</groupId> + <artifactId>java-driver-core</artifactId> + <version>${java.driver.core.version}</version> + </dependency> + <dependency> <groupId>org.cassandraunit</groupId> <artifactId>cassandra-unit</artifactId> <version>${cassandra.unit.version}</version> @@ -330,11 +335,6 @@ Modifications copyright (c) 2018 Nokia <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-dao/src/test/java/org/openecomp/sdc/be/utils/CassandraTestHelper.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/utils/CassandraTestHelper.java index d97f7d3fa4..eec9b20fbd 100644 --- a/catalog-dao/src/test/java/org/openecomp/sdc/be/utils/CassandraTestHelper.java +++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/utils/CassandraTestHelper.java @@ -22,23 +22,22 @@ package org.openecomp.sdc.be.utils; import com.datastax.driver.core.Cluster; +import java.io.IOException; import org.apache.cassandra.exceptions.ConfigurationException; -import org.apache.thrift.transport.TTransportException; import org.cassandraunit.utils.EmbeddedCassandraServerHelper; -import java.io.IOException; - public class CassandraTestHelper { + public static final String SERVER = "localhost"; - public static final int BINARY_PORT = 9142; + private static final int BINARY_PORT = 9142; - public CassandraTestHelper() { + private CassandraTestHelper() { } public static void startServer() { try { EmbeddedCassandraServerHelper.startEmbeddedCassandra(80000); - } catch(TTransportException | ConfigurationException | IOException ex) { + } catch (ConfigurationException | IOException ex) { throw new RuntimeException(ex); } } |