aboutsummaryrefslogtreecommitdiffstats
path: root/sources/hv-collector-configuration/src/main
diff options
context:
space:
mode:
authorJoanna Jeremicz <joanna.jeremicz@nokia.com>2019-11-19 07:47:26 +0100
committerJoanna Jeremicz <joanna.jeremicz@nokia.com>2019-11-22 10:08:32 +0100
commit489978b1ff839d3ea02b0e76b933afc55fdea1d3 (patch)
tree1b79793fde21efcc97738371c3b460333dcb1a28 /sources/hv-collector-configuration/src/main
parent73889b15a3b4de4b13bfdd8a219a263f6b4a8d2a (diff)
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 <joanna.jeremicz@nokia.com> Change-Id: Ib2d49c46e2d1b58d5131b9af6fc27804d443da71
Diffstat (limited to 'sources/hv-collector-configuration/src/main')
-rw-r--r--sources/hv-collector-configuration/src/main/kotlin/org/onap/dcae/collectors/veshv/config/api/ConfigurationModule.kt4
1 files changed, 2 insertions, 2 deletions
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<String>): Int = cmd.getHealthcheckPort(args)