|
|
|
@ -12,81 +12,7 @@ export const TAB_LINK_POOL = 'TAB_LINK_POOL';
|
|
|
|
|
|
|
|
|
|
export const DATA_LINKS = ['APACHE KYLIN', 'DERBY', 'HP Vertica', 'IBM DB2', 'INFORMIX', 'Microsoft SQL Server', 'MySQL', 'Oracle', 'Privotal Greenplum Database', 'Postgresql', 'GaussDB 200', 'JNDI']; |
|
|
|
|
|
|
|
|
|
export const DATA_BASE_TYPE = [ |
|
|
|
|
{ |
|
|
|
|
text: 'APACHE KYLIN', |
|
|
|
|
databaseType: 'apache-kylin', |
|
|
|
|
driver: 'org.apache.kylin.jdbc.Driver', |
|
|
|
|
url: 'jdbc:kylin://<hostname>:<port>/<kylin_project_name>', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
text: 'DERBY', |
|
|
|
|
databaseType: 'derby', |
|
|
|
|
driver: 'org.apache.derby.jdbc.ClientDriver', |
|
|
|
|
url: 'jdbc:derby://localhost:1527/', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
text: 'HP Vertica', |
|
|
|
|
databaseType: 'hp-vertica', |
|
|
|
|
driver: 'com.vertica.jdbc.Driver', |
|
|
|
|
url: 'jdbc:vertica://ip:port/databaseName', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
text: 'IBM DB2', |
|
|
|
|
databaseType: 'ibm-db2', |
|
|
|
|
driver: 'com.ibm.db2.jcc.DB2Driver', |
|
|
|
|
url: 'jdbc:db2://hostname:port/dbname', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
text: 'INFORMIX', |
|
|
|
|
databaseType: 'informix', |
|
|
|
|
driver: 'com.informix.jdbc.IfxDriver', |
|
|
|
|
url: 'jdbc:informix-sqli://{host}:{port}/{database}:INFORMIXSERVER={server}', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
text: 'Microsoft SQL Server', |
|
|
|
|
databaseType: 'sql-server', |
|
|
|
|
driver: 'com.microsoft.sqlserver.jdbc.SQLServerDriver', |
|
|
|
|
url: 'jdbc:sqlserver://localhost:1433;databaseName=', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
text: 'Oracle', |
|
|
|
|
databaseType: 'oracle', |
|
|
|
|
driver: 'oracle.jdbc.driver.OracleDriver', |
|
|
|
|
url: 'jdbc:oracle:thin:@localhost:1521:databaseName', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
text: 'Privotal Greenplum Database', |
|
|
|
|
databaseType: 'pivotal-greenplum-database', |
|
|
|
|
driver: 'org.postgresql.Driver', |
|
|
|
|
url: 'jdbc:postgresql://hostname:port/dbname', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
text: 'Postgresql', |
|
|
|
|
databaseType: 'postgresql', |
|
|
|
|
driver: 'org.postgresql.Driver', |
|
|
|
|
url: 'jdbc:postgresql://hostname:port/dbname', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
text: 'GaussDB 200', |
|
|
|
|
databaseType: 'hw-libr-a', |
|
|
|
|
driver: 'org.postgresql.Driver', |
|
|
|
|
url: 'jdbc:postgresql://hostname:port/dbname', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
text: 'MySQL', |
|
|
|
|
databaseType: 'mysql', |
|
|
|
|
driver: 'com.mysql.jdbc.Driver', |
|
|
|
|
drivers: ['com.mysql.jdbc.Driver', 'org.gjt.mm.mysql.Driver'], |
|
|
|
|
url: 'jdbc:mysql://localhost/dbname', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
text: OTHER_CONNECT, |
|
|
|
|
databaseType: 'other', |
|
|
|
|
driver: 'org.h2.Driver', |
|
|
|
|
drivers: ['org.h2.Driver', 'com.fr.third.org.hsqldb.jdbcDriver', 'org.sqlite.JDBC'], |
|
|
|
|
url: 'jdbc:h2://${ENV_HOME}/../databaseName', |
|
|
|
|
}, |
|
|
|
|
export const DATA_BASE_TYPE_OTHER = [ |
|
|
|
|
{ |
|
|
|
|
text: 'ADS', |
|
|
|
|
databaseType: 'ads', |
|
|
|
@ -269,7 +195,86 @@ export const DATA_BASE_TYPE = [
|
|
|
|
|
databaseType: 'transwarp-inceptor', |
|
|
|
|
driver: 'org.apache.hive.jdbc.HiveDriver', |
|
|
|
|
url: 'jdbc:hive2://hostname:port/databasename', |
|
|
|
|
}, { |
|
|
|
|
}, |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
export const DATA_BASE_TYPE = [ |
|
|
|
|
{ |
|
|
|
|
text: 'APACHE KYLIN', |
|
|
|
|
databaseType: 'apache-kylin', |
|
|
|
|
driver: 'org.apache.kylin.jdbc.Driver', |
|
|
|
|
url: 'jdbc:kylin://<hostname>:<port>/<kylin_project_name>', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
text: 'DERBY', |
|
|
|
|
databaseType: 'derby', |
|
|
|
|
driver: 'org.apache.derby.jdbc.ClientDriver', |
|
|
|
|
url: 'jdbc:derby://localhost:1527/', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
text: 'HP Vertica', |
|
|
|
|
databaseType: 'hp-vertica', |
|
|
|
|
driver: 'com.vertica.jdbc.Driver', |
|
|
|
|
url: 'jdbc:vertica://ip:port/databaseName', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
text: 'IBM DB2', |
|
|
|
|
databaseType: 'ibm-db2', |
|
|
|
|
driver: 'com.ibm.db2.jcc.DB2Driver', |
|
|
|
|
url: 'jdbc:db2://hostname:port/dbname', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
text: 'INFORMIX', |
|
|
|
|
databaseType: 'informix', |
|
|
|
|
driver: 'com.informix.jdbc.IfxDriver', |
|
|
|
|
url: 'jdbc:informix-sqli://{host}:{port}/{database}:INFORMIXSERVER={server}', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
text: 'Microsoft SQL Server', |
|
|
|
|
databaseType: 'sql-server', |
|
|
|
|
driver: 'com.microsoft.sqlserver.jdbc.SQLServerDriver', |
|
|
|
|
url: 'jdbc:sqlserver://localhost:1433;databaseName=', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
text: 'Oracle', |
|
|
|
|
databaseType: 'oracle', |
|
|
|
|
driver: 'oracle.jdbc.driver.OracleDriver', |
|
|
|
|
url: 'jdbc:oracle:thin:@localhost:1521:databaseName', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
text: 'Privotal Greenplum Database', |
|
|
|
|
databaseType: 'pivotal-greenplum-database', |
|
|
|
|
driver: 'org.postgresql.Driver', |
|
|
|
|
url: 'jdbc:postgresql://hostname:port/dbname', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
text: 'Postgresql', |
|
|
|
|
databaseType: 'postgresql', |
|
|
|
|
driver: 'org.postgresql.Driver', |
|
|
|
|
url: 'jdbc:postgresql://hostname:port/dbname', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
text: 'GaussDB 200', |
|
|
|
|
databaseType: 'hw-libr-a', |
|
|
|
|
driver: 'org.postgresql.Driver', |
|
|
|
|
url: 'jdbc:postgresql://hostname:port/dbname', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
text: 'MySQL', |
|
|
|
|
databaseType: 'mysql', |
|
|
|
|
driver: 'com.mysql.jdbc.Driver', |
|
|
|
|
drivers: ['com.mysql.jdbc.Driver', 'org.gjt.mm.mysql.Driver'], |
|
|
|
|
url: 'jdbc:mysql://localhost/dbname', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
text: OTHER_CONNECT, |
|
|
|
|
databaseType: 'other', |
|
|
|
|
driver: 'org.h2.Driver', |
|
|
|
|
drivers: ['org.h2.Driver', 'com.fr.third.org.hsqldb.jdbcDriver', 'org.sqlite.JDBC'], |
|
|
|
|
url: 'jdbc:h2://${ENV_HOME}/../databaseName', |
|
|
|
|
}, |
|
|
|
|
...DATA_BASE_TYPE_OTHER, |
|
|
|
|
{ |
|
|
|
|
text: JNDI_CONNECT, |
|
|
|
|
}, |
|
|
|
|
]; |
|
|
|
|