summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Lott (cl778h) <clott@research.att.com>2017-10-12 16:42:03 -0400
committerChristopher Lott (cl778h) <clott@research.att.com>2017-10-12 16:42:33 -0400
commitddd8720d597fc9053a455b10445fb253adbc4bf7 (patch)
treebbbbd5b99273127806ce87ef3ffcdfa58d59b437
parent79d729df66d997774a3ea87ea4f4fba255da51f6 (diff)
Switch to Mariadb connector.
Issue: PORTAL-104 Change-Id: I71651b5dbbbe397d91168d59dfbc37d4da5778ea Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
-rw-r--r--ecomp-sdk/epsdk-app-os/README.md1
-rw-r--r--ecomp-sdk/epsdk-app-os/src/main/webapp/WEB-INF/conf/system.properties4
-rw-r--r--ecomp-sdk/epsdk-core/pom.xml7
3 files changed, 7 insertions, 5 deletions
diff --git a/ecomp-sdk/epsdk-app-os/README.md b/ecomp-sdk/epsdk-app-os/README.md
index 3bbe0008..1ac4a142 100644
--- a/ecomp-sdk/epsdk-app-os/README.md
+++ b/ecomp-sdk/epsdk-app-os/README.md
@@ -20,6 +20,7 @@ Version 1.4.0, <?day> <?month> 2017
- PORTAL-79 remove unwanted SDK left menu under Report-sample dashboard
- PORTAL-90 Use approved ONAP license text
- Portal-86 Remove application specific usages from tests and other files (rework)
+- Portal-104 Replaced the sql connector to maria db
* Put new entries here *
diff --git a/ecomp-sdk/epsdk-app-os/src/main/webapp/WEB-INF/conf/system.properties b/ecomp-sdk/epsdk-app-os/src/main/webapp/WEB-INF/conf/system.properties
index d988ec21..de056a3d 100644
--- a/ecomp-sdk/epsdk-app-os/src/main/webapp/WEB-INF/conf/system.properties
+++ b/ecomp-sdk/epsdk-app-os/src/main/webapp/WEB-INF/conf/system.properties
@@ -25,8 +25,8 @@ decryption_key = AGLDdG4D04BKm2IxIWEr8o==
#Mysql
-db.driver = com.mysql.jdbc.Driver
-db.connectionURL = jdbc:mysql://localhost:3306/ecomp_sdk_os
+db.driver = org.mariadb.jdbc.Driver
+db.connectionURL = jdbc:mariadb://localhost:3306/ecomp_sdk
db.userName = userName
db.password = password
db.encrypt_flag = false
diff --git a/ecomp-sdk/epsdk-core/pom.xml b/ecomp-sdk/epsdk-core/pom.xml
index 0e712f75..9be09a7c 100644
--- a/ecomp-sdk/epsdk-core/pom.xml
+++ b/ecomp-sdk/epsdk-core/pom.xml
@@ -221,10 +221,11 @@
<artifactId>jackson-databind</artifactId>
<version>2.6.3</version>
</dependency>
+ <!-- Use Mariadb connector -->
<dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <version>5.1.22</version>
+ <groupId>org.mariadb.jdbc</groupId>
+ <artifactId>mariadb-java-client</artifactId>
+ <version>1.5.8</version>
</dependency>
<dependency>