Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(frontend): 模块选择时增加模块的基本信息 #8424 #8506

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 13 additions & 20 deletions dbm-ui/frontend/src/common/const/clusterTypeInfos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,26 +275,19 @@ const bigdata: InfoType = {
name: t('冷_热节点规格'),
},
],
[ClusterTypes.DORIS]: {
id: ClusterTypes.DORIS,
name: 'Doris',
dbType: DBTypes.DORIS,
moduleId: 'bigdata',
machineList: [
{
id: MachineTypes.DORIS_FOLLOWER,
name: t('Follower节点规格'),
},
{
id: MachineTypes.DORIS_OBSERVER,
name: t('Observer节点规格'),
},
{
id: MachineTypes.DORIS_BACKEND,
name: t('冷_热节点规格'),
},
],
},
},
[ClusterTypes.RIAK]: {
id: ClusterTypes.RIAK,
name: 'Riak',
specClusterName: 'Riak',
dbType: DBTypes.RIAK,
moduleId: 'bigdata',
machineList: [
{
id: MachineTypes.RIAK,
name: t('后端存储'),
},
],
},
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function generateMysqlSingleApplyCloneData(ticketData: TicketModel<MySQLD
instNum: details.inst_num,
ipSource: details.ip_source,
nodes: details.nodes,
singleSpecId: details.resource_spec?.single.spec_id,
singleSpecId: details.resource_spec?.backend.spec_id,
remark: ticketData.remark,
startMysqlPort: details.start_mysql_port,
});
Expand Down
Loading
Loading