blob: 779d17e3ce9bf93daba8a6ae6a65603836682ea1 [file] [log] [blame]
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +03001import {RouterModule, Routes} from '@angular/router';
Ittay Stern6f900cc2018-08-29 17:01:32 +03002import {FlagsResolve} from "./shared/resolvers/flag/flag.resolver";
3import {DrawingBoardRoutes} from "./drawingBoard/drawingBoard.routing";
4import {GenericFormPopupComponent} from "./shared/components/genericFormPopup/generic-form-popup.component";
5import {SupportComponent} from "./support/support.component";
6import {HealthStatusRoutes} from "./healthStatus/health-status.routing";
7import {VlanTaggingRoutes} from "./vlanTagging/vlan-tagging.routing";
8import {InstantiationStatusRoutes} from "./instantiationStatus/InstantiationStatus.routing";
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +03009const routes: Routes = [
Ittay Stern6f900cc2018-08-29 17:01:32 +030010 ...DrawingBoardRoutes,
11 ...HealthStatusRoutes,
12 ...VlanTaggingRoutes,
13 ...InstantiationStatusRoutes,
14 {
15 path: 'servicePopup',
16 component: GenericFormPopupComponent,
17 resolve: {
18 flags: FlagsResolve
19 }
20 },
21 {path: 'support', component: SupportComponent},
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030022];
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030023export const routing = RouterModule.forRoot(routes);