X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=cps-application%2Fsrc%2Fmain%2Fresources%2Fapplication.yml;h=e3ffd04d7b5137174b61b8837b538c3e33cc0c0a;hb=42cf9c4ca24b4a5990b33d6d2578a27eda230f27;hp=3f005c9f784dff7dc350b52340e9da2d563b117b;hpb=96f59e3fd14cdd81e58537b647aa3dd001e3c4cc;p=cps.git diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index 3f005c9f7..e3ffd04d7 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"); @@ -33,6 +33,7 @@ spring: application: name: "cps-application" jpa: + show-sql: false ddl-auto: create open-in-view: false properties: @@ -45,7 +46,13 @@ spring: username: ${DB_USERNAME} password: ${DB_PASSWORD} driverClassName: org.postgresql.Driver - initialization-mode: always + hikari: + minimumIdle: 5 + maximumPoolSize: 80 + idleTimeout: 60000 + connectionTimeout: 120000 + leakDetectionThreshold: 30000 + pool-name: CpsDatabasePool cache: type: caffeine @@ -82,20 +89,26 @@ spring: jackson: default-property-inclusion: NON_NULL + serialization: + FAIL_ON_EMPTY_BEANS: false + sql: + init: + mode: ALWAYS 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 @@ -147,14 +160,22 @@ logging: springframework: INFO onap: cps: INFO - -dmi: - auth: - username: ${DMI_USERNAME} - password: ${DMI_PASSWORD} - api: - base-path: dmi - -timers: - advised-modules-sync: - sleep-time-ms: 30000 \ No newline at end of file +ncmp: + dmi: + auth: + username: ${DMI_USERNAME} + password: ${DMI_PASSWORD} + api: + base-path: dmi + + timers: + advised-modules-sync: + sleep-time-ms: 5000 + locked-modules-sync: + sleep-time-ms: 300000 + cm-handle-data-sync: + sleep-time-ms: 30000 + + modules-sync-watchdog: + async-executor: + parallelism-level: 10 \ No newline at end of file