aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-dao
diff options
context:
space:
mode:
authorChrisC <christophe.closset@intl.att.com>2020-07-23 17:25:46 +0200
committerSébastien Determe <sebastien.determe@intl.att.com>2020-08-19 09:41:09 +0000
commitdcf44263ce3e63be721ee996c8b3de3c84b893e6 (patch)
treee284d26398c9372b2519b428545a39cf2aeb0d5e /catalog-dao
parent45d2007325a88df08102cf842c8a518fe0dd4f70 (diff)
Update Release Noteelalto
Update Release note for El-Alto Maintenance release Issue-ID: SDC-3199 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: Iefa7e70adac2a4bcb3f8f9399bf60826869b8469 Signed-off-by: ChrisC <christophe.closset@intl.att.com>
Diffstat (limited to 'catalog-dao')
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/SdcSchemaUtilsTest.java23
1 files changed, 0 insertions, 23 deletions
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/SdcSchemaUtilsTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/SdcSchemaUtilsTest.java
index 39a19641f0..126881381a 100644
--- a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/SdcSchemaUtilsTest.java
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/SdcSchemaUtilsTest.java
@@ -156,27 +156,4 @@ public class SdcSchemaUtilsTest {
Assert.assertNull(cluster);
}
}
-
- @Test
- public void testCreateClusterWithAuthSsl() {
- Configuration.CassandrConfig cfg = new Configuration.CassandrConfig();
- cfg.setAuthenticate(true);
- cfg.setCassandraHosts(CASSANDRA_HOSTS);
- cfg.setCassandraPort(CASSANDRA_PORT);
- cfg.setUsername(CASSANDRA_USERNAME);
- cfg.setPassword(CASSANDRA_PASSWORD);
- cfg.setSsl(true);
- cfg.setTruststorePath(TRUSTSTORE_PATH);
- cfg.setTruststorePassword(TRUSTSTORE_PASSWORD);
-
- SdcSchemaUtils sdcSchemaUtils = Mockito.mock(SdcSchemaUtils.class);
- when(sdcSchemaUtils.getCassandraConfig()).thenReturn(cfg);
- when(sdcSchemaUtils.createCluster()).thenCallRealMethod();
-
- try(Cluster cluster = sdcSchemaUtils.createCluster()) {
- Assert.assertNotNull(cluster);
- Assert.assertEquals(System.getProperty("javax.net.ssl.trustStore"), TRUSTSTORE_PATH);
- Assert.assertEquals(System.getProperty("javax.net.ssl.trustStorePassword"), TRUSTSTORE_PASSWORD);
- }
- }
} \ No newline at end of file