aboutsummaryrefslogtreecommitdiffstats
path: root/cps-application/src/main
diff options
context:
space:
mode:
authorsourabh_sourabh <sourabh.sourabh@est.tech>2024-05-27 18:28:10 +0100
committerSourabh Sourabh <sourabh.sourabh@est.tech>2024-06-06 15:54:57 +0000
commit43d0451a27311e4154536a66cb22eb4d68a21e7a (patch)
treeeaef3f668b77ed49849410b21d7542ab912aee34 /cps-application/src/main
parentd7fa9601a1409ee3a156ac2f6a6ec11853989cd7 (diff)
#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 <sourabh.sourabh@est.tech>
Diffstat (limited to 'cps-application/src/main')
-rw-r--r--cps-application/src/main/resources/application.yml17
1 files changed, 12 insertions, 5 deletions
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!}