diff options
author | sourabh_sourabh <sourabh.sourabh@est.tech> | 2024-06-17 19:45:00 +0100 |
---|---|---|
committer | sourabh_sourabh <sourabh.sourabh@est.tech> | 2024-06-19 11:15:00 +0100 |
commit | d16143ab60f0bb75d7d1666f1bd198fc651d8ab0 (patch) | |
tree | d332154d101d2f710c4ffb2035b0b6fcdaaee92f /cps-ncmp-service/src/test/groovy | |
parent | dec088642348af779281ee98e88392d84685845a (diff) |
Handle high frequency (faster then DMI) of passthrough request in NCMP
- Added pendingAcquireMaxCount property into appliaction.yml.
- Added findbugs google annotations dependency.
- Supressed "BC_UNCONFIRMED_CAST_OF_RETURN_VALUE" spotbugs low error for
reactor.netty.resources.ConnectionProvider.
Issue-ID: CPS-2262
Change-Id: Ie755e40282473933f2052fbe7654e7090bb9b337
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Diffstat (limited to 'cps-ncmp-service/src/test/groovy')
-rw-r--r-- | cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/config/HttpClientConfigurationSpec.groovy | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/config/HttpClientConfigurationSpec.groovy b/cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/config/HttpClientConfigurationSpec.groovy index b7ced23828..228f412779 100644 --- a/cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/config/HttpClientConfigurationSpec.groovy +++ b/cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/config/HttpClientConfigurationSpec.groovy @@ -43,6 +43,7 @@ class HttpClientConfigurationSpec extends Specification { assert readTimeoutInSeconds == 789 assert writeTimeoutInSeconds == 30 assert maximumConnectionsTotal == 100 + assert pendingAcquireMaxCount == 22 assert maximumInMemorySizeInMegabytes == 7 } } @@ -54,6 +55,7 @@ class HttpClientConfigurationSpec extends Specification { assert readTimeoutInSeconds == 30 assert writeTimeoutInSeconds == 30 assert maximumConnectionsTotal == 111 + assert pendingAcquireMaxCount == 44 assert maximumInMemorySizeInMegabytes == 8 } } @@ -65,6 +67,7 @@ class HttpClientConfigurationSpec extends Specification { assert readTimeoutInSeconds == 30 assert writeTimeoutInSeconds == 30 assert maximumConnectionsTotal == 10 + assert pendingAcquireMaxCount == 5 assert maximumInMemorySizeInMegabytes == 1 } } |