Skip to content

Commit

Permalink
feat(frontend): 模块选择时增加模块的基本信息 #8424
Browse files Browse the repository at this point in the history
  • Loading branch information
3octaves authored and jinquantianxia committed Dec 10, 2024
1 parent a5e8e6b commit 8437e99
Show file tree
Hide file tree
Showing 8 changed files with 601 additions and 599 deletions.
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

0 comments on commit 8437e99

Please sign in to comment.