summaryrefslogtreecommitdiffstats
path: root/epsdk-app-onap/src/main/java/org
diff options
context:
space:
mode:
authorOfir Sonsino <os0695@att.com>2018-02-11 19:21:35 +0200
committerOfir Sonsino <os0695@att.com>2018-02-11 19:21:35 +0200
commitb94bd70f1595fad9546c3506393613f68504f495 (patch)
tree6ccae1c4e98b241ecae4b8932e5f27f11a1a6c30 /epsdk-app-onap/src/main/java/org
parent4218526154d4ecda5b8ea2ca4e9e729672b2103a (diff)
org.onap migration
Change-Id: I77143c1fee8cb918a04881dfa4c33bedb811e9c6 Issue-ID: VID-86 Signed-off-by: Ofir Sonsino <os0695@att.com>
Diffstat (limited to 'epsdk-app-onap/src/main/java/org')
-rw-r--r--epsdk-app-onap/src/main/java/org/onap/portalapp/conf/ExternalAppConfig.java2
-rw-r--r--epsdk-app-onap/src/main/java/org/onap/portalapp/conf/HibernateMappingLocations.java2
2 files changed, 2 insertions, 2 deletions
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" };
}
}