aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--prh-app-server/src/main/java/org/onap/dcaegen2/services/bootstrap/CbsBootstrapConfiguration.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/prh-app-server/src/main/java/org/onap/dcaegen2/services/bootstrap/CbsBootstrapConfiguration.java b/prh-app-server/src/main/java/org/onap/dcaegen2/services/bootstrap/CbsBootstrapConfiguration.java
index df318550..f668a581 100644
--- a/prh-app-server/src/main/java/org/onap/dcaegen2/services/bootstrap/CbsBootstrapConfiguration.java
+++ b/prh-app-server/src/main/java/org/onap/dcaegen2/services/bootstrap/CbsBootstrapConfiguration.java
@@ -30,6 +30,7 @@ import org.springframework.context.annotation.Configuration;
@Configuration
@EnableConfigurationProperties(CbsProperties.class)
public class CbsBootstrapConfiguration {
+ private static final CbsConfiguration CBS_CONFIGURATION = new CbsConfiguration();
@Bean
public CbsProperties cbsProperties() {
@@ -52,6 +53,6 @@ public class CbsBootstrapConfiguration {
@Bean
public CbsConfiguration cbsConfiguration() {
- return new CbsConfiguration();
+ return CBS_CONFIGURATION;
}
}