Skip to content

Commit e1c9d20

Browse files
committed
to #7
1 parent 05d309f commit e1c9d20

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

src/frontend/pom.xml

+9
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,15 @@
127127
<groupId>com.alibaba.cloud</groupId>
128128
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
129129
</dependency>
130+
<dependency>
131+
<groupId>com.alibaba.cloud</groupId>
132+
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
133+
</dependency>
134+
<dependency>
135+
<groupId>com.alibaba.csp</groupId>
136+
<artifactId>spring-boot-starter-ahas-sentinel-client</artifactId>
137+
<version>1.5.1</version>
138+
</dependency>
130139
</dependencies>
131140

132141

src/frontend/src/main/resources/application.properties

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@ dubbo.registry.address=nacos://localhost:8848
44
dubbo.consumer.check=false
55
feign.httpclient.enabled=true
66
feign.hystrix.enabled=false
7-
management.server.port=8081
7+
management.server.port=8081
8+
spring.cloud.sentinel.eager=true
9+
spring.cloud.sentinel.transport.dashboard=127.0.0.1:8081

0 commit comments

Comments
 (0)