feat(ops): 安保模块构建配置与枚举扩展
- security-biz pom 新增 ops-biz、iot-api 依赖 - ops-server pom 引入 security-biz 模块 - 新增 SECURITY_GUARD 操作人类型、ALARM 来源类型 - 新增安保相关错误码 - dev/local 配置新增安保数据源 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -91,6 +91,12 @@
|
||||
<artifactId>viewsh-spring-boot-starter-security</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- 服务保护(限流、幂等、签名验证) -->
|
||||
<dependency>
|
||||
<groupId>com.viewsh</groupId>
|
||||
<artifactId>viewsh-spring-boot-starter-protection</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- DB 相关 -->
|
||||
<dependency>
|
||||
<groupId>com.viewsh</groupId>
|
||||
@@ -126,17 +132,17 @@
|
||||
<artifactId>viewsh-spring-boot-starter-job</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- 消息队列相关 -->
|
||||
<dependency>
|
||||
<groupId>com.viewsh</groupId>
|
||||
<artifactId>viewsh-spring-boot-starter-mq</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.rocketmq</groupId>
|
||||
<artifactId>rocketmq-spring-boot-starter</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- Test 测试相关 -->
|
||||
<!-- 消息队列相关 -->
|
||||
<dependency>
|
||||
<groupId>com.viewsh</groupId>
|
||||
<artifactId>viewsh-spring-boot-starter-mq</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.rocketmq</groupId>
|
||||
<artifactId>rocketmq-spring-boot-starter</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- Test 测试相关 -->
|
||||
<dependency>
|
||||
<groupId>com.viewsh</groupId>
|
||||
<artifactId>viewsh-spring-boot-starter-test</artifactId>
|
||||
|
||||
@@ -164,6 +164,11 @@ wx:
|
||||
# 芋道配置项,设置当前项目所有自定义的配置
|
||||
viewsh:
|
||||
demo: true # 开启演示模式
|
||||
# API 签名配置:外部系统调用开放接口时使用(如安保工单的告警系统)
|
||||
signature:
|
||||
apps:
|
||||
# 告警系统 - 用于安保工单的创建和自动完单接口
|
||||
alarm-system: "tQ3v5q1z2ZLu7hrU1yseaHwg1wJUcmF1"
|
||||
|
||||
justauth:
|
||||
enabled: true
|
||||
|
||||
@@ -152,3 +152,8 @@ viewsh:
|
||||
mock-enable: true
|
||||
access-log: # 访问日志的配置项
|
||||
enable: false
|
||||
# API 签名配置:外部系统调用开放接口时使用(如安保工单的告警系统)
|
||||
signature:
|
||||
apps:
|
||||
# 告警系统 - 用于安保工单的创建和自动完单接口
|
||||
alarm-system: "tQ3v5q1z2ZLu7hrU1yseaHwg1wJUcmF1"
|
||||
|
||||
Reference in New Issue
Block a user