Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 1 | |
| 2 | server: |
| 3 | port: 8080 |
| 4 | |
| 5 | spring: |
| 6 | datasource: |
| 7 | url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/catalogdb |
| 8 | username: ${DB_USERNAME} |
| 9 | password: ${DB_PASSWORD} |
| 10 | driver-class-name: org.mariadb.jdbc.Driver |
| 11 | dbcp2: |
| 12 | initial-size: 5 |
| 13 | max-total: 20 |
| 14 | validation-query: select 1 |
| 15 | test-on-borrow: true |
| 16 | jpa: |
| 17 | show-sql: true |
| 18 | hibernate: |
| 19 | dialect: org.hibernate.dialect.MySQL5Dialect |
| 20 | ddl-auto: validate |
| 21 | naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy |
| 22 | enable-lazy-load-no-trans: true |
| 23 | |
| 24 | request: |
| 25 | datasource: |
| 26 | url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/requestdb |
| 27 | username: ${DB_USERNAME} |
| 28 | password: ${DB_PASSWORD} |
| 29 | driver-class-name: org.mariadb.jdbc.Driver |
| 30 | dbcp2: |
| 31 | initial-size: 5 |
| 32 | max-total: 20 |
| 33 | validation-query: select 1 |
| 34 | test-on-borrow: true |
| 35 | |
| 36 | #Actuator |
| 37 | management: |
| 38 | context-path: /manage |
| 39 | metrics: |
| 40 | se-global-registry: false |
| 41 | export: |
| 42 | prometheus: |
| 43 | enabled: true # Whether exporting of metrics to Prometheus is enabled. |
| 44 | step: 1m # Step size (i.e. reporting frequency) to use. |
| 45 | |