release:release 1.4.0-Hoxton.SR9.

pull/140/head
SkyeBeFreeman 3 years ago
parent 70c91b3a49
commit 43f9ebc4c3

@ -5,3 +5,4 @@
- [Feature: Optimize config server address](https://github.com/Tencent/spring-cloud-tencent/pull/130) - [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) - [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: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> <properties>
<!-- Project revision --> <!-- Project revision -->
<revision>1.4.0-Hoxton.SR9-SNAPSHOT</revision> <revision>1.4.0-Hoxton.SR9</revision>
<!-- Spring Cloud --> <!-- Spring Cloud -->
<spring.cloud.version>Hoxton.SR9</spring.cloud.version> <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; import org.springframework.cloud.gateway.filter.GlobalFilter;
/** /**
* Test for {@link MetadataTransferAutoConfiguration} * Test for {@link MetadataTransferAutoConfiguration}.
* *
* @author Haotian Zhang * @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; import static org.springframework.boot.test.context.SpringBootTest.WebEnvironment.DEFINED_PORT;
/** /**
* Test for {@link EncodeTransferMedataFeignInterceptor} * Test for {@link EncodeTransferMedataFeignInterceptor}.
* *
* @author Haotian Zhang * @author Haotian Zhang
*/ */

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

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

@ -26,7 +26,7 @@ import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.Assert.fail; import static org.junit.Assert.fail;
/** /**
* Test for {@link PolarisDiscoveryProperties} * Test for {@link PolarisDiscoveryProperties}.
* *
* @author Haotian Zhang * @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; import static org.assertj.core.api.Assertions.assertThat;
/** /**
* Test for {@link PolarisDiscoveryAutoConfiguration} * Test for {@link PolarisDiscoveryAutoConfiguration}.
* *
* @author Haotian Zhang * @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; import static org.assertj.core.api.Assertions.assertThat;
/** /**
* Test for {@link PolarisDiscoveryClientConfiguration} * Test for {@link PolarisDiscoveryClientConfiguration}.
* *
* @author Haotian Zhang * @author Haotian Zhang
*/ */

@ -37,7 +37,7 @@ import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when; import static org.mockito.Mockito.when;
/** /**
* Test for {@link PolarisDiscoveryClient} * Test for {@link PolarisDiscoveryClient}.
* *
* @author Haotian Zhang * @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; import static org.assertj.core.api.Assertions.assertThat;
/** /**
* Test for {@link PolarisServiceDiscovery} * Test for {@link PolarisServiceDiscovery}.
* *
* @author Haotian Zhang * @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; import static org.assertj.core.api.Assertions.assertThat;
/** /**
* Test for {@link PolarisReactiveDiscoveryClientConfiguration} * Test for {@link PolarisReactiveDiscoveryClientConfiguration}.
* *
* @author Haotian Zhang * @author Haotian Zhang
*/ */

@ -37,7 +37,7 @@ import static java.util.Collections.singletonList;
import static org.mockito.Mockito.when; import static org.mockito.Mockito.when;
/** /**
* Test for {@link PolarisReactiveDiscoveryClient} * Test for {@link PolarisReactiveDiscoveryClient}.
* *
* @author Haotian Zhang * @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; import static org.assertj.core.api.Assertions.assertThat;
/** /**
* Test for {@link PolarisServiceRegistryAutoConfiguration} * Test for {@link PolarisServiceRegistryAutoConfiguration}.
* *
* @author Haotian Zhang * @author Haotian Zhang
*/ */

@ -41,7 +41,7 @@ import static org.junit.Assert.fail;
import static org.mockito.Mockito.when; import static org.mockito.Mockito.when;
/** /**
* Test for {@link PolarisServiceRegistry} * Test for {@link PolarisServiceRegistry}.
* *
* @author Haotian Zhang * @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; import static org.assertj.core.api.Assertions.assertThat;
/** /**
* Test for {@link PolarisRibbonServerListConfiguration} * Test for {@link PolarisRibbonServerListConfiguration}.
* *
* @author Haotian Zhang * @author Haotian Zhang
*/ */

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

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

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

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

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

@ -55,6 +55,10 @@ public class GatewayCalleeController {
/** /**
* Get metadata in HTTP header. * Get metadata in HTTP header.
*
* @param metadataStr metadata string
* @return metadata in HTTP header
* @throws UnsupportedEncodingException encoding exception
*/ */
@RequestMapping("/echo") @RequestMapping("/echo")
public String echoHeader( 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; import static org.assertj.core.api.Assertions.assertThat;
/** /**
* Test for {@link PolarisLoadBalancerAutoConfiguration} * Test for {@link PolarisLoadBalancerAutoConfiguration}.
* *
* @author Haotian Zhang * @author Haotian Zhang
*/ */

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