diff options
author | cyuamber <xuranyjy@chinamobile.com> | 2019-11-27 17:51:28 +0800 |
---|---|---|
committer | xu ran <xuranyjy@chinamobile.com> | 2019-11-27 10:27:16 +0000 |
commit | f2d200b6043e1b478347439c8d57e216685ed318 (patch) | |
tree | 6f36da53983c630a213a4e03cd0f9f94e471ce58 /usecaseui-portal/src/app/mock | |
parent | bfe8df3f9b7409842ddf0c9fbf41ff8b9c17c1fa (diff) |
feat: Local simulation data and display on the Slicing task management page
Change-Id: I56fb1fbbb63e490980a4d1f4d9d148d825f311f6
Issue-ID: USECASEUI-352
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/mock')
-rw-r--r-- | usecaseui-portal/src/app/mock/json/slicing_task_list.json | 43 | ||||
-rw-r--r-- | usecaseui-portal/src/app/mock/routes.js | 3 |
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", |