summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-09-05 15:34:53 +0800
committerTao Shen <shentao@chinamobile.com>2019-09-05 07:46:11 +0000
commit71a1ac4ec1b893a0ab092c00ee97e712878087f0 (patch)
tree98a7a532610be2a2b63691c196c85f49fe1dffdb /usecaseui-portal
parentec06b7c5fbaba86c367b7ea6e6c4262e4e50596b (diff)
fix: change the order of api proxy
Change-Id: Iefd05190021bbda0f7016b785fc8d32339df2e3c Issue-ID: USECASEUI-306 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal')
-rw-r--r--usecaseui-portal/src/app/mock/routes.js14
1 files changed, 10 insertions, 4 deletions
diff --git a/usecaseui-portal/src/app/mock/routes.js b/usecaseui-portal/src/app/mock/routes.js
index 8d4485b8..d6886fb8 100644
--- a/usecaseui-portal/src/app/mock/routes.js
+++ b/usecaseui-portal/src/app/mock/routes.js
@@ -17,6 +17,11 @@
// proxy routers setting
module.exports =
{
+ ///////<-------------api proxy--------->/////
+ "/usecaseui-server/v1/*": "/$1",
+ "/usecaseui-server/v1/*?:param": "/$1",
+ ///////////////
+
//text interface
"/user/login/:user/test": "/user/login?user=:user",
"/pnf/:cloudnode/p-interfaces/p-interface/:interface-name/createTerminationPoint":
@@ -26,26 +31,27 @@ module.exports =
///////////////
///////<-------------home services--------->/////
- "/usecaseui-server/v1/alarm/getSourceNames/": "/alarm_getSourceNames",
+ "/usecaseui-server/v1/alarm/getSourceNames": "/alarm_getSourceNames",
"/portal-auxapi/languageSetting/user/:currentloginId": "/language",
/////////////////////////
///////<-------------managemence services--------->/////
-
+ "/uui-lcm/customers/:customer/service-subscriptions": "/serviceTypes?customer=:customer",
/////////////////////////
+
///////<-------------myhttp services--------->/////
/////////////////////////
+
///////<-------------networkhttp services--------->/////
/////////////////////////
+
///////<-------------onboard services--------->/////
/////////////////////////
///////<-------------general interface--------->/////
- "/usecaseui-server/v1/*": "/$1",
- "/usecaseui-server/v1/*?:param": "/$1",
"/api/*": "/$1",
"/*/*": "/$1_$2",
"/*/*/*": "/$1_$2_$3",