summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvarun gudisena <varuneshwar.gudisena@att.com>2019-02-05 15:35:58 +0000
committerGerrit Code Review <gerrit@onap.org>2019-02-05 15:35:58 +0000
commit29b48a164bae4ce42df5c2cc6df4d062bf47e1cb (patch)
treef3a6ce2bb737362707cd845b6a88fe068b8733f8
parent774d088360833a3d09b9b9cb9769a8196ddaef79 (diff)
parent82136c1fd201cf815cdd85a0f02e8dd6316d6ec7 (diff)
Merge "update the credentials in subscribe call"
-rw-r--r--src/main/java/org/onap/dmaap/mr/dmaapMMAgent/MirrorMakerAgent.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/onap/dmaap/mr/dmaapMMAgent/MirrorMakerAgent.java b/src/main/java/org/onap/dmaap/mr/dmaapMMAgent/MirrorMakerAgent.java
index 2252992..c205440 100644
--- a/src/main/java/org/onap/dmaap/mr/dmaapMMAgent/MirrorMakerAgent.java
+++ b/src/main/java/org/onap/dmaap/mr/dmaapMMAgent/MirrorMakerAgent.java
@@ -131,7 +131,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);