summaryrefslogtreecommitdiffstats
path: root/models-interactions/model-simulators/src
diff options
context:
space:
mode:
authorRam Krishna Verma <ram_krishna.verma@bell.ca>2021-07-13 17:31:01 +0000
committerGerrit Code Review <gerrit@onap.org>2021-07-13 17:31:01 +0000
commitb14e0f9ecf76f084a52a17f49bad06816aedb915 (patch)
treea249135207a7cf7a5ddb76009038abe78c06388c /models-interactions/model-simulators/src
parent404a453ca4e65553b07551f469981977ef974076 (diff)
parent6be3c1abaf5c3eea0b353675835b6d2ce4584fe7 (diff)
Merge "Delete extra simulator docker images"
Diffstat (limited to 'models-interactions/model-simulators/src')
-rw-r--r--models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/Util.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/Util.java b/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/Util.java
index 8b8526259..29d665416 100644
--- a/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/Util.java
+++ b/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/Util.java
@@ -34,7 +34,6 @@ import org.onap.policy.common.utils.network.NetworkUtil;
import org.onap.policy.common.utils.resources.ResourceUtils;
import org.onap.policy.models.sim.dmaap.parameters.DmaapSimParameterGroup;
import org.onap.policy.models.sim.dmaap.provider.DmaapSimProvider;
-import org.onap.policy.models.sim.dmaap.rest.DmaapSimRestServer;
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public final class Util {
@@ -164,7 +163,7 @@ public final class Util {
DmaapSimProvider.setInstance(new DmaapSimProvider(params));
- var props = DmaapSimRestServer.getServerProperties(params.getRestServerParameters());
+ var props = params.getRestServerParameters().getServerProperties();
final String svcpfx = PolicyEndPointProperties.PROPERTY_HTTP_SERVER_SERVICES + "."
+ params.getRestServerParameters().getName();