summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/mock
diff options
context:
space:
mode:
authorTao Shen <shentao@chinamobile.com>2019-11-27 14:57:22 +0000
committerGerrit Code Review <gerrit@onap.org>2019-11-27 14:57:22 +0000
commita7589978ffc6f942d74b7c45df61c6f090bfa991 (patch)
tree987f4e8cbd40abe3255bc4ba2e089458e833fa2a /usecaseui-portal/src/app/mock
parent4e6ba2bf4bf47a5c1b3388b3af20e8238b80ccbd (diff)
parentf2d200b6043e1b478347439c8d57e216685ed318 (diff)
Merge "feat: Local simulation data and display on the Slicing task management page"
Diffstat (limited to 'usecaseui-portal/src/app/mock')
-rw-r--r--usecaseui-portal/src/app/mock/json/slicing_task_list.json43
-rw-r--r--usecaseui-portal/src/app/mock/routes.js3
2 files changed, 46 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/mock/json/slicing_task_list.json b/usecaseui-portal/src/app/mock/json/slicing_task_list.json
new file mode 100644
index 00000000..2c7b67c0
--- /dev/null
+++ b/usecaseui-portal/src/app/mock/json/slicing_task_list.json
@@ -0,0 +1,43 @@
+{
+ "result_header": {
+ "result_code": "200",
+ "result_message": "5G slicing task query result."
+ },
+ "result_body": {
+ "record_number": 2,
+ "slicing_task_list": [
+ {
+ "task_id": "b1bb0ce7-ebca-4fa7-95ed-4840d70a1177",
+ "task_name": "5G Slice service eMMB",
+ "service_snssai": "1-010101",
+ "service_type": "eMMB",
+ "arrival_time": "1454171445000",
+ "processing_status": "Waiting to Confirm"
+ },
+ {
+ "task_id": "6965-8758-5468-2548-457896541236",
+ "task_name": "5G Slice service eMMB",
+ "service_snssai": "1-010101",
+ "service_type": "eMMB",
+ "arrival_time": "1454171445500",
+ "processing_status": "Creating"
+ },
+ {
+ "task_id": "b1bb0ce7-ebca-4fa7-95ed-4840d7041177",
+ "task_name": "5G Slice service eMMB",
+ "service_snssai": "1-010101",
+ "service_type": "eMMB",
+ "arrival_time": "1454471445000",
+ "processing_status": "Planning"
+ },
+ {
+ "task_id": "b1bb0de7-ebca-4fa7-95ed-4840d7041177",
+ "task_name": "5G Slice service eMMB",
+ "service_snssai": "1-010101",
+ "service_type": "eMMB",
+ "arrival_time": "1544471445000",
+ "processing_status": "Completed"
+ }
+ ]
+ }
+}
diff --git a/usecaseui-portal/src/app/mock/routes.js b/usecaseui-portal/src/app/mock/routes.js
index 093f847b..bac9e15f 100644
--- a/usecaseui-portal/src/app/mock/routes.js
+++ b/usecaseui-portal/src/app/mock/routes.js
@@ -91,6 +91,9 @@ module.exports =
"/POST/uui-lcm/vf-packages": "/POST_uui-lcm_vf-packages",
"/POST/uui-lcm/:jsonData": "/POST_uui-lcm_create",
+ ///////<-------------slicing-tesk-management--------->/////
+ "/uui-slicing/nsmf/task/business/pageNo/:pageNo/pageSize/:pageSize": "/slicing_task_list",
+
///////<-------------general interface--------->/////
"/api/*": "/$1",
"/*/*": "/$1_$2",