debug: true
env: 
  dev: true
server:
  port: 8299
cors: 
  allowedOrigins: 
    - "*"
spring:
  datasource:
    name: jdbc/bap-ds
    username: root
    password: 123
    url: jdbc:mysql://47.94.114.232:3306/xyst_test?useSSL=true&characterEncoding=UTF-8
    driverClassName: com.mysql.jdbc.Driver
  thymeleaf:
    cache: false
  redis:
    host: localhost
  rabbitmq:
    host: localhost
    username: guest
    password: guest
  session: 72000
  liquibase:
    enabled: false
    changeLog: classpath:/db/system/db-changelog-master-all.xml
  servlet:
    multipart:
      max-file-size: 10MB
      max-request-size: 100MB
management:
  info:
    git:
      mode: full
  metrics:
    export:
      influx:
        enabled: false
  endpoints: 
    web: 
      exposure:
        include: "*"
np:
  multitenancy:
    enabled: true
    connectionPool:
      pool: hikari
    system:
      hibernate:
        mappingLocations:
          - classpath*:/config/system/hbm/*.xml
          - classpath*:/config/*.hbm.xml
          - classpath*:/config/hbm/*.xml
          - classpath*:config/quartz/hbm/*.xml
        packagesToScan:
          - com.beecode.bap.scheduler.entity
          - com.beecode.inz.authmgr.entity
#          - com.beecode.bap.core.entity
          - com.beecode.inz.workflow.entity
          - com.beecode.bcp.workflow.entity
        properties:
          hibernate.hbm2ddl.auto: update
          hibernate.dialect: org.hibernate.dialect.MySQL57Dialect
          hibernate.dialect.storage_engine: innodb
          hibernate.show_sql: true
    database:
      initialization: hibernate
    tenantResolver:
      scope: request

amino:
  multitenancy:
    defaultTenant:
      accessAllModules: true
    liquibase:
      enabled: false
      changeLog: classpath:/db/system/db-changelog-master.xml
      tenantChangeLog: "file:///Users/xlinyao/homes/liquibase/#{tenantId}/db-changelog.xml"
  metadata:
    validateJmx: false

bcp:
  type:
    constraint:
      ingoreIncompatibleConstraints: true
      allowDefaultIgnore: true
hibernate:
  mappingLocations:
    - classpath*:/config/system/hbm/*.xml
    - classpath*:/config/*.hbm.xml
    - classpath*:/config/hbm/*.xml
    - classpath*:config/quartz/hbm/*.xml
  packagesToScan:
    - com.beecode.bap.scheduler.entity
    - com.beecode.inz.authmgr.entity
#    - com.beecode.bap.core.entity
    - com.beecode.inz.workflow.entity
    - com.beecode.bcp.workflow.entity
  properties:
    hibernate.hbm2ddl.auto: update
    hibernate.dialect: org.hibernate.dialect.MySQL57Dialect
    hibernate.dialect.storage_engine: innodb
    hibernate.show_sql: true
    hibernate.multiTenancy: schema
    hibernate.enable_lazy_load_no_trans: true
bap:
  manageNode: true
  attachment:
    fileDataService: diskAttachmentDataService
    fileSystem:
      rootPath: /Users/joker/develop/kunlun/xyst_dinas/attWorkspace
beecode:
  tenant:
    username: sysadmin
    telephone: 13100000000
  message:
    pushthreadsize: 50
  system:
    user:
    - name: test
      password: test
      group: admin
    - name: admin
      password: admin
      group: admin
    init:
      org: false
      dept: false
      rolegroup: false
  workflow:
    address:  http://127.0.0.1:12000/jbpm

rongtong:
  manage: true
  customer: false
  scheduler:
    mainSwitch: no_execute