All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ober-base.3.2.2.source-code.application.yaml Maven / Gradle / Ivy

The newest version!
server: { port: 8080,contextPath: /base ,sessionTimeout: 30}

spring:
  mvc:
    throw-exception-if-no-handler-found: true
  datasource:
    type: com.alibaba.druid.pool.DruidDataSource
    driver-class-name: com.mysql.jdbc.Driver
#    url: jdbc:mysql://192.168.60.44:3350/rober?useUnicode=true&characterEncoding=UTF-8
#    username: root
#    password: maxwell.1
    url: jdbc:mysql://127.0.0.1:3306/rober?useUnicode=true&characterEncoding=UTF-8
    username: root
    password: Amars0ft
    #打开PSCache,并且指定每个连接上PSCache的大小
    pool-prepared-statements: true
    max-pool-prepared-statement-per-connection-size: 20
    filters: stat,wall,log4j #配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
    connection-properties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
    use-global-data-source-stat: true #合并多个DruidDataSource的监控数据

#Rober的相关配置信息
group.rober:
  runtime:
    druid-login-username: rober
    druid-login-password: r0ber




© 2015 - 2024 Weber Informatics LLC | Privacy Policy