FAISP/src/main/resources/application-test.properties

37 lines
1.3 KiB
Properties

#file upload
spring.servlet.multipart.location=/docker/faisp/uploadFiles
spring.servlet.multipart.max-file-size=200MB
spring.servlet.multipart.max-request-size=500MB
#thymeleaf
spring.thymeleaf.prefix=classpath:templates/
spring.thymeleaf.check-template-location=true
spring.thymeleaf.suffix=.html
spring.thymeleaf.mode=HTML
#Datasource Configuration
spring.sql.init.encoding=utf-8
#maximum-pool-size: CPU core count
spring.datasource.hikari.maximum-pool-size=4
#postgresql
spring.datasource-main.driverClassName=org.postgresql.Driver
spring.datasource-main.url=jdbc:postgresql://118.219.150.34:50503/faisp
spring.datasource-main.username=dbnt0031
spring.datasource-main.password=dbnt0928!
#oracle
spring.datasource-kwms.driverClassName=oracle.jdbc.driver.OracleDriver
spring.datasource-kwms.jdbcUrl=jdbc:oracle:thin:@118.219.150.34:51521:kwms
spring.datasource-kwms.username=kwms
spring.datasource-kwms.password=dbnt0928
#jpa
spring.jpa.show-sql=false
spring.jpa.generate-ddl=false
spring.jpa.hibernate.naming.physical-strategy = org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
# MyBatis
mybatis.mapper-locations: mybatisMapper/*.xml
mybatis.configuration.map-underscore-to-camel-case=true
mybatis.type-aliases-package=com.dbnt.faisp.main.**.model
logging.level.com.atoz_develop.mybatissample.repository=TRACE