diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index b162ac3a2..b89266620 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,4 +1,5 @@ ## PR Type + - 1.7.0-Hoxton.SR12 + 1.7.1-Hoxton.SR12 pom import diff --git a/README.md b/README.md index b5edf33e0..2cc606dcc 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -Spring-Cloud-Tencent-Logo +Spring-Cloud-Tencent-Logo [![Wiki](https://badgen.net/badge/icon/wiki?icon=wiki&label)](https://github.com/Tencent/spring-cloud-tencent/wiki) @@ -7,7 +7,7 @@ [![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause) [![Build Status](https://github.com/Tencent/spring-cloud-tencent/actions/workflows/junit_test.yml/badge.svg)](https://github.com/Tencent/spring-cloud-tencent/actions/workflows/junit_test.yml) -[![codecov.io](https://codecov.io/gh/Tencent/spring-cloud-tencent/branch/main/graph/badge.svg)](https://codecov.io/gh/Tencent/spring-cloud-tencent?branch=main) +[![codecov.io](https://codecov.io/gh/Tencent/spring-cloud-tencent/branch/hoxton/graph/badge.svg)](https://codecov.io/gh/Tencent/spring-cloud-tencent?branch=hoxton) [![Language grade: Java](https://img.shields.io/lgtm/grade/java/g/Tencent/spring-cloud-tencent.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Tencent/spring-cloud-tencent/context:java) English | [简体中文](./README-zh.md) @@ -72,7 +72,7 @@ For example: com.tencent.cloud spring-cloud-tencent-dependencies - 1.7.0-Hoxton.SR12 + 1.7.1-Hoxton.SR12 pom import diff --git a/changes/changes-1.7.1.md b/changes/changes-1.7.1.md new file mode 100644 index 000000000..5abef9df0 --- /dev/null +++ b/changes/changes-1.7.1.md @@ -0,0 +1,32 @@ +# Change Log +--- + +- [Feature: support ribbon service-level rule customization](https://github.com/Tencent/spring-cloud-tencent/pull/478) +- [Fix the code analysis error.](https://github.com/Tencent/spring-cloud-tencent/pull/479) +- [Feature: delete implement ServiceInstance](https://github.com/Tencent/spring-cloud-tencent/pull/481) +- [Upgrade owasp esapi's configuration](https://github.com/Tencent/spring-cloud-tencent/pull/492) +- [Bugfix: update byte-buddy scope test to compile](https://github.com/Tencent/spring-cloud-tencent/pull/495) +- [feature:add @ConditionalOnConfigReflectEnabled annotation](https://github.com/Tencent/spring-cloud-tencent/pull/496) +- [Feature: zuul supports polaris router](https://github.com/Tencent/spring-cloud-tencent/pull/502) +- [Feature:support pushGateway push metrics](https://github.com/Tencent/spring-cloud-tencent/pull/504) +- [Refactor : optimize project and code](https://github.com/Tencent/spring-cloud-tencent/pull/506) +- [Fix typo & Code optimization](https://github.com/Tencent/spring-cloud-tencent/pull/507) +- [Code optimization for rpc-enhancement module](https://github.com/Tencent/spring-cloud-tencent/pull/510) +- [Bugfix:BeanFactoryUtils returns all beans including beans defined in ancestor bean factories](https://github.com/Tencent/spring-cloud-tencent/pull/515) +- [fix:fix only config file metadata can be used in routing bug.](https://github.com/Tencent/spring-cloud-tencent/pull/518) +- [optimize:optimize config module code](https://github.com/Tencent/spring-cloud-tencent/pull/520) +- [feat:optimize pushgateway plugin.](https://github.com/Tencent/spring-cloud-tencent/pull/530) +- [Feature: remove location metadata](https://github.com/Tencent/spring-cloud-tencent/pull/535) +- [Feature: remove location metadata](https://github.com/Tencent/spring-cloud-tencent/pull/541) +- [fix:set error handler named EnhancedRestTemplateReporter for RestTemplate](https://github.com/Tencent/spring-cloud-tencent/pull/543) +- [Fix issue: report the labels in request when report the result of invocation by Feign](https://github.com/Tencent/spring-cloud-tencent/pull/546) +- [optimize:add switch for report call result and default false](https://github.com/Tencent/spring-cloud-tencent/pull/547) +- [Optimize: refresh @Value by reflect and only refresh affected ConfigurationProperties beans](https://github.com/Tencent/spring-cloud-tencent/pull/548) +- [feature:remove ConditionalOnConfigReflectEnabled annotation.](https://github.com/Tencent/spring-cloud-tencent/pull/551) +- [Optimize:shutdown server when connect to config server failed.](https://github.com/Tencent/spring-cloud-tencent/pull/552) +- [fix:fix heartbeat interval different configuration from polaris-java SDK.](https://github.com/Tencent/spring-cloud-tencent/pull/560) +- [Optimize: optimize report call result for restTemplate.](https://github.com/Tencent/spring-cloud-tencent/pull/562) +- [feat:add spring-cloud-starter-tencent-all and quickstart examples.](https://github.com/Tencent/spring-cloud-tencent/pull/567) +- [fix:fix wrong internal config file load order.](https://github.com/Tencent/spring-cloud-tencent/pull/572) +- [Optimize:change default dynamic config refresh type to reflect.](https://github.com/Tencent/spring-cloud-tencent/pull/573) +- [feat:optimize examples.](https://github.com/Tencent/spring-cloud-tencent/pull/576) diff --git a/pom.xml b/pom.xml index f8c2ab336..a00aa3c52 100644 --- a/pom.xml +++ b/pom.xml @@ -16,7 +16,7 @@ ${revision} Spring Cloud Tencent Spring Cloud Tencent - https://github.com/Tencent/spring-cloud-tencent/tree/main + https://github.com/Tencent/spring-cloud-tencent/tree/hoxton Tencent @@ -26,7 +26,7 @@ The BSD 3-Clause License (BSD3) - https://raw.githubusercontent.com/Tencent/spring-cloud-tencent/main/LICENSE + https://raw.githubusercontent.com/Tencent/spring-cloud-tencent/hoxton/LICENSE repo @@ -89,7 +89,7 @@ - 1.7.1-Hoxton.SR12-SNAPSHOT + 1.8.0-Hoxton.SR12-SNAPSHOT Hoxton.SR12 diff --git a/spring-cloud-starter-tencent-polaris-discovery/src/main/java/com/tencent/cloud/polaris/client/PolarisClient.java b/spring-cloud-starter-tencent-polaris-discovery/src/main/java/com/tencent/cloud/polaris/client/PolarisClient.java deleted file mode 100644 index dddf5279b..000000000 --- a/spring-cloud-starter-tencent-polaris-discovery/src/main/java/com/tencent/cloud/polaris/client/PolarisClient.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Tencent is pleased to support the open source community by making Spring Cloud Tencent available. - * - * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. - * - * Licensed under the BSD 3-Clause License (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://opensource.org/licenses/BSD-3-Clause - * - * Unless required by applicable law or agreed to in writing, software distributed - * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. - */ - -package com.tencent.cloud.polaris.client; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Inherited; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/** - * Annotation for Polaris Client for service configuration. - * - * @author Haotian Zhang, Andrew Shan, Jie Cheng - */ -@Target(ElementType.TYPE) -@Retention(RetentionPolicy.RUNTIME) -@Documented -@Inherited -public @interface PolarisClient { - - /** - * Service name of instance. - * @return service - */ - String service() default ""; - - /** - * Namespace name of instance. - * @return namespace - */ - String namespace() default ""; -} diff --git a/spring-cloud-starter-tencent-polaris-discovery/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-cloud-starter-tencent-polaris-discovery/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 22f6e5363..115585d91 100644 --- a/spring-cloud-starter-tencent-polaris-discovery/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-cloud-starter-tencent-polaris-discovery/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -36,12 +36,6 @@ "defaultValue": "", "description": "heal check url." }, - { - "name": "spring.cloud.polaris.discovery.instance-enabled", - "type": "java.lang.Boolean", - "defaultValue": true, - "description": "If instance is enabled to accept request. The default value is true." - }, { "name": "spring.cloud.polaris.discovery.token", "type": "java.lang.String", diff --git a/spring-cloud-tencent-dependencies/pom.xml b/spring-cloud-tencent-dependencies/pom.xml index e6314c22b..5ea18c1db 100644 --- a/spring-cloud-tencent-dependencies/pom.xml +++ b/spring-cloud-tencent-dependencies/pom.xml @@ -16,7 +16,7 @@ pom Spring Cloud Tencent Dependencies Spring Cloud Tencent Dependencies - https://github.com/Tencent/spring-cloud-tencent/tree/main + https://github.com/Tencent/spring-cloud-tencent/tree/hoxton Tencent @@ -26,7 +26,7 @@ The BSD 3-Clause License (BSD3) - https://raw.githubusercontent.com/Tencent/spring-cloud-tencent/main/LICENSE + https://raw.githubusercontent.com/Tencent/spring-cloud-tencent/hoxton/LICENSE repo @@ -70,8 +70,8 @@ - 1.7.1-Hoxton.SR12-SNAPSHOT - 1.7.4-SNAPSHOT + 1.8.0-Hoxton.SR12-SNAPSHOT + 1.8.0-SNAPSHOT 1.2.11 4.5.1 1.12.10