summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-os
diff options
context:
space:
mode:
authorSunder Tattavarada <statta@research.att.com>2020-04-08 14:38:12 +0000
committerGerrit Code Review <gerrit@onap.org>2020-04-08 14:38:12 +0000
commit200d61e4d44593aa453d82c74c7fcd61a99c93e0 (patch)
tree04666a27ba226cc84e0a4791cf121954c03b56a4 /ecomp-sdk/epsdk-app-os
parent459f0e54fa1c30f5d5054488c7a6e75590149875 (diff)
parent4f0589f52a37b57c00d7a60d64a86bc5db25ca86 (diff)
Merge "profile search issue fix"
Diffstat (limited to 'ecomp-sdk/epsdk-app-os')
-rw-r--r--ecomp-sdk/epsdk-app-os/ngappsrc/src/app/pages/ext/profile/profile.service.ts4
-rw-r--r--ecomp-sdk/epsdk-app-os/ngappsrc/src/environments/environment.prod.ts31
-rw-r--r--ecomp-sdk/epsdk-app-os/ngappsrc/src/environments/environment.ts1
3 files changed, 35 insertions, 1 deletions
diff --git a/ecomp-sdk/epsdk-app-os/ngappsrc/src/app/pages/ext/profile/profile.service.ts b/ecomp-sdk/epsdk-app-os/ngappsrc/src/app/pages/ext/profile/profile.service.ts
index 111cf3f4..7d14ee39 100644
--- a/ecomp-sdk/epsdk-app-os/ngappsrc/src/app/pages/ext/profile/profile.service.ts
+++ b/ecomp-sdk/epsdk-app-os/ngappsrc/src/app/pages/ext/profile/profile.service.ts
@@ -38,6 +38,10 @@ export class ProfileService {
}
+ getProfileById(profileId){
+ return this.http.get(environment.getProfileById+"?profile_id="+profileId, {withCredentials: true });
+ }
+
removeRole(data,profileId)
{
return this.http.post(environment.removeUserRole+'?profile_id='+profileId,JSON.stringify({role: data}),{ withCredentials: true });
diff --git a/ecomp-sdk/epsdk-app-os/ngappsrc/src/environments/environment.prod.ts b/ecomp-sdk/epsdk-app-os/ngappsrc/src/environments/environment.prod.ts
index 3612073b..e53aeb67 100644
--- a/ecomp-sdk/epsdk-app-os/ngappsrc/src/environments/environment.prod.ts
+++ b/ecomp-sdk/epsdk-app-os/ngappsrc/src/environments/environment.prod.ts
@@ -1,3 +1,32 @@
export const environment = {
- production: true
+ production: true,
+ baseUrl: '',
+ roleFunctionList: 'get_role_functions',
+ addRoleFunction: 'role_function_list/addRoleFunction',
+ usageList: 'get_usage_list',
+ cachedRegions: 'get_regions',
+ getRole:'get_role',
+ getFnMenuItems:'admin_fn_menu',
+ updateFnMenuItem:'admin_fn_menu/updateFnMenu.htm',
+ getFunctionCdList:'admin_fn_menu/get_function_cd_list',
+ getParentList:'admin_fn_menu/get_parent_list',
+ getUserPagination:'get_user_pagination?pageNum=0&viewPerPage=0',
+ deleteRole:'role_list/removeRole',
+ getTopMenu:'get_topMenuInfo',
+ deleteRoleFunction:'role_function_list/removeRoleFunction',
+ deleteMenu:'admin_fn_menu/removeMenuItem.htm',
+ getRegion:'jcs_admin/showRegionDetails',
+ postSearch:'post_search/search',
+ importSearch:'post_search/process',
+ getPostProfile:'post_search_sample',
+ getSelfProfile:'get_self_profile',
+ getProfileById: 'get_profile',
+ removeUserRole:'profile/removeRole',
+ addUserRole:'profile/addNewRole',
+ saveProfile :'profile/saveProfile',
+ getFunctionalMenuStaticDetail :'http:/www.sdk.onap.org:8080/epsdk-app-os/get_topMenuInfo',
+ getLeftMenu :'get_menu',
+ removeRoleFunction:'role/removeRoleFunction.htm?role_id=',
+ saveRole:'role/saveRole.htm?role_id=',
+ toggleProfileActive: 'profile/toggleProfileActive?profile_id='
};
diff --git a/ecomp-sdk/epsdk-app-os/ngappsrc/src/environments/environment.ts b/ecomp-sdk/epsdk-app-os/ngappsrc/src/environments/environment.ts
index 294d41e9..0114df00 100644
--- a/ecomp-sdk/epsdk-app-os/ngappsrc/src/environments/environment.ts
+++ b/ecomp-sdk/epsdk-app-os/ngappsrc/src/environments/environment.ts
@@ -24,6 +24,7 @@ export const environment = {
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',
+ getProfileById: 'http://www.sdk.onap.org:8080/epsdk-app-os/get_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',