From 9de3b68373dd8554e64f34bb3093403521f8759f Mon Sep 17 00:00:00 2001 From: Renu Kumari Date: Wed, 26 May 2021 08:47:52 -0400 Subject: Load only required components in the application contexts Issue-ID: CPS-434 Signed-off-by: Renu Kumari Change-Id: Iacc12946495b9e6ec42b4b7d4e3b5b010fecceb5 --- cps-ri/src/test/java/org/onap/cps/TestApplication.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cps-ri/src/test/java') 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 { } -- cgit 1.2.3-korg