airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [airavata] branch airavata-2938-change-db-initialization-in-registry-server-to-use-registry-refactoring-code updated: AIRAVATA-2938 Allow "mariadb" in JDBC url to identity a "mysql" type DB
Date Fri, 25 Jan 2019 14:47:40 GMT
This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch airavata-2938-change-db-initialization-in-registry-server-to-use-registry-refactoring-code
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/airavata-2938-change-db-initialization-in-registry-server-to-use-registry-refactoring-code
by this push:
     new 17f233e  AIRAVATA-2938 Allow "mariadb" in JDBC url to identity a "mysql" type DB
17f233e is described below

commit 17f233e99a0b595ffe0c663bd88a3c24a9e90263
Author: Marcus Christie <machristie@apache.org>
AuthorDate: Fri Jan 25 09:47:30 2019 -0500

    AIRAVATA-2938 Allow "mariadb" in JDBC url to identity a "mysql" type DB
---
 .../src/main/java/org/apache/airavata/common/utils/DatabaseCreator.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/commons/src/main/java/org/apache/airavata/common/utils/DatabaseCreator.java
b/modules/commons/src/main/java/org/apache/airavata/common/utils/DatabaseCreator.java
index 6f5c01e..a740dc5 100644
--- a/modules/commons/src/main/java/org/apache/airavata/common/utils/DatabaseCreator.java
+++ b/modules/commons/src/main/java/org/apache/airavata/common/utils/DatabaseCreator.java
@@ -45,7 +45,7 @@ public class DatabaseCreator {
     private final static Logger logger = LoggerFactory.getLogger(DatabaseCreator.class);
 
     public enum DatabaseType {
-        derby("(?i).*derby.*"), mysql("(?i).*mysql.*"), other("");
+        derby("(?i).*derby.*"), mysql("(?i).*(mysql|mariadb).*"), other("");
 
         private String pattern;
 


Mime
View raw message