summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-09-03 18:28:22 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-09-03 18:28:29 +0800
commit444e53d8ea2f15d60c29e68a1883ee91ca5ee367 (patch)
treee8f41679950f3c20f8f66522ab57b0b56df8c31f /usecaseui-portal/src
parentefa362157f4cfce894670772f2aec077dc794f7a (diff)
feat: change the default proxy route
Change-Id: I8e4389a501ccf4a3b169f640a32208b064a1aff1 Issue-ID: USECASEUI-307 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src')
-rw-r--r--usecaseui-portal/src/app/mock/routes.js13
1 files changed, 4 insertions, 9 deletions
diff --git a/usecaseui-portal/src/app/mock/routes.js b/usecaseui-portal/src/app/mock/routes.js
index 70db2ff9..8d4485b8 100644
--- a/usecaseui-portal/src/app/mock/routes.js
+++ b/usecaseui-portal/src/app/mock/routes.js
@@ -26,15 +26,8 @@ module.exports =
///////////////
///////<-------------home services--------->/////
- "/usecaseui-server/v1/uui-lcm/serviceNumByCustomer": "/uui-lcm_serviceNumByCustomer",
- "/usecaseui-server/v1/alarm/statusCount": "/alarm_statusCount",
- "/usecaseui-server/v1/alarm/diagram?:param": "/alarm_diagram",
- "/usecaseui-server/v1/uui-lcm/ns-packages": "/uui-lcm_ns-packages",
- "/usecaseui-server/v1/uui-lcm/vnf-packages": "/uui-lcm_vnf-packages",
- "/usecaseui-server/v1/uui-lcm/pnf-packages": "/uui-lcm_pnf-packages",
- "/usecaseui-server/v1/alarm/getSourceNames": "/alarm_getSourceNames",
- "/usecaseui-server/v1/listSortMasters": "/listSortMasters",
- "/usecaseui-server/v1/portal-auxapi/languageSetting/user/:currentloginId": "/language",
+ "/usecaseui-server/v1/alarm/getSourceNames/": "/alarm_getSourceNames",
+ "/portal-auxapi/languageSetting/user/:currentloginId": "/language",
/////////////////////////
///////<-------------managemence services--------->/////
@@ -51,6 +44,8 @@ module.exports =
/////////////////////////
///////<-------------general interface--------->/////
+ "/usecaseui-server/v1/*": "/$1",
+ "/usecaseui-server/v1/*?:param": "/$1",
"/api/*": "/$1",
"/*/*": "/$1_$2",
"/*/*/*": "/$1_$2_$3",