summaryrefslogtreecommitdiffstats
path: root/catalog-dao/src/test
diff options
context:
space:
mode:
authorvasraz <vasyl.razinkov@est.tech>2020-04-28 16:57:56 +0100
committerOfir Sonsino <ofir.sonsino@intl.att.com>2020-05-05 08:14:51 +0000
commit8394fae8e6fca37ad8f3e10ade82d8d2507585d1 (patch)
tree72f1a120f9a09c2cc932c90155a9fda42999e310 /catalog-dao/src/test
parent5dbe45d88a8372343ed77504220b50b815b1b7f9 (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/src/test')
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/utils/CassandraTestHelper.java11
1 files changed, 5 insertions, 6 deletions
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);
}
}