diff options
Diffstat (limited to 'ecomp-sdk/epsdk-app-os/ngapp/src')
3 files changed, 42 insertions, 39 deletions
diff --git a/ecomp-sdk/epsdk-app-os/ngapp/src/app/pages/.gitignore b/ecomp-sdk/epsdk-app-os/ngapp/src/app/pages/.gitignore deleted file mode 100644 index 568f2f9c..00000000 --- a/ecomp-sdk/epsdk-app-os/ngapp/src/app/pages/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -* -!ext -!ext/** -!pages-routhing.module.ts
\ No newline at end of file diff --git a/ecomp-sdk/epsdk-app-os/ngapp/src/app/pages/pages-routing.module.ts b/ecomp-sdk/epsdk-app-os/ngapp/src/app/pages/pages-routing.module.ts index 05c0d50f..eff5a3d0 100644 --- a/ecomp-sdk/epsdk-app-os/ngapp/src/app/pages/pages-routing.module.ts +++ b/ecomp-sdk/epsdk-app-os/ngapp/src/app/pages/pages-routing.module.ts @@ -5,13 +5,13 @@ import { UsageComponent } from './admin/usage/usage.component'; import { CacheAdminComponent } from './admin/cache-admin/cache-admin.component'; import { RolesComponent } from './admin/roles/roles.component'; import { MenusComponent } from './admin/menus/menus.component'; - +import { SearchComponent } from './ext/profile/search/search.component'; +import { SelfComponent } from './ext/profile/self/self.component'; import { ReportComponent } from './analytics/Report_List/Report/report.component'; import { RunReportComponent } from './analytics/Report_List/Report/run/run-report/run-report.component'; import { HeaderTabsWrapperComponent } from './analytics/Report_List/header-tabs-wrapper-component/header-tabs-wrapper.component'; - import { RunReportFormFieldsComponent } from './analytics/Report_List/Report/run/run-report-form-fields/run-report-form-fields.component'; - +import { WelcomeDashboardComponent } from './welcome-dashboard/welcome-dashboard.component'; @@ -19,17 +19,17 @@ import { RunReportFormFieldsComponent } from './analytics/Report_List/Report/run const routes: Routes = [ { path: 'admin/role_function_list', component: RoleFunctionsComponent }, { path: 'admin/usage_list', component : UsageComponent}, - {path: 'admin/cache_admin', component :CacheAdminComponent}, - {path: 'admin/admin', component :RolesComponent}, - {path: 'admin/admin_menu_edit', component :MenusComponent}, - - {path: 'report-list', component:ReportComponent}, - {path: 'create', component: HeaderTabsWrapperComponent}, - {path: 'reports/:reportMode/:reportId', component: HeaderTabsWrapperComponent}, - {path: 'run/:reportId', component: RunReportFormFieldsComponent}, - {path: 'run/:reportId/:queryParameters', component: RunReportFormFieldsComponent}, - - + { path: 'admin/cache_admin', component :CacheAdminComponent}, + { path: 'admin/admin', component :RolesComponent}, + { path: 'admin/admin_menu_edit', component :MenusComponent}, + { path: 'userProfile', component :SearchComponent}, + { path: 'userProfile/self_profile', component:SelfComponent}, + { path: 'report-list', component:ReportComponent}, + { path: 'create', component: HeaderTabsWrapperComponent}, + { path: 'reports/:reportMode/:reportId', component: HeaderTabsWrapperComponent}, + { path: 'run/:reportId', component: RunReportComponent}, + { path: 'run/:reportId/:queryParameters', component: RunReportFormFieldsComponent}, + { path: 'welcome/welcome', component :WelcomeDashboardComponent} ]; @NgModule({ diff --git a/ecomp-sdk/epsdk-app-os/ngapp/src/environments/environment.ts b/ecomp-sdk/epsdk-app-os/ngapp/src/environments/environment.ts index f728a8ff..2e2717ec 100644 --- a/ecomp-sdk/epsdk-app-os/ngapp/src/environments/environment.ts +++ b/ecomp-sdk/epsdk-app-os/ngapp/src/environments/environment.ts @@ -4,27 +4,34 @@ export const environment = { production: false, - baseUrl: 'http://localhost:8080/epsdk-app-os/', - roleFunctionList: 'http://localhost:8080/epsdk-app-os/get_role_functions', - addRoleFunction: 'http://localhost:8080/epsdk-app-os/role_function_list/addRoleFunction', - usageList: 'http://localhost:8080/epsdk-app-os/get_usage_list', - cachedRegions: 'http://localhost:8080/epsdk-app-os/get_regions', - getRole:'http://localhost:8080/epsdk-app-os/get_role', - getFnMenuItems:'http://localhost:8080/epsdk-app-os/admin_fn_menu', - getUserPagination:'http://localhost:8080/epsdk-app-os/get_user_pagination', - deleteRole:'http://localhost:8080/epsdk-app-os/role_list/removeRole', - getTopMenu:'http://localhost:8080/epsdk-app-os/get_topMenuInfo', - deleteRoleFunction:'http://localhost:8080/epsdk-app-os/role_function_list/removeRoleFunction', - deleteMenu:'http://localhost:8080/epsdk-app-os/admin_fn_menu/removeMenuItem.htm', - getRegion:'http://localhost:8080/epsdk-app-os/jcs_admin/showRegionDetails', - postSearch:'http://localhost:8080/epsdk-app-os/post_search/search', - importSearch:'http://localhost:8080/epsdk-app-os/post_search/process', - getPostProfile:'http://localhost:8080/epsdk-app-os/post_search_sample', - getSelfProfile:'http://localhost:8080/epsdk-app-os/get_self_profile', - removeUserRole:'http://localhost:8080/epsdk-app-os/profile/removeRole', - saveProfile :'http://localhost:8080/epsdk-app-os/profile/saveProfile', - getFunctionalMenuStaticDetail :'http:/localhost:8080/epsdk-app-os/get_topMenuInfo', - getLeftMenu :'http://localhost:8080/epsdk-app-os/get_menu' + baseUrl: 'http://www.sdk.onap.org:8080/epsdk-app-os/', + roleFunctionList: 'http://www.sdk.onap.org:8080/epsdk-app-os/get_role_functions', + addRoleFunction: 'http://www.sdk.onap.org:8080/epsdk-app-os/role_function_list/addRoleFunction', + usageList: 'http://www.sdk.onap.org:8080/epsdk-app-os/get_usage_list', + cachedRegions: 'http://www.sdk.onap.org:8080/epsdk-app-os/get_regions', + getRole:'http://www.sdk.onap.org:8080/epsdk-app-os/get_role', + getFnMenuItems:'http://www.sdk.onap.org:8080/epsdk-app-os/admin_fn_menu', + updateFnMenuItem:'http://www.sdk.onap.org:8080/epsdk-app-os/admin_fn_menu/updateFnMenu.htm', + getFunctionCdList:'http://www.sdk.onap.org:8080/epsdk-app-os/admin_fn_menu/get_function_cd_list', + getParentList:'http://www.sdk.onap.org:8080/epsdk-app-os/admin_fn_menu/get_parent_list', + getUserPagination:'http://www.sdk.onap.org:8080/epsdk-app-os/get_user_pagination?pageNum=0&viewPerPage=0', + deleteRole:'http://www.sdk.onap.org:8080/epsdk-app-os/role_list/removeRole', + getTopMenu:'http://www.sdk.onap.org:8080/epsdk-app-os/get_topMenuInfo', + deleteRoleFunction:'http://www.sdk.onap.org:8080/epsdk-app-os/role_function_list/removeRoleFunction', + deleteMenu:'http://www.sdk.onap.org:8080/epsdk-app-os/admin_fn_menu/removeMenuItem.htm', + getRegion:'http://www.sdk.onap.org:8080/epsdk-app-os/jcs_admin/showRegionDetails', + postSearch:'http://www.sdk.onap.org:8080/epsdk-app-os/post_search/search', + importSearch:'http://www.sdk.onap.org:8080/epsdk-app-os/post_search/process', + getPostProfile:'http://www.sdk.onap.org:8080/epsdk-app-os/post_search_sample', + getSelfProfile:'http://www.sdk.onap.org:8080/epsdk-app-os/get_self_profile', + removeUserRole:'http://www.sdk.onap.org:8080/epsdk-app-os/profile/removeRole', + addUserRole:'http://www.sdk.onap.org:8080/epsdk-app-os/profile/addNewRole', + saveProfile :'http://www.sdk.onap.org:8080/epsdk-app-os/profile/saveProfile', + getFunctionalMenuStaticDetail :'http:/www.sdk.onap.org:8080/epsdk-app-att/get_topMenuInfo', + getLeftMenu :'http://www.sdk.onap.org:8080/epsdk-app-att/get_menu', + removeRoleFunction:'http://www.sdk.onap.org:8080/epsdk-app-os/role/removeRoleFunction.htm?role_id=', + saveRole:'http://www.sdk.onap.org:8080/epsdk-app-os/role/saveRole.htm?role_id=', + toggleProfileActive: 'http://www.sdk.onap.org:8080/epsdk-app-os/profile/toggleProfileActive?profile_id=' }; /* |