From 6e83474595901470aeacfc1dd06597bc857447ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=BD=97=E9=93=AD=E6=B6=9B?= <981433814@qq.com>
Date: Thu, 11 Nov 2021 10:46:29 +0800
Subject: [PATCH] [DS-6655][fix] remove zkmonitor - delete zkmonitor ui
---
.../pages/monitor/pages/servers/zookeeper.vue | 67 -------------------
.../src/js/conf/home/router/index.js | 9 ---
.../src/js/conf/home/store/monitor/actions.js | 9 ---
.../components/secondaryMenu/_source/menu.js | 6 --
4 files changed, 91 deletions(-)
delete mode 100644 dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/zookeeper.vue
diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/zookeeper.vue b/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/zookeeper.vue
deleted file mode 100644
index 215b9051f223..000000000000
--- a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/zookeeper.vue
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/dolphinscheduler-ui/src/js/conf/home/router/index.js b/dolphinscheduler-ui/src/js/conf/home/router/index.js
index 9c93560743e7..2c82a83cc3da 100644
--- a/dolphinscheduler-ui/src/js/conf/home/router/index.js
+++ b/dolphinscheduler-ui/src/js/conf/home/router/index.js
@@ -547,15 +547,6 @@ const router = new Router({
refreshInSwitchedTab: config.refreshInSwitchedTab
}
},
- {
- path: '/monitor/servers/zookeeper',
- name: 'servers-zookeeper',
- component: resolve => require(['../pages/monitor/pages/servers/zookeeper'], resolve),
- meta: {
- title: 'Zookeeper',
- refreshInSwitchedTab: config.refreshInSwitchedTab
- }
- },
{
path: '/monitor/servers/apiserver',
name: 'servers-apiserver',
diff --git a/dolphinscheduler-ui/src/js/conf/home/store/monitor/actions.js b/dolphinscheduler-ui/src/js/conf/home/store/monitor/actions.js
index c4014ec59eb0..5c6085a5fd87 100644
--- a/dolphinscheduler-ui/src/js/conf/home/store/monitor/actions.js
+++ b/dolphinscheduler-ui/src/js/conf/home/store/monitor/actions.js
@@ -45,13 +45,4 @@ export default {
})
})
},
- getZookeeperData ({ state }, payload) {
- return new Promise((resolve, reject) => {
- io.get('monitor/zookeepers', payload, res => {
- resolve(res.data)
- }).catch(e => {
- reject(e)
- })
- })
- }
}
diff --git a/dolphinscheduler-ui/src/js/module/components/secondaryMenu/_source/menu.js b/dolphinscheduler-ui/src/js/module/components/secondaryMenu/_source/menu.js
index 371326c507cc..ca58dd08afb0 100644
--- a/dolphinscheduler-ui/src/js/module/components/secondaryMenu/_source/menu.js
+++ b/dolphinscheduler-ui/src/js/module/components/secondaryMenu/_source/menu.js
@@ -238,12 +238,6 @@ const menu = {
id: 1,
enabled: true
},
- {
- name: 'Zookeeper',
- path: 'servers-zookeeper',
- id: 4,
- enabled: true
- },
{
name: 'DB',
path: 'servers-db',