bin.zhang | c972618 | 2018-08-22 17:14:28 +0800 | [diff] [blame] | 1 | server: |
| 2 | port: 10011 |
| 3 | |
| 4 | ## logging |
| 5 | logging: |
| 6 | level: |
| 7 | root: INFO |
| 8 | org.springframework.web: TRACE |
| 9 | org.springframework.data.jpa: TRACE |
| 10 | com.supwisdom.infras.security: DEBUG |
| 11 | com.supwisdom.leaveschool: DEBUG |
| 12 | |
| 13 | spring: |
| 14 | application: |
bin.zhang | fb54eee | 2018-08-27 14:04:58 +0800 | [diff] [blame] | 15 | name: leaving |
bin.zhang | c972618 | 2018-08-22 17:14:28 +0800 | [diff] [blame] | 16 | datasource: |
| 17 | driver-class-name: com.mysql.jdbc.Driver |
bin.zhang | 3a42d63 | 2018-08-29 12:18:40 +0800 | [diff] [blame] | 18 | url: jdbc:mysql://180.166.150.114:9512/leave_school?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull |
bin.zhang | 8984113 | 2018-08-27 18:04:21 +0800 | [diff] [blame] | 19 | #url: jdbc:mysql://172.50.10.15:3306/leave_school?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull |
bin.zhang | 3a42d63 | 2018-08-29 12:18:40 +0800 | [diff] [blame] | 20 | #url: jdbc:mysql://172.18.101.207:3306/leave_school?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull |
bin.zhang | fb54eee | 2018-08-27 14:04:58 +0800 | [diff] [blame] | 21 | username: leave_school |
| 22 | password: 111111 |
bin.zhang | c972618 | 2018-08-22 17:14:28 +0800 | [diff] [blame] | 23 | jpa: |
| 24 | hibernate: |
bin.zhang | 39012b1 | 2018-08-29 11:26:57 +0800 | [diff] [blame] | 25 | ddl-auto: none |
bin.zhang | c972618 | 2018-08-22 17:14:28 +0800 | [diff] [blame] | 26 | naming: |
| 27 | physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl |
bin.zhang | fb54eee | 2018-08-27 14:04:58 +0800 | [diff] [blame] | 28 | database-platform: org.hibernate.dialect.MySQL5InnoDBDialect |
bin.zhang | c972618 | 2018-08-22 17:14:28 +0800 | [diff] [blame] | 29 | show-sql: true |
| 30 | |
| 31 | infras: |
| 32 | mvc: |
| 33 | # 自定义error输出的例子 |
| 34 | custom-error: |
| 35 | enabled: true |
| 36 | error-map: |
| 37 | org.springframework.validation.BindException: Customized Bind Error Reason |
| 38 | include-message: true |
| 39 | include-errors: true |
| 40 | include-error: true |
| 41 | include-exception: true |
| 42 | include-path: true |
| 43 | include-timestamp: true |
| 44 | include-status: true |
| 45 | data: |
| 46 | jpa: |
| 47 | basePackages: com.supwisdom.leaveschool.leaving.repository |