DB utils update for db initialization
[dmaap/datarouter.git] / datarouter-prov / src / main / java / org / onap / dmaap / datarouter / provisioning / SynchronizerTask.java
index a85bfc8..2e0fc21 100644 (file)
@@ -83,7 +83,7 @@ import org.onap.dmaap.datarouter.provisioning.utils.URLUtilities;
  * <ol>\r
  * <li>Checking DNS once per minute to see which POD the DNS CNAME points to. The CNAME will point to\r
  * the active (master) POD.</li>\r
- * <li>On non-master (standby) PODs, fetches provisioning data and logs in order to keep MySQL in sync.</li>\r
+ * <li>On non-master (standby) PODs, fetches provisioning data and logs in order to keep MariaDB in sync.</li>\r
  * <li>Providing information to other parts of the system as to the current role (ACTIVE, STANDBY, UNKNOWN)\r
  * of this POD.</li>\r
  * </ol>\r
@@ -130,7 +130,7 @@ public class SynchronizerTask extends TimerTask {
        private SynchronizerTask() {\r
                logger = Logger.getLogger("org.onap.dmaap.datarouter.provisioning.internal");\r
                rolex = new Timer();\r
-               spooldir = (new DB()).getProperties().getProperty("com.att.research.datarouter.provserver.spooldir");\r
+               spooldir = (new DB()).getProperties().getProperty("org.onap.dmaap.datarouter.provserver.spooldir");\r
                state = UNKNOWN;\r
                doFetch = true;         // start off with a fetch\r
                nextsynctime = 0;\r
@@ -172,7 +172,7 @@ public class SynchronizerTask extends TimerTask {
                        // Run once every 5 seconds to check DNS, etc.\r
                        long interval = 0;\r
                        try {\r
-                               String s = props.getProperty("com.att.research.datarouter.provserver.sync_interval", "5000");\r
+                               String s = props.getProperty("org.onap.dmaap.datarouter.provserver.sync_interval", "5000");\r
                                interval = Long.parseLong(s);\r
                        } catch (NumberFormatException e) {\r
                                interval = 5000L;\r