summaryrefslogtreecommitdiffstats
path: root/cps-application
diff options
context:
space:
mode:
authorsourabh_sourabh <sourabh.sourabh@est.tech>2024-05-21 12:16:43 +0100
committersourabh_sourabh <sourabh.sourabh@est.tech>2024-05-22 16:33:59 +0100
commitba41fe964a2039fb6dd9c0fd0b53163465869799 (patch)
treeb3f886e7bf6c15027a606b1c5a7708e2cfd12d3f /cps-application
parent6d85c1547fad014fbea44af57440e3de1c3ce9ff (diff)
Remove un-used code of RestTemplate
- Removed unused property belons to resttemplate - Refactored dmi properties class (from static internal class) - Overriden getter method of dmi basepath that removes any leading and trailing slashes from it. Issue-ID: CPS-2202 Change-Id: I16f61388fce2a6b9e258788fa826d485581d6138 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Diffstat (limited to 'cps-application')
-rw-r--r--cps-application/src/main/resources/application.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml
index 094046ca21..e724ef4443 100644
--- a/cps-application/src/main/resources/application.yml
+++ b/cps-application/src/main/resources/application.yml
@@ -175,9 +175,9 @@ ncmp:
dmi:
httpclient:
connectionTimeoutInSeconds: 30
- maximumConnectionsPerRoute: 50
+ readTimeoutInSeconds: 30
+ writeTimeoutInSeconds: 30
maximumConnectionsTotal: 100
- idleConnectionEvictionThresholdInSeconds: 5
maximumInMemorySizeInMegabytes: 16
auth:
username: ${DMI_USERNAME:cpsuser}