RED-5694 - Upgrade spring-boot to 3.0
- upgrade the platform-dependency and platform-common-dependency from upgrade to spring boot 3.0.4 - add @AutoConfigureObservability to solve the prometheus problem
This commit is contained in:
parent
be7bf3035c
commit
2d1ff45128
@ -7,7 +7,7 @@
|
||||
<parent>
|
||||
<groupId>com.iqser.red</groupId>
|
||||
<artifactId>platform-dependency</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<version>2.2.0</version>
|
||||
<relativePath/>
|
||||
</parent>
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
<dependency>
|
||||
<groupId>com.iqser.red</groupId>
|
||||
<artifactId>platform-commons-dependency</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<version>2.1.0</version>
|
||||
<scope>import</scope>
|
||||
<type>pom</type>
|
||||
</dependency>
|
||||
|
||||
@ -20,6 +20,7 @@ import org.springframework.amqp.rabbit.core.RabbitTemplate;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
||||
import org.springframework.boot.autoconfigure.amqp.RabbitAutoConfiguration;
|
||||
import org.springframework.boot.test.autoconfigure.actuate.observability.AutoConfigureObservability;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.boot.test.mock.mockito.MockBean;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
@ -69,6 +70,7 @@ import lombok.extern.slf4j.Slf4j;
|
||||
@ExtendWith(SpringExtension.class)
|
||||
@Import(RedactionReportV2IntegrationTest.TestConfiguration.class)
|
||||
@SpringBootTest(classes = Application.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
|
||||
@AutoConfigureObservability
|
||||
public class RedactionReportV2IntegrationTest {
|
||||
|
||||
@MockBean
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user