aboutsummaryrefslogtreecommitdiffstats
path: root/common-app-api/src/main/java/org
diff options
context:
space:
mode:
authorvasraz <vasyl.razinkov@est.tech>2023-09-26 14:22:31 +0100
committerMichael Morris <michael.morris@est.tech>2023-10-26 21:20:29 +0000
commitc6d49ae4af0b13bd0f75a878ffa88487ef38afc2 (patch)
tree0a8d7f09cc61cd8cc60b7b01e7d6de1aa0d85722 /common-app-api/src/main/java/org
parent233b5829eb139648bd8c8dee64f0815f28c1501f (diff)
Implement truststore & keystore handling for cassandra
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ib8f21142f7f760f5a8787971dbd0bb7e023e22d1 Issue-ID: SDC-4637
Diffstat (limited to 'common-app-api/src/main/java/org')
-rw-r--r--common-app-api/src/main/java/org/openecomp/sdc/be/config/Configuration.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/common-app-api/src/main/java/org/openecomp/sdc/be/config/Configuration.java b/common-app-api/src/main/java/org/openecomp/sdc/be/config/Configuration.java
index 3222c267df..d33a80d8f7 100644
--- a/common-app-api/src/main/java/org/openecomp/sdc/be/config/Configuration.java
+++ b/common-app-api/src/main/java/org/openecomp/sdc/be/config/Configuration.java
@@ -221,12 +221,14 @@ public class Configuration extends BasicConfiguration {
private String username;
private String password;
private boolean ssl;
+ private String keystorePath;
+ private String keystorePassword;
private String truststorePath;
private String truststorePassword;
private int maxWaitSeconds = 120;
public Integer getCassandraPort() {
- return cassandraPort != null ? cassandraPort : Configuration.CassandrConfig.CASSANDRA_DEFAULT_PORT;
+ return cassandraPort != null ? cassandraPort : CASSANDRA_DEFAULT_PORT;
}
@Getter