Merge "Add test-scheduler dir to verity"
[bottlenecks.git] / test-scheduler / ui / src / router / index.js
1 import Vue from 'vue'
2 import Router from 'vue-router'
3 import testsuite from '@/components/testsuite'
4 import testcase from '@/components/testcase'
5 import testcase_content from '@/components/testcase_content'
6 import environment from '@/components/environment'
7 Vue.use(Router)
8 const Result = {
9   template: "<div>please visit <a target='blank' href='http://lab205.jios.org:30002/dashboard/db/cluster?orgId=1'>grafana page.</a></div>"
10 }
11 const Report = {
12   template: "<div></div>"
13 }
14 export default new Router({
15   routes: [
16     {
17       path: '/',
18       name: 'testsuite',
19       component: testsuite
20     },
21     {
22       path: '/testcase',
23       name: 'testcase',
24       component: testcase
25     },
26     {
27       path: '/content',
28       name: 'testcase_content',
29       component: testcase_content
30     },
31     {
32       path: '/result',
33       component: Result
34     },
35     {
36       path: '/report',
37       component: Report
38     },
39     {
40       path: '/environment',
41       component: environment
42     }
43   ]
44 })