diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2017-09-21 19:29:05 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-21 19:29:05 +0000 |
commit | 1b6feb8d0ca8094a0b7a552f1e3907f206be2527 (patch) | |
tree | cb8cb1fb731f4345ec71fdf72dbd55a75e619e74 /LogParser | |
parent | 79a9cadfca4bb99472bc36dcdfb3f8effb8a281e (diff) | |
parent | 92a628e50e3b64f0f382a467405a12cc345f58bf (diff) |
Merge "Added Junits for POLICY-SDK-APP"
Diffstat (limited to 'LogParser')
-rw-r--r-- | LogParser/parserlog.properties | 8 | ||||
-rw-r--r-- | LogParser/src/test/java/org/onap/xacml/parser/ParseLogTest.java | 4 | ||||
-rw-r--r-- | LogParser/src/test/resources/test_config.properties | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/LogParser/parserlog.properties b/LogParser/parserlog.properties index 4a5ecdb9c..66ce34d19 100644 --- a/LogParser/parserlog.properties +++ b/LogParser/parserlog.properties @@ -20,14 +20,14 @@ #Health Check Values RESOURCE_NAME=logparser_pap01 -javax.persistence.jdbc.driver=com.mysql.jdbc.Driver -javax.persistence.jdbc.url=jdbc:mysql://localhost:3306/onap_sdk +javax.persistence.jdbc.driver=org.mariadb.jdbc.Driver +javax.persistence.jdbc.url=jdbc:mariadb://localhost:3306/onap_sdk javax.persistence.jdbc.user=policy_user javax.persistence.jdbc.password=policy_user #Log Parser application values -JDBC_DRIVER=com.mysql.jdbc.Driver -JDBC_URL=jdbc:mysql://localhost:3306/log +JDBC_DRIVER=org.mariadb.jdbc.Driver +JDBC_URL=jdbc:mariadb://localhost:3306/log JDBC_USER=policy_user JDBC_PASSWORD=policy_user SERVER=https://localhost:9091/pap/ diff --git a/LogParser/src/test/java/org/onap/xacml/parser/ParseLogTest.java b/LogParser/src/test/java/org/onap/xacml/parser/ParseLogTest.java index c12797f28..1f42ac39b 100644 --- a/LogParser/src/test/java/org/onap/xacml/parser/ParseLogTest.java +++ b/LogParser/src/test/java/org/onap/xacml/parser/ParseLogTest.java @@ -122,8 +122,8 @@ public class ParseLogTest { config = new Properties(); config.put("RESOURCE_NAME", "logparser_pap01"); - config.put("JDBC_DRIVER" ,"com.mysql.jdbc.Driver"); - config.put("JDBC_URL", "jdbc:mysql://localhost:3306/"); + config.put("JDBC_DRIVER" ,"org.mariadb.jdbc.Driver"); + config.put("JDBC_URL", "jdbc:mariadb://localhost:3306/"); config.put("JDBC_USER", "root"); config.put("JDBC_PASSWORD", "password"); config.put("JMX_URL", "service:jmx:rmi:///jndi/rmi://localhost:9998/jmxrmi"); diff --git a/LogParser/src/test/resources/test_config.properties b/LogParser/src/test/resources/test_config.properties index 6512184c8..ca2b9edc9 100644 --- a/LogParser/src/test/resources/test_config.properties +++ b/LogParser/src/test/resources/test_config.properties @@ -20,8 +20,8 @@ RESOURCE_NAME=logparser_pap01 -JDBC_DRIVER=com.mysql.jdbc.Driver -JDBC_URL=jdbc:mysql://localhost:3306/ +JDBC_DRIVER=org.mariadb.jdbc.Driver +JDBC_URL=jdbc:mariadb://localhost:3306/ JDBC_USER=root JDBC_PASSWORD=password jmx_url=service:jmx:rmi:///jndi/rmi://localhost:9996/jmxrmi |