mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
package updates and fix router/list groupings
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
1ff74e939b
commit
bf6dd15a39
5988
ui/package-lock.json
generated
5988
ui/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -10,14 +10,15 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@antv/data-set": "^0.10.2",
|
||||
"ant-design-vue": "~1.3.8",
|
||||
"axios": "^0.18.0",
|
||||
"ant-design-vue": "~1.3.10",
|
||||
"axios": "^0.19.0",
|
||||
"enquire.js": "^2.1.6",
|
||||
"js-cookie": "^2.2.0",
|
||||
"lodash.get": "^4.4.2",
|
||||
"lodash.pick": "^4.4.0",
|
||||
"md5": "^2.2.1",
|
||||
"moment": "^2.24.0",
|
||||
"npm-check-updates": "^3.1.13",
|
||||
"nprogress": "^0.2.0",
|
||||
"viser-vue": "^2.4.6",
|
||||
"vue": "^2.6.10",
|
||||
@ -25,25 +26,24 @@
|
||||
"vue-cookies": "^1.5.13",
|
||||
"vue-cropper": "0.4.9",
|
||||
"vue-ls": "^3.2.1",
|
||||
"vue-router": "^3.0.6",
|
||||
"vue-router": "^3.0.7",
|
||||
"vue-svg-component-runtime": "^1.0.1",
|
||||
"vuex": "^3.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/polyfill": "^7.4.4",
|
||||
"@vue/cli-plugin-babel": "^3.7.0",
|
||||
"@vue/cli-plugin-eslint": "^3.7.0",
|
||||
"@vue/cli-plugin-unit-jest": "^3.7.0",
|
||||
"@vue/cli-service": "^3.7.0",
|
||||
"@vue/cli-plugin-babel": "^3.9.0",
|
||||
"@vue/cli-plugin-eslint": "^3.9.1",
|
||||
"@vue/cli-plugin-unit-jest": "^3.9.0",
|
||||
"@vue/cli-service": "^3.9.0",
|
||||
"@vue/eslint-config-standard": "^4.0.0",
|
||||
"@vue/test-utils": "^1.0.0-beta.20",
|
||||
"babel-core": "7.0.0-bridge.0",
|
||||
"babel-eslint": "^10.0.1",
|
||||
"babel-eslint": "^10.0.2",
|
||||
"babel-jest": "^24.8.0",
|
||||
"babel-plugin-import": "^1.11.0",
|
||||
"babel-plugin-import": "^1.12.0",
|
||||
"eslint": "^5.16.0",
|
||||
"eslint-plugin-html": "^5.0.3",
|
||||
"eslint-plugin-vue": "^5.2.2",
|
||||
"eslint-plugin-html": "^6.0.0",
|
||||
"eslint-plugin-vue": "^5.2.3",
|
||||
"less": "^3.9.0",
|
||||
"less-loader": "^5.0.0",
|
||||
"vue-svg-icon-loader": "^2.1.1",
|
||||
|
||||
@ -17,18 +17,67 @@ export const asyncRouterMap = [
|
||||
component: () => import('@/views/dashboard/Dashboard')
|
||||
},
|
||||
|
||||
// instance
|
||||
// compute
|
||||
{
|
||||
path: '/vm',
|
||||
name: 'vm',
|
||||
meta: { title: 'Instances', keepAlive: true, icon: 'cloud', permission: [ 'listVirtualMachinesMetrics', 'listVirtualMachines' ] },
|
||||
component: () => import('@/components/CloudMonkey/Resource.vue'),
|
||||
hideChildrenInMenu: true,
|
||||
path: '/compute',
|
||||
name: 'compute',
|
||||
meta: { title: 'Compute', keepAlive: true, icon: 'cloud', permission: [ 'listVirtualMachinesMetrics', 'listVirtualMachines' ] },
|
||||
component: RouteView,
|
||||
redirect: '/vm',
|
||||
children: [
|
||||
{
|
||||
path: '/vm/:id',
|
||||
meta: { title: 'Instances', keepAlive: true, icon: 'cloud', permission: [ 'listVirtualMachinesMetrics', 'listVirtualMachines' ] },
|
||||
component: () => import('@/components/CloudMonkey/Resource.vue')
|
||||
path: '/vm',
|
||||
name: 'vm',
|
||||
meta: { title: 'Instances', keepAlive: true, icon: 'laptop', permission: [ 'listVirtualMachinesMetrics', 'listVirtualMachines' ] },
|
||||
component: () => import('@/components/CloudMonkey/Resource.vue'),
|
||||
hideChildrenInMenu: true,
|
||||
children: [
|
||||
{
|
||||
path: '/vm/:id',
|
||||
meta: { title: 'Instances', keepAlive: true, icon: 'cloud', permission: [ 'listVirtualMachinesMetrics', 'listVirtualMachines' ] },
|
||||
component: () => import('@/components/CloudMonkey/Resource.vue')
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/kubernetes',
|
||||
name: 'kubernetes',
|
||||
meta: { title: 'Kubernetes', keepAlive: true, icon: 'radar-chart', permission: [ 'listVirtualMachines' ] },
|
||||
component: () => import('@/components/CloudMonkey/Resource.vue'),
|
||||
hideChildrenInMenu: true,
|
||||
children: [
|
||||
{
|
||||
path: '/kubernetes/:id',
|
||||
meta: { title: 'Instances', keepAlive: true, icon: 'cloud', permission: [ 'listVirtualMachinesMetrics', 'listVirtualMachines' ] },
|
||||
component: () => import('@/components/CloudMonkey/Resource.vue')
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/ssh',
|
||||
name: 'ssh',
|
||||
meta: { title: 'SSH Keys', icon: 'key', permission: [ 'listSSHKeyPairs' ] },
|
||||
component: () => import('@/components/CloudMonkey/Resource.vue'),
|
||||
hideChildrenInMenu: true,
|
||||
children: [
|
||||
{
|
||||
path: '/ssh/:id',
|
||||
component: () => import('@/components/CloudMonkey/Resource.vue')
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/affinitygroups',
|
||||
name: 'affinitygroups',
|
||||
meta: { title: 'Affinity Groups', icon: 'rocket', permission: [ 'listAffinityGroups' ] },
|
||||
component: () => import('@/components/CloudMonkey/Resource.vue'),
|
||||
hideChildrenInMenu: true,
|
||||
children: [
|
||||
{
|
||||
path: '/affinitygroups/:id',
|
||||
component: () => import('@/components/CloudMonkey/Resource.vue')
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -104,19 +153,6 @@ export const asyncRouterMap = [
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/securitygroups',
|
||||
name: 'securitygroups',
|
||||
meta: { title: 'Security Groups', icon: 'compass', permission: [ 'listSecurityGroups' ] },
|
||||
component: () => import('@/components/CloudMonkey/Resource.vue'),
|
||||
hideChildrenInMenu: true,
|
||||
children: [
|
||||
{
|
||||
path: '/securitygroups/:id',
|
||||
component: () => import('@/components/CloudMonkey/Resource.vue')
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/vpc',
|
||||
name: 'vpc',
|
||||
@ -130,6 +166,19 @@ export const asyncRouterMap = [
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/securitygroups',
|
||||
name: 'securitygroups',
|
||||
meta: { title: 'Security Groups', icon: 'compass', permission: [ 'listSecurityGroups' ] },
|
||||
component: () => import('@/components/CloudMonkey/Resource.vue'),
|
||||
hideChildrenInMenu: true,
|
||||
children: [
|
||||
{
|
||||
path: '/securitygroups/:id',
|
||||
component: () => import('@/components/CloudMonkey/Resource.vue')
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/vpngateway',
|
||||
name: 'vpngateway',
|
||||
@ -183,6 +232,21 @@ export const asyncRouterMap = [
|
||||
]
|
||||
},
|
||||
|
||||
// project
|
||||
{
|
||||
path: '/project',
|
||||
name: 'project',
|
||||
meta: { title: 'Projects', icon: 'project', permission: [ 'listProjects' ] },
|
||||
component: () => import('@/components/CloudMonkey/Resource.vue'),
|
||||
hideChildrenInMenu: true,
|
||||
children: [
|
||||
{
|
||||
path: '/project/:id',
|
||||
component: () => import('@/components/CloudMonkey/Resource.vue')
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
// audit
|
||||
{
|
||||
path: '/audit',
|
||||
@ -220,21 +284,6 @@ export const asyncRouterMap = [
|
||||
]
|
||||
},
|
||||
|
||||
// project
|
||||
{
|
||||
path: '/project',
|
||||
name: 'project',
|
||||
meta: { title: 'Projects', icon: 'project', permission: [ 'listProjects' ] },
|
||||
component: () => import('@/components/CloudMonkey/Resource.vue'),
|
||||
hideChildrenInMenu: true,
|
||||
children: [
|
||||
{
|
||||
path: '/project/:id',
|
||||
component: () => import('@/components/CloudMonkey/Resource.vue')
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
// org
|
||||
{
|
||||
path: '/manage',
|
||||
@ -244,40 +293,15 @@ export const asyncRouterMap = [
|
||||
redirect: '/account',
|
||||
children: [
|
||||
{
|
||||
path: '/affinitygroups',
|
||||
name: 'affinitygroups',
|
||||
meta: { title: 'Affinity Groups', icon: 'rocket', permission: [ 'listAffinityGroups' ] },
|
||||
path: '/domain',
|
||||
name: 'domain',
|
||||
meta: { title: 'Domains', icon: 'block', permission: [ 'listDomains' ] },
|
||||
component: () => import('@/components/CloudMonkey/Resource.vue'),
|
||||
hideChildrenInMenu: true,
|
||||
children: [
|
||||
{
|
||||
path: '/affinitygroups/:id',
|
||||
component: () => import('@/components/CloudMonkey/Resource.vue')
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/ssh',
|
||||
name: 'ssh',
|
||||
meta: { title: 'SSH Keys', icon: 'safety', permission: [ 'listSSHKeyPairs' ] },
|
||||
component: () => import('@/components/CloudMonkey/Resource.vue'),
|
||||
hideChildrenInMenu: true,
|
||||
children: [
|
||||
{
|
||||
path: '/ssh/:id',
|
||||
component: () => import('@/components/CloudMonkey/Resource.vue')
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/user',
|
||||
name: 'user',
|
||||
meta: { title: 'Users', icon: 'user', permission: [ 'listUsers' ] },
|
||||
component: () => import('@/components/CloudMonkey/Resource.vue'),
|
||||
hideChildrenInMenu: true,
|
||||
children: [
|
||||
{
|
||||
path: '/user/:id',
|
||||
path: '/domain/:id',
|
||||
meta: { title: 'Domains', icon: 'block', permission: [ 'listDomains' ] },
|
||||
component: () => import('@/components/CloudMonkey/Resource.vue')
|
||||
}
|
||||
]
|
||||
@ -297,15 +321,14 @@ export const asyncRouterMap = [
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/domain',
|
||||
name: 'domain',
|
||||
meta: { title: 'Domains', icon: 'block', permission: [ 'listDomains' ] },
|
||||
path: '/user',
|
||||
name: 'user',
|
||||
meta: { title: 'Users', icon: 'user', permission: [ 'listUsers' ] },
|
||||
component: () => import('@/components/CloudMonkey/Resource.vue'),
|
||||
hideChildrenInMenu: true,
|
||||
children: [
|
||||
{
|
||||
path: '/domain/:id',
|
||||
meta: { title: 'Domains', icon: 'block', permission: [ 'listDomains' ] },
|
||||
path: '/user/:id',
|
||||
component: () => import('@/components/CloudMonkey/Resource.vue')
|
||||
}
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user