[COMMON] Fix condition equality bashisms
[oom.git] / kubernetes / cps / resources / config / application.yml
1 {{/*
2   #  Copyright (C) 2021 Pantheon.tech
3   #  Modifications Copyright (C) 2020 Bell Canada. All rights reserved.
4   #  Modifications Copyright (C) 2021 Nordix Foundation. All rights reserved.
5   #
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 ---
19 server:
20   port: 8080
21
22 rest:
23   api:
24     cps-base-path: /cps/api
25     xnf-base-path: /cps-nf-proxy/api
26
27 spring:
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
50
51   liquibase:
52     change-log: classpath:changelog/changelog-master.yaml
53     labels: ${LIQUIBASE_LABELS}
54
55 # Actuator
56 management:
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
71 logging:
72   level:
73     org:
74       springframework: {{ .Values.logging.level }}