Commit 5cbba7633859b0f40d9a13620c8ee4a1918f4f4a
1 parent
8e1729d7
reactor:默认不引入 spring-boot-admin,更灵活,同时启动速度更快(提升开发效率)!!!
Showing
4 changed files
with
4 additions
and
4 deletions
yudao-framework/yudao-spring-boot-starter-monitor/pom.xml
| ... | ... | @@ -71,7 +71,8 @@ |
| 71 | 71 | |
| 72 | 72 | <dependency> |
| 73 | 73 | <groupId>de.codecentric</groupId> |
| 74 | - <artifactId>spring-boot-admin-starter-client</artifactId> <!-- 实现 Spring Boot Admin Server 服务端 --> | |
| 74 | + <artifactId>spring-boot-admin-starter-client</artifactId> <!-- 实现 Spring Boot Admin Client 客户端 --> | |
| 75 | + <optional>true</optional> | |
| 75 | 76 | </dependency> |
| 76 | 77 | </dependencies> |
| 77 | 78 | ... | ... |
yudao-module-infra/pom.xml
yudao-server/src/main/resources/application-dev.yaml
| ... | ... | @@ -5,6 +5,7 @@ server: |
| 5 | 5 | |
| 6 | 6 | spring: |
| 7 | 7 | autoconfigure: |
| 8 | + # noinspection SpringBootApplicationYaml | |
| 8 | 9 | exclude: |
| 9 | 10 | - org.springframework.ai.vectorstore.qdrant.autoconfigure.QdrantVectorStoreAutoConfiguration # 禁用 AI 模块的 Qdrant,手动创建 |
| 10 | 11 | - org.springframework.ai.vectorstore.milvus.autoconfigure.MilvusVectorStoreAutoConfiguration # 禁用 AI 模块的 Milvus,手动创建 | ... | ... |
yudao-server/src/main/resources/application-local.yaml
| ... | ... | @@ -7,9 +7,6 @@ spring: |
| 7 | 7 | # noinspection SpringBootApplicationYaml |
| 8 | 8 | exclude: |
| 9 | 9 | - org.springframework.boot.autoconfigure.quartz.QuartzAutoConfiguration # 默认 local 环境,不开启 Quartz 的自动配置 |
| 10 | - - de.codecentric.boot.admin.server.config.AdminServerAutoConfiguration # 禁用 Spring Boot Admin 的 Server 的自动配置 | |
| 11 | - - de.codecentric.boot.admin.server.ui.config.AdminServerUiAutoConfiguration # 禁用 Spring Boot Admin 的 Server UI 的自动配置 | |
| 12 | - - de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置 | |
| 13 | 10 | - org.springframework.ai.vectorstore.qdrant.autoconfigure.QdrantVectorStoreAutoConfiguration # 禁用 AI 模块的 Qdrant,手动创建 |
| 14 | 11 | - org.springframework.ai.vectorstore.milvus.autoconfigure.MilvusVectorStoreAutoConfiguration # 禁用 AI 模块的 Milvus,手动创建 |
| 15 | 12 | # 数据源配置项 | ... | ... |