diff options
author | Przemyslaw Wasala <przemyslaw.wasala@nokia.com> | 2018-08-03 08:59:40 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-08-03 08:59:40 +0000 |
commit | 8a0e9e5d4d7613793d2804d7e16a9352e3883874 (patch) | |
tree | 4164766b635623665aeef610387673af7d7f799e /hv-collector-xnf-simulator | |
parent | a5b9f6541fc640c1ce405975c247e787b65b3435 (diff) | |
parent | 63f1796ec022705504742a5bd1700f9e20c33540 (diff) |
Merge "Move MessageParametersParser"
Diffstat (limited to 'hv-collector-xnf-simulator')
-rw-r--r-- | hv-collector-xnf-simulator/src/main/kotlin/org/onap/dcae/collectors/veshv/simulators/xnf/impl/HttpServer.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hv-collector-xnf-simulator/src/main/kotlin/org/onap/dcae/collectors/veshv/simulators/xnf/impl/HttpServer.kt b/hv-collector-xnf-simulator/src/main/kotlin/org/onap/dcae/collectors/veshv/simulators/xnf/impl/HttpServer.kt index e6025734..3fb4be99 100644 --- a/hv-collector-xnf-simulator/src/main/kotlin/org/onap/dcae/collectors/veshv/simulators/xnf/impl/HttpServer.kt +++ b/hv-collector-xnf-simulator/src/main/kotlin/org/onap/dcae/collectors/veshv/simulators/xnf/impl/HttpServer.kt @@ -21,8 +21,8 @@ package org.onap.dcae.collectors.veshv.simulators.xnf.impl import arrow.effects.IO import org.onap.dcae.collectors.veshv.utils.logging.Logger -import org.onap.dcae.collectors.veshv.utils.messages.MessageParametersParser import org.onap.dcae.collectors.veshv.ves.message.generator.api.MessageGenerator +import org.onap.dcae.collectors.veshv.ves.message.generator.api.MessageParametersParser import ratpack.handling.Chain import ratpack.handling.Context import ratpack.server.RatpackServer @@ -35,7 +35,7 @@ import javax.json.Json * @since June 2018 */ internal class HttpServer(private val vesClient: XnfSimulator, - private val messageParametersParser: MessageParametersParser = MessageParametersParser()) { + private val messageParametersParser: MessageParametersParser = MessageParametersParser.INSTANCE) { fun start(port: Int): IO<RatpackServer> = IO { RatpackServer.start { server -> |