summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/mock
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-09-16 15:06:44 +0800
committerTao Shen <shentao@chinamobile.com>2019-09-16 07:29:43 +0000
commit4a356e52ed8f95c6ad53b7f8200fc77097027bf2 (patch)
tree67a783e21393cf2b9739cff90b85be680b323c87 /usecaseui-portal/src/app/mock
parente22274d42e8fa9eb96fb38aee46b847812b2e400 (diff)
docs: add user guide info
Change-Id: I3f306429b90223cdebf7e432ff0f1f348a5f2358 Issue-ID: USECASEUI-307 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/mock')
-rw-r--r--usecaseui-portal/src/app/mock/routes.js2
-rw-r--r--usecaseui-portal/src/app/mock/server.js4
2 files changed, 0 insertions, 6 deletions
diff --git a/usecaseui-portal/src/app/mock/routes.js b/usecaseui-portal/src/app/mock/routes.js
index 29d7c008..c5e5d514 100644
--- a/usecaseui-portal/src/app/mock/routes.js
+++ b/usecaseui-portal/src/app/mock/routes.js
@@ -72,8 +72,6 @@ module.exports =
        "/DELETE/uui-lcm/deleteVnfPackage?vnfPkgId:id": "/DELETE_uui-lcm_deleteVnfPackage",
        "/DELETE/uui-lcm/deletePnfPackage?pnfdInfoId:id": "/DELETE_uui-lcm_deletePnfPackage",
- /////////////////////////
-
///////<-------------general interface--------->/////
"/api/*": "/$1",
"/*/*": "/$1_$2",
diff --git a/usecaseui-portal/src/app/mock/server.js b/usecaseui-portal/src/app/mock/server.js
index eef7df16..010f480d 100644
--- a/usecaseui-portal/src/app/mock/server.js
+++ b/usecaseui-portal/src/app/mock/server.js
@@ -22,10 +22,6 @@ const baseUrl = "/usecaseui-server/v1";
// Set default middlewares (logger, static, cors and no-cache)
server.use(middlewares);
-// server.use((req, res, next) => {
-// req.method = "GET";
-// next();
-// })
// Get mock data
const fs = require('fs');