summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-os
diff options
context:
space:
mode:
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
-rw-r--r--ecomp-sdk/epsdk-app-os/pom.xml6
4 files changed, 41 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',
diff --git a/ecomp-sdk/epsdk-app-os/pom.xml b/ecomp-sdk/epsdk-app-os/pom.xml
index 251ba507..6527d5cd 100644
--- a/ecomp-sdk/epsdk-app-os/pom.xml
+++ b/ecomp-sdk/epsdk-app-os/pom.xml
@@ -587,6 +587,12 @@
<version>${jacoco.version}</version>
<classifier>runtime</classifier>
</dependency>
+
+ <dependency>
+ <groupId>com.google.guava</groupId>
+ <artifactId>guava</artifactId>
+ <version>20.0</version>
+ </dependency>
</dependencies>
</project> \ No newline at end of file