summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/mock
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2020-02-13 20:44:33 +0800
committercyuamber <xuranyjy@chinamobile.com>2020-02-13 20:44:39 +0800
commitc63489b9bb2071abc8180af4e53c2dcb143c127d (patch)
treebb7730cb155f693e3f5b719adeec72c708ac685d /usecaseui-portal/src/app/mock
parent3db71a09cb73e24eda6d36f39df2e35f123f290b (diff)
feat:Optimize code for slice ordering and business code of csmf slicing
Change-Id: I62a00ed407796434239c2089788ac47330e1c0d8 Issue-ID: USECASEUI-368 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/mock')
-rw-r--r--usecaseui-portal/src/app/mock/json/csmf_slicing_businessData.json30
-rw-r--r--usecaseui-portal/src/app/mock/routes.js4
2 files changed, 16 insertions, 18 deletions
diff --git a/usecaseui-portal/src/app/mock/json/csmf_slicing_businessData.json b/usecaseui-portal/src/app/mock/json/csmf_slicing_businessData.json
index 15a0ee8a..a47bbf35 100644
--- a/usecaseui-portal/src/app/mock/json/csmf_slicing_businessData.json
+++ b/usecaseui-portal/src/app/mock/json/csmf_slicing_businessData.json
@@ -14,7 +14,7 @@
"service_snssai": "01-010101",
"order_status": "activated",
"last_operation_type": "activation",
- "last_operation_process": 100
+ "last_operation_progress": "100"
},
{
"order_id": "8c681037-75c9-444c-a665-34a66372e13e",
@@ -22,9 +22,9 @@
"order_creation_time":"1454171445000",
"service_type": "embb",
"service_snssai": "01-1370889D",
- "order_status": "deactivated",
- "last_operation_type": null,
- "last_operation_process": null
+ "order_status": "activated",
+ "last_operation_type": "activated",
+ "last_operation_progress": "60"
},
{
"order_id": "dfa76a2f-6416-4070-9024-355d0d210234",
@@ -34,7 +34,7 @@
"service_snssai": "01-485C16B6",
"order_status": "deactivated",
"last_operation_type": "activation",
- "last_operation_process": 0
+ "last_operation_progress": "0"
},
{
"order_id": "1e6a6a4b-8efb-4211-b583-b2e8567c5950",
@@ -43,8 +43,8 @@
"service_type": "embb",
"service_snssai": "01-6C572676",
"order_status": "deactivated",
- "last_operation_type": null,
- "last_operation_process": null
+ "last_operation_type": "deactivated",
+ "last_operation_progress": "100"
},
{
"order_id": "9941305e-311f-4a88-bd9e-431252a46337",
@@ -53,8 +53,8 @@
"service_type": "embb",
"service_snssai": "01-D38E2F0",
"order_status": "deactivated",
- "last_operation_type": null,
- "last_operation_process": null
+ "last_operation_type": "deactivated",
+ "last_operation_progress": "80"
},
{
"order_id": "4876265d-e4bb-4240-bcda-7b4b00481e4a",
@@ -63,8 +63,8 @@
"service_type": "embb",
"service_snssai": "01-6A345C48",
"order_status": "deactivated",
- "last_operation_type": null,
- "last_operation_process": null
+ "last_operation_type": "deactivated",
+ "last_operation_progress": "40"
},
{
"order_id": "6c52086a-e9b6-4f31-bc7a-7b34d66c69c0",
@@ -73,8 +73,8 @@
"service_type": "embb",
"service_snssai": "01-774F54FC",
"order_status": "deactivated",
- "last_operation_type": null,
- "last_operation_process": null
+ "last_operation_type": "deactivated",
+ "last_operation_progress": "100"
},
{
"order_id": "1cab507a-3422-46f8-8520-9b46c95b7f9d",
@@ -82,9 +82,9 @@
"order_creation_time":"1454171445000",
"service_type": "embb",
"service_snssai": "01-44AA4085",
- "order_status": "deactivated",
+ "order_status": "DELETE",
"last_operation_type": "DELETE",
- "last_operation_process": 100
+ "last_operation_progress": "30"
}
]
}
diff --git a/usecaseui-portal/src/app/mock/routes.js b/usecaseui-portal/src/app/mock/routes.js
index 85cb6fdd..e25beea3 100644
--- a/usecaseui-portal/src/app/mock/routes.js
+++ b/usecaseui-portal/src/app/mock/routes.js
@@ -20,8 +20,6 @@ module.exports =
///////<-------------api proxy--------->/////
"/usecaseui-server/v1/*": "/$1",
"/usecaseui-server/v1/*?:param": "/$1",
- "/uui-slicing/csmf/*": "/$1",
- "/uui-slicing/csmf/*?:param": "/$1",
///////////////
//text interface
@@ -120,7 +118,7 @@ module.exports =
"/uui-slicing/nsmf/resource/nssi/instanceStatus/:instanceStatus/instances/pageNo/:pageNo/pageSize/:pageSize": "/slicing_nssi_list_activated",
"/uui-slicing/nsmf/resource/nssi/:nssiId/details":"/getSlicingNssiDetail",
///////<-------------CSMF slicing_business--------->/////
- "/5gSlicing/orders/status/:status/pageNo/:pageNo/pageSize/:pageSize": "/csmf_slicing_businessData",
+ "/uui-slicing/csmf/5gSlicing/orders/status/:status/pageNo/:pageNo/pageSize/:pageSize": "/csmf_slicing_businessData",
"/POST/uui-slicing/csmf/5gSlicing": "/csmf_slicing_purchase",
"/PUT/usecaseui/csmf/5gSlicing/service/:serviceId/activate": "/csmfActivate",
"/DELETE/usecaseui/csmf/5gSlicing/service/:serviceId": "/csmfTerminate",