application.yml-template 3.23 KB
Newer Older
焦凯 committed
1 2 3
debug: true
env: 
  dev: true
PWF-WK01\pengwufeng committed
4
server:
焦凯 committed
5 6 7 8
  port: 8299
cors: 
  allowedOrigins: 
    - "*"
PWF-WK01\pengwufeng committed
9 10
spring:
  datasource:
焦凯 committed
11
    name: jdbc/bap-ds
PWF-WK01\pengwufeng committed
12 13
    username: root
    password: 123
焦凯 committed
14
    url: jdbc:mysql://localhost:3306/inz_kunlun01?useSSL=true&characterEncoding=UTF-8
PWF-WK01\pengwufeng committed
15
    driverClassName: com.mysql.jdbc.Driver
焦凯 committed
16 17 18 19 20 21 22 23 24 25 26 27 28
  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:
PWF-WK01\pengwufeng committed
29 30 31
    multipart:
      max-file-size: 10MB
      max-request-size: 100MB
焦凯 committed
32 33 34 35 36 37 38 39 40 41 42 43
management:
  info:
    git:
      mode: full
  metrics:
    export:
      influx:
        enabled: false
  endpoints: 
    web: 
      exposure:
        include: "*"
PWF-WK01\pengwufeng committed
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
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
焦凯 committed
59 60 61
#          - com.beecode.bap.core.entity
          - com.beecode.inz.workflow.entity
          - com.beecode.bcp.workflow.entity
PWF-WK01\pengwufeng committed
62 63 64 65 66 67 68 69 70 71 72 73 74
        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:
焦凯 committed
75 76 77 78 79
      accessAllModules: true
    liquibase:
      enabled: false
      changeLog: classpath:/db/system/db-changelog-master.xml
      tenantChangeLog: "file:///Users/xlinyao/homes/liquibase/#{tenantId}/db-changelog.xml"
PWF-WK01\pengwufeng committed
80
  metadata:
焦凯 committed
81
    validateJmx: false
PWF-WK01\pengwufeng committed
82 83 84 85 86 87 88 89

bcp:
  type:
    constraint:
      ingoreIncompatibleConstraints: true
      allowDefaultIgnore: true
hibernate:
  mappingLocations:
焦凯 committed
90
    - classpath*:/config/system/hbm/*.xml
PWF-WK01\pengwufeng committed
91 92 93 94 95 96
    - classpath*:/config/*.hbm.xml
    - classpath*:/config/hbm/*.xml
    - classpath*:config/quartz/hbm/*.xml
  packagesToScan:
    - com.beecode.bap.scheduler.entity
    - com.beecode.inz.authmgr.entity
焦凯 committed
97 98 99
#    - com.beecode.bap.core.entity
    - com.beecode.inz.workflow.entity
    - com.beecode.bcp.workflow.entity
PWF-WK01\pengwufeng committed
100
  properties:
焦凯 committed
101
    hibernate.hbm2ddl.auto: update
PWF-WK01\pengwufeng committed
102 103 104 105 106 107
    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:
焦凯 committed
108
  manageNode: true
PWF-WK01\pengwufeng committed
109
  attachment:
焦凯 committed
110 111 112 113 114 115 116 117 118
    fileDataService: diskAttachmentDataService
    fileSystem:
      rootPath: /Users/joker/develop/kunlun/xyst_dinas/attWorkspace
beecode:
  tenant:
    username: sysadmin
    telephone: 13100000000
  message:
    pushthreadsize: 50
PWF-WK01\pengwufeng committed
119 120
  system:
    user:
焦凯 committed
121 122 123 124 125 126 127 128 129 130 131 132
    - 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
PWF-WK01\pengwufeng committed
133

焦凯 committed
134 135 136 137 138
rongtong:
  manage: true
  customer: false
  scheduler:
    mainSwitch: no_execute