1 # ============LICENSE_START=======================================================
\r
2 # Modification (C) 2021 Nordix Foundation
\r
3 # Modification Copyright (C) 2021 Bell Canada.
\r
4 # ================================================================================
\r
5 # Licensed under the Apache License, Version 2.0 (the "License");
\r
6 # you may not use this file except in compliance with the License.
\r
7 # You may obtain a copy of the License at
\r
9 # http://www.apache.org/licenses/LICENSE-2.0
\r
10 # Unless required by applicable law or agreed to in writing, software
\r
11 # distributed under the License is distributed on an "AS IS" BASIS,
\r
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
13 # See the License for the specific language governing permissions and
\r
14 # limitations under the License.
\r
16 # SPDX-License-Identifier: Apache-2.0
\r
17 # ============LICENSE_END=========================================================
\r
24 cps-base-path: /cps/api
\r
25 ncmp-base-path: /cps-ncmp/api
\r
35 enable_lazy_load_no_trans: true
\r
36 dialect: org.hibernate.dialect.PostgreSQLDialect
\r
39 url: jdbc:postgresql://${DB_HOST}:5432/cpsdb
\r
40 username: ${DB_USERNAME}
\r
41 password: ${DB_PASSWORD}
\r
42 driverClassName: org.postgresql.Driver
\r
43 initialization-mode: always
\r
47 cache-names: yangSchema
\r
49 spec: maximumSize=10000,expireAfterAccess=10m
\r
52 change-log: classpath:changelog/changelog-master.yaml
\r
53 labels: ${LIQUIBASE_LABELS}
\r
58 max-file-size: 100MB
\r
59 max-request-size: 100MB
\r
62 bootstrap-servers: ${KAFKA_BOOTSTRAP_SERVER:localhost:9092}
\r
66 value-serializer: org.springframework.kafka.support.serializer.JsonSerializer
\r
72 topic: ${CPS_CHANGE_EVENT_TOPIC:cps.cfg-state-events}
\r
75 # comma-separated uri patterns which do not require authorization
\r
76 permit-uri: /manage/health/**,/manage/info,/swagger-ui/**,/swagger-resources/**,/v3/api-docs
\r
78 username: ${CPS_USERNAME}
\r
79 password: ${CPS_PASSWORD}
\r
87 include: info,health,loggers
\r
90 show-details: always
\r
91 # kubernetes probes: liveness and readiness
\r
100 springframework: INFO
\r