1 # ============LICENSE_START=======================================================
\r
2 # Modification (C) 2021 Nordix Foundation
\r
3 # ================================================================================
\r
4 # Licensed under the Apache License, Version 2.0 (the "License");
\r
5 # you may not use this file except in compliance with the License.
\r
6 # You may obtain a copy of the License at
\r
8 # http://www.apache.org/licenses/LICENSE-2.0
\r
9 # Unless required by applicable law or agreed to in writing, software
\r
10 # distributed under the License is distributed on an "AS IS" BASIS,
\r
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
12 # See the License for the specific language governing permissions and
\r
13 # limitations under the License.
\r
15 # SPDX-License-Identifier: Apache-2.0
\r
16 # ============LICENSE_END=========================================================
\r
23 cps-base-path: /cps/api
\r
24 ncmp-base-path: /cps-ncmp/api
\r
34 enable_lazy_load_no_trans: true
\r
35 dialect: org.hibernate.dialect.PostgreSQLDialect
\r
38 url: jdbc:postgresql://${DB_HOST}:5432/cpsdb
\r
39 username: ${DB_USERNAME}
\r
40 password: ${DB_PASSWORD}
\r
41 driverClassName: org.postgresql.Driver
\r
42 initialization-mode: always
\r
46 cache-names: yangSchema
\r
48 spec: maximumSize=10000,expireAfterAccess=10m
\r
51 change-log: classpath:changelog/changelog-master.yaml
\r
52 labels: ${LIQUIBASE_LABELS}
\r
57 max-file-size: 100MB
\r
58 max-request-size: 100MB
\r
61 # comma-separated uri patterns which do not require authorization
\r
62 permit-uri: /manage/health/**,/manage/info,/swagger-ui/**,/swagger-resources/**,/v3/api-docs
\r
64 username: ${CPS_USERNAME:cpsuser}
\r
65 password: ${CPS_PASSWORD:cpsr0cks!}
\r
73 include: info,health,loggers
\r
76 show-details: always
\r
77 # kubernetes probes: liveness and readiness
\r
86 springframework: INFO
\r