This commit is contained in:
wangkangit@163.com
2021-02-25 21:22:37 +08:00
parent be06e58465
commit a257b8185d
2 changed files with 39 additions and 1 deletions
@@ -0,0 +1,38 @@
# CORS
org.itkk.udf.starter.core.properties.corsAllowedOrigins=http://localhost:8080
# GUAVA CACHE
org.itkk.udf.starter.core.properties.guavaCacheProperties.concurrencyLevel=10
org.itkk.udf.starter.core.properties.guavaCacheProperties.initialCapacity=10
org.itkk.udf.starter.core.properties.guavaCacheProperties.maximumSize=100
org.itkk.udf.starter.core.properties.guavaCacheProperties.expireAfterWrite=10
# LOGGING
logging.file.name=d:/app/application-log/${spring.application.name}_${server.port}_${spring.profiles.active}/base.log
logging.file.max-size=100MB
logging.file.max-history=31
# FILE DB
org.itkk.udf.starter.db.file.properties.mapping.common=D:/app/file/common/
org.itkk.udf.starter.db.file.properties.mapping.public=D:/app/file/public/
org.itkk.udf.starter.db.file.properties.mapping.temp=D:/app/file/temp/
org.itkk.udf.starter.db.file.properties.fileUploadSupportType=pdf,jpg,jpeg,png
org.itkk.udf.starter.db.file.properties.previewSupportContentType=application/pdf,image/jpeg,image/png
# EXCEPTION
org.itkk.udf.starter.core.properties.outputExceptionStackTrace=true
# DataSource Dynamic
org.itkk.udf.starter.datasource.dynamic.properties.defaultCode=udf
# DataSource Dynamic -- udf
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.code=udf
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.enable=true
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.url=jdbc:mysql://manage.itkk.org:3306/udf_dev?useUnicode=true&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.username=udf_dev
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.password=123456
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.driverClassName=com.mysql.cj.jdbc.Driver
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.initialSize=5
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.minIdle=5
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.maxActive=5
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.maxWait=5000
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.timeBetweenEvictionRunsMillis=60000
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.minEvictableIdleTimeMillis=30000
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.validationQuery=select 1 from dual
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.testWhileIdle=true
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.testOnBorrow=false
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.testOnReturn=false
@@ -22,7 +22,7 @@ org.itkk.udf.starter.datasource.dynamic.properties.defaultCode=udf
# DataSource Dynamic -- udf
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.code=udf
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.enable=true
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.url=jdbc:mysql://web.itkk.org:3306/udf_dev?useUnicode=true&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.url=jdbc:mysql://192.168.1.100:3306/udf_dev?useUnicode=true&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.username=udf_dev
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.password=123456
org.itkk.udf.starter.datasource.dynamic.properties.map.udf.driverClassName=com.mysql.cj.jdbc.Driver