diff options
author | sourabh_sourabh <sourabh.sourabh@est.tech> | 2024-04-30 13:19:11 +0100 |
---|---|---|
committer | Sourabh Sourabh <sourabh.sourabh@est.tech> | 2024-04-30 12:56:22 +0000 |
commit | 45dcb449f10e1c9070eb4db3773cf1089686be19 (patch) | |
tree | ed143efdc5c2341533b85abdbaf88cad1245a11f /cps-application/src | |
parent | ab9ebe9ebef202c2fc3f1b758dc73c02b17e1b06 (diff) |
Reverted web client changes as it breaking CPS functionality:
1. Error handling not working
2. Unable to make dmi call as url appens extra "/"
Commit 1: Replace RestTemplate with WebClient in synchronous DMI calls
- added DmiWebClientConfiguration
- use WebClient in DmiRestClient
- fixed unit tests
- ingnored failing NCMP related integration tests (related to WebClient, will be fixed in a future patch)
- encode query params for DMI requests
Commit 2: Module sync task failing with WebClient
- added configurable buffer size
Commit 3: Re-use ncmp.dmi.httpclient.maximumConnectionsTotal parameter
(as documented in RTD) to control webclient connection poolsize
Issue-ID:CPS-989, CPS-2195, CPS-2198
Change-Id: I6c71ab2801b222708404f51bd60f2b3031ebf32e
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Diffstat (limited to 'cps-application/src')
-rw-r--r-- | cps-application/src/main/resources/application.yml | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index aeec8a2553..27bc6c6189 100644 --- a/cps-application/src/main/resources/application.yml +++ b/cps-application/src/main/resources/application.yml @@ -174,7 +174,6 @@ ncmp: maximumConnectionsPerRoute: 50 maximumConnectionsTotal: 100 idleConnectionEvictionThresholdInSeconds: 5 - maximumInMemorySizeInMegabytes: 16 auth: username: ${DMI_USERNAME} password: ${DMI_PASSWORD} |