Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 1 | # will be used as entry in DB to say SITE OFF/ON for healthcheck |
| 2 | |
| 3 | server: |
| 4 | port: 8080 |
| 5 | tomcat: |
| 6 | max-threads: 50 |
Benjamin, Max (mb388a) | 6fa3d2b | 2018-09-29 10:41:54 -0400 | [diff] [blame^] | 7 | ssl-enable: false |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 8 | mso: |
Benjamin, Max (mb388a) | 6fa3d2b | 2018-09-29 10:41:54 -0400 | [diff] [blame^] | 9 | adapters: |
| 10 | requestDb: |
| 11 | auth: Basic YnBlbDptc28tZGItMTUwNyE= |
| 12 | endpoint: http://localhost:8081 |
| 13 | logPath: .logs/reqdb |
| 14 | site-name: unkwon |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 15 | infra-requests: |
| 16 | archived: |
| 17 | period: 180 |
| 18 | # H2 |
| 19 | spring: |
| 20 | datasource: |
Benjamin, Max (mb388a) | 6fa3d2b | 2018-09-29 10:41:54 -0400 | [diff] [blame^] | 21 | jdbc-url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/requestdb |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 22 | username: ${DB_USERNAME} |
| 23 | password: ${DB_PASSWORD} |
| 24 | driver-class-name: org.mariadb.jdbc.Driver |
| 25 | dbcp2: |
| 26 | initial-size: 5 |
| 27 | max-total: 20 |
| 28 | validation-query: select 1 |
| 29 | test-on-borrow: true |
| 30 | jpa: |
| 31 | show-sql: false |
| 32 | hibernate: |
| 33 | dialect: org.hibernate.dialect.MySQL5Dialect |
| 34 | ddl-auto: validate |
| 35 | naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy |
| 36 | enable-lazy-load-no-trans: true |
Benjamin, Max (mb388a) | 6fa3d2b | 2018-09-29 10:41:54 -0400 | [diff] [blame^] | 37 | security: |
| 38 | usercredentials: |
| 39 | - |
| 40 | username: bpel |
| 41 | password: '$2a$12$1xyutEZNfjGewIZRfKaE8eZE99f5sYFUmmM80BobI65KNjmcK0JuO' |
| 42 | role: BPEL-Client |
| 43 | - |
| 44 | username: mso_admin |
| 45 | password: '$2a$12$tidKuu.h88E2nuL95pTVY.ZOYMN/1dp29A9b1o.0GFDsVVSYlMkHa' |
| 46 | role: ACTUATOR |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 47 | flyway: |
| 48 | baseline-on-migrate: false |
Benjamin, Max (mb388a) | 6fa3d2b | 2018-09-29 10:41:54 -0400 | [diff] [blame^] | 49 | jdbc-url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/requestdb |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 50 | user: ${DB_ADMIN_USERNAME} |
| 51 | password: ${DB_ADMIN_PASSWORD} |
| 52 | |
Benjamin, Max (mb388a) | 6fa3d2b | 2018-09-29 10:41:54 -0400 | [diff] [blame^] | 53 | management: |
| 54 | endpoints: |
| 55 | web: |
| 56 | base-path: /manage |
| 57 | server: |
| 58 | servlet: |
| 59 | context-path: /manage |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 60 | metrics: |
| 61 | se-global-registry: false |
| 62 | export: |
| 63 | prometheus: |
| 64 | enabled: true # Whether exporting of metrics to Prometheus is enabled. |
Benjamin, Max (mb388a) | 6fa3d2b | 2018-09-29 10:41:54 -0400 | [diff] [blame^] | 65 | step: 1m # Step size (i.e. reporting frequency) to use. |