fix:update dependencies.

pull/1224/head
Haotian Zhang 1 year ago
parent 18e9d5df4f
commit ee0f990bba

@ -5,7 +5,7 @@
<parent> <parent>
<groupId>org.springframework.cloud</groupId> <groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-build</artifactId> <artifactId>spring-cloud-build</artifactId>
<version>3.1.8</version> <version>3.1.9</version>
<relativePath/> <relativePath/>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -89,16 +89,16 @@
<properties> <properties>
<!-- Project revision --> <!-- Project revision -->
<revision>1.13.0-2021.0.8-SNAPSHOT</revision> <revision>1.13.0-2021.0.9-SNAPSHOT</revision>
<!-- Spring Framework --> <!-- Spring Framework -->
<spring.framework.version>5.3.25</spring.framework.version> <spring.framework.version>5.3.31</spring.framework.version>
<!-- Spring Boot --> <!-- Spring Boot -->
<spring.boot.version>2.6.15</spring.boot.version> <spring.boot.version>2.7.18</spring.boot.version>
<!-- Spring Cloud --> <!-- Spring Cloud -->
<spring.cloud.version>2021.0.8</spring.cloud.version> <spring.cloud.version>2021.0.9</spring.cloud.version>
<!-- Maven Plugin Versions --> <!-- Maven Plugin Versions -->
<jacoco.version>0.8.8</jacoco.version> <jacoco.version>0.8.8</jacoco.version>

@ -138,6 +138,11 @@ public class MockedConfigKVFile implements ConfigKVFile {
return false; return false;
} }
@Override
public String getMd5() {
return null;
}
@Override @Override
public void addChangeListener(ConfigFileChangeListener configFileChangeListener) { public void addChangeListener(ConfigFileChangeListener configFileChangeListener) {

@ -20,6 +20,7 @@ package com.tencent.cloud.polaris.config.condition;
import java.io.IOException; import java.io.IOException;
import java.net.ServerSocket; import java.net.ServerSocket;
import java.util.Objects;
import com.tencent.cloud.polaris.config.PolarisConfigAutoConfiguration; import com.tencent.cloud.polaris.config.PolarisConfigAutoConfiguration;
import com.tencent.cloud.polaris.config.PolarisConfigBootstrapAutoConfiguration; import com.tencent.cloud.polaris.config.PolarisConfigBootstrapAutoConfiguration;
@ -67,7 +68,9 @@ public class ConditionalOnReflectRefreshTypeTest {
@AfterAll @AfterAll
static void afterAll() throws IOException { static void afterAll() throws IOException {
serverSocket.close(); if (Objects.nonNull(serverSocket)) {
serverSocket.close();
}
} }
@Test @Test

@ -22,6 +22,7 @@ import java.io.IOException;
import java.lang.reflect.Method; import java.lang.reflect.Method;
import java.net.ServerSocket; import java.net.ServerSocket;
import java.util.Collection; import java.util.Collection;
import java.util.Objects;
import java.util.Optional; import java.util.Optional;
import com.tencent.cloud.polaris.config.PolarisConfigBootstrapAutoConfiguration; import com.tencent.cloud.polaris.config.PolarisConfigBootstrapAutoConfiguration;
@ -71,7 +72,9 @@ public class SpringValueProcessorTest {
@AfterAll @AfterAll
static void afterAll() throws IOException { static void afterAll() throws IOException {
serverSocket.close(); if (Objects.nonNull(serverSocket)) {
serverSocket.close();
}
} }
@Test @Test

@ -5,7 +5,7 @@
<parent> <parent>
<groupId>org.springframework.cloud</groupId> <groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies-parent</artifactId> <artifactId>spring-cloud-dependencies-parent</artifactId>
<version>3.1.8</version> <version>3.1.9</version>
<relativePath/> <relativePath/>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -70,7 +70,7 @@
</developers> </developers>
<properties> <properties>
<revision>1.13.0-2021.0.8-SNAPSHOT</revision> <revision>1.13.0-2021.0.9-SNAPSHOT</revision>
<!-- Dependencies --> <!-- Dependencies -->
<polaris.version>1.15.0-SNAPSHOT</polaris.version> <polaris.version>1.15.0-SNAPSHOT</polaris.version>

@ -14,7 +14,7 @@ spring:
contract: contract:
exposure: true exposure: true
report: report:
enabled: false enabled: true
stat: stat:
enabled: true enabled: true
port: 28083 port: 28083

@ -14,7 +14,7 @@ spring:
contract: contract:
exposure: true exposure: true
report: report:
enabled: false enabled: true
stat: stat:
enabled: true enabled: true
port: 28084 port: 28084

@ -17,7 +17,7 @@ spring:
contract: contract:
exposure: true exposure: true
report: report:
enabled: false enabled: true
circuitbreaker: circuitbreaker:
enabled: true enabled: true
stat: stat:

@ -21,7 +21,7 @@ spring:
contract: contract:
exposure: true exposure: true
report: report:
enabled: false enabled: true
stat: stat:
enabled: true enabled: true
port: 28081 port: 28081

Loading…
Cancel
Save