From 3c46fcdb8c6217ff97e98c33d8f1e6e9b9cc7c1b Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期一, 02 十一月 2020 19:27:18 +0800 Subject: [PATCH] 桌面图标自适应,应用中心添加升级角标;应用中心算法卸载联调,tab名称更新;统计查询(集群)场景查询参数更新 --- src/api/clusterManage.ts | 29 ++++++++++++++++++++++++++++- 1 files changed, 28 insertions(+), 1 deletions(-) diff --git a/src/api/clusterManage.ts b/src/api/clusterManage.ts index bbeb747..690d640 100644 --- a/src/api/clusterManage.ts +++ b/src/api/clusterManage.ts @@ -11,7 +11,7 @@ }; // 鍒涘缓闆嗙兢 -export const createColony = (query: any) => { +export const createSerfCluster = (query: any) => { return request({ url: "/data/api-v/cluster/create", method: "post", @@ -100,4 +100,31 @@ method: "post", data }) +} + +// 鍒涘缓ES闆嗙兢 +export const createESNode = (data: any) => { + return request({ + url: "/data/api-v/es/createNode", + method: "post", + data + }) +} + +// 鍔犲叆ES闆嗙兢 +export const addESNode = (data: any) => { + return request({ + url: "/data/api-v/es/addCluster", + method: "post", + data + }) +} + +// 鑾峰彇ES闆嗙兢淇℃伅 +export const getEsClusterInfo = (data: any) => { + return request({ + url: "/data/api-v/es/getEsClusterInfo", + method: "post", + data + }) } \ No newline at end of file -- Gitblit v1.8.0