|
|
@ -1,5 +1,3 @@ |
|
|
|
import { CONSTANT_PLUGIN_TYPES } from '../app.constant'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const PAGE_INDEX = { |
|
|
|
export const PAGE_INDEX = { |
|
|
|
CONNECTION: 'connection', |
|
|
|
CONNECTION: 'connection', |
|
|
|
DATEBASE: 'datebase', |
|
|
|
DATEBASE: 'datebase', |
|
|
@ -121,6 +119,10 @@ export const DATA_BASE_DRIVER_LINK = DecCst && DecCst.Hyperlink ? [ |
|
|
|
databaseType: 'kingbase', |
|
|
|
databaseType: 'kingbase', |
|
|
|
link: DecCst.Hyperlink.Database.KINGBASE, |
|
|
|
link: DecCst.Hyperlink.Database.KINGBASE, |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
databaseType: 'kyligence', |
|
|
|
|
|
|
|
link: DecCst.Hyperlink.Database.KYLIGENCE, |
|
|
|
|
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
databaseType: 'sql-server', |
|
|
|
databaseType: 'sql-server', |
|
|
|
link: DecCst.Hyperlink.Database.SQLSERVER, |
|
|
|
link: DecCst.Hyperlink.Database.SQLSERVER, |
|
|
@ -448,6 +450,16 @@ export const DATA_BASE_TYPES = [ |
|
|
|
type: 'jdbc', |
|
|
|
type: 'jdbc', |
|
|
|
hasSchema: true, |
|
|
|
hasSchema: true, |
|
|
|
kerberos: false, |
|
|
|
kerberos: false, |
|
|
|
|
|
|
|
}, { |
|
|
|
|
|
|
|
text: 'Kyligence', |
|
|
|
|
|
|
|
databaseType: 'kyligence', |
|
|
|
|
|
|
|
driver: 'org.apache.kylin.jdbc.Driver', |
|
|
|
|
|
|
|
url: 'jdbc:kylin://hostname:port/database', |
|
|
|
|
|
|
|
commonly: false, |
|
|
|
|
|
|
|
internal: true, |
|
|
|
|
|
|
|
type: 'jdbc', |
|
|
|
|
|
|
|
hasSchema: true, |
|
|
|
|
|
|
|
kerberos: false, |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
text: 'Microsoft SQL Server', |
|
|
|
text: 'Microsoft SQL Server', |
|
|
|
databaseType: 'sql-server', |
|
|
|
databaseType: 'sql-server', |
|
|
@ -475,7 +487,7 @@ export const DATA_BASE_TYPES = [ |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
text: 'ODPS', |
|
|
|
text: 'MaxCompute', |
|
|
|
databaseType: 'odps', |
|
|
|
databaseType: 'odps', |
|
|
|
driver: 'com.aliyun.odps.jdbc.OdpsDriver', |
|
|
|
driver: 'com.aliyun.odps.jdbc.OdpsDriver', |
|
|
|
url: 'jdbc:odps:<maxcompute_endpoint>?project=<maxcompute_project_name>', |
|
|
|
url: 'jdbc:odps:<maxcompute_endpoint>?project=<maxcompute_project_name>', |
|
|
@ -619,13 +631,6 @@ export const DATA_BASE_TYPES = [ |
|
|
|
'org.sqlite.JDBC': 'jdbc:sqlite:[PATH_TO_DB_FILES]', |
|
|
|
'org.sqlite.JDBC': 'jdbc:sqlite:[PATH_TO_DB_FILES]', |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
...BI.Constants.getConstant(CONSTANT_PLUGIN_TYPES).map(item => { |
|
|
|
|
|
|
|
return { |
|
|
|
|
|
|
|
...item, |
|
|
|
|
|
|
|
internal: false, |
|
|
|
|
|
|
|
commonly: false, |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
}), |
|
|
|
|
|
|
|
]; |
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|