Merge remote-tracking branch 'origin/master'

qianming 3 years ago
commit fdf1faf5f3

@ -96,6 +96,8 @@ public class DataSourceServiceImpl implements DataSourceService {
case JdbcConstants.MYSQL: case JdbcConstants.MYSQL:
case JdbcConstants.KUDU_IMAPLA: case JdbcConstants.KUDU_IMAPLA:
case JdbcConstants.ORACLE: case JdbcConstants.ORACLE:
case JdbcConstants.SQL_SERVER:
case JdbcConstants.JDBC:
testRelationalDb(dto); testRelationalDb(dto);
break; break;
case JdbcConstants.HTTP: case JdbcConstants.HTTP:
@ -118,6 +120,8 @@ public class DataSourceServiceImpl implements DataSourceService {
case JdbcConstants.MYSQL: case JdbcConstants.MYSQL:
case JdbcConstants.KUDU_IMAPLA: case JdbcConstants.KUDU_IMAPLA:
case JdbcConstants.ORACLE: case JdbcConstants.ORACLE:
case JdbcConstants.SQL_SERVER:
case JdbcConstants.JDBC:
return executeRelationalDb(dto); return executeRelationalDb(dto);
case JdbcConstants.HTTP: case JdbcConstants.HTTP:
return executeHttp(dto); return executeHttp(dto);

@ -12,8 +12,8 @@ public class JdbcConstants {
public final static String MYSQL = "mysql"; public final static String MYSQL = "mysql";
public final static String ORACLE = "oracle"; public final static String ORACLE = "oracle";
public final static String ELASTIC_SEARCH_SQL = "elasticsearch_sql"; public final static String ELASTIC_SEARCH_SQL = "elasticsearch_sql";
public final static String SQL_SERVER = "mssqlserver";
public final static String JDBC = "jdbc";
@ -25,7 +25,6 @@ public class JdbcConstants {
public final static String POSTGRESQL = "postgresql"; public final static String POSTGRESQL = "postgresql";
public final static String POSTGRESQL_DRIVER = "org.postgresql.Driver"; public final static String POSTGRESQL_DRIVER = "org.postgresql.Driver";
public final static String SYBASE = "sybase"; public final static String SYBASE = "sybase";
public final static String SQL_SERVER = "sqlserver";
public final static String SQL_SERVER_DRIVER = "com.microsoft.jdbc.sqlserver.SQLServerDriver"; public final static String SQL_SERVER_DRIVER = "com.microsoft.jdbc.sqlserver.SQLServerDriver";
public final static String SQL_SERVER_DRIVER_SQLJDBC4 = "com.microsoft.sqlserver.jdbc.SQLServerDriver"; public final static String SQL_SERVER_DRIVER_SQLJDBC4 = "com.microsoft.sqlserver.jdbc.SQLServerDriver";
public final static String SQL_SERVER_DRIVER_JTDS = "net.sourceforge.jtds.jdbc.Driver"; public final static String SQL_SERVER_DRIVER_JTDS = "net.sourceforge.jtds.jdbc.Driver";

@ -67,11 +67,13 @@ management:
logging: logging:
config: classpath:logback.xml config: classpath:logback.xml
file: file:
#上传对应本地全路径
dist-path: /app/disk/upload/ dist-path: /app/disk/upload/
white-list: .png|.jpg|.gif|.icon|.pdf|.xlsx|.xls|.csv|.mp4|.avi white-list: .png|.jpg|.gif|.icon|.pdf|.xlsx|.xls|.csv|.mp4|.avi
excelSuffix: .xlsx|.xls|.csv excelSuffix: .xlsx|.xls|.csv
downloadPath: http://10.108.26.197:9095/file/ #上传对应下载的下载链接路径 http://serverip:9095/file/download
downloadPath: http://10.108.26.197:9095/file/download
customer: customer:
# 跳过token验证和权限验证的url清单 # 跳过token验证和权限验证的url清单
skip-authenticate-urls: /gaeaDict/all, /login, /static, /file/download/, /index.html skip-authenticate-urls: /gaeaDict/all, /login, /static, /file/download/, /index.html

Loading…
Cancel
Save