1 # ============LICENSE_START=======================================================
\r
2 # Copyright (C) 2021 Pantheon.tech
\r
3 # Modifications Copyright (C) 2021 Bell Canada
\r
4 # Modifications Copyright (C) 2021 Nordix Foundation
\r
5 # ================================================================================
\r
6 # Licensed under the Apache License, Version 2.0 (the "License");
\r
7 # you may not use this file except in compliance with the License.
\r
8 # You may obtain a copy of the License at
\r
10 # http://www.apache.org/licenses/LICENSE-2.0
\r
12 # Unless required by applicable law or agreed to in writing, software
\r
13 # distributed under the License is distributed on an "AS IS" BASIS,
\r
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
15 # See the License for the specific language governing permissions and
\r
16 # limitations under the License.
\r
18 # SPDX-License-Identifier: Apache-2.0
\r
19 # ============LICENSE_END=========================================================
\r
26 cps-base-path: /cps/api
\r
27 ncmp-base-path: /ncmp
\r
28 ncmp-inventory-base-path: /ncmpInventory
\r
38 enable_lazy_load_no_trans: true
\r
39 dialect: org.hibernate.dialect.PostgreSQLDialect
\r
42 url: jdbc:postgresql://${DB_HOST}:5432/cpsdb
\r
43 username: ${DB_USERNAME}
\r
44 password: ${DB_PASSWORD}
\r
45 driverClassName: org.postgresql.Driver
\r
46 initialization-mode: always
\r
50 cache-names: yangSchema
\r
52 spec: maximumSize=10000,expireAfterAccess=10m
\r
55 change-log: classpath:changelog/changelog-master.yaml
\r
56 labels: ${LIQUIBASE_LABELS}
\r
61 max-file-size: 100MB
\r
62 max-request-size: 100MB
\r
65 bootstrap-servers: ${KAFKA_BOOTSTRAP_SERVER:localhost:9092}
\r
69 value-serializer: org.springframework.kafka.support.serializer.JsonSerializer
\r
75 topic: ${CPS_CHANGE_EVENT_TOPIC:cps.data-updated-events}
\r
77 enabled-dataspaces: ${NOTIFICATION_DATASPACE_FILTER_PATTERNS:""}
\r
84 wait-for-tasks-to-complete-on-shutdown: true
\r
85 thread-name-prefix: Async-
\r
90 disable-swagger-default-url: true
\r
91 urlsPrimaryName: cps-core
\r
94 url: /api-docs/cps-core/openapi.yaml
\r
96 url: /api-docs/cps-ncmp/openapi.yaml
\r
97 - name: cps-ncmp-inventory
\r
98 url: /api-docs/cps-ncmp/openapi-inventory.yaml
\r
102 # comma-separated uri patterns which do not require authorization
\r
103 permit-uri: /manage/**,/swagger-ui.html,/swagger-ui/**,/swagger-resources/**,/api-docs/**
\r
105 username: ${CPS_USERNAME}
\r
106 password: ${CPS_PASSWORD}
\r
116 include: info,health,loggers,prometheus
\r
119 show-details: always
\r
120 # kubernetes probes: liveness and readiness
\r
127 springframework: INFO
\r
131 username: ${DMI_USERNAME}
\r
132 password: ${DMI_PASSWORD}
\r