update the credentials in subscribe call 41/77841/1
authorsunil unnava <sunil.unnava@att.com>
Mon, 4 Feb 2019 22:55:00 +0000 (17:55 -0500)
committersunil unnava <sunil.unnava@att.com>
Mon, 4 Feb 2019 22:55:19 +0000 (17:55 -0500)
Issue-ID: DMAAP-909
Change-Id: Ib27e6b3341376885a802e6702e64a5029da29356
Signed-off-by: sunil unnava <sunil.unnava@att.com>
src/main/java/org/onap/dmaap/mr/dmaapMMAgent/MirrorMakerAgent.java

index 304a067..61515bc 100644 (file)
@@ -139,7 +139,7 @@ public class MirrorMakerAgent {
                        return false;
                }
                logger.info("Published to Topic :" + this.topicname + " Successfully");
-               response = topicUtil.subscribeTopic(topicURL, topicname, "1", response, response);
+               response = topicUtil.subscribeTopic(topicURL, topicname, "1", mechid, password);
                if (response != null && response.startsWith("ERROR:")) {
                        logger.error("Problem subscribing to topic, please verify the config " + this.topicname + " MR URL is:"
                                        + this.topicURL + " Error is:  " + response);

© 2017 ONAP. Copyright © The Linux Foundation ®. All Rights Reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use