feat(app): 迁移 manage-app 模块配置与测试(任务 T3.4)
- 替换 application*.yml 配置文件,适配应用名 manage-app - 新增 aop/cache/autoconfigure 配置 - 删除并复制测试文件,替换包名 cn.novalon.gym.manage → cn.novalon.manage - 替换测试配置 application-test.yml - 编译验证通过
This commit is contained in:
@@ -2,8 +2,17 @@ server:
|
||||
port: 8084
|
||||
|
||||
spring:
|
||||
aop:
|
||||
proxy-target-class: true
|
||||
application:
|
||||
name: manage-app
|
||||
main:
|
||||
allow-bean-definition-overriding: true
|
||||
cache:
|
||||
type: none
|
||||
autoconfigure:
|
||||
exclude:
|
||||
- org.springframework.boot.autoconfigure.cache.CacheAutoConfiguration
|
||||
r2dbc:
|
||||
url: r2dbc:postgresql://${DB_HOST:localhost}:${DB_PORT:55432}/${DB_NAME:manage_system}
|
||||
username: ${DB_USERNAME:postgres}
|
||||
@@ -65,4 +74,4 @@ springdoc:
|
||||
operations-sorter: alpha
|
||||
show-actuator: false
|
||||
default-consumes-media-type: application/json
|
||||
default-produces-media-type: application/json
|
||||
default-produces-media-type: application/json
|
||||
Reference in New Issue
Block a user