blob: be4b688cf38621e7d303a4317cea8e39032ebd03 [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:
Claudio D. Gasparinib77bf252021-01-28 15:36:37 +01006 cps-base-path: /cps/api
7 xnf-base-path: /cps-nf-proxy/api
Rishi Chailb220d742020-09-16 15:23:53 +01008
9spring:
Rishi Chail8af414a2020-10-08 12:33:33 +010010 main:
11 banner-mode: "off"
Rishi Chail8af414a2020-10-08 12:33:33 +010012 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
Claudio David Gasparini1b8a4dd2021-01-13 19:12:25 +010027 cache:
28 type: caffeine
29 cache-names: yangSchema
30 caffeine:
31 spec: maximumSize=10000,expireAfterAccess=10m
puthuparambil.aditya495ae8e2021-02-23 15:51:00 +000032
33 liquibase:
34 change-log: classpath:changelog/changelog-master.yaml
35 labels: ${LIQUIBASE_LABELS}
36
Ruslan Kashapovd8bcd172021-03-11 14:15:49 +020037security:
38 # comma-separated uri patterns which do not require authorization
39 permit-uri: /manage/health/**,/manage/info,/swagger-ui/**,/swagger-resources/**,/v3/api-docs
40 auth:
41 username: ${CPS_USERNAME:cpsuser}
42 password: ${CPS_PASSWORD:cpsr0cks!}
43
Ruslan Kashapovf4d1c982020-10-29 11:39:31 +020044# Actuator
45management:
46 endpoints:
47 web:
48 base-path: /manage
Claudio D. Gasparinib77bf252021-01-28 15:36:37 +010049 exposure:
50 include: info,health,loggers
Ruslan Kashapovf4d1c982020-10-29 11:39:31 +020051 endpoint:
52 health:
53 show-details: always
54 # kubernetes probes: liveness and readiness
55 probes:
56 enabled: true
Ruslan Kashapova087b942021-01-26 08:36:57 +020057 loggers:
Ruslan Kashapov708fd662021-01-21 09:37:05 +020058 enabled: true
Ruslan Kashapovf4d1c982020-10-29 11:39:31 +020059
Rishi Chailb220d742020-09-16 15:23:53 +010060logging:
Rishi Chail8af414a2020-10-08 12:33:33 +010061 level:
62 org:
63 springframework: INFO