Code Change for cassandra PW Encryption
[portal.git] / portal-FE-os / src / app / pages / pages-routing.module.ts
1 /*
2  * ============LICENSE_START==========================================
3  * ONAP Portal SDK
4  * ===================================================================
5  * Copyright � 2019 AT&T Intellectual Property. All rights reserved.
6  * ===================================================================
7  *
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
12  *
13  *             http://www.apache.org/licenses/LICENSE-2.0
14  *
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.
20  *
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
25  *
26  *             https://creativecommons.org/licenses/by/4.0/
27  *
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.
33  *
34  * ============LICENSE_END============================================
35  *
36  * 
37  */
38 import { NgModule } from '@angular/core';
39 import { Routes, RouterModule } from '@angular/router';
40
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';
59 import { HeaderTabsWrapperComponent } from './analytics/Report_List/header-tabs-wrapper-component/header-tabs-wrapper.component';
60 import { RunReportFormFieldsComponent } from './run/run-report-form-fields/run-report-form-fields.component';
61 import { DisplayAreaComponent } from './analytics/Report_List/display-area/display-area.component';
62 import { ReportComponent } from './analytics/Report_List/Report/report.component';
63
64 const routes: Routes = [
65     { path: '', component: DashboardComponent },
66     { path: 'applicationsHome', component: DashboardComponent },
67     { path: 'admins', component: AdminsComponent },
68     { path: 'portalAdmins', component: PortalAdminsComponent },
69     { path: 'appCatalog', component: ApplicationCatalogComponent },
70     { path: 'widgetCatalog', component: WidgetCatalogComponent },
71     { path: 'roles', component: RoleComponent },
72     { path: 'roleFunctions', component: RoleFunctionsComponent },
73     { path: 'users', component: UsersComponent },
74     { path: 'applications', component: ApplicationOnboardingComponent },
75     { path: 'widgetOnboarding', component: WidgetOnboardingComponent },
76     { path: 'functionalMenu', component: FunctionalMenuComponent },
77     { path: 'userNotifications', component: UserNotificationAdminComponent },
78     { path: 'microserviceOnboarding', component: MicroserviceOnboardingComponent },
79     { path: 'accountOnboarding', component: AccountOnboardingComponent },
80     { path: 'webAnlayticsSource', component: WebAnalyticsComponent },
81     { path: 'contactUs', component: ContactUsComponent },
82     { path: 'getAccess', component: GetAccessComponent },
83     { path: 'recentNotifications', component: NotificationHistoryComponent },
84         { path: 'report-list', component:ReportComponent},
85     { path: 'create', component: HeaderTabsWrapperComponent},
86     { path: 'v2/app/reports/:reportMode/:reportId', component: HeaderTabsWrapperComponent},
87     { path: 'v2/app/run/:reportId', component: RunReportFormFieldsComponent},
88     { path: 'v2/app/run/:reportId/:queryParameters', component: RunReportFormFieldsComponent},
89     { path: 'run', component: RunReportFormFieldsComponent},
90     { path: 'displayArea/:menuId', component: DisplayAreaComponent}
91 ];
92
93 @NgModule({
94     imports: [RouterModule.forChild(routes)],
95     exports: [RouterModule]
96 })
97 export class PagesRoutingModule { }
98
99
100