From 9ac602ecbf0ff561787f46adeb516b1f352638bf Mon Sep 17 00:00:00 2001
From: shouyuwang <93957183+shouyuwang@users.noreply.github.com>
Date: Thu, 23 Jun 2022 22:21:08 +0800
Subject: [PATCH] fix: ratelimit-callee-service UnknownHostException:
RateLimitCalleeService in 2020 (#291)
* fix:fix UnknownHostException
* fix:fix UnknownHostException
* update changelog.md
---
CHANGELOG.md | 1 +
.../ratelimit-callee-service/pom.xml | 5 +++++
2 files changed, 6 insertions(+)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 003dc4974..cd1e5d177 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,3 +9,4 @@
- [change the way from escape to encode in 2020.0](https://github.com/Tencent/spring-cloud-tencent/pull/257)
- [fix:fix ClassNotFoundException while not importing openfeign when using circuit-breaker module.](https://github.com/Tencent/spring-cloud-tencent/pull/270)
- [fix:solve the chaos code problem on rejectTips](https://github.com/Tencent/spring-cloud-tencent/pull/283)
+- [fix:solve ratelimit-callee-service UnknownHostException.](https://github.com/Tencent/spring-cloud-tencent/pull/291)
diff --git a/spring-cloud-tencent-examples/polaris-ratelimit-example/ratelimit-callee-service/pom.xml b/spring-cloud-tencent-examples/polaris-ratelimit-example/ratelimit-callee-service/pom.xml
index dd28040b5..bf89b34d6 100644
--- a/spring-cloud-tencent-examples/polaris-ratelimit-example/ratelimit-callee-service/pom.xml
+++ b/spring-cloud-tencent-examples/polaris-ratelimit-example/ratelimit-callee-service/pom.xml
@@ -18,6 +18,11 @@
spring-boot-starter-web
+
+ com.tencent.cloud
+ spring-cloud-starter-tencent-polaris-discovery
+
+
com.tencent.cloud
spring-cloud-starter-tencent-polaris-ratelimit