1 # ============LICENSE_START=======================================================
2 # Copyright (C) 2023-2024 Nordix Foundation.
3 # ================================================================================
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 # SPDX-License-Identifier: Apache-2.0
16 # ============LICENSE_END=========================================================
20 cps-base-path: /cps/api
22 ncmp-inventory-base-path: /ncmpInventory
29 name: cps-integration-test
33 hibernate.enable_lazy_load_no_trans: true
34 hibernate.dialect: org.hibernate.dialect.PostgreSQLDialect
35 hibernate.format_sql: false
36 hibernate.show_sql: false
37 # Please ensure these values match those used in cps-application/src/main/resources/application.yml
38 hibernate.id.new_generator_mappings: true
39 hibernate.jdbc.batch_size: 100
43 username: ${DB_USERNAME}
44 password: ${DB_PASSWORD}
45 driverClassName: org.postgresql.Driver
46 initialization-mode: always
51 connectionTimeout: 120000
52 leakDetectionThreshold: 30000
53 pool-name: CpsDatabasePool
57 cache-names: yangSchema
59 spec: maximumSize=10000,expireAfterAccess=10m
62 change-log: classpath:changelog/changelog-master.yaml
68 max-request-size: 100MB
71 bootstrap-servers: ${KAFKA_BOOTSTRAP_SERVER:localhost:9092}
75 value-serializer: io.cloudevents.kafka.CloudEventSerializer
78 group-id: ${NCMP_CONSUMER_GROUP_ID:ncmp-group}
79 key-deserializer: org.springframework.kafka.support.serializer.ErrorHandlingDeserializer
80 value-deserializer: org.springframework.kafka.support.serializer.ErrorHandlingDeserializer
82 spring.deserializer.key.delegate.class: org.apache.kafka.common.serialization.StringDeserializer
83 spring.deserializer.value.delegate.class: io.cloudevents.kafka.CloudEventDeserializer
84 spring.json.use.type.headers: false
87 default-property-inclusion: NON_NULL
89 FAIL_ON_EMPTY_BEANS: false
98 topic: ${NCMP_ASYNC_M2M_TOPIC:ncmp-async-m2m}
100 subscription-topic: ${NCMP_CM_AVC_SUBSCRIPTION:subscription}
101 subscription-forward-topic-prefix: ${NCMP_FORWARD_CM_AVC_SUBSCRIPTION:ncmp-dmi-cm-avc-subscription-}
102 subscription-response-topic: ${NCMP_RESPONSE_CM_AVC_SUBSCRIPTION:dmi-ncmp-cm-avc-subscription}
103 subscription-outcome-topic: ${NCMP_OUTCOME_CM_AVC_SUBSCRIPTION:subscription-response}
104 cm-events-topic: ${NCMP_CM_EVENTS_TOPIC:cm-events}
107 topic: ${LCM_EVENTS_TOPIC:ncmp-events}
110 topic: ${DMI_CM_EVENTS_TOPIC:dmi-cm-events}
112 topic: ${DMI_DEVICE_HEARTBEAT_TOPIC:dmi-device-heartbeat}
121 wait-for-tasks-to-complete-on-shutdown: true
122 thread-name-prefix: Async-
123 time-out-value-in-ms: 2000
127 disable-swagger-default-url: true
128 urlsPrimaryName: cps-core
131 url: /api-docs/cps-core/openapi.yaml
133 url: /api-docs/cps-ncmp/openapi.yaml
134 - name: cps-ncmp-inventory
135 url: /api-docs/cps-ncmp/openapi-inventory.yaml
138 # comma-separated uri patterns which do not require authorization
139 permit-uri: /actuator/**,/swagger-ui.html,/swagger-ui/**,/swagger-resources/**,/api-docs/**,/v3/api-docs/**
149 include: info,health,loggers,prometheus
153 # kubernetes probes: liveness and readiness
161 springframework: INFO
168 connectionTimeoutInSeconds: 180
169 maximumConnectionsPerRoute: 50
170 maximumConnectionsTotal: 100
171 idleConnectionEvictionThresholdInSeconds: 5
180 advised-modules-sync:
181 sleep-time-ms: 100000
183 sleep-time-ms: 300000
186 subscription-forwarding:
187 dmi-response-timeout-ms: 30000
191 dmi-availability-watchdog-ms: 30000
193 modules-sync-watchdog:
198 maximum-attempt-count: 20
204 max-request-size: 100MB
207 default-property-inclusion: NON_NULL
209 FAIL_ON_EMPTY_BEANS: false
216 cluster-name: cps-and-ncmp-test-caches
220 service-name: cps-and-ncmp-service