From 489978b1ff839d3ea02b0e76b933afc55fdea1d3 Mon Sep 17 00:00:00 2001 From: Joanna Jeremicz Date: Tue, 19 Nov 2019 07:47:26 +0100 Subject: Fix HV-VES static code vulnerabilities - Update kafka-clients version - Update SDK version - Update reactor-bom version Issue-ID: DCAEGEN2-1823 Signed-off-by: Joanna Jeremicz Change-Id: Ib2d49c46e2d1b58d5131b9af6fc27804d443da71 --- .../org/onap/dcae/collectors/veshv/config/api/ConfigurationModule.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sources/hv-collector-configuration/src/main') diff --git a/sources/hv-collector-configuration/src/main/kotlin/org/onap/dcae/collectors/veshv/config/api/ConfigurationModule.kt b/sources/hv-collector-configuration/src/main/kotlin/org/onap/dcae/collectors/veshv/config/api/ConfigurationModule.kt index 35adfe79..c913555a 100644 --- a/sources/hv-collector-configuration/src/main/kotlin/org/onap/dcae/collectors/veshv/config/api/ConfigurationModule.kt +++ b/sources/hv-collector-configuration/src/main/kotlin/org/onap/dcae/collectors/veshv/config/api/ConfigurationModule.kt @@ -34,7 +34,7 @@ import org.onap.dcae.collectors.veshv.utils.logging.Logger import org.onap.dcae.collectors.veshv.utils.logging.MappedDiagnosticContext import org.onap.dcaegen2.services.sdk.rest.services.cbs.client.api.CbsClient import org.onap.dcaegen2.services.sdk.rest.services.cbs.client.api.CbsClientFactory -import org.onap.dcaegen2.services.sdk.rest.services.cbs.client.model.EnvProperties +import org.onap.dcaegen2.services.sdk.rest.services.cbs.client.model.CbsClientConfiguration import reactor.core.publisher.Flux import reactor.core.publisher.Mono import reactor.retry.Jitter @@ -52,7 +52,7 @@ class ConfigurationModule internal constructor(private val configStateListener: constructor(configStateListener: ConfigurationStateListener) : this( configStateListener, - CbsClientFactory.createCbsClient(EnvProperties.fromEnvironment()) + CbsClientFactory.createCbsClient(CbsClientConfiguration.fromEnvironment()) ) fun healthCheckPort(args: Array): Int = cmd.getHealthcheckPort(args) -- cgit 1.2.3-korg