diff options
author | 2019-02-27 10:16:01 +0100 | |
---|---|---|
committer | 2019-02-27 14:50:49 +0100 | |
commit | c50b6606f4af4452d1b107929956775e86e366c1 (patch) | |
tree | 5654231b342a2b352c6443e96e946bbadc721597 /sources/hv-collector-xnf-simulator/src/main | |
parent | bacba429e2dd6b3048da7e75800f5ad200952599 (diff) |
Fix bug when xnf simulator was not sending events
Change-Id: I53cdf572d2df66d6021651424931a67108c482d3
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
Issue-ID: DCAEGEN2-1291
Diffstat (limited to 'sources/hv-collector-xnf-simulator/src/main')
-rw-r--r-- | sources/hv-collector-xnf-simulator/src/main/kotlin/org/onap/dcae/collectors/veshv/simulators/xnf/impl/XnfSimulator.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/hv-collector-xnf-simulator/src/main/kotlin/org/onap/dcae/collectors/veshv/simulators/xnf/impl/XnfSimulator.kt b/sources/hv-collector-xnf-simulator/src/main/kotlin/org/onap/dcae/collectors/veshv/simulators/xnf/impl/XnfSimulator.kt index 812afe19..53a8826c 100644 --- a/sources/hv-collector-xnf-simulator/src/main/kotlin/org/onap/dcae/collectors/veshv/simulators/xnf/impl/XnfSimulator.kt +++ b/sources/hv-collector-xnf-simulator/src/main/kotlin/org/onap/dcae/collectors/veshv/simulators/xnf/impl/XnfSimulator.kt @@ -66,7 +66,7 @@ class XnfSimulator( private fun simulationFrom(parameters: List<MessageParameters>): IO<Unit> = parameters .toFlux() - .map(::simulate) + .flatMap(::simulate) .then(Mono.just(Unit)) .asIo() |