blob: e6f42f9ed662b46ebd9cd2e4d90a03da00919f8f [file] [log] [blame]
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +03001import {RouterModule, Routes} from '@angular/router';
2
3import {HomeComponent} from './home/home.component';
4import {BrowseSdcComponent} from './browseSdc/browseSdc.component';
5import {ServicePlanningComponent, ServicePlanningEmptyComponent} from './drawingBoard/service-planning/service-planning.component';
6import {VlanTaggingComponent} from './vlanTagging/vlan-tagging.component';
7import {ServicePopupComponent} from './components/service-popup/service-popup.component';
8import { InstantiationStatusComponent } from './instantiationStatus/instantiationStatus.component';
9import {HealthStatusComponent} from "./healthStatus/health-status.component";
10import {FlagsResolve} from "./services/flags.resolve";
11
12const routes: Routes = [
13 { path: '', component: HomeComponent, pathMatch: 'full' ,resolve : {
14 flags : FlagsResolve,
15 }},
16 { path: 'browseSdc', component: BrowseSdcComponent, resolve : {
17 flags : FlagsResolve,
18 }},
19 { path: 'servicePlanning', component: ServicePlanningComponent, resolve : {
20 flags : FlagsResolve,
21 }},
22 { path: 'servicePlanningEmpty', component: ServicePlanningEmptyComponent, resolve : {
23 flags : FlagsResolve,
24 }},
25 { path: 'servicePopup', component: ServicePopupComponent, resolve : {
26 flags : FlagsResolve,
27 }},
28 { path :'vlan', component : VlanTaggingComponent, resolve : {
29 flags : FlagsResolve,
30 }},
31 { path: 'instantiationStatus', component: InstantiationStatusComponent, resolve : {
32 flags : FlagsResolve,
33 }},
34 { path: 'healthStatus', component: HealthStatusComponent, resolve : {
35 flags : FlagsResolve,
36 }}
37
38];
39
40export const routing = RouterModule.forRoot(routes);