diff --git a/pom.xml b/pom.xml index 373f2a96b..21447e170 100644 --- a/pom.xml +++ b/pom.xml @@ -46,6 +46,7 @@ 2.0.1 27.0.1-jre 2.0.1 + 0.9.0.RELEASE 3.8.0 1.16.14 @@ -216,6 +217,12 @@ spring-boot-admin-starter-client ${spring-boot-admin-starter-client.version} + + org.springframework.cloud + spring-cloud-starter-alibaba-sentinel + ${sentinel.version} + + diff --git a/system/system-application/pom.xml b/system/system-application/pom.xml index 84f761223..e4add584c 100644 --- a/system/system-application/pom.xml +++ b/system/system-application/pom.xml @@ -60,9 +60,10 @@ de.codecentric spring-boot-admin-starter-client + - org.springframework.boot - spring-boot-starter-actuator + org.springframework.cloud + spring-cloud-starter-alibaba-sentinel diff --git a/system/system-application/src/main/resources/application.yaml b/system/system-application/src/main/resources/application.yaml index 160cae4a2..6f89a4cad 100644 --- a/system/system-application/src/main/resources/application.yaml +++ b/system/system-application/src/main/resources/application.yaml @@ -1,6 +1,14 @@ spring: application: name: admin-application + cloud: + sentinel: + transport: + port: 8719 + dashboard: localhost:18001 + metric: + charset: UTF-8 + eager: false # server server: