|
|
|
@ -16,7 +16,7 @@ export class ConnectionJdbc extends BI.Widget {
|
|
|
|
|
|
|
|
|
|
render () { |
|
|
|
|
const connectionData = this.model.connectionSelectedOne.connectionData as ConnectionJDBC; |
|
|
|
|
const { driver, database, user, newCharsetName, schema, connectionPoolAttr, authType, principal, keyPath, url } = connectionData; |
|
|
|
|
const { driver, database, user, newCharsetName, schema, connectionPoolAttr, authType, principal, url } = connectionData; |
|
|
|
|
const databaseType = getJdbcDatabaseType(database, driver); |
|
|
|
|
const { host, port, databaseName } = resolveUrlInfo(url); |
|
|
|
|
|
|
|
|
@ -53,7 +53,7 @@ export class ConnectionJdbc extends BI.Widget {
|
|
|
|
|
{ |
|
|
|
|
type: FormItemXtype, |
|
|
|
|
name: authType ? BI.i18nText('Dec-Dcm_Connection_Form_KeyPath') : BI.i18nText('Dec-Dcm_Connection_Form_Password'), |
|
|
|
|
value: authType ? keyPath : '******', |
|
|
|
|
value: '******', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: FormItemXtype, |
|
|
|
|