blob: f3c009189d398a5b1d48c7dd96b7bc1f2bfe28db [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
niamhcore18331f52021-04-07 11:35:19 +010037 servlet:
38 multipart:
39 enabled: true
40 max-file-size: 100MB
41 max-request-size: 100MB
42
Ruslan Kashapovd8bcd172021-03-11 14:15:49 +020043security:
44 # comma-separated uri patterns which do not require authorization
45 permit-uri: /manage/health/**,/manage/info,/swagger-ui/**,/swagger-resources/**,/v3/api-docs
46 auth:
47 username: ${CPS_USERNAME:cpsuser}
48 password: ${CPS_PASSWORD:cpsr0cks!}
49
Ruslan Kashapovf4d1c982020-10-29 11:39:31 +020050# Actuator
51management:
52 endpoints:
53 web:
54 base-path: /manage
Claudio D. Gasparinib77bf252021-01-28 15:36:37 +010055 exposure:
56 include: info,health,loggers
Ruslan Kashapovf4d1c982020-10-29 11:39:31 +020057 endpoint:
58 health:
59 show-details: always
60 # kubernetes probes: liveness and readiness
61 probes:
62 enabled: true
Ruslan Kashapova087b942021-01-26 08:36:57 +020063 loggers:
Ruslan Kashapov708fd662021-01-21 09:37:05 +020064 enabled: true
Ruslan Kashapovf4d1c982020-10-29 11:39:31 +020065
Rishi Chailb220d742020-09-16 15:23:53 +010066logging:
Rishi Chail8af414a2020-10-08 12:33:33 +010067 level:
68 org:
69 springframework: INFO