summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/app-routing.module.ts
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-portal/src/app/app-routing.module.ts')
-rw-r--r--usecaseui-portal/src/app/app-routing.module.ts58
1 files changed, 31 insertions, 27 deletions
diff --git a/usecaseui-portal/src/app/app-routing.module.ts b/usecaseui-portal/src/app/app-routing.module.ts
index 04a6bc80..f47cf11b 100644
--- a/usecaseui-portal/src/app/app-routing.module.ts
+++ b/usecaseui-portal/src/app/app-routing.module.ts
@@ -13,48 +13,52 @@
See the License for the specific language governing permissions and
limitations under the License.
*/
-import { NgModule } from '@angular/core';
+import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
-import { HomeComponent } from './home/home.component';
-import { ManagementComponent } from './management/management.component';
-import { FcapsComponent } from './fcaps/fcaps.component';
-import { ServicesComponent } from './services/services.component';
-import { ServicesListComponent } from './services/services-list/services-list.component';
-import { OnboardVnfVmComponent } from './services/onboard-vnf-vm/onboard-vnf-vm.component';
-import { AlarmComponent } from './alarm/alarm.component';
-import { PerformanceComponent } from './performance/performance.component';
-import { PerformanceVnfComponent } from './performance/performance-vnf/performance-vnf.component';
-import { PerformanceVmComponent } from './performance/performance-vm/performance-vm.component';
+import { HomeComponent } from './views/home/home.component';
+import { ManagementComponent } from './views/management/management.component';
+import { FcapsComponent } from './views/fcaps/fcaps.component';
+import { ServicesComponent } from './views/services/services.component';
+import { ServicesListComponent } from './views/services/services-list/services-list.component';
+import { OnboardVnfVmComponent } from './views/services/onboard-vnf-vm/onboard-vnf-vm.component';
+import { AlarmComponent } from './views/alarm/alarm.component';
+import { PerformanceComponent } from './views/performance/performance.component';
+import { PerformanceVnfComponent } from './views/performance/performance-vnf/performance-vnf.component';
+import { PerformanceVmComponent } from './views/performance/performance-vm/performance-vm.component';
-import { CcvpnNetworkComponent } from './ccvpn-network/ccvpn-network.component';
+import { CcvpnNetworkComponent } from './views/ccvpn-network/ccvpn-network.component';
+
+
+import { TestComponent } from './test/test.component';
// import { DetailsComponent } from './details/details.component';
const ServicesChildRoutes: Routes = [
- { path: 'services-list', component: ServicesListComponent},
- { path: 'onboard-vnf-vm', component: OnboardVnfVmComponent},
+ { path: 'services-list', component: ServicesListComponent },
+ { path: 'onboard-vnf-vm', component: OnboardVnfVmComponent },
{ path: '**', redirectTo: 'services-list' }
]
const routes: Routes = [
- { path: 'home', component: HomeComponent},
- { path: 'management', component: ManagementComponent},
- { path: 'fcaps', component: FcapsComponent},
+ { path: 'text', component: TestComponent },
+ { path: 'home', component: HomeComponent },
+ { path: 'management', component: ManagementComponent },
+ { path: 'fcaps', component: FcapsComponent },
// { path: 'services', component: ServicesComponent, children:ServicesChildRoutes}, //Temporarily not a sub-routing structure
- { path: 'services/services-list', component: ServicesListComponent},
- { path: 'services/onboard-vnf-vm', component: OnboardVnfVmComponent},
- { path: 'alarm', component: AlarmComponent},
- { path: 'performance', component: PerformanceComponent},
- { path: 'performance/performance-vnf', component: PerformanceVnfComponent},
- { path: 'performance/performance-vm', component: PerformanceVmComponent},
+ { path: 'services/services-list', component: ServicesListComponent },
+ { path: 'services/onboard-vnf-vm', component: OnboardVnfVmComponent },
+ { path: 'alarm', component: AlarmComponent },
+ { path: 'performance', component: PerformanceComponent },
+ { path: 'performance/performance-vnf', component: PerformanceVnfComponent },
+ { path: 'performance/performance-vm', component: PerformanceVmComponent },
{ path: 'network', component: CcvpnNetworkComponent },
- { path: '**', redirectTo: 'home', pathMatch: 'full'}
+ { path: '**', redirectTo: 'home', pathMatch: 'full' }
];
@NgModule({
- imports: [ RouterModule.forRoot(routes) ],
- exports: [ RouterModule ]
+ imports: [RouterModule.forRoot(routes)],
+ exports: [RouterModule]
})
-export class AppRoutingModule {}
+export class AppRoutingModule { }