|
|
@ -81,6 +81,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Name'), |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Name'), |
|
|
|
forms: [{ |
|
|
|
forms: [{ |
|
|
|
type: TextCheckerXtype, |
|
|
|
type: TextCheckerXtype, |
|
|
|
|
|
|
|
$value: 'connection-name', |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
|
value: connectionName, |
|
|
|
value: connectionName, |
|
|
|
allowBlank: true, |
|
|
|
allowBlank: true, |
|
|
@ -95,6 +96,8 @@ export class FormJdbc extends BI.Widget { |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Driver'), |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Driver'), |
|
|
|
forms: [{ |
|
|
|
forms: [{ |
|
|
|
type: EdirotIconCheckCombo, |
|
|
|
type: EdirotIconCheckCombo, |
|
|
|
|
|
|
|
$testId: 'dec-editor-icon-check-combo', |
|
|
|
|
|
|
|
$value: 'driver', |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
|
value: driver, |
|
|
|
value: driver, |
|
|
|
ref: (_ref: any) => { |
|
|
|
ref: (_ref: any) => { |
|
|
@ -122,6 +125,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Database_Name'), |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Database_Name'), |
|
|
|
forms: [{ |
|
|
|
forms: [{ |
|
|
|
type: TextEditor, |
|
|
|
type: TextEditor, |
|
|
|
|
|
|
|
$value: 'database-name', |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
|
allowBlank: true, |
|
|
|
allowBlank: true, |
|
|
|
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Name'), |
|
|
|
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Database_Name'), |
|
|
@ -142,6 +146,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Host'), |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Host'), |
|
|
|
forms: [{ |
|
|
|
forms: [{ |
|
|
|
type: TextEditor, |
|
|
|
type: TextEditor, |
|
|
|
|
|
|
|
$value: 'database-host', |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
|
allowBlank: true, |
|
|
|
allowBlank: true, |
|
|
|
value: host, |
|
|
|
value: host, |
|
|
@ -162,6 +167,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Database_Port'), |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Database_Port'), |
|
|
|
forms: [{ |
|
|
|
forms: [{ |
|
|
|
type: TextCheckerXtype, |
|
|
|
type: TextCheckerXtype, |
|
|
|
|
|
|
|
$value: 'database-port', |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
|
allowBlank: true, |
|
|
|
allowBlank: true, |
|
|
|
value: port, |
|
|
|
value: port, |
|
|
@ -188,6 +194,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
invisible: !databaseType.kerberos, |
|
|
|
invisible: !databaseType.kerberos, |
|
|
|
forms: [{ |
|
|
|
forms: [{ |
|
|
|
type: TextValueCombo, |
|
|
|
type: TextValueCombo, |
|
|
|
|
|
|
|
$value: 'auth-type', |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
|
value: authType, |
|
|
|
value: authType, |
|
|
|
ref: (_ref: any) => { |
|
|
|
ref: (_ref: any) => { |
|
|
@ -227,6 +234,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
}, |
|
|
|
}, |
|
|
|
forms: [{ |
|
|
|
forms: [{ |
|
|
|
type: TextEditor, |
|
|
|
type: TextEditor, |
|
|
|
|
|
|
|
$value: 'username', |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
|
allowBlank: true, |
|
|
|
allowBlank: true, |
|
|
|
value: user, |
|
|
|
value: user, |
|
|
@ -245,6 +253,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
}, |
|
|
|
}, |
|
|
|
forms: [{ |
|
|
|
forms: [{ |
|
|
|
type: Editor, |
|
|
|
type: Editor, |
|
|
|
|
|
|
|
$value: 'password', |
|
|
|
cls: 'bi-border bi-border-radius', |
|
|
|
cls: 'bi-border bi-border-radius', |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
|
height: 20, |
|
|
|
height: 20, |
|
|
@ -266,6 +275,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
}, |
|
|
|
}, |
|
|
|
forms: [{ |
|
|
|
forms: [{ |
|
|
|
type: TextEditor, |
|
|
|
type: TextEditor, |
|
|
|
|
|
|
|
$value: 'principal', |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
|
allowBlank: true, |
|
|
|
allowBlank: true, |
|
|
|
value: principal, |
|
|
|
value: principal, |
|
|
@ -284,6 +294,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
}, |
|
|
|
}, |
|
|
|
forms: [{ |
|
|
|
forms: [{ |
|
|
|
type: Editor, |
|
|
|
type: Editor, |
|
|
|
|
|
|
|
$value: 'key-path', |
|
|
|
cls: 'bi-border', |
|
|
|
cls: 'bi-border', |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
|
height: 20, |
|
|
|
height: 20, |
|
|
@ -310,6 +321,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_OriginalCharsetName'), |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_OriginalCharsetName'), |
|
|
|
forms: [{ |
|
|
|
forms: [{ |
|
|
|
type: TextValueCombo, |
|
|
|
type: TextValueCombo, |
|
|
|
|
|
|
|
$value: 'original-charset-name', |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
|
value: originalCharsetName ? originalCharsetName : '', |
|
|
|
value: originalCharsetName ? originalCharsetName : '', |
|
|
|
items: CONNECT_CHARSET, |
|
|
|
items: CONNECT_CHARSET, |
|
|
@ -342,6 +354,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
}], |
|
|
|
}], |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
type: TextValueCombo, |
|
|
|
type: TextValueCombo, |
|
|
|
|
|
|
|
$value: 'schema', |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
|
vgap: 15, |
|
|
|
vgap: 15, |
|
|
|
disabled: true, |
|
|
|
disabled: true, |
|
|
@ -363,6 +376,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Database_URL'), |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Database_URL'), |
|
|
|
forms: [{ |
|
|
|
forms: [{ |
|
|
|
type: TextEditor, |
|
|
|
type: TextEditor, |
|
|
|
|
|
|
|
$value: 'database-url', |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
|
allowBlank: true, |
|
|
|
allowBlank: true, |
|
|
|
value: url, |
|
|
|
value: url, |
|
|
@ -410,6 +424,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Database_Initial_Size'), |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Database_Initial_Size'), |
|
|
|
forms: [{ |
|
|
|
forms: [{ |
|
|
|
type: TextCheckerXtype, |
|
|
|
type: TextCheckerXtype, |
|
|
|
|
|
|
|
$value: 'initial-size', |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
|
allowBlank: false, |
|
|
|
allowBlank: false, |
|
|
|
value: initialSize, |
|
|
|
value: initialSize, |
|
|
@ -429,6 +444,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Database_Max_Active'), |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Database_Max_Active'), |
|
|
|
forms: [{ |
|
|
|
forms: [{ |
|
|
|
type: TextCheckerXtype, |
|
|
|
type: TextCheckerXtype, |
|
|
|
|
|
|
|
$value: 'max-active', |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
|
allowBlank: false, |
|
|
|
allowBlank: false, |
|
|
|
value: maxActive, |
|
|
|
value: maxActive, |
|
|
@ -448,6 +464,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Database_Max_Idle'), |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Database_Max_Idle'), |
|
|
|
forms: [{ |
|
|
|
forms: [{ |
|
|
|
type: TextCheckerXtype, |
|
|
|
type: TextCheckerXtype, |
|
|
|
|
|
|
|
$value: 'max-idle', |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
|
allowBlank: false, |
|
|
|
allowBlank: false, |
|
|
|
value: maxIdle, |
|
|
|
value: maxIdle, |
|
|
@ -467,6 +484,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Database_Min_Idle'), |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Database_Min_Idle'), |
|
|
|
forms: [{ |
|
|
|
forms: [{ |
|
|
|
type: TextCheckerXtype, |
|
|
|
type: TextCheckerXtype, |
|
|
|
|
|
|
|
$value: 'min-idle', |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
|
allowBlank: false, |
|
|
|
allowBlank: false, |
|
|
|
value: minIdle, |
|
|
|
value: minIdle, |
|
|
@ -487,6 +505,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
forms: [ |
|
|
|
forms: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
type: TextCheckerXtype, |
|
|
|
type: TextCheckerXtype, |
|
|
|
|
|
|
|
$value: 'max-wait', |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
|
allowBlank: false, |
|
|
|
allowBlank: false, |
|
|
|
value: maxWait, |
|
|
|
value: maxWait, |
|
|
@ -513,6 +532,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_SQL_Validation_Query'), |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_SQL_Validation_Query'), |
|
|
|
forms: [{ |
|
|
|
forms: [{ |
|
|
|
type: TextAreaEditor, |
|
|
|
type: TextAreaEditor, |
|
|
|
|
|
|
|
$value: 'validation-query', |
|
|
|
cls: 'bi-border', |
|
|
|
cls: 'bi-border', |
|
|
|
allowBlank: true, |
|
|
|
allowBlank: true, |
|
|
|
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Place_Input'), |
|
|
|
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Place_Input'), |
|
|
@ -529,6 +549,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Connection-Check'), |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Connection-Check'), |
|
|
|
forms: [{ |
|
|
|
forms: [{ |
|
|
|
type: TextValueCombo, |
|
|
|
type: TextValueCombo, |
|
|
|
|
|
|
|
$value: 'check', |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
|
allowBlank: true, |
|
|
|
allowBlank: true, |
|
|
|
value: testOnBorrow, |
|
|
|
value: testOnBorrow, |
|
|
@ -544,6 +565,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Database_Test_On_Return'), |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Database_Test_On_Return'), |
|
|
|
forms: [{ |
|
|
|
forms: [{ |
|
|
|
type: TextValueCombo, |
|
|
|
type: TextValueCombo, |
|
|
|
|
|
|
|
$value: 'test-on-return', |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
|
allowBlank: true, |
|
|
|
allowBlank: true, |
|
|
|
value: testOnReturn, |
|
|
|
value: testOnReturn, |
|
|
@ -559,6 +581,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Database_Test_While_Idle'), |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Database_Test_While_Idle'), |
|
|
|
forms: [{ |
|
|
|
forms: [{ |
|
|
|
type: TextValueCombo, |
|
|
|
type: TextValueCombo, |
|
|
|
|
|
|
|
$value: 'test-while-idle', |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
|
allowBlank: true, |
|
|
|
allowBlank: true, |
|
|
|
value: testWhileIdle, |
|
|
|
value: testWhileIdle, |
|
|
@ -575,6 +598,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
forms: [ |
|
|
|
forms: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
type: TextCheckerXtype, |
|
|
|
type: TextCheckerXtype, |
|
|
|
|
|
|
|
$value: 'test-between-evicition-millis', |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
|
allowBlank: false, |
|
|
|
allowBlank: false, |
|
|
|
value: timeBetweenEvictionRunsMillis, |
|
|
|
value: timeBetweenEvictionRunsMillis, |
|
|
@ -601,6 +625,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Database_Tests_PerEviction_Run_Num'), |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Database_Tests_PerEviction_Run_Num'), |
|
|
|
forms: [{ |
|
|
|
forms: [{ |
|
|
|
type: TextCheckerXtype, |
|
|
|
type: TextCheckerXtype, |
|
|
|
|
|
|
|
$value: 'test-pereviction-run-num', |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
|
allowBlank: false, |
|
|
|
allowBlank: false, |
|
|
|
value: numTestsPerEvictionRun, |
|
|
|
value: numTestsPerEvictionRun, |
|
|
@ -621,6 +646,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
forms: [ |
|
|
|
forms: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
type: TextCheckerXtype, |
|
|
|
type: TextCheckerXtype, |
|
|
|
|
|
|
|
$value: 'min-evictable-idle-time-millis', |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
|
allowBlank: false, |
|
|
|
allowBlank: false, |
|
|
|
value: minEvictableIdleTimeMillis, |
|
|
|
value: minEvictableIdleTimeMillis, |
|
|
|