application-dev.properties 2.52 KB
server.port=9088

# dubbo服务化使用开关flag
dubbo.use=false

#JPA
spring.jpa.hibernate.ddl-auto= none
spring.jpa.hibernate.naming.implicit-strategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyHbmImpl
spring.jpa.hibernate.naming.physical-strategy=org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy
spring.jpa.database= MYSQL
spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true
spring.jpa.show-sql= true
spring.jpa.properties.hibernate.dialect= org.hibernate.spatial.dialect.mysql.MySQL56InnoDBSpatialDialect

#DATABASE
spring.datasource.driver-class-name= com.mysql.jdbc.Driver
#spring.datasource.url= jdbc:mysql://127.0.0.1/control?useUnicode=true&characterEncoding=utf-8&useSSL=false
##spring.datasource.url= jdbc:mysql://192.168.168.222/control?useUnicode=true&characterEncoding=utf-8&useSSL=false
#spring.datasource.username= root
#spring.datasource.password=
spring.datasource.url= jdbc:mysql://127.0.0.1/control?useUnicode=true&characterEncoding=utf-8&useSSL=false
spring.datasource.username= root
spring.datasource.password= root
#spring.datasource.url= jdbc:mysql://192.168.168.241/control?useUnicode=true&characterEncoding=utf-8&useSSL=false
#spring.datasource.username= root
#spring.datasource.password= root2jsp
spring.datasource.type= com.zaxxer.hikari.HikariDataSource

#DATASOURCE SETTING
spring.datasource.hikari.minimum-idle= 8
spring.datasource.hikari.maximum-pool-size= 100
#spring.datasource.hikari.auto-commit= true
spring.datasource.hikari.idle-timeout= 60000
#spring.datasource.hikari.pool-name= HikariPool
spring.datasource.hikari.max-lifetime= 1800000
spring.datasource.hikari.connection-timeout= 3000
spring.datasource.hikari.connection-test-query= SELECT 1
spring.datasource.hikari.validation-timeout= 3000
spring.datasource.hikari.register-mbeans=true

kafka.use= false
spring.kafka.consumer.bootstrap-servers= localhost:9092
spring.kafka.consumer.group-id= schedule-system
spring.kafka.consumer.auto-offset-reset= latest
spring.kafka.consumer.key-deserializer= org.apache.kafka.common.serialization.StringDeserializer
spring.kafka.consumer.value-deserializer= org.apache.kafka.common.serialization.StringDeserializer

sso.enabled= false
sso.systemcode = SYS0019
sso.http.url.login= http://180.169.154.251:28090/portal/index.html#/login
sso.http.url.logout= http://180.169.154.251:18080/information/api/v1/logout
sso.http.url.auth= http://180.169.154.251:18080/information/authenticate/authorityAuthentication

path.speech.common = /data/control/speech/common/
path.speech.line = /data/control/speech/%s/