Browse Source

Merge pull request #6074 in DEC/decision-webui-dcm from release/11.0 to final/11.0

* commit '0f3107ecbb2f27b220b011f73df0c3c8b56b7e45':
  REPORT-79641 fix:KerberosParams编辑前需要被初始化
  BI-112056【平台配合任务】在平台数据连接添加starrocks图标
final/11.0
superman 2 years ago
parent
commit
761f166063
  1. 12
      src/modules/constants/constant.ts
  2. 1
      src/modules/pages/maintain/forms/components/form.jdbc.ts

12
src/modules/constants/constant.ts

@ -714,6 +714,18 @@ export const DATA_BASE_TYPES = [
hasSchema: true,
kerberos: false,
fetchSize: 10000,
},
{
text: BI.i18nText('StarRocks'),
databaseType: 'starrocks',
driver: 'com.mysql.jdbc.Driver',
drivers: ['com.mysql.jdbc.Driver'],
url: 'jdbc:mysql://hostname:port/database',
commonly: false,
internal: true,
type: 'jdbc',
hasSchema: false,
kerberos: false,
}
];

1
src/modules/pages/maintain/forms/components/form.jdbc.ts

@ -1227,6 +1227,7 @@ export class FormJdbc extends BI.Widget {
public mounted() {
const sshType = this.form.sshType.getValue()[0];
this.onSshTypeChange(sshType);
this.setKerberos();
}
public setError(value: string) {

Loading…
Cancel
Save