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