summaryrefslogtreecommitdiffstats
path: root/cps-ri/src
diff options
context:
space:
mode:
authorRenu Kumari <renu.kumari@bell.ca>2021-05-26 08:47:52 -0400
committerRenu Kumari <renu.kumari@bell.ca>2021-05-28 10:03:15 -0400
commit9de3b68373dd8554e64f34bb3093403521f8759f (patch)
tree4300cf19312da7d4cf30b43c73d3ff990bf62517 /cps-ri/src
parenteef2e112d1f447b47f2f19d24e9dfd9a76550333 (diff)
Load only required components in the application contexts
Issue-ID: CPS-434 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: Iacc12946495b9e6ec42b4b7d4e3b5b010fecceb5
Diffstat (limited to 'cps-ri/src')
-rw-r--r--cps-ri/src/test/java/org/onap/cps/TestApplication.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/cps-ri/src/test/java/org/onap/cps/TestApplication.java b/cps-ri/src/test/java/org/onap/cps/TestApplication.java
index 5e0e3679ee..0d1df456ee 100644
--- a/cps-ri/src/test/java/org/onap/cps/TestApplication.java
+++ b/cps-ri/src/test/java/org/onap/cps/TestApplication.java
@@ -1,6 +1,7 @@
/*
* ============LICENSE_START=======================================================
* Copyright (C) 2020 Pantheon.tech
+ * Modifications Copyright (C) 2021 Bell Canada.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -25,6 +26,6 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
* The @SpringBootApplication annotated class is required in order to run tests
* marked with @SpringBootTest annotation.
*/
-@SpringBootApplication
+@SpringBootApplication(scanBasePackages = "org.onap.cps.spi")
public class TestApplication {
}