Rishi Chail | b220d74 | 2020-09-16 15:23:53 +0100 | [diff] [blame] | 1 | server:
|
puthuparambil.aditya | 52cff68 | 2020-11-05 11:34:41 +0000 | [diff] [blame] | 2 | port: 8080
|
| 3 | servlet:
|
| 4 | context-path: /api/cps
|
Rishi Chail | b220d74 | 2020-09-16 15:23:53 +0100 | [diff] [blame] | 5 |
|
| 6 | spring:
|
Rishi Chail | 8af414a | 2020-10-08 12:33:33 +0100 | [diff] [blame] | 7 | main:
|
| 8 | banner-mode: "off"
|
| 9 | # for POC only, later this should move to cpi-ri module
|
| 10 | jpa:
|
| 11 | ddl-auto: create
|
| 12 | open-in-view: false
|
| 13 | properties:
|
| 14 | hibernate:
|
| 15 | enable_lazy_load_no_trans: true
|
| 16 | dialect: org.hibernate.dialect.PostgreSQLDialect
|
| 17 |
|
| 18 | datasource:
|
| 19 | url: jdbc:postgresql://${DB_HOST}:5432/cpsdb
|
| 20 | username: ${DB_USERNAME}
|
| 21 | password: ${DB_PASSWORD}
|
| 22 | driverClassName: org.postgresql.Driver
|
| 23 | initialization-mode: always
|
Rishi Chail | b220d74 | 2020-09-16 15:23:53 +0100 | [diff] [blame] | 24 |
|
Ruslan Kashapov | f4d1c98 | 2020-10-29 11:39:31 +0200 | [diff] [blame] | 25 | # Actuator
|
| 26 | management:
|
| 27 | endpoints:
|
| 28 | web:
|
| 29 | base-path: /manage
|
| 30 | endpoint:
|
| 31 | health:
|
| 32 | show-details: always
|
| 33 | # kubernetes probes: liveness and readiness
|
| 34 | probes:
|
| 35 | enabled: true
|
| 36 |
|
Rishi Chail | b220d74 | 2020-09-16 15:23:53 +0100 | [diff] [blame] | 37 | logging:
|
Rishi Chail | 8af414a | 2020-10-08 12:33:33 +0100 | [diff] [blame] | 38 | level:
|
| 39 | org:
|
| 40 | springframework: INFO
|