X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=cps-application%2Fsrc%2Fmain%2Fresources%2Fapplication.yml;h=17551344fefc1100fba468e7a780211235c83085;hb=0f4c024974edfb6185dc744ec60acec5b9d75b9d;hp=3f005c9f784dff7dc350b52340e9da2d563b117b;hpb=e8e5371459896e207a7910346bac5cfc7bd7b55e;p=cps.git diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index 3f005c9f7..17551344f 100644 --- a/cps-application/src/main/resources/application.yml +++ b/cps-application/src/main/resources/application.yml @@ -1,6 +1,6 @@ # ============LICENSE_START======================================================= # Copyright (C) 2021 Pantheon.tech -# Modifications Copyright (C) 2021 Bell Canada +# Modifications Copyright (C) 2021-2022 Bell Canada # Modifications Copyright (C) 2021-2022 Nordix Foundation # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); @@ -46,6 +46,13 @@ spring: password: ${DB_PASSWORD} driverClassName: org.postgresql.Driver initialization-mode: always + hikari: + minimumIdle: 5 + maximumPoolSize: 80 + idleTimeout: 120000 + connectionTimeout: 300000 + leakDetectionThreshold: 300000 + pool-name: CpsDatabasePool cache: type: caffeine @@ -82,20 +89,23 @@ spring: jackson: default-property-inclusion: NON_NULL + serialization: + FAIL_ON_EMPTY_BEANS: false app: ncmp: async-m2m: topic: ${NCMP_ASYNC_M2M_TOPIC:ncmp-async-m2m} + lcm: events: - topic: ${NCMP_EVENTS_TOPIC:ncmp-events} + topic: ${LCM_EVENTS_TOPIC:ncmp-events} + notification: + enabled: true data-updated: - enabled: false topic: ${CPS_CHANGE_EVENT_TOPIC:cps.data-updated-events} filters: enabled-dataspaces: ${NOTIFICATION_DATASPACE_FILTER_PATTERNS:""} async: - enabled: false executor: core-pool-size: 2 max-pool-size: 10 @@ -157,4 +167,8 @@ dmi: timers: advised-modules-sync: - sleep-time-ms: 30000 \ No newline at end of file + sleep-time-ms: 30000 + locked-modules-sync: + sleep-time-ms: 300000 + cm-handle-data-sync: + sleep-time-ms: 30000