From b94bd70f1595fad9546c3506393613f68504f495 Mon Sep 17 00:00:00 2001 From: Ofir Sonsino Date: Sun, 11 Feb 2018 19:21:35 +0200 Subject: org.onap migration Change-Id: I77143c1fee8cb918a04881dfa4c33bedb811e9c6 Issue-ID: VID-86 Signed-off-by: Ofir Sonsino --- .../src/main/java/org/onap/portalapp/conf/ExternalAppConfig.java | 2 +- .../main/java/org/onap/portalapp/conf/HibernateMappingLocations.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'epsdk-app-onap/src/main/java') diff --git a/epsdk-app-onap/src/main/java/org/onap/portalapp/conf/ExternalAppConfig.java b/epsdk-app-onap/src/main/java/org/onap/portalapp/conf/ExternalAppConfig.java index eb110931e..1583bc92d 100644 --- a/epsdk-app-onap/src/main/java/org/onap/portalapp/conf/ExternalAppConfig.java +++ b/epsdk-app-onap/src/main/java/org/onap/portalapp/conf/ExternalAppConfig.java @@ -64,7 +64,7 @@ import org.openecomp.portalsdk.core.logging.logic.EELFLoggerDelegate; */ @Configuration @EnableWebMvc -@ComponentScan(basePackages = "org.openecomp") +@ComponentScan(basePackages = {"org.openecomp", "org.onap"}) @PropertySource(value = { "${container.classpath:}/WEB-INF/conf/app/test.properties" }, ignoreResourceNotFound = true) @Profile("src") @EnableAsync diff --git a/epsdk-app-onap/src/main/java/org/onap/portalapp/conf/HibernateMappingLocations.java b/epsdk-app-onap/src/main/java/org/onap/portalapp/conf/HibernateMappingLocations.java index e0e09d6a9..3116346ee 100644 --- a/epsdk-app-onap/src/main/java/org/onap/portalapp/conf/HibernateMappingLocations.java +++ b/epsdk-app-onap/src/main/java/org/onap/portalapp/conf/HibernateMappingLocations.java @@ -51,7 +51,7 @@ public class HibernateMappingLocations implements HibernateMappingLocatable { */ @Override public String[] getPackagesToScan() { - return new String[] { "org.openecomp" }; + return new String[] { "org.openecomp", "org.onap" }; } } -- cgit 1.2.3-korg