Merge pull request #140 from SkyeBeFreeman/main

release:release 1.4.0-Hoxton.SR9.
pull/142/head 1.4.0-Hoxton.SR9
Haotian Zhang 3 years ago committed by GitHub
commit 9a2e5b5d04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,3 +5,4 @@
- [Feature: Optimize config server address](https://github.com/Tencent/spring-cloud-tencent/pull/130)
- [Feature: Remove spring-javaformat-maven-plugin](https://github.com/Tencent/spring-cloud-tencent/pull/131)
- [feat:refactor loadbalancer module as a basic module for router and circuit breaker.](https://github.com/Tencent/spring-cloud-tencent/pull/136)
- [feat:enable distribute rate limit](https://github.com/Tencent/spring-cloud-tencent/pull/139)

@ -86,7 +86,7 @@
<properties>
<!-- Project revision -->
<revision>1.4.0-Hoxton.SR9-SNAPSHOT</revision>
<revision>1.4.0-Hoxton.SR9</revision>
<!-- Spring Cloud -->
<spring.cloud.version>Hoxton.SR9</spring.cloud.version>

@ -29,7 +29,7 @@ import org.springframework.boot.test.context.runner.ApplicationContextRunner;
import org.springframework.cloud.gateway.filter.GlobalFilter;
/**
* Test for {@link MetadataTransferAutoConfiguration}
* Test for {@link MetadataTransferAutoConfiguration}.
*
* @author Haotian Zhang
*/

@ -46,7 +46,7 @@ import org.springframework.web.bind.annotation.RestController;
import static org.springframework.boot.test.context.SpringBootTest.WebEnvironment.DEFINED_PORT;
/**
* Test for {@link EncodeTransferMedataFeignInterceptor}
* Test for {@link EncodeTransferMedataFeignInterceptor}.
*
* @author Haotian Zhang
*/

@ -47,7 +47,7 @@ import org.springframework.web.client.RestTemplate;
import static org.springframework.boot.test.context.SpringBootTest.WebEnvironment.RANDOM_PORT;
/**
* Test for {@link EncodeTransferMedataRestTemplateInterceptor}
* Test for {@link EncodeTransferMedataRestTemplateInterceptor}.
*
* @author Haotian Zhang
*/

@ -43,6 +43,8 @@ public class TestPolarisFeignApp {
/**
* Get info of service B.
*
* @return info
*/
@GetMapping("/example/service/b/info")
String info();

@ -26,7 +26,7 @@ import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.Assert.fail;
/**
* Test for {@link PolarisDiscoveryProperties}
* Test for {@link PolarisDiscoveryProperties}.
*
* @author Haotian Zhang
*/

@ -38,7 +38,7 @@ import static com.tencent.polaris.test.common.Consts.SERVICE_PROVIDER;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Test for {@link PolarisDiscoveryAutoConfiguration}
* Test for {@link PolarisDiscoveryAutoConfiguration}.
*
* @author Haotian Zhang
*/

@ -34,7 +34,7 @@ import static com.tencent.polaris.test.common.Consts.SERVICE_PROVIDER;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Test for {@link PolarisDiscoveryClientConfiguration}
* Test for {@link PolarisDiscoveryClientConfiguration}.
*
* @author Haotian Zhang
*/

@ -37,7 +37,7 @@ import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
/**
* Test for {@link PolarisDiscoveryClient}
* Test for {@link PolarisDiscoveryClient}.
*
* @author Haotian Zhang
*/

@ -41,7 +41,7 @@ import static com.tencent.polaris.test.common.Consts.SERVICE_PROVIDER;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Test for {@link PolarisServiceDiscovery}
* Test for {@link PolarisServiceDiscovery}.
*
* @author Haotian Zhang
*/

@ -35,7 +35,7 @@ import static com.tencent.polaris.test.common.Consts.SERVICE_PROVIDER;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Test for {@link PolarisReactiveDiscoveryClientConfiguration}
* Test for {@link PolarisReactiveDiscoveryClientConfiguration}.
*
* @author Haotian Zhang
*/

@ -37,7 +37,7 @@ import static java.util.Collections.singletonList;
import static org.mockito.Mockito.when;
/**
* Test for {@link PolarisReactiveDiscoveryClient}
* Test for {@link PolarisReactiveDiscoveryClient}.
*
* @author Haotian Zhang
*/

@ -37,7 +37,7 @@ import static com.tencent.polaris.test.common.Consts.SERVICE_PROVIDER;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Test for {@link PolarisServiceRegistryAutoConfiguration}
* Test for {@link PolarisServiceRegistryAutoConfiguration}.
*
* @author Haotian Zhang
*/

@ -41,7 +41,7 @@ import static org.junit.Assert.fail;
import static org.mockito.Mockito.when;
/**
* Test for {@link PolarisServiceRegistry}
* Test for {@link PolarisServiceRegistry}.
*
* @author Haotian Zhang
*/

@ -39,7 +39,7 @@ import static com.tencent.polaris.test.common.Consts.SERVICE_PROVIDER;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Test for {@link PolarisRibbonServerListConfiguration}
* Test for {@link PolarisRibbonServerListConfiguration}.
*
* @author Haotian Zhang
*/

@ -46,7 +46,7 @@ import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
/**
* Test for {@link PolarisServerList}
* Test for {@link PolarisServerList}.
*
* @author Haotian Zhang
*/

@ -29,7 +29,7 @@ import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
/**
* Test for {@link MetadataContextHolder}
* Test for {@link MetadataContextHolder}.
*
* @author Haotian Zhang
*/

@ -30,7 +30,7 @@ import org.springframework.boot.test.context.runner.ReactiveWebApplicationContex
import org.springframework.boot.test.context.runner.WebApplicationContextRunner;
/**
* Test for {@link MetadataAutoConfiguration}
* Test for {@link MetadataAutoConfiguration}.
*
* @author Haotian Zhang
*/

@ -27,7 +27,7 @@ import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
/**
* Test for {@link MetadataLocalProperties}
* Test for {@link MetadataLocalProperties}.
*
* @author Haotian Zhang
*/

@ -70,8 +70,8 @@
</developers>
<properties>
<revision>1.4.0-Hoxton.SR9-SNAPSHOT</revision>
<polaris.version>1.5.0-SNAPSHOT</polaris.version>
<revision>1.4.0-Hoxton.SR9</revision>
<polaris.version>1.5.0</polaris.version>
<powermock.version>2.0.0</powermock.version>
<!-- Maven Plugin Versions -->

@ -55,6 +55,10 @@ public class GatewayCalleeController {
/**
* Get metadata in HTTP header.
*
* @param metadataStr metadata string
* @return metadata in HTTP header
* @throws UnsupportedEncodingException encoding exception
*/
@RequestMapping("/echo")
public String echoHeader(

@ -31,7 +31,7 @@ import static com.tencent.polaris.test.common.Consts.SERVICE_PROVIDER;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Test for {@link PolarisLoadBalancerAutoConfiguration}
* Test for {@link PolarisLoadBalancerAutoConfiguration}.
*
* @author Haotian Zhang
*/

@ -4,4 +4,5 @@
"https://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
<suppressions>
<suppress files=".*" checks="RegexpHeader"/>
<suppress files=".*" checks="HideUtilityClassConstructor"/>
</suppressions>
Loading…
Cancel
Save