refactor(modules): 拆分多模块工程并收口common基础模块
This commit is contained in:
5
common-agent-boot/src/main/resources/ai-config.ini
Normal file
5
common-agent-boot/src/main/resources/ai-config.ini
Normal file
@@ -0,0 +1,5 @@
|
||||
# AI 独立配置文件(建议仅本地/环境覆盖使用,不提交真实密钥)
|
||||
# 格式:ai.secret-refs[<secret_ref>]=<api_key>
|
||||
|
||||
ai.secret-refs[SILICONFLOW_API_KEY]=your-key
|
||||
|
||||
15
common-agent-boot/src/main/resources/application-dev.yaml
Normal file
15
common-agent-boot/src/main/resources/application-dev.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
spring:
|
||||
datasource:
|
||||
driver-class-name: org.postgresql.Driver
|
||||
url: jdbc:postgresql://110.42.106.130:5431/common_agent?currentSchema=common_agent
|
||||
username: common_agent
|
||||
password: common_agent
|
||||
|
||||
mybatis-plus:
|
||||
mapper-locations: classpath*:/mapper/**/*.xml
|
||||
configuration:
|
||||
map-underscore-to-camel-case: true
|
||||
|
||||
common:
|
||||
attachment:
|
||||
base-path: /data/common-agent/attachments
|
||||
@@ -0,0 +1,17 @@
|
||||
# Copy this file to application-dev.yaml, application-test.yaml, or application-prod.yaml,
|
||||
# then change spring.profiles.active in application.yaml to select the environment.
|
||||
spring:
|
||||
datasource:
|
||||
driver-class-name: org.postgresql.Driver
|
||||
url: jdbc:postgresql://<host>:<port>/<database>
|
||||
username: <username>
|
||||
password: <password>
|
||||
|
||||
mybatis-plus:
|
||||
mapper-locations: classpath*:/mapper/**/*.xml
|
||||
configuration:
|
||||
map-underscore-to-camel-case: true
|
||||
|
||||
common:
|
||||
attachment:
|
||||
base-path: /data/common-agent/attachments
|
||||
13
common-agent-boot/src/main/resources/application.yaml
Normal file
13
common-agent-boot/src/main/resources/application.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
spring:
|
||||
application:
|
||||
name: common_agent
|
||||
profiles:
|
||||
active: dev
|
||||
|
||||
common:
|
||||
attachment:
|
||||
base-path: data/attachments
|
||||
|
||||
logging:
|
||||
pattern:
|
||||
console: "%d{yyyy-MM-dd HH:mm:ss.SSS, GMT+8} %5p ${PID:- } --- [%15.15t] %-40.40logger{39} : %m%n%wEx"
|
||||
Reference in New Issue
Block a user