From 43d0451a27311e4154536a66cb22eb4d68a21e7a Mon Sep 17 00:00:00 2001 From: sourabh_sourabh Date: Mon, 27 May 2024 18:28:10 +0100 Subject: #1: Dedicated web client instance is assigned for data, model and health services - Switched web client instance based on dmi service type (like data or model) - 3 diff. beans are configured for data, model and health dmi service. - Added configurable properties for data and model. - Hard coded properties are assigned for health service. Issue-ID: CPS-2231 Change-Id: I39fb739c07c41430dae43509fe29ece5306b7d71 Signed-off-by: sourabh_sourabh --- cps-application/src/main/resources/application.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'cps-application/src/main') diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index 9c8c1ecd5f..4f08bb61a0 100644 --- a/cps-application/src/main/resources/application.yml +++ b/cps-application/src/main/resources/application.yml @@ -189,11 +189,18 @@ logging: ncmp: dmi: httpclient: - connectionTimeoutInSeconds: 30 - readTimeoutInSeconds: 30 - writeTimeoutInSeconds: 30 - maximumConnectionsTotal: 100 - maximumInMemorySizeInMegabytes: 16 + data-services: + connectionTimeoutInSeconds: 30 + readTimeoutInSeconds: 30 + writeTimeoutInSeconds: 30 + maximumConnectionsTotal: 100 + maximumInMemorySizeInMegabytes: 16 + model-services: + connectionTimeoutInSeconds: 30 + readTimeoutInSeconds: 30 + writeTimeoutInSeconds: 30 + maximumConnectionsTotal: 100 + maximumInMemorySizeInMegabytes: 16 auth: username: ${DMI_USERNAME:cpsuser} password: ${DMI_PASSWORD:cpsr0cks!} -- cgit 1.2.3-korg