summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap/dcae/ApplicationSettings.java
diff options
context:
space:
mode:
authorMukesh Paliwal <mukesh.paliwal1@huawei.com>2022-01-19 17:43:21 +0530
committerMukesh Paliwal <mukesh.paliwal1@huawei.com>2022-02-25 08:59:10 +0530
commita72ce419bce29ba8cf421eb74afad730d7cf374b (patch)
tree8ea71656ed6a6dfb7d1e5d01243c7b9ddb036bb4 /src/main/java/org/onap/dcae/ApplicationSettings.java
parentbc40a9d58fe7ede6a41863b60466c776b388bbb3 (diff)
RESTConf - Switch CBS client library to 1.8.7 or higher
Issue-ID: DCAEGEN2-2857 Signed-off-by: Mukesh Paliwal <mukesh.paliwal1@huawei.com> Change-Id: I3242a29e2e09fae65dd1738b6883970ce436bf2a
Diffstat (limited to 'src/main/java/org/onap/dcae/ApplicationSettings.java')
-rw-r--r--src/main/java/org/onap/dcae/ApplicationSettings.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/java/org/onap/dcae/ApplicationSettings.java b/src/main/java/org/onap/dcae/ApplicationSettings.java
index 9caf2f6..0dcec98 100644
--- a/src/main/java/org/onap/dcae/ApplicationSettings.java
+++ b/src/main/java/org/onap/dcae/ApplicationSettings.java
@@ -4,7 +4,7 @@
* ================================================================================
* Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* Copyright (C) 2018 Nokia. All rights reserved.
- * Copyright (C) 2018-2019 Huawei. All rights reserved.
+ * Copyright (C) 2018-2022 Huawei. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -44,7 +44,7 @@ import java.util.Iterator;
public class ApplicationSettings {
private static final Logger log = LoggerFactory.getLogger(ApplicationSettings.class);
-
+ public static String responseCompatibility;
private final String appInvocationDir;
private final String configurationFileLocation;
private final PropertiesConfiguration properties = new PropertiesConfiguration();
@@ -175,6 +175,9 @@ public class ApplicationSettings {
return prependWithUserDirOnRelative(properties.getString("collector.eventinfo", "etc/ont_config.json"));
}
+ public int configurationUpdateFrequency() {
+ return properties.getInt("collector.dynamic.config.update.frequency", 5);
+ }
public String dMaaPStreamsMapping() {
return properties.getString("collector.rcc.dmaap.streamid", null);