blob: d85d34108139a06dcce921a0db07ea4574a5cdf9 [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.adityaf9908a42021-04-12 15:29:38 +010055security:
56 # comma-separated uri patterns which do not require authorization
57 permit-uri: /manage/health/**,/manage/info,/swagger-ui/**,/swagger-resources/**,/v3/api-docs
58 auth:
59 username: ${CPS_USERNAME}
60 password: ${CPS_PASSWORD}
61
puthuparambil.aditya7625e522021-01-22 22:01:50 +010062# Actuator
63management:
64 endpoints:
65 web:
66 base-path: /manage
67 exposure:
68 include: info,health,loggers
69 endpoint:
70 health:
71 show-details: always
72 # kubernetes probes: liveness and readiness
73 probes:
74 enabled: true
75 loggers:
76 enabled: true
77
78logging:
79 level:
80 org:
81 springframework: {{ .Values.logging.level }}