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