diff options
author | leventecsanyi <levente.csanyi@est.tech> | 2024-04-18 16:30:29 +0200 |
---|---|---|
committer | leventecsanyi <levente.csanyi@est.tech> | 2024-04-25 11:26:06 +0200 |
commit | 71bcac8b10e3298a8ed78e137540472c2f7f8e40 (patch) | |
tree | 13b247fd955224bff900e97591c081b170bf6798 /cps-ncmp-service/src/test/resources | |
parent | e90f0aa082e92b332f7bac7878be7f6576e722a3 (diff) |
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
Issue-ID:CPS-989
Change-Id: I26434568f68266e95669a51c134978ddd197d802
Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
Diffstat (limited to 'cps-ncmp-service/src/test/resources')
-rw-r--r-- | cps-ncmp-service/src/test/resources/application.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cps-ncmp-service/src/test/resources/application.yml b/cps-ncmp-service/src/test/resources/application.yml index a3283ff40f..574b49982b 100644 --- a/cps-ncmp-service/src/test/resources/application.yml +++ b/cps-ncmp-service/src/test/resources/application.yml @@ -36,6 +36,8 @@ app: ncmp: dmi: + httpclient: + connectionTimeoutInSeconds: 180 auth: username: some-user password: some-password |