diff --git a/CHANGELOG.md b/CHANGELOG.md index 3176588e0..afbeeef42 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,5 +16,5 @@ - [feat:add zero protection.](https://github.com/Tencent/spring-cloud-tencent/pull/1346) - [fix:fix no registry when lossless is disabled.](https://github.com/Tencent/spring-cloud-tencent/pull/1347) - [fix:fix the ratelimit bug for 2022](https://github.com/Tencent/spring-cloud-tencent/pull/1348) -- [feat:add Tencent Cloud TSF support. ](https://github.com/Tencent/spring-cloud-tencent/pull/1350) +- [feat:add Tencent Cloud TSF support.](https://github.com/Tencent/spring-cloud-tencent/pull/1350) - \ No newline at end of file diff --git a/spring-cloud-starter-tencent-polaris-discovery/src/test/java/com/tencent/cloud/plugin/lossless/LosslessRegistryAspectTest.java b/spring-cloud-starter-tencent-polaris-discovery/src/test/java/com/tencent/cloud/plugin/lossless/LosslessRegistryAspectTest.java index e594f8a3d..ba05d6619 100644 --- a/spring-cloud-starter-tencent-polaris-discovery/src/test/java/com/tencent/cloud/plugin/lossless/LosslessRegistryAspectTest.java +++ b/spring-cloud-starter-tencent-polaris-discovery/src/test/java/com/tencent/cloud/plugin/lossless/LosslessRegistryAspectTest.java @@ -140,7 +140,7 @@ public class LosslessRegistryAspectTest { assertThatCode(() -> { assertThat(OkHttpUtil.checkUrl(HOST, LOSSLESS_PORT_1, "/online", Collections.EMPTY_MAP)).isFalse(); }).doesNotThrowAnyException(); - // delay register after 5s + // delay register after 10s Thread.sleep(10000); PolarisServiceRegistry registry = context.getBean(PolarisServiceRegistry.class); PolarisRegistration registration = context.getBean(PolarisRegistration.class); diff --git a/spring-cloud-tencent-examples/tsf-example/consumer-demo/src/main/resources/application.yml b/spring-cloud-tencent-examples/tsf-example/consumer-demo/src/main/resources/application.yml index b9ee2362d..eb7a01b09 100644 --- a/spring-cloud-tencent-examples/tsf-example/consumer-demo/src/main/resources/application.yml +++ b/spring-cloud-tencent-examples/tsf-example/consumer-demo/src/main/resources/application.yml @@ -11,7 +11,7 @@ feign: enabled: true #本地测试时打开 -tsf_namespace_id: default_namespace +#tsf_namespace_id: default_namespace logging: file: diff --git a/spring-cloud-tencent-examples/tsf-example/provider-demo/src/main/resources/application.yml b/spring-cloud-tencent-examples/tsf-example/provider-demo/src/main/resources/application.yml index 160ba5d01..fe4e61657 100644 --- a/spring-cloud-tencent-examples/tsf-example/provider-demo/src/main/resources/application.yml +++ b/spring-cloud-tencent-examples/tsf-example/provider-demo/src/main/resources/application.yml @@ -1,5 +1,5 @@ server: - port: 56789 + port: 18081 spring: application: name: provider-demo @@ -7,7 +7,8 @@ spring: import: optional:polaris cloud: polaris: - address: grpc://127.0.0.1:8091 + config: + address: grpc://127.0.0.1:8091 namespace: default enabled: true stat: