From: Quoc Nghia Nguyen Date: Thu, 12 Apr 2018 14:59:11 +0000 (+0200) Subject: Remove mysql-connector-java (license threat) X-Git-Tag: 2.0.0-ONAP~55^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=99b52b4268becc5c4fefdeac6877d12db568928b;p=externalapi%2Fnbi.git 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 --- 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