X-Git-Url: https://gerrit.onap.org/r/gitweb?p=dmaap%2Fdbcapi.git;a=blobdiff_plain;f=src%2Ftest%2Fjava%2Forg%2Fonap%2Fdmaap%2Fdbcapi%2Fservice%2FMR_ClientServiceTest.java;h=4d79b74474efe22e7377fbe488e63b10a1d6e908;hp=470ca6cbef946b1684b54313bbb2ea40c1e2b9ad;hb=d5d37c0477744cbaa6a9d9fc690c0dafbb2d1868;hpb=bc9afa1b8ff000d7178dfa2f582775fc2a6613a3 diff --git a/src/test/java/org/onap/dmaap/dbcapi/service/MR_ClientServiceTest.java b/src/test/java/org/onap/dmaap/dbcapi/service/MR_ClientServiceTest.java index 470ca6c..4d79b74 100644 --- a/src/test/java/org/onap/dmaap/dbcapi/service/MR_ClientServiceTest.java +++ b/src/test/java/org/onap/dmaap/dbcapi/service/MR_ClientServiceTest.java @@ -18,15 +18,22 @@ * ============LICENSE_END========================================================= */ package org.onap.dmaap.dbcapi.service; -import org.onap.dmaap.dbcapi.model.*; -import static org.junit.Assert.*; +import static org.junit.Assert.assertTrue; + +import java.util.ArrayList; +import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; -import java.util.List; -import java.util.ArrayList; +import org.onap.dmaap.dbcapi.model.ApiError; +import org.onap.dmaap.dbcapi.model.DcaeLocation; +import org.onap.dmaap.dbcapi.model.MR_Client; +import org.onap.dmaap.dbcapi.model.MR_Cluster; +import org.onap.dmaap.dbcapi.model.Topic; +import org.onap.dmaap.dbcapi.testframework.DmaapObjectFactory; +import org.onap.dmaap.dbcapi.testframework.ReflectionHarness; public class MR_ClientServiceTest { @@ -114,11 +121,11 @@ public class MR_ClientServiceTest { if ( nTopic != null ) { assertTrue( nTopic.getTopicName().equals( topic.getTopicName() )); } - MR_Client c = factory.genPublisher( "edge", topic.getFqtn() ); + MR_Client c = factory.genPublisher( "central", topic.getFqtn() ); c = cls.addMr_Client( c, topic, err ); if ( c != null ) { - c = factory.genSubscriber( "edge", topic.getFqtn() ); + c = factory.genSubscriber( "central", topic.getFqtn() ); c = cls.updateMr_Client( c, err ); assertTrue( err.getCode() == 200 ); }