blob: 983a75444bef544a809d394d1a8a54e6ab0b0812 [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.
4 #
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 # http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16*/}}
17---
18server:
19 port: 8080
20
21rest:
22 api:
23 cps-base-path: /cps/api
24 xnf-base-path: /cps-nf-proxy/api
25
26spring:
27 main:
28 banner-mode: "off"
29 jpa:
30 ddl-auto: create
31 open-in-view: false
32 properties:
33 hibernate:
34 enable_lazy_load_no_trans: true
35 dialect: org.hibernate.dialect.PostgreSQLDialect
36
37 datasource:
38 url: jdbc:postgresql://{{ .Values.postgres.service.name2 }}:5432/{{ .Values.postgres.config.pgDatabase }}
39 username: ${DB_USERNAME}
40 password: ${DB_PASSWORD}
41 driverClassName: org.postgresql.Driver
42 initialization-mode: always
43
44 cache:
45 type: caffeine
46 cache-names: yangSchema
47 caffeine:
48 spec: maximumSize=10000,expireAfterAccess=10m
49# Actuator
50management:
51 endpoints:
52 web:
53 base-path: /manage
54 exposure:
55 include: info,health,loggers
56 endpoint:
57 health:
58 show-details: always
59 # kubernetes probes: liveness and readiness
60 probes:
61 enabled: true
62 loggers:
63 enabled: true
64
65logging:
66 level:
67 org:
68 springframework: {{ .Values.logging.level }}