From f6df60ad420d9877ecd6f0338549848ab1a0e001 Mon Sep 17 00:00:00 2001 From: Mukesh Paliwal Date: Wed, 29 Sep 2021 17:53:29 +0530 Subject: Add logback-spring.xml and remove override.yaml from code Issue-ID: SO-3765 Signed-off-by: Mukesh Paliwal Change-Id: I001d0bea3341383d4da01d34b9ab31d7907f8b54 --- .../org/onap/so/bpmn/infrastructure/MSOInfrastructureApplication.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'bpmn/mso-infrastructure-bpmn/src/main/java') diff --git a/bpmn/mso-infrastructure-bpmn/src/main/java/org/onap/so/bpmn/infrastructure/MSOInfrastructureApplication.java b/bpmn/mso-infrastructure-bpmn/src/main/java/org/onap/so/bpmn/infrastructure/MSOInfrastructureApplication.java index b39b13e609..6900f3099d 100644 --- a/bpmn/mso-infrastructure-bpmn/src/main/java/org/onap/so/bpmn/infrastructure/MSOInfrastructureApplication.java +++ b/bpmn/mso-infrastructure-bpmn/src/main/java/org/onap/so/bpmn/infrastructure/MSOInfrastructureApplication.java @@ -70,14 +70,12 @@ import static org.springframework.boot.context.config.ConfigFileApplicationListe @EnableAutoConfiguration(exclude= FreeMarkerAutoConfiguration.class) public class MSOInfrastructureApplication extends SpringBootServletInitializer { - private static final String ADDITIONAL_CONFIG = "file:/camunda/app/config/override.yaml"; private static final Logger logger = LoggerFactory.getLogger(MSOInfrastructureApplication.class); @Override protected SpringApplicationBuilder configure(SpringApplicationBuilder application) { return application - .sources(MSOInfrastructureApplication.class) - .properties(singletonMap(CONFIG_ADDITIONAL_LOCATION_PROPERTY, ADDITIONAL_CONFIG)); + .sources(MSOInfrastructureApplication.class); } @Autowired private ProcessEngine processEngine; -- cgit 1.2.3-korg