aboutsummaryrefslogtreecommitdiffstats
path: root/common-app-api/src
diff options
context:
space:
mode:
Diffstat (limited to 'common-app-api/src')
-rw-r--r--common-app-api/src/main/java/org/openecomp/sdc/be/config/Configuration.java9
1 files changed, 9 insertions, 0 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 368a27ed8b..0bc0707822 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
@@ -739,6 +739,7 @@ public class Configuration extends BasicConfiguration {
boolean ssl;
String truststorePath;
String truststorePassword;
+ int maxWaitSeconds = 120;
public Integer getCassandraPort() { return cassandraPort != null ? cassandraPort : Configuration.CassandrConfig.CASSANDRA_DEFAULT_PORT; }
@@ -832,6 +833,14 @@ public class Configuration extends BasicConfiguration {
this.keySpaces = cassandraConfig;
}
+ public int getMaxWaitSeconds() {
+ return maxWaitSeconds;
+ }
+
+ public void setMaxWaitSeconds(int maxWaitSeconds) {
+ this.maxWaitSeconds = maxWaitSeconds;
+ }
+
public static class KeyspaceConfig {
String name;