2 * ============LICENSE_START==========================================
4 * ===================================================================
5 * Copyright � 2019 AT&T Intellectual Property. All rights reserved.
6 * ===================================================================
8 * Unless otherwise specified, all software contained herein is licensed
9 * under the Apache License, Version 2.0 (the "License");
10 * you may not use this software except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
21 * Unless otherwise specified, all documentation contained herein is licensed
22 * under the Creative Commons License, Attribution 4.0 Intl. (the "License");
23 * you may not use this documentation except in compliance with the License.
24 * You may obtain a copy of the License at
26 * https://creativecommons.org/licenses/by/4.0/
28 * Unless required by applicable law or agreed to in writing, documentation
29 * distributed under the License is distributed on an "AS IS" BASIS,
30 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
31 * See the License for the specific language governing permissions and
32 * limitations under the License.
34 * ============LICENSE_END============================================
38 import { NgModule } from '@angular/core';
39 import { Routes, RouterModule } from '@angular/router';
41 import { AdminsComponent } from './admins/admins.component';
42 import { DashboardComponent } from '../pages/dashboard/dashboard.component';
43 import { PortalAdminsComponent } from './portal-admins/portal-admins.component';
44 import { RoleComponent } from './role/role.component';
45 import { UsersComponent } from './users/users.component';
46 import { FunctionalMenuComponent } from './functional-menu/functional-menu.component';
47 import { UserNotificationAdminComponent } from './user-notification-admin/user-notification-admin.component';
48 import { WebAnalyticsComponent } from './web-analytics/web-analytics.component';
49 import { ApplicationCatalogComponent } from './application-catalog/application-catalog.component';
50 import { WidgetCatalogComponent } from './widget-catalog/widget-catalog.component';
51 import { MicroserviceOnboardingComponent } from './microservice-onboarding/microservice-onboarding.component';
52 import { ApplicationOnboardingComponent } from './application-onboarding/application-onboarding.component';
53 import { WidgetOnboardingComponent } from './widget-onboarding/widget-onboarding.component';
54 import { AccountOnboardingComponent } from './account-onboarding/account-onboarding.component';
55 import { ContactUsComponent } from './contact-us/contact-us.component';
56 import { RoleFunctionsComponent } from './role/role-functions/role-functions.component';
57 import { NotificationHistoryComponent } from './notification-history/notification-history.component';
58 import { GetAccessComponent } from './get-access/get-access.component';
60 const routes: Routes = [
61 { path: '', component: DashboardComponent },
62 { path: 'applicationsHome', component: DashboardComponent },
63 { path: 'admins', component: AdminsComponent },
64 { path: 'portalAdmins', component: PortalAdminsComponent },
65 { path: 'appCatalog', component: ApplicationCatalogComponent },
66 { path: 'widgetCatalog', component: WidgetCatalogComponent },
67 { path: 'roles', component: RoleComponent },
68 { path: 'roleFunctions', component: RoleFunctionsComponent },
69 { path: 'users', component: UsersComponent },
70 { path: 'applications', component: ApplicationOnboardingComponent },
71 { path: 'widgetOnboarding', component: WidgetOnboardingComponent },
72 { path: 'functionalMenu', component: FunctionalMenuComponent },
73 { path: 'userNotifications', component: UserNotificationAdminComponent },
74 { path: 'microserviceOnboarding', component: MicroserviceOnboardingComponent },
75 { path: 'accountOnboarding', component: AccountOnboardingComponent },
76 { path: 'webAnlayticsSource', component: WebAnalyticsComponent },
77 { path: 'contactUs', component: ContactUsComponent },
78 { path: 'getAccess', component: GetAccessComponent },
79 { path: 'recentNotifications', component: NotificationHistoryComponent },
83 imports: [RouterModule.forChild(routes)],
84 exports: [RouterModule]
86 export class PagesRoutingModule { }