File tree Expand file tree Collapse file tree 8 files changed +40
-5
lines changed
Expand file tree Collapse file tree 8 files changed +40
-5
lines changed Original file line number Diff line number Diff line change 1818 "@ovh-ux/manager-cloud-styles" : " ^0.3.0-alpha.0" ,
1919 "@ovh-ux/manager-config" : " ^0.2.0" ,
2020 "@ovh-ux/manager-core" : " ^5.0.0" ,
21+ "@ovh-ux/manager-kubernetes" : " ^0.1.0-alpha.0" ,
2122 "@ovh-ux/manager-pci" : " ^0.1.0-alpha.0" ,
2223 "@ovh-ux/manager-telecom-styles" : " ^2.0.2" ,
2324 "@ovh-ux/ng-ovh-api-wrappers" : " ^3.0.0" ,
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ export const MENU = [
6060 subitems : [
6161 {
6262 options : {
63- state : 'pci.projects.project' ,
63+ state : 'pci.projects.project.kubernetes ' ,
6464 } ,
6565 translation : 'cloud_sidebar_orchestration_kubernetes' ,
6666 } ,
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import '@uirouter/angularjs';
33import 'oclazyload' ;
44
55import '@ovh-ux/manager-core' ;
6+ import component from './component' ;
67
78const moduleName = 'ovhManagerKubernetes' ;
89
@@ -11,6 +12,7 @@ angular
1112 'ui.router' ,
1213 'ovhManagerCore' ,
1314 'oc.lazyLoad' ,
15+ component ,
1416 ] )
1517 . config ( /* @ngInject */ ( $stateProvider ) => {
1618 $stateProvider . state ( 'kube.**' , {
Original file line number Diff line number Diff line change @@ -18,12 +18,9 @@ angular.module(moduleName, [
1818 views : {
1919 kubernetesListView : 'ovhManagerKubernetesListComponent' ,
2020 } ,
21- translations : {
22- value : [ '.' ] ,
23- format : 'json' ,
24- } ,
2521 } ) ;
2622 } )
23+ . run ( /* @ngTranslationsInject :json ./translations */ )
2724 . component ( 'ovhManagerKubernetesListComponent' , listComponent )
2825 . service ( 'PublicCloudProjectKubernetes' , service ) ;
2926
Original file line number Diff line number Diff line change 3434 "@ovh-ux/ng-ovh-uirouter-layout" : " ^0.0.0" ,
3535 "@ovh-ux/manager-cloud-styles" : " ^0.3.0-alpha.0" ,
3636 "@ovh-ux/manager-core" : " ^5.0.0" ,
37+ "@ovh-ux/manager-kubernetes" : " ^0.1.0-alpha.0" ,
3738 "@ovh-ux/manager-telecom-styles" : " ^2.0.2" ,
3839 "@ovh-ux/ng-ovh-api-wrappers" : " ^3.0.0" ,
3940 "@ovh-ux/ng-ovh-cloud-universe-components" : " ^1.1.0-alpha.0" ,
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import 'angular-translate';
66import 'ovh-api-services' ;
77import 'ovh-ui-angular' ;
88
9+ import kubernetes from './kubernetes' ;
910import legacy from './legacy' ;
1011import storages from './storages' ;
1112import routing from './project.routing' ;
@@ -19,6 +20,8 @@ angular
1920 'ovhManagerCore' ,
2021 'ovh-api-services' ,
2122 'pascalprecht.translate' ,
23+ kubernetes ,
24+ legacy ,
2225 storages ,
2326 ] )
2427 . config ( routing ) ;
Original file line number Diff line number Diff line change 1+ import angular from 'angular' ;
2+
3+ import '@ovh-ux/manager-kubernetes' ;
4+
5+ import routing from './routing' ;
6+
7+ const moduleName = 'ovhManagerPciProjectKubernetes' ;
8+
9+ angular
10+ . module ( moduleName , [
11+ 'ovhManagerKubernetes' ,
12+ ] )
13+ . config ( routing ) ;
14+
15+ export default moduleName ;
Original file line number Diff line number Diff line change 1+ export default /* @ngInject */ ( $stateProvider ) => {
2+ $stateProvider
3+ . state ( 'pci.projects.project.kubernetes' , {
4+ url : '/kube' ,
5+ component : 'ovhManagerKubernetesList' ,
6+ redirectTo : 'pci.projects.project.kubernetes.list' ,
7+ resolve : {
8+ projectId : /* @ngInject */ $transition$ => $transition$ . params ( ) . projectId ,
9+ } ,
10+ } )
11+ . state ( 'pci.projects.project.kubernetes.list' , {
12+ views : {
13+ kubernetesListView : 'ovhManagerKubernetesListComponent' ,
14+ } ,
15+ } ) ;
16+ } ;
You can’t perform that action at this time.
0 commit comments