blob: b50a92662b0b7fe4bd75d4ff4180aaa466da6053 [file] [log] [blame]
Rishi Chailb220d742020-09-16 15:23:53 +01001server:
puthuparambil.aditya52cff682020-11-05 11:34:41 +00002 port: 8080
Ruslan Kashapov708fd662021-01-21 09:37:05 +02003
4rest:
5 api:
6 base-path: /cps/api
Rishi Chailb220d742020-09-16 15:23:53 +01007
8spring:
Rishi Chail8af414a2020-10-08 12:33:33 +01009 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 Chailb220d742020-09-16 15:23:53 +010026
Ruslan Kashapovf4d1c982020-10-29 11:39:31 +020027# Actuator
28management:
29 endpoints:
30 web:
31 base-path: /manage
Ruslan Kashapov708fd662021-01-21 09:37:05 +020032 exposure:
33 include: health,info,loggers
Ruslan Kashapovf4d1c982020-10-29 11:39:31 +020034 endpoint:
35 health:
36 show-details: always
37 # kubernetes probes: liveness and readiness
38 probes:
39 enabled: true
Ruslan Kashapov708fd662021-01-21 09:37:05 +020040 looging:
41 enabled: true
Ruslan Kashapovf4d1c982020-10-29 11:39:31 +020042
Rishi Chailb220d742020-09-16 15:23:53 +010043logging:
Rishi Chail8af414a2020-10-08 12:33:33 +010044 level:
45 org:
46 springframework: INFO