From e3636b96e9938cb89bb90672cf70fff3ae790186 Mon Sep 17 00:00:00 2001 From: Muni Mohan Kunchi Date: Thu, 6 Feb 2020 13:51:45 -0500 Subject: adding sdk changes adding sdk changes Issue-ID: PORTAL-830 Signed-off-by: Muni Mohan Kunchi Change-Id: I0c99d3ab15fcf4c3b34d84658b64114dadbe2577 --- .../ngappsrc/src/environments/environment.prod.ts | 3 ++ .../ngappsrc/src/environments/environment.ts | 44 ++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 ecomp-sdk/epsdk-app-os/ngappsrc/src/environments/environment.prod.ts create mode 100644 ecomp-sdk/epsdk-app-os/ngappsrc/src/environments/environment.ts (limited to 'ecomp-sdk/epsdk-app-os/ngappsrc/src/environments') 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 new file mode 100644 index 00000000..3612073b --- /dev/null +++ b/ecomp-sdk/epsdk-app-os/ngappsrc/src/environments/environment.prod.ts @@ -0,0 +1,3 @@ +export const environment = { + production: true +}; diff --git a/ecomp-sdk/epsdk-app-os/ngappsrc/src/environments/environment.ts b/ecomp-sdk/epsdk-app-os/ngappsrc/src/environments/environment.ts new file mode 100644 index 00000000..2e2717ec --- /dev/null +++ b/ecomp-sdk/epsdk-app-os/ngappsrc/src/environments/environment.ts @@ -0,0 +1,44 @@ +// This file can be replaced during build by using the `fileReplacements` array. +// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`. +// The list of file replacements can be found in `angular.json`. + +export const environment = { + production: false, + 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=' +}; + +/* + * For easier debugging in development mode, you can import the following file + * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`. + * + * This import should be commented out in production mode because it will have a negative impact + * on performance if an error is thrown. + */ +// import 'zone.js/dist/zone-error'; // Included with Angular CLI. -- cgit 1.2.3-korg