
server.port = 9090
#log
logging.file=/var/log/simple/simple.log
logging.level.root=info
spring.datasource.type=com.zaxxer.hikari.HikariDataSource
spring.datasource.url=jdbc:mysql://localhost:3306/mydb?autoReconnect=true&useUnicode=true&characterEncoding=utf-8&useSSL=false
spring.datasource.username = root
spring.datasource.password = 123456
spring.datasource.driverClassName = com.mysql.jdbc.Driver
# Specify the DBMS
spring.jpa.database = MYSQL
# Show or not log for each sql query
spring.jpa.show-sql = true
# Hibernate ddl auto (create, create-drop, update)
spring.jpa.hibernate.ddl-auto = update
# Naming strategy
spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy
#spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.DefaultNamingStrategy


# stripped before adding them to the entity manager)
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect

#mybatis section
#mybatis.mapper-locations=classpath:/com/simple/base/**/*Mapper.xml
#mybatis.type-aliases-package=com.simple.base.mybatis

#spring boot rest automatic model:
spring.data.rest.base-path=/autoapi
management.context-path=/manage
#json rest response date format:
spring.jackson.date-format=yyyy-MM-dd'T'HH:mm:ssXXX

security.filter-order=0
security.enable-csrf=false

#support different end device
spring.mobile.devicedelegatingviewresolver.enabled =true

#gzip support
server.compression.enabled=true
server.compression.mime-types=application/json,application/xml,text/html,text/xml,text/plain


security.filter-order=0
security.enable-csrf=false
spring.http.encoding.charset=UTF-8
spring.http.encoding.enabled=true
spring.http.encoding.force=true
upload.path=/usr/local/share/upload/

