# ============LICENSE_START=======================================================\r
# Copyright (C) 2021 Pantheon.tech\r
-# Modifications Copyright (C) 2021 Bell Canada\r
+# Modifications Copyright (C) 2021-2022 Bell Canada\r
# Modifications Copyright (C) 2021-2022 Nordix Foundation\r
# ================================================================================\r
# Licensed under the Apache License, Version 2.0 (the "License");\r
username: ${DB_USERNAME}\r
password: ${DB_PASSWORD}\r
driverClassName: org.postgresql.Driver\r
- initialization-mode: always\r
+ hikari:\r
+ minimumIdle: 5\r
+ maximumPoolSize: 80\r
+ idleTimeout: 60000\r
+ connectionTimeout: 120000\r
+ leakDetectionThreshold: 30000\r
+ pool-name: CpsDatabasePool\r
\r
cache:\r
type: caffeine\r
\r
jackson:\r
default-property-inclusion: NON_NULL\r
+ serialization:\r
+ FAIL_ON_EMPTY_BEANS: false\r
+ sql:\r
+ init:\r
+ mode: ALWAYS\r
app:\r
ncmp:\r
async-m2m:\r
topic: ${NCMP_ASYNC_M2M_TOPIC:ncmp-async-m2m}\r
+ lcm:\r
+ events:\r
+ topic: ${LCM_EVENTS_TOPIC:ncmp-events}\r
\r
notification:\r
+ enabled: true\r
data-updated:\r
- enabled: false\r
topic: ${CPS_CHANGE_EVENT_TOPIC:cps.data-updated-events}\r
filters:\r
enabled-dataspaces: ${NOTIFICATION_DATASPACE_FILTER_PATTERNS:""}\r
async:\r
- enabled: false\r
executor:\r
core-pool-size: 2\r
max-pool-size: 10\r
springframework: INFO\r
onap:\r
cps: INFO\r
-\r
-dmi:\r
- auth:\r
- username: ${DMI_USERNAME}\r
- password: ${DMI_PASSWORD}\r
- api:\r
- base-path: dmi\r
-\r
-timers:\r
- advised-modules-sync:\r
- sleep-time-ms: 30000
\ No newline at end of file
+ncmp:\r
+ dmi:\r
+ auth:\r
+ username: ${DMI_USERNAME}\r
+ password: ${DMI_PASSWORD}\r
+ api:\r
+ base-path: dmi\r
+\r
+ timers:\r
+ advised-modules-sync:\r
+ sleep-time-ms: 5000\r
+ locked-modules-sync:\r
+ sleep-time-ms: 300000\r
+ cm-handle-data-sync:\r
+ sleep-time-ms: 30000\r
+\r
+ modules-sync-watchdog:\r
+ async-executor:\r
+ parallelism-level: 10
\ No newline at end of file