feat(gateway): 迁移 manage-gateway 模块配置与测试(任务 T3.2)
- 替换 application*.yml 配置文件,适配应用名 novalon-manage-gateway - 删除并复制测试文件,替换包名 cn.novalon.gym.manage → cn.novalon.manage - 替换测试配置 application-test.yml - 编译验证通过
This commit is contained in:
@@ -7,6 +7,18 @@ spring:
|
||||
predicates:
|
||||
- Path=/api/**
|
||||
|
||||
jwt:
|
||||
secret: novalon-novalon-manage-jwt-secret-key-for-development-only-2026
|
||||
expiration: 86400000
|
||||
|
||||
signature:
|
||||
enabled: false
|
||||
|
||||
resilience:
|
||||
timeout:
|
||||
enabled: true
|
||||
duration: 10s
|
||||
|
||||
logging:
|
||||
level:
|
||||
org.springframework.cloud.gateway: TRACE
|
||||
|
||||
@@ -5,7 +5,7 @@ spring:
|
||||
codec:
|
||||
max-in-memory-size: 10MB
|
||||
application:
|
||||
name: manage-gateway
|
||||
name: novalon-manage-gateway
|
||||
cloud:
|
||||
gateway:
|
||||
routes:
|
||||
@@ -146,4 +146,4 @@ management:
|
||||
logging:
|
||||
level:
|
||||
cn.novalon.manage: DEBUG
|
||||
org.springframework.cloud.gateway: DEBUG
|
||||
org.springframework.cloud.gateway: DEBUG
|
||||
Reference in New Issue
Block a user