summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-09-16 16:29:41 +0800
committerxu ran <xuranyjy@chinamobile.com>2019-09-16 08:42:54 +0000
commitcdb64a033289f0f74739feb881e1ded0d48e1bed (patch)
treed7ef56efdf27ee4a56ec95ee95cf348a58c2fa85 /usecaseui-portal/src/app
parent59e99900f8a72edff49c3fc327599e135c4a93bb (diff)
feat:optimize routers.js url for customer page & network service page
Change-Id: I1b5597e6d641275e6fb752051060c011fc0f509c Issue-ID: USECASEUI-307 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app')
-rw-r--r--usecaseui-portal/src/app/mock/routes.js19
1 files changed, 15 insertions, 4 deletions
diff --git a/usecaseui-portal/src/app/mock/routes.js b/usecaseui-portal/src/app/mock/routes.js
index 6a0f1ab4..a13f2eb3 100644
--- a/usecaseui-portal/src/app/mock/routes.js
+++ b/usecaseui-portal/src/app/mock/routes.js
@@ -40,7 +40,7 @@ module.exports =
"/PUT/uui-lcm/customers/:customer": "/PUT_uui-lcm_customers",
"/PUT/uui-lcm/customers/:name/service-subscriptions/:id": "/PUT_uui-lcm_customers_service-subscriptions",
"/uui-lcm/customers/:customer":"/getCustomerresourceVersion",
- "/DELETE/uui-lcm/customers":"/DELETE_uui-lcm_customers",
+ "/DELETE/uui-lcm/customers?customerId=:customerId&resourceVersion=:resourceVersion":"/DELETE_uui-lcm_customers",
"/uui-lcm/customers/:customer/service-subscriptions/:id":"/getServiceTypeResourceVersion",
"/DELETE/uui-lcm/customers/:customer/service-subscriptions/:id": "/DELETE_uui-lcm_customers_service-subscriptions",
/////////////////////////
@@ -49,18 +49,29 @@ module.exports =
"/uui-lcm/services/:serviceId/operations/:operations":"/uui-lcm_services_progress",
"/uui-lcm/fetchCCVPNTemplateData/:uuid":"/uui-lcm_fetchCCVPNTemplateData",
"/uui-lcm/service-templates/:uuid":"/uui-lcm_e2e_service-templates",
- "/uui-lcm/services/:serviceInstanceId":"/uui-lcm_delete_services",
+ "/DELETE/uui-lcm/services/:serviceInstanceId":"/uui-lcm_delete_services",
"/uui-lcm/VnfInfo/:id":"/uui-lcm_VnfInfo",
"/uui-lcm/jobs/getNsLcmJobStatus/:jobId":"/uui-lcm_jobs_getNsLcmJobStatus",
"/services/scaleServices/:id":"/services_scaleServices",
- "/uui-lcm/services/updateService/:id":"/uui-lcm_services_updateService",
+ "/PUT/uui-lcm/services/updateService/:id":"/uui-lcm_services_updateService",
"/uui-sotn/getPnfInfo/:name":"/uui-sotn_getPnfInfo",
"/uui-sotn/getConnectivityInfo/:id":"/uui-sotn_getConnectivityInfo",
"/uui-sotn/getPinterfaceByVpnId/:id":"/uui-sotn_getPinterfaceByVpnId",
+ "/POST/uui-lcm/terminateNetworkServiceInstance?ns_instance_id=:ns_instance_id":"/uui-lcm_terminateNetworkServiceInstance",
+ "/DELETE/uui-lcm/deleteNetworkServiceInstance?ns_instance_id=:ns_instance_id":"/uui-lcm_deleteNetworkServiceInstance",
/////////////////////////
///////<-------------networkhttp services--------->/////
-
+ "/DELETE/uui-sotn/deleteExtNetWork":"/status",
+ "/uui-sotn/getPinterfaceByPnfName/:pnfName":"/uui-sotn_getPinterfaceByPnfName",
+ "/PUT/uui-sotn/createLink/:linkName":"/status",
+ "/uui-sotn/getSpecificLogicalLink/:linkName":"/uui-sotn_getSpecificLogicalLink",
+ "/uui-sotn/getHostUrl/:aaiId":"/uui-sotn_getHostUrl",
+ "/uui-sotn/getExtAaiId/:aaiId":"/uui-sotn_getExtAaiId",
+ "/PUT/uui-sotn/createTopoNetwork/:networkId":"/status",
+ "/PUT/uui-sotn/createPnf/:nodeName":"/status",
+ "/PUT/uui-sotn/pnf/:nodeName/p-interfaces/p-interface/:interfaceName/createTerminationPoint":"/status",
+ "/PUT/uui-sotn/createHostUrl/:aaiId":"/status",
/////////////////////////
///////<-------------onboard services--------->/////