diff --git a/blade-core-boot/pom.xml b/blade-core-boot/pom.xml
index ff4a876..d2992e4 100644
--- a/blade-core-boot/pom.xml
+++ b/blade-core-boot/pom.xml
@@ -5,7 +5,7 @@
org.springblade
blade-tool
- 1.0.0
+ 2.0.0
4.0.0
diff --git a/blade-core-cloud/pom.xml b/blade-core-cloud/pom.xml
index e96cbb5..2dac701 100644
--- a/blade-core-cloud/pom.xml
+++ b/blade-core-cloud/pom.xml
@@ -5,7 +5,7 @@
blade-tool
org.springblade
- 1.0.0
+ 2.0.0
4.0.0
@@ -35,7 +35,7 @@
spring-boot-admin-starter-client
${spring.boot.admin.version}
-
+
org.springframework.cloud
spring-cloud-starter-openfeign
@@ -58,12 +58,17 @@
org.springframework.cloud
spring-cloud-starter-alibaba-nacos-discovery
- ${nacos.version}
+ ${alibaba.cloud.version}
org.springframework.cloud
spring-cloud-starter-alibaba-nacos-config
- ${nacos.version}
+ ${alibaba.cloud.version}
+
+
+ org.springframework.cloud
+ spring-cloud-starter-alibaba-sentinel
+ ${alibaba.cloud.version}
diff --git a/blade-core-launch/pom.xml b/blade-core-launch/pom.xml
index 7391a37..5bd8912 100644
--- a/blade-core-launch/pom.xml
+++ b/blade-core-launch/pom.xml
@@ -5,7 +5,7 @@
blade-tool
org.springblade
- 1.0.0
+ 2.0.0
4.0.0
diff --git a/blade-core-launch/src/main/java/org/springblade/core/launch/BladeApplication.java b/blade-core-launch/src/main/java/org/springblade/core/launch/BladeApplication.java
index 2ac26e0..8b21bd2 100644
--- a/blade-core-launch/src/main/java/org/springblade/core/launch/BladeApplication.java
+++ b/blade-core-launch/src/main/java/org/springblade/core/launch/BladeApplication.java
@@ -17,6 +17,7 @@ package org.springblade.core.launch;
import org.springblade.core.launch.constant.AppConstant;
import org.springblade.core.launch.constant.NacosConstant;
+import org.springblade.core.launch.constant.SentinelConstant;
import org.springblade.core.launch.service.LauncherService;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.ConfigurableApplicationContext;
@@ -96,6 +97,7 @@ public class BladeApplication {
props.setProperty("spring.cloud.nacos.config.server-addr", NacosConstant.NACOS_ADDR);
props.setProperty("spring.cloud.nacos.config.prefix", NacosConstant.NACOS_CONFIG_PREFIX);
props.setProperty("spring.cloud.nacos.config.file-extension", NacosConstant.NACOS_CONFIG_FORMAT);
+ props.setProperty("spring.cloud.sentinel.transport.dashboard", SentinelConstant.SENTINEL_ADDR);
// 加载自定义组件
ServiceLoader loader = ServiceLoader.load(LauncherService.class);
loader.forEach(launcherService -> launcherService.launcher(builder, appName, profile));
diff --git a/blade-core-launch/src/main/java/org/springblade/core/launch/constant/SentinelConstant.java b/blade-core-launch/src/main/java/org/springblade/core/launch/constant/SentinelConstant.java
new file mode 100644
index 0000000..eaf7ed4
--- /dev/null
+++ b/blade-core-launch/src/main/java/org/springblade/core/launch/constant/SentinelConstant.java
@@ -0,0 +1,14 @@
+package org.springblade.core.launch.constant;
+
+/**
+ * sentinel配置.
+ *
+ * @author zhuangqian
+ */
+public interface SentinelConstant {
+
+ /**
+ * sentinel 地址
+ */
+ String SENTINEL_ADDR = "127.0.0.1:8858";
+}
diff --git a/blade-core-log/pom.xml b/blade-core-log/pom.xml
index 9ccecf8..cdef0f3 100644
--- a/blade-core-log/pom.xml
+++ b/blade-core-log/pom.xml
@@ -5,7 +5,7 @@
blade-tool
org.springblade
- 1.0.0
+ 2.0.0
4.0.0
diff --git a/blade-core-mybatis/pom.xml b/blade-core-mybatis/pom.xml
index 7dfe013..6df4006 100644
--- a/blade-core-mybatis/pom.xml
+++ b/blade-core-mybatis/pom.xml
@@ -5,7 +5,7 @@
blade-tool
org.springblade
- 1.0.0
+ 2.0.0
4.0.0
diff --git a/blade-core-secure/pom.xml b/blade-core-secure/pom.xml
index 0cb2b6a..604753d 100644
--- a/blade-core-secure/pom.xml
+++ b/blade-core-secure/pom.xml
@@ -5,7 +5,7 @@
blade-tool
org.springblade
- 1.0.0
+ 2.0.0
4.0.0
diff --git a/blade-core-swagger/pom.xml b/blade-core-swagger/pom.xml
index 1ef6534..12340c8 100644
--- a/blade-core-swagger/pom.xml
+++ b/blade-core-swagger/pom.xml
@@ -5,7 +5,7 @@
blade-tool
org.springblade
- 1.0.0
+ 2.0.0
4.0.0
diff --git a/blade-core-tool/pom.xml b/blade-core-tool/pom.xml
index 7b08fd9..e3554f6 100644
--- a/blade-core-tool/pom.xml
+++ b/blade-core-tool/pom.xml
@@ -6,7 +6,7 @@
org.springblade
blade-tool
- 1.0.0
+ 2.0.0
4.0.0
diff --git a/pom.xml b/pom.xml
index ceb5598..b28ba65 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
org.springblade
blade-tool
- 1.0.0
+ 2.0.0
pom
blade-tool
@@ -36,7 +36,7 @@
- 1.0.0
+ 2.0.0
1.8
3.8.0
@@ -49,7 +49,7 @@
3.4.2
2.0.2
1.0.1
- 0.2.1.RELEASE
+ 0.2.1.RELEASE
2.0.8.RELEASE
Finchley.SR2