summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-os/ngappsrc/src/environments
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/ngappsrc/src/environments
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/ngappsrc/src/environments')
-rw-r--r--ecomp-sdk/epsdk-app-os/ngappsrc/src/environments/environment.prod.ts3
-rw-r--r--ecomp-sdk/epsdk-app-os/ngappsrc/src/environments/environment.ts44
2 files changed, 47 insertions, 0 deletions
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.