| import {RouterModule, Routes} from '@angular/router'; |
| import {FlagsResolve} from "./shared/resolvers/flag/flag.resolver"; |
| import {DrawingBoardRoutes} from "./drawingBoard/drawingBoard.routing"; |
| import {GenericFormPopupComponent} from "./shared/components/genericFormPopup/generic-form-popup.component"; |
| import {SupportComponent} from "./support/support.component"; |
| import {HealthStatusRoutes} from "./healthStatus/health-status.routing"; |
| import {VlanTaggingRoutes} from "./vlanTagging/vlan-tagging.routing"; |
| import {InstantiationStatusRoutes} from "./instantiationStatus/InstantiationStatus.routing"; |
| const routes: Routes = [ |
| ...DrawingBoardRoutes, |
| ...HealthStatusRoutes, |
| ...VlanTaggingRoutes, |
| ...InstantiationStatusRoutes, |
| { |
| path: 'servicePopup', |
| component: GenericFormPopupComponent, |
| resolve: { |
| flags: FlagsResolve |
| } |
| }, |
| {path: 'support', component: SupportComponent}, |
| ]; |
| export const routing = RouterModule.forRoot(routes); |