BAEL-7136: Remove spring-testing dependency on the parent POM and fix the dependencies to fix the integration tests (#15940)

This commit is contained in:
Oscar Mauricio Forero Carrillo
2024-02-25 22:43:19 +01:00
committed by GitHub
parent cb3b854caa
commit 40952ba2cc
3 changed files with 96 additions and 19 deletions
@@ -5,7 +5,7 @@ import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import javax.servlet.ServletContext;
import jakarta.servlet.ServletContext;
@EnableWebMvc
@Configuration
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<include resource="org/springframework/boot/logging/logback/defaults.xml"/>
<include resource="org/springframework/boot/logging/logback/console-appender.xml"/>
<springProfile name="!dev">
<root level="INFO">
<!-- This is for the local environment -->
<appender-ref ref="CONSOLE"/>
</root>
</springProfile>
<springProfile name="dev">
<include resource="com/google/cloud/spring/logging/logback-json-appender.xml"/>
<root level="INFO">
<appender-ref ref="CONSOLE_JSON"/>
</root>
</springProfile>
</configuration>