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:
|
predicates:
|
||||||
- Path=/api/**
|
- 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:
|
logging:
|
||||||
level:
|
level:
|
||||||
org.springframework.cloud.gateway: TRACE
|
org.springframework.cloud.gateway: TRACE
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ spring:
|
|||||||
codec:
|
codec:
|
||||||
max-in-memory-size: 10MB
|
max-in-memory-size: 10MB
|
||||||
application:
|
application:
|
||||||
name: manage-gateway
|
name: novalon-manage-gateway
|
||||||
cloud:
|
cloud:
|
||||||
gateway:
|
gateway:
|
||||||
routes:
|
routes:
|
||||||
@@ -146,4 +146,4 @@ management:
|
|||||||
logging:
|
logging:
|
||||||
level:
|
level:
|
||||||
cn.novalon.manage: DEBUG
|
cn.novalon.manage: DEBUG
|
||||||
org.springframework.cloud.gateway: DEBUG
|
org.springframework.cloud.gateway: DEBUG
|
||||||
Reference in New Issue
Block a user