|
|
|
@ -28,6 +28,144 @@ export const DATA_BASE_TYPES_OTHER =
|
|
|
|
|
hasSchema: true, |
|
|
|
|
kerberos: false, |
|
|
|
|
}; |
|
|
|
|
export const DATA_BASE_DRIVER_LINK = DecCst ? [ |
|
|
|
|
{ |
|
|
|
|
databaseType: 'ads', |
|
|
|
|
link: DecCst.Hyperlink.Database.ADS, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'amazon-redshift', |
|
|
|
|
link: DecCst.Hyperlink.Database.REDSHIFT, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'apache-impala', |
|
|
|
|
link: DecCst.Hyperlink.Database.IMPALA, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'apache-kylin', |
|
|
|
|
link: DecCst.Hyperlink.Database.PHOENIX, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'apache-phoenix', |
|
|
|
|
link: DecCst.Hyperlink.Database.PHOENIX, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'derby', |
|
|
|
|
link: DecCst.Hyperlink.Database.DERBY, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'gbase-8a', |
|
|
|
|
link: DecCst.Hyperlink.Database.GBASE8A, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'gbase-8s', |
|
|
|
|
link: DecCst.Hyperlink.Database.GBASE8S, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'gbase-8t', |
|
|
|
|
link: DecCst.Hyperlink.Database.GBASE8T, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'h2', |
|
|
|
|
link: DecCst.Hyperlink.Database.H2, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'hw-dws', |
|
|
|
|
link: DecCst.Hyperlink.Database.DWS, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'hw-elk', |
|
|
|
|
link: DecCst.Hyperlink.Database.ELK, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'hw-fusioninsight-hd', |
|
|
|
|
link: DecCst.Hyperlink.Database.FUSIONINSIGHT, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'hw-libr-a', |
|
|
|
|
link: DecCst.Hyperlink.Database.LIBRA, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'hadoop-hive', |
|
|
|
|
link: DecCst.Hyperlink.Database.HIVE, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'hbase', |
|
|
|
|
link: DecCst.Hyperlink.Database.HBASE, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'hp-vertica', |
|
|
|
|
link: DecCst.Hyperlink.Database.VERTICA, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'hsql', |
|
|
|
|
link: DecCst.Hyperlink.Database.HSQL, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'ibm-db2', |
|
|
|
|
link: DecCst.Hyperlink.Database.DB2, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'informix', |
|
|
|
|
link: DecCst.Hyperlink.Database.INFORMIX, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'kingbase', |
|
|
|
|
link: DecCst.Hyperlink.Database.KINGBASE, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'sql-server', |
|
|
|
|
link: DecCst.Hyperlink.Database.SQLSERVER, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'mysql', |
|
|
|
|
link: DecCst.Hyperlink.Database.MYSQL, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'oracle', |
|
|
|
|
link: DecCst.Hyperlink.Database.ORACLE, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'pivotal-greenplum-database', |
|
|
|
|
link: DecCst.Hyperlink.Database.GP, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'postgresql', |
|
|
|
|
link: DecCst.Hyperlink.Database.POSTGRE, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'presto', |
|
|
|
|
link: DecCst.Hyperlink.Database.PRESTO, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'sap-hana', |
|
|
|
|
link: DecCst.Hyperlink.Database.HANA, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'sap-sybase', |
|
|
|
|
link: DecCst.Hyperlink.Database.SYBASE, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'spark', |
|
|
|
|
link: DecCst.Hyperlink.Database.SPARK, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'sqlite', |
|
|
|
|
link: DecCst.Hyperlink.Database.SQLITE, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'teradata', |
|
|
|
|
link: DecCst.Hyperlink.Database.TERADATA, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'transwarp-inceptor', |
|
|
|
|
link: DecCst.Hyperlink.Database.INCEPTOR, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
databaseType: 'other', |
|
|
|
|
link: DecCst.Hyperlink.Database.OTHER, |
|
|
|
|
}, |
|
|
|
|
] : []; |
|
|
|
|
export const DATA_BASE_TYPES = [ |
|
|
|
|
{ |
|
|
|
|
text: 'ADS', |
|
|
|
@ -141,7 +279,7 @@ export const DATA_BASE_TYPES = [
|
|
|
|
|
kerberos: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
text: '华为云DWS', |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_HW_DWS'), |
|
|
|
|
databaseType: 'hw-dws', |
|
|
|
|
driver: 'org.postgresql.Driver', |
|
|
|
|
url: 'jdbc:postgresql://hostname:port/database', |
|
|
|
|