add notes & hide some button
diff --git a/dubbo-admin-frontend/src/components/metrics/ServiceMetrics.vue b/dubbo-admin-frontend/src/components/metrics/ServiceMetrics.vue
new file mode 100644
index 0000000..373d1cf
--- /dev/null
+++ b/dubbo-admin-frontend/src/components/metrics/ServiceMetrics.vue
@@ -0,0 +1,40 @@
+<!--
+ - 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.
+ -->
+
+<template>
+ <v-container grid-list-xl fluid>
+ <v-layout row wrap>
+ <v-flex lg12>
+ <v-card>
+ <v-card-title>
+ <h1>Service Metrics will release in the future</h1>
+ </v-card-title>
+ </v-card>
+ </v-flex>
+ </v-layout>
+ </v-container>
+</template>
+
+<script>
+ export default {
+ name: 'ServiceMetrics'
+ }
+</script>
+
+<style scoped>
+
+</style>
diff --git a/dubbo-admin-frontend/src/components/public/Toolbar.vue b/dubbo-admin-frontend/src/components/public/Toolbar.vue
index dba8907..b32c37a 100644
--- a/dubbo-admin-frontend/src/components/public/Toolbar.vue
+++ b/dubbo-admin-frontend/src/components/public/Toolbar.vue
@@ -34,13 +34,13 @@
</v-text-field>
<v-spacer></v-spacer>
- <v-btn icon>
+ <v-btn icon v-if="false">
<v-icon>settings</v-icon>
</v-btn>
<v-btn icon @click="handleFullScreen()">
<v-icon>fullscreen</v-icon>
</v-btn>
- <v-menu offset-y origin="center center" class="elelvation-1" :nudge-bottom="14" transition="scale-transition">
+ <v-menu offset-y origin="center center" class="elelvation-1" :nudge-bottom="14" transition="scale-transition" v-if="false">
<v-btn icon flat slot="activator">
<v-badge color="red" overlap>
<span slot="badge">3</span>
@@ -49,7 +49,7 @@
</v-btn>
<!--<notification-list></notification-list>-->
</v-menu>
- <v-menu offset-y origin="center center" :nudge-bottom="10" transition="scale-transition">
+ <v-menu offset-y origin="center center" :nudge-bottom="10" transition="scale-transition" v-if="false">
<v-btn icon large flat slot="activator">
<v-avatar size="30px">
<img src="@/assets/avatar.png" alt="Logined User" />
diff --git a/dubbo-admin-frontend/src/components/test/ServiceMock.vue b/dubbo-admin-frontend/src/components/test/ServiceMock.vue
new file mode 100644
index 0000000..7fd9a76
--- /dev/null
+++ b/dubbo-admin-frontend/src/components/test/ServiceMock.vue
@@ -0,0 +1,40 @@
+<!--
+ - 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.
+ -->
+
+<template>
+ <v-container grid-list-xl fluid>
+ <v-layout row wrap>
+ <v-flex lg12>
+ <v-card>
+ <v-card-title>
+ <h1>Service Mock will release in the future</h1>
+ </v-card-title>
+ </v-card>
+ </v-flex>
+ </v-layout>
+ </v-container>
+</template>
+
+<script>
+ export default {
+ name: 'ServiceMock'
+ }
+</script>
+
+<style scoped>
+
+</style>
diff --git a/dubbo-admin-frontend/src/components/test/ServiceTest.vue b/dubbo-admin-frontend/src/components/test/ServiceTest.vue
new file mode 100644
index 0000000..a38cca0
--- /dev/null
+++ b/dubbo-admin-frontend/src/components/test/ServiceTest.vue
@@ -0,0 +1,40 @@
+<!--
+ - 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.
+ -->
+
+<template>
+ <v-container grid-list-xl fluid>
+ <v-layout row wrap>
+ <v-flex lg12>
+ <v-card>
+ <v-card-title>
+ <h1>Service Test will release in the future</h1>
+ </v-card-title>
+ </v-card>
+ </v-flex>
+ </v-layout>
+ </v-container>
+</template>
+
+<script>
+ export default {
+ name: 'ServiceTest'
+ }
+</script>
+
+<style scoped>
+
+</style>
diff --git a/dubbo-admin-frontend/src/router/index.js b/dubbo-admin-frontend/src/router/index.js
index 38dc6f0..d67bd0c 100644
--- a/dubbo-admin-frontend/src/router/index.js
+++ b/dubbo-admin-frontend/src/router/index.js
@@ -25,6 +25,9 @@
import LoadBalance from '@/components/governance/LoadBalance'
import WeightAdjust from '@/components/governance/WeightAdjust'
import Overrides from '@/components/governance/Overrides'
+import ServiceTest from '@/components/test/ServiceTest'
+import ServiceMock from '@/components/test/ServiceMock'
+import ServiceMetrics from '@/components/metrics/ServiceMetrics'
Vue.use(Router)
@@ -60,8 +63,7 @@
name: 'LoadBalance',
component: LoadBalance
},
- {
- path: '/governance/weight',
+ { path: '/governance/weight',
name: 'WeightAdjust',
component: WeightAdjust
},
@@ -69,6 +71,22 @@
path: '/governance/config',
name: 'Overrides',
component: Overrides
+ },
+ {
+ path: '/test',
+ name: 'ServiceTest',
+ component: ServiceTest
+ },
+ {
+ path: '/mock',
+ name: 'ServiceMock',
+ component: ServiceMock
+ },
+ {
+ path: '/metrics',
+ name: 'ServiceMetrics',
+ component: ServiceMetrics
}
+
]
})