|
|
@ -187,7 +187,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
text: 'Kerberos', |
|
|
|
text: 'Kerberos', |
|
|
|
value: 'Kerberos', |
|
|
|
value: 'kerberos', |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
], |
|
|
|
listeners: [ |
|
|
|
listeners: [ |
|
|
@ -208,6 +208,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
{ |
|
|
|
{ |
|
|
|
type: FormItemXtype, |
|
|
|
type: FormItemXtype, |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_UserName'), |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_UserName'), |
|
|
|
|
|
|
|
invisible: !!authType, |
|
|
|
ref: (_ref: any) => { |
|
|
|
ref: (_ref: any) => { |
|
|
|
this.formUser = _ref; |
|
|
|
this.formUser = _ref; |
|
|
|
}, |
|
|
|
}, |
|
|
@ -225,6 +226,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
{ |
|
|
|
{ |
|
|
|
type: FormItemXtype, |
|
|
|
type: FormItemXtype, |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Password'), |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Password'), |
|
|
|
|
|
|
|
invisible: !!authType, |
|
|
|
ref: (_ref: any) => { |
|
|
|
ref: (_ref: any) => { |
|
|
|
this.formPassword = _ref; |
|
|
|
this.formPassword = _ref; |
|
|
|
}, |
|
|
|
}, |
|
|
@ -245,7 +247,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
{ |
|
|
|
{ |
|
|
|
type: FormItemXtype, |
|
|
|
type: FormItemXtype, |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Principal'), |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Principal'), |
|
|
|
invisible: true, |
|
|
|
invisible: !authType, |
|
|
|
ref: (_ref: any) => { |
|
|
|
ref: (_ref: any) => { |
|
|
|
this.formPrincipal = _ref; |
|
|
|
this.formPrincipal = _ref; |
|
|
|
}, |
|
|
|
}, |
|
|
@ -263,7 +265,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
{ |
|
|
|
{ |
|
|
|
type: FormItemXtype, |
|
|
|
type: FormItemXtype, |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_KeyPath'), |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_KeyPath'), |
|
|
|
invisible: true, |
|
|
|
invisible: !authType, |
|
|
|
ref: (_ref: any) => { |
|
|
|
ref: (_ref: any) => { |
|
|
|
this.formKeyPath = _ref; |
|
|
|
this.formKeyPath = _ref; |
|
|
|
}, |
|
|
|
}, |
|
|
@ -668,7 +670,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
authType: this.form.authType.getValue()[0] || '', |
|
|
|
authType: this.form.authType.getValue()[0] || '', |
|
|
|
creator: Dec ? Dec.personal.username : '', |
|
|
|
creator: Dec ? Dec.personal.username : '', |
|
|
|
principal: this.form.principal.getValue(), |
|
|
|
principal: this.form.principal.getValue(), |
|
|
|
keyPath: this.form.principal.getValue(), |
|
|
|
keyPath: this.form.keyPath.getValue(), |
|
|
|
connectionPoolAttr: { |
|
|
|
connectionPoolAttr: { |
|
|
|
initialSize: this.form.initialSize.getValue(), |
|
|
|
initialSize: this.form.initialSize.getValue(), |
|
|
|
maxActive: this.form.maxActive.getValue(), |
|
|
|
maxActive: this.form.maxActive.getValue(), |
|
|
|