file name and location changes 99/75499/1
authorsunil unnava <sunil.unnava@att.com>
Tue, 8 Jan 2019 21:35:54 +0000 (16:35 -0500)
committersunil unnava <sunil.unnava@att.com>
Tue, 8 Jan 2019 21:36:17 +0000 (16:36 -0500)
Issue-ID: DMAAP-909
Change-Id: I22baeb7cdb05b51577102373e9f5a4f4de44dba3
Signed-off-by: sunil unnava <sunil.unnava@att.com>
pom.xml
src/main/java/org/onap/dmaap/mr/dmaapMMAgent/MirrorMakerAgent.java
src/test/resources/etc/mmagent.config

diff --git a/pom.xml b/pom.xml
index 878ccd2..2d9c1d7 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                                        <descriptorRefs>
                                                <descriptorRef>jar-with-dependencies</descriptorRef>
                                        </descriptorRefs>
+                                       <appendAssemblyId>false</appendAssemblyId>
                                        <archive>
-
                                                <manifest>
                                                        <addClasspath>true</addClasspath>
-                                                       <mainClass>org.onap.dmaap.mr.MirrorMakerAgent</mainClass>
+                                                       <mainClass>org.onap.dmaap.mr.dmaapMMAgent.MirrorMakerAgent</mainClass>
                                                </manifest>
                                        </archive>
                                </configuration>
index 86a653d..de19474 100644 (file)
@@ -56,7 +56,7 @@ public class MirrorMakerAgent {
        static final Logger logger = Logger.getLogger(MirrorMakerAgent.class);
        Properties mirrorMakerProperties = new Properties();
        ListMirrorMaker mirrorMakers = null;
-       String mmagenthome = "";
+       String mmagenthome = "/opt";
        String kafkahome = "";
        String topicURL = "";
        String topicname = "";
@@ -100,7 +100,7 @@ public class MirrorMakerAgent {
        private boolean checkStartup() {
                FileInputStream input = null;
                try {
-                       this.mmagenthome = System.getProperty("MMAGENTHOME");
+                       //this.mmagenthome = System.getProperty("MMAGENTHOME");
                        input = new FileInputStream(mmagenthome + "/etc/mmagent.config");
                        logger.info("mmagenthome is set :" + mmagenthome + " loading properties at /etc/mmagent.config");
                } catch (IOException ex) {
index 1d978c1..0270a86 100644 (file)
@@ -1,7 +1,5 @@
-#kafkahome=C:/dev/att/kafka_2.10-0.8.2.1
-kafkahome=/opt/
-topicURL=http://172.18.0.1:3904
-#topicname=com.att.agenttest
-topicname=org.openecomp.dmaapBC.mmatopic
-mechid=dgl@openecomp.org
-password=ecomp_admin
\ No newline at end of file
+kafkahome=/opt/kafka
+topicURL=http://message-router:3904
+topicname=org.onap.dmaap.mr.mmagent
+mechid=demo@people.osaaf.org
+password=YKCAVhSQ+nedsh1Nry57l19jJQSnk8gs
\ No newline at end of file

© 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