Feature 10911-Vertical scaling of VM instances from OSM
[osm/NG-UI.git] / src / app / approutes.module.ts
index e2f863c..e75416e 100644 (file)
@@ -20,6 +20,7 @@
  */
 import { Routes } from '@angular/router';
 import { AuthGuardService } from 'AuthGuardService';
+import { ChangePasswordComponent } from 'ChangePasswordComponent';
 import { LayoutComponent } from 'LayoutComponent';
 import { LoginComponent } from 'LoginComponent';
 import { PageNotFoundComponent } from 'PageNotFound';
@@ -104,9 +105,21 @@ export const appRoutes: Routes = [
                 loadChildren: async (): Promise<any> => import('./k8s/K8sModule')
                     .then((m: typeof import('./k8s/K8sModule')) => m.K8sModule),
                 canActivate: [AuthGuardService]
+            },
+            {
+                path: 'repos',
+                // tslint:disable-next-line: no-any
+                loadChildren: async (): Promise<any> => import('./osm-repositories/OsmRepositoriesModule')
+                    .then((m: typeof import('./osm-repositories/OsmRepositoriesModule')) => m.OsmRepositoriesModule),
+                canActivate: [AuthGuardService]
             }
         ]
     },
+    {
+        path: 'changepassword',
+        component: ChangePasswordComponent,
+        canActivate: [AuthGuardService]
+    },
     {
         path: '**',
         component: PageNotFoundComponent