summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-os/ngapp
diff options
context:
space:
mode:
authorMuni Mohan Kunchi <munmohan@att.com>2020-02-06 13:51:45 -0500
committerMuni Mohan Kunchi <munmohan@att.com>2020-02-06 13:54:22 -0500
commite3636b96e9938cb89bb90672cf70fff3ae790186 (patch)
tree89dd47a4a95150f70e83556a3280cf4cd02daf89 /ecomp-sdk/epsdk-app-os/ngapp
parent35d028274a61ce8e77a9fa409877d93d0fce05a8 (diff)
adding sdk changes
adding sdk changes Issue-ID: PORTAL-830 Signed-off-by: Muni Mohan Kunchi <munmohan@att.com> Change-Id: I0c99d3ab15fcf4c3b34d84658b64114dadbe2577
Diffstat (limited to 'ecomp-sdk/epsdk-app-os/ngapp')
-rw-r--r--ecomp-sdk/epsdk-app-os/ngapp/.gitignore1
-rw-r--r--ecomp-sdk/epsdk-app-os/ngapp/angular.json2
-rw-r--r--ecomp-sdk/epsdk-app-os/ngapp/package.json11
-rw-r--r--ecomp-sdk/epsdk-app-os/ngapp/src/app/pages/.gitignore4
-rw-r--r--ecomp-sdk/epsdk-app-os/ngapp/src/app/pages/pages-routing.module.ts28
-rw-r--r--ecomp-sdk/epsdk-app-os/ngapp/src/environments/environment.ts49
6 files changed, 53 insertions, 42 deletions
diff --git a/ecomp-sdk/epsdk-app-os/ngapp/.gitignore b/ecomp-sdk/epsdk-app-os/ngapp/.gitignore
index 18128254..f270f9ff 100644
--- a/ecomp-sdk/epsdk-app-os/ngapp/.gitignore
+++ b/ecomp-sdk/epsdk-app-os/ngapp/.gitignore
@@ -6,6 +6,7 @@ abs-components-bc/*
!abs-components-bc/styles/
e2e
src/styles
+src/assets
src/app/*
!src/app/pages
!src/app/pages/**
diff --git a/ecomp-sdk/epsdk-app-os/ngapp/angular.json b/ecomp-sdk/epsdk-app-os/ngapp/angular.json
index c9b298dd..eb75c816 100644
--- a/ecomp-sdk/epsdk-app-os/ngapp/angular.json
+++ b/ecomp-sdk/epsdk-app-os/ngapp/angular.json
@@ -23,7 +23,6 @@
"src/favicon.ico"
],
"styles": [
- "node_modules/font-awesome/css/font-awesome.css",
"src/styles/app.scss",
"node_modules/ionicons/dist/scss/ionicons.scss"
],
@@ -84,7 +83,6 @@
"scripts": [
],
"styles": [
- "node_modules/font-awesome/css/font-awesome.css",
"src/styles/app.scss"
],
"assets": [
diff --git a/ecomp-sdk/epsdk-app-os/ngapp/package.json b/ecomp-sdk/epsdk-app-os/ngapp/package.json
index 4dc3a3b5..5ff29579 100644
--- a/ecomp-sdk/epsdk-app-os/ngapp/package.json
+++ b/ecomp-sdk/epsdk-app-os/ngapp/package.json
@@ -25,15 +25,24 @@
"@ng-bootstrap/ng-bootstrap": "4.2.1",
"@ngx-translate/core": "11.0.1",
"@ngx-translate/http-loader": "4.0.0",
+ "angular-google-charts": "^0.1.6",
"angular-gridster2": "^8.2.0",
+ "angular-tag-cloud-module": "^3.8.1",
+ "chart.js": "^2.8.0",
"core-js": "^2.5.4",
+ "d3": "^4.0.0",
+ "d3-scale": "^3.1.0",
"font-awesome": "^4.7.0",
"ionicons": "^4.6.2",
"ng2-smart-table": "^1.5.0",
+ "ng6-o2-chart": "^0.4.0",
"rxjs": "~6.3.3",
"rxjs-compat": "^6.5.2",
"tslib": "^1.9.0",
- "zone.js": "~0.8.26"
+ "zone.js": "~0.8.26",
+ "lodash-es": "^4.17.10",
+ "ngx-cookie-service": "^2.3.0",
+ "portalsdk-tag-lib": "file:portalsdk-tag-lib-0.0.1.tgz"
},
"devDependencies": {
"@angular-devkit/build-angular": "^0.10.0",
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='
};
/*