Browse Source

增加测试环境

master
刘忱 1 year ago
parent
commit
4801cd5f6f
  1. 38
      src/main/resources/application-prod.yml
  2. 38
      src/main/resources/application-test.yml

38
src/main/resources/application-prod.yml

@ -0,0 +1,38 @@
# 开发环境配置
server:
# 服务器的HTTP端口,默认为8080
port: 23310
servlet:
# 应用的访问路径
context-path: /
tomcat:
# tomcat的URI编码
uri-encoding: UTF-8
# 连接数满后的排队数,默认为100
accept-count: 100
threads:
# tomcat最大线程数,默认为200
max: 100
# Tomcat启动初始化的线程数,默认值10
min-spare: 10
rocketmq:
name-server: dev.ccwin-in.com:23887
producer:
group: wenyin
config:
dataPath: /opt/rocketmq-console/data #存储设置目录
sfms:
username: admin #用户名
password: 123456 #密码
purchase-order: http://localhost:12080/admin-api/wms/purchase-main/create #采购订单
access-token: http://localhost:12080/admin-api/system/oauth2/token #登陆token
refresh-token: http://localhost:12080/admin-api/system/auth/refresh-token #刷新token
logging:
file:
path: logs
level:
com.win: debug
org.springframework: warn

38
src/main/resources/application-test.yml

@ -0,0 +1,38 @@
# 开发环境配置
server:
# 服务器的HTTP端口,默认为8080
port: 23310
servlet:
# 应用的访问路径
context-path: /
tomcat:
# tomcat的URI编码
uri-encoding: UTF-8
# 连接数满后的排队数,默认为100
accept-count: 100
threads:
# tomcat最大线程数,默认为200
max: 100
# Tomcat启动初始化的线程数,默认值10
min-spare: 10
rocketmq:
name-server: dev.ccwin-in.com:23887
producer:
group: wenyin
config:
dataPath: /opt/rocketmq-console/data #存储设置目录
sfms:
username: admin #用户名
password: 123456 #密码
purchase-order: http://localhost:12080/admin-api/wms/purchase-main/create #采购订单
access-token: http://localhost:12080/admin-api/system/oauth2/token #登陆token
refresh-token: http://localhost:12080/admin-api/system/auth/refresh-token #刷新token
logging:
file:
path: logs
level:
com.win: debug
org.springframework: warn
Loading…
Cancel
Save