From 99b52b4268becc5c4fefdeac6877d12db568928b Mon Sep 17 00:00:00 2001 From: Quoc Nghia Nguyen Date: Thu, 12 Apr 2018 16:59:11 +0200 Subject: [PATCH] Remove mysql-connector-java (license threat) - pom.xml - application-localhost.properties: replace mysql by mariadb Change-Id: I3fab1169f71c3812c6d77b71c4220e525bc8d0a0 Issue-ID: EXTAPI-52 Signed-off-by: Quoc Nghia Nguyen --- pom.xml | 4 ---- src/main/resources/application-localhost.properties | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index 4043ac7..8021d0b 100644 --- a/pom.xml +++ b/pom.xml @@ -137,10 +137,6 @@ - - mysql - mysql-connector-java - org.mariadb.jdbc mariadb-java-client diff --git a/src/main/resources/application-localhost.properties b/src/main/resources/application-localhost.properties index 8470a93..bc4d56d 100644 --- a/src/main/resources/application-localhost.properties +++ b/src/main/resources/application-localhost.properties @@ -49,8 +49,8 @@ spring.data.mongodb.database=ServiceOrderDB # MYSQL spring.datasource.testWhileIdle=true spring.datasource.validationQuery=SELECT 1 -spring.datasource.driver-class-name=com.mysql.jdbc.Driver -spring.datasource.url=jdbc:mysql://localhost:3306/nbi +spring.datasource.driver-class-name=org.mariadb.jdbc.Driver +spring.datasource.url=jdbc:mariadb://localhost:3306/nbi spring.jpa.show-sql=false spring.datasource.username=root spring.datasource.password=toto -- 2.16.6