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 |
|
Ruslan Kashapov | 0d6bbae | 2021-03-11 14:15:49 +0200 | [diff] [blame] | 37 | security:
|
| 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 Kashapov | f4d1c98 | 2020-10-29 11:39:31 +0200 | [diff] [blame] | 44 | # Actuator
|
| 45 | management:
|
| 46 | endpoints:
|
| 47 | web:
|
| 48 | base-path: /manage
|
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 49 | exposure:
|
| 50 | include: info,health,loggers
|
Ruslan Kashapov | f4d1c98 | 2020-10-29 11:39:31 +0200 | [diff] [blame] | 51 | endpoint:
|
| 52 | health:
|
| 53 | show-details: always
|
| 54 | # kubernetes probes: liveness and readiness
|
| 55 | probes:
|
| 56 | enabled: true
|
Ruslan Kashapov | a087b94 | 2021-01-26 08:36:57 +0200 | [diff] [blame] | 57 | loggers:
|
Ruslan Kashapov | 708fd66 | 2021-01-21 09:37:05 +0200 | [diff] [blame] | 58 | enabled: true
|
Ruslan Kashapov | f4d1c98 | 2020-10-29 11:39:31 +0200 | [diff] [blame] | 59 |
|
Rishi Chail | b220d74 | 2020-09-16 15:23:53 +0100 | [diff] [blame] | 60 | logging:
|
Rishi Chail | 8af414a | 2020-10-08 12:33:33 +0100 | [diff] [blame] | 61 | level:
|
| 62 | org:
|
| 63 | springframework: INFO
|