InputStream inStream = getClass().getClassLoader().getResourceAsStream(CONFIG_FILE);\r
try {\r
props.load(inStream);\r
- DB_DRIVER = (String) props.get("com.att.research.datarouter.db.driver");\r
- DB_URL = (String) props.get("com.att.research.datarouter.db.url");\r
- DB_LOGIN = (String) props.get("com.att.research.datarouter.db.login");\r
- DB_PASSWORD = (String) props.get("com.att.research.datarouter.db.password");\r
- HTTPS_PORT = (String) props.get("com.att.research.datarouter.provserver.https.port");\r
- HTTP_PORT = (String) props.get("com.att.research.datarouter.provserver.http.port");\r
+ DB_DRIVER = (String) props.get("org.onap.dmaap.datarouter.db.driver");\r
+ DB_URL = (String) props.get("org.onap.dmaap.datarouter.db.url");\r
+ DB_LOGIN = (String) props.get("org.onap.dmaap.datarouter.db.login");\r
+ DB_PASSWORD = (String) props.get("org.onap.dmaap.datarouter.db.password");\r
+ HTTPS_PORT = (String) props.get("org.onap.dmaap.datarouter.provserver.https.port");\r
+ HTTP_PORT = (String) props.get("org.onap.dmaap.datarouter.provserver.http.port");\r
Class.forName(DB_DRIVER);\r
} catch (IOException e) {\r
intlogger.fatal("PROV9003 Opening properties: "+e.getMessage());\r
}\r
/**\r
* Initialize the tables by running the initialization scripts located in the directory specified\r
- * by the property <i>com.att.research.datarouter.provserver.dbscripts</i>. Scripts have names of\r
+ * by the property <i>org.onap.dmaap.datarouter.provserver.dbscripts</i>. Scripts have names of\r
* the form mysql_init_NNNN.\r
* @param c a DB connection\r
* @param n the number of the mysql_init_NNNN script to run\r
*/\r
private void runInitScript(Connection c, int n) {\r
- String scriptdir = (String) props.get("com.att.research.datarouter.provserver.dbscripts");\r
+ String scriptdir = (String) props.get("org.onap.dmaap.datarouter.provserver.dbscripts");\r
StringBuilder sb = new StringBuilder();\r
try {\r
String scriptfile = String.format("%s/mysql_init_%04d", scriptdir, n);\r