blob: 3fa080e395f9ba1d471af692dc91d73ff5d32fec [file] [log] [blame]
puthuparambil.aditya7625e522021-01-22 22:01:50 +01001{{/*
2 # Copyright (C) 2021 Pantheon.tech
3 # Modifications Copyright (C) 2020 Bell Canada. All rights reserved.
Rishi.Chail7b307452021-03-05 12:11:01 +00004 # Modifications Copyright (C) 2021 Nordix Foundation. All rights reserved.
puthuparambil.aditya7625e522021-01-22 22:01:50 +01005 #
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 # http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17*/}}
18---
19server:
20 port: 8080
21
22rest:
23 api:
24 cps-base-path: /cps/api
25 xnf-base-path: /cps-nf-proxy/api
26
27spring:
28 main:
29 banner-mode: "off"
30 jpa:
31 ddl-auto: create
32 open-in-view: false
33 properties:
34 hibernate:
35 enable_lazy_load_no_trans: true
36 dialect: org.hibernate.dialect.PostgreSQLDialect
37
38 datasource:
39 url: jdbc:postgresql://{{ .Values.postgres.service.name2 }}:5432/{{ .Values.postgres.config.pgDatabase }}
40 username: ${DB_USERNAME}
41 password: ${DB_PASSWORD}
42 driverClassName: org.postgresql.Driver
43 initialization-mode: always
44
45 cache:
46 type: caffeine
47 cache-names: yangSchema
48 caffeine:
49 spec: maximumSize=10000,expireAfterAccess=10m
Rishi.Chail7b307452021-03-05 12:11:01 +000050
51 liquibase:
52 change-log: classpath:changelog/changelog-master.yaml
53 labels: ${LIQUIBASE_LABELS}
54
puthuparambil.aditya7625e522021-01-22 22:01:50 +010055# Actuator
56management:
57 endpoints:
58 web:
59 base-path: /manage
60 exposure:
61 include: info,health,loggers
62 endpoint:
63 health:
64 show-details: always
65 # kubernetes probes: liveness and readiness
66 probes:
67 enabled: true
68 loggers:
69 enabled: true
70
71logging:
72 level:
73 org:
74 springframework: {{ .Values.logging.level }}