aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ms/controllerblueprints/modules/service/src/main/java/org/onap/ccsdk/apps/controllerblueprints/service/ApplicationRegistrationService.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/ms/controllerblueprints/modules/service/src/main/java/org/onap/ccsdk/apps/controllerblueprints/service/ApplicationRegistrationService.java b/ms/controllerblueprints/modules/service/src/main/java/org/onap/ccsdk/apps/controllerblueprints/service/ApplicationRegistrationService.java
index d7f22e6d..4d2d93d0 100644
--- a/ms/controllerblueprints/modules/service/src/main/java/org/onap/ccsdk/apps/controllerblueprints/service/ApplicationRegistrationService.java
+++ b/ms/controllerblueprints/modules/service/src/main/java/org/onap/ccsdk/apps/controllerblueprints/service/ApplicationRegistrationService.java
@@ -35,10 +35,7 @@ public class ApplicationRegistrationService {
@Value("#{'${resourceSourceMappings}'.split(',')}")
private List<String> resourceSourceMappings;
- public ApplicationRegistrationService() {
- registerDictionarySources();
- }
-
+ @PostConstruct
public void registerDictionarySources() {
log.info("Registering Dictionary Sources : {}", resourceSourceMappings);
if (CollectionUtils.isNotEmpty(resourceSourceMappings)) {