Skip to content

Commit de420f1

Browse files
author
jianfengqs
committed
fix add netty-resolver-dns-native-macos dependency to avoid DNS resolution failure on macOS
1 parent 53a00a6 commit de420f1

File tree

3 files changed

+13
-0
lines changed
  • test/plugin/scenarios
    • gateway-4.1.2.x-scenario/gateway-projectA-scenario
    • gateway-4.x-scenario/gateway-projectA-scenario

3 files changed

+13
-0
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Release Notes.
2020
* Eliminate repeated code with HttpServletRequestWrapper in mvc-annotation-commons.
2121
* Add the jdk httpclient plugin.
2222
* Fix Gateway 2.0.x plugin not activated for spring-cloud-starter-gateway 2.0.0.RELEASE.
23+
* fix add netty-resolver-dns-native-macos dependency to avoid DNS resolution failure on macOS
2324
All issues and pull requests are [here](https://github.com/apache/skywalking/milestone/242?closed=1)
2425

2526
------------------

test/plugin/scenarios/gateway-4.1.2.x-scenario/gateway-projectA-scenario/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@
3434
<artifactId>spring-cloud-starter-gateway</artifactId>
3535
<version>${test.framework.version}</version>
3636
</dependency>
37+
<dependency>
38+
<groupId>io.netty</groupId>
39+
<artifactId>netty-resolver-dns-native-macos</artifactId>
40+
<classifier>osx-aarch_64</classifier>
41+
<version>4.1.114.Final</version>
42+
</dependency>
3743
</dependencies>
3844

3945
<build>

test/plugin/scenarios/gateway-4.x-scenario/gateway-projectA-scenario/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@
3434
<artifactId>spring-cloud-starter-gateway</artifactId>
3535
<version>${test.framework.version}</version>
3636
</dependency>
37+
<dependency>
38+
<groupId>io.netty</groupId>
39+
<artifactId>netty-resolver-dns-native-macos</artifactId>
40+
<classifier>osx-aarch_64</classifier>
41+
<version>4.1.101.Final</version>
42+
</dependency>
3743
</dependencies>
3844

3945
<build>

0 commit comments

Comments
 (0)