1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
/*
Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { TestComponent } from './test/test.component';
import { AlarmComponent } from './views/alarm/alarm.component';
import { FcapsComponent } from './views/fcaps/fcaps.component';
import { Monitor5gComponent } from './views/fcaps/monitor-5g/monitor-5g.component';
import { MonitorManagementService } from './views/fcaps/monitor-management-service/monitor-management-service.component';
import { HomeComponent } from './views/home/home.component';
import { ManagementComponent } from './views/management/management.component';
import { CcvpnNetworkComponent } from './views/network/ccvpn-network/ccvpn-network.component';
import { MdonsNetworkComponent } from './views/network/mdons-network/mdons-network.component';
import { OnboardVnfVmComponent } from './views/onboard-vnf-vm/onboard-vnf-vm.component';
import { PerformanceVmComponent } from './views/performance/performance-vm/performance-vm.component';
import { PerformanceVnfComponent } from './views/performance/performance-vnf/performance-vnf.component';
import { PerformanceComponent } from './views/performance/performance.component';
import { IntentBasedServicesComponent } from './views/services/intent-based-services/intent-based-services.component';
import { ServicesListComponent } from './views/services/services-list/services-list.component';
import { SlicingManagementComponent } from './views/services/slicing-management/slicing-management.component';
import { ManageServiceComponent } from './views/services/sotn-management/manage-service/manage-service.component';
import { MonitorServiceComponent } from './views/services/sotn-management/monitor-service/monitor-service.component';
import { OrderServiceComponent } from './views/services/sotn-management/order-service/order-service.component';
import { SotnManagementComponent } from './views/services/sotn-management/sotn-management.component';
import { IntentManagementComponent } from './views/intent-management/intent-management.component';
import { RobotComponent } from './views/robot/robot.component';
import { ApplicationManagementComponent } from './views/maas/build/application-management.component';
import { UseApplicationComponent } from './views/maas/use/use-application.component';
import { KnowledgeBaseManagementComponent } from './views/maas/knowledge-base-management/knowledge-base-management.component';
// import { DetailsComponent } from './details/details.component';
const ServicesChildRoutes: Routes = [
{ path: 'services-list', component: ServicesListComponent },
{ path: 'onboard-vnf-vm', component: OnboardVnfVmComponent },
{ path: '**', redirectTo: 'services-list' }
]
const routes: Routes = [
{ path: 'text', component: TestComponent },
{ path: 'home', component: HomeComponent },
{ path: 'management', component: ManagementComponent },
{ path: 'fcaps', component: FcapsComponent },
{ path: 'fcaps/5gslicing', component: Monitor5gComponent },
{path: 'fcaps/monitor_service', component: MonitorManagementService},
{ path: 'services/services-list', component: ServicesListComponent },
{ path: 'services/intent-based-services', component: IntentBasedServicesComponent },
{ path: 'services/slicing-management', component: SlicingManagementComponent },
{ path: 'services/sotn-management', component: SotnManagementComponent },
{ path: 'services/order-service', component: OrderServiceComponent },
{ path: 'services/manage-service', component: ManageServiceComponent },
{ path: 'services/monitor-service', component: MonitorServiceComponent },
{ path: '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/ccvpn-network', component: CcvpnNetworkComponent },
{ path: 'network/mdons-network', component: MdonsNetworkComponent },
{ path: 'intent-management', component:IntentManagementComponent},
{ path: 'robot', component: RobotComponent },
{ path: 'maas/build', component: ApplicationManagementComponent },
{ path: 'maas/use', component: UseApplicationComponent },
{ path: 'maas/knowledge-base-management', component: KnowledgeBaseManagementComponent },
{ path: '**', redirectTo: 'home', pathMatch: 'full' }
];
@NgModule({
imports: [RouterModule.forRoot(routes)],
exports: [RouterModule]
})
export class AppRoutingModule { }
|