blob: e8af0bcfb22cf2058b4876c34502dd78434375c6 [file] [log] [blame]
Rishi Chailb220d742020-09-16 15:23:53 +01001server:
puthuparambil.aditya52cff682020-11-05 11:34:41 +00002 port: 8080
3 servlet:
4 context-path: /api/cps
Rishi Chailb220d742020-09-16 15:23:53 +01005
6spring:
Rishi Chail8af414a2020-10-08 12:33:33 +01007 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 Chailb220d742020-09-16 15:23:53 +010024
Ruslan Kashapovf4d1c982020-10-29 11:39:31 +020025# Actuator
26management:
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 Chailb220d742020-09-16 15:23:53 +010037logging:
Rishi Chail8af414a2020-10-08 12:33:33 +010038 level:
39 org:
40 springframework: INFO