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:
|
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 6 | cps-base-path: /cps/api
|
| 7 | xnf-base-path: /cps-nf-proxy/api
|
Rishi Chail | b220d74 | 2020-09-16 15:23:53 +0100 | [diff] [blame] | 8 |
|
| 9 | spring:
|
Rishi Chail | 8af414a | 2020-10-08 12:33:33 +0100 | [diff] [blame] | 10 | main:
|
| 11 | banner-mode: "off"
|
Rishi Chail | 8af414a | 2020-10-08 12:33:33 +0100 | [diff] [blame] | 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 |
|
Claudio David Gasparini | 1b8a4dd | 2021-01-13 19:12:25 +0100 | [diff] [blame] | 27 | cache:
|
| 28 | type: caffeine
|
| 29 | cache-names: yangSchema
|
| 30 | caffeine:
|
| 31 | spec: maximumSize=10000,expireAfterAccess=10m
|
puthuparambil.aditya | 495ae8e | 2021-02-23 15:51:00 +0000 | [diff] [blame] | 32 |
|
| 33 | liquibase:
|
| 34 | change-log: classpath:changelog/changelog-master.yaml
|
| 35 | labels: ${LIQUIBASE_LABELS}
|
| 36 |
|
niamhcore | 18331f5 | 2021-04-07 11:35:19 +0100 | [diff] [blame] | 37 | servlet:
|
| 38 | multipart:
|
| 39 | enabled: true
|
| 40 | max-file-size: 100MB
|
| 41 | max-request-size: 100MB
|
| 42 |
|
Ruslan Kashapov | d8bcd17 | 2021-03-11 14:15:49 +0200 | [diff] [blame] | 43 | security:
|
| 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 Kashapov | f4d1c98 | 2020-10-29 11:39:31 +0200 | [diff] [blame] | 50 | # Actuator
|
| 51 | management:
|
| 52 | endpoints:
|
| 53 | web:
|
| 54 | base-path: /manage
|
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 55 | exposure:
|
| 56 | include: info,health,loggers
|
Ruslan Kashapov | f4d1c98 | 2020-10-29 11:39:31 +0200 | [diff] [blame] | 57 | endpoint:
|
| 58 | health:
|
| 59 | show-details: always
|
| 60 | # kubernetes probes: liveness and readiness
|
| 61 | probes:
|
| 62 | enabled: true
|
Ruslan Kashapov | a087b94 | 2021-01-26 08:36:57 +0200 | [diff] [blame] | 63 | loggers:
|
Ruslan Kashapov | 708fd66 | 2021-01-21 09:37:05 +0200 | [diff] [blame] | 64 | enabled: true
|
Ruslan Kashapov | f4d1c98 | 2020-10-29 11:39:31 +0200 | [diff] [blame] | 65 |
|
Rishi Chail | b220d74 | 2020-09-16 15:23:53 +0100 | [diff] [blame] | 66 | logging:
|
Rishi Chail | 8af414a | 2020-10-08 12:33:33 +0100 | [diff] [blame] | 67 | level:
|
| 68 | org:
|
| 69 | springframework: INFO
|