summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/mock
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-portal/src/app/mock')
-rw-r--r--usecaseui-portal/src/app/mock/json/slicing_task_auditInfo.json57
-rw-r--r--usecaseui-portal/src/app/mock/json/slicing_task_list.json4
-rw-r--r--usecaseui-portal/src/app/mock/json/slicing_task_processing_status.json27
-rw-r--r--usecaseui-portal/src/app/mock/routes.js2
4 files changed, 88 insertions, 2 deletions
diff --git a/usecaseui-portal/src/app/mock/json/slicing_task_auditInfo.json b/usecaseui-portal/src/app/mock/json/slicing_task_auditInfo.json
new file mode 100644
index 00000000..17d589d7
--- /dev/null
+++ b/usecaseui-portal/src/app/mock/json/slicing_task_auditInfo.json
@@ -0,0 +1,57 @@
+{
+ "result_header": {
+ "result_code": "200",
+ "result_message": "5G slicing task configure audit information result."
+ },
+ "result_body": {
+ "task_id": "b1bb0ce7-ebca-4fa7-95ed-4840d70a1177",
+ "task_name": "5G Slice service eMMB",
+ "create_timer": "1454171445000",
+ "processing_status": "Waiting to Confirm",
+ "business_demand_info": {
+ "service_name": "5G Slice eMMB",
+ "service_snssai": "1-010101",
+ "exp_data_rate_dl": "300",
+ "exp_data_rate_ul": "300",
+ "ue_mobility_level": "stageary",
+ "latency": "20",
+ "use_interval": "12",
+ "coverage_area_ta_list": [" xxxx;xxxxx;xxxxx ", " xxxx;xxxxx;xxxxx ", " xxxx;xxxxx;xxxxx "],
+ "activity_factor": "60",
+ "resource_sharing_level": "shared",
+ "area_traffic_cap_ul": "300",
+ "area_traffic_cap_dl": "300",
+ "max_number_of_ues": "10000"
+ },
+ "nst_info": {
+ "nst_id": "46da8cf8-0878-48ac-bea3-f2200959411a",
+ "nst_name": "eMBBNST"
+ },
+ "nsi_nssi_info": {
+ "suggest_nsi_id": "46da8cf8-0878-48ac-bea3-f2200959411a",
+ "suggest_nsi_name": "eMBB instance1",
+ "an_suggest_nssi_id": "46da8cf8-0878-48ac-bea3-f2200959411a",
+ "an_suggest_nssi_name": "eMBB ANinstance1",
+ "an_latency": "10",
+ "an_5qi": "8",
+ "an_coverage_area_ta_list": [" xxxx;xxxxx;xxxxx ", " xxxx;xxxxx;xxxxx ", " xxxx;xxxxx;xxxxx "],
+ "tn_suggest_nssi_id": "46da8cf8-0878-48ac-bea3-f2200959411a",
+ "tn_suggest_nssi_name": "46da8cf8-0878-48ac-bea3-f2200959411a",
+ "tn_latency": "10",
+ "tn_bandwidth": "300",
+ "cn_suggest_nssi_id": "46da8cf8-0878-48ac-bea3-f2200959411a",
+ "cn_suggest_nssi_name": "eMBB CNinstance1",
+ "cn_service_snssai": "1-010101",
+ "cn_resource_sharing_level": "shared",
+ "cn_ue_mobility_level": "stageary",
+ "cn_latency": "10",
+ "cn_max_number_of_ues": "10000",
+ "cn_activity_factor": "60",
+ "cn_exp_data_rate_dl": "300",
+ "cn_exp_data_rate_ul": "300",
+ "cn_area_traffic_cap_dl": "300",
+ "cn_area_traffic_cap_ul": "300"
+ }
+
+ }
+}
diff --git a/usecaseui-portal/src/app/mock/json/slicing_task_list.json b/usecaseui-portal/src/app/mock/json/slicing_task_list.json
index 2c7b67c0..31cdc4df 100644
--- a/usecaseui-portal/src/app/mock/json/slicing_task_list.json
+++ b/usecaseui-portal/src/app/mock/json/slicing_task_list.json
@@ -1,10 +1,10 @@
{
"result_header": {
- "result_code": "200",
+ "result_code": "200",
"result_message": "5G slicing task query result."
},
"result_body": {
- "record_number": 2,
+ "record_number": 30,
"slicing_task_list": [
{
"task_id": "b1bb0ce7-ebca-4fa7-95ed-4840d70a1177",
diff --git a/usecaseui-portal/src/app/mock/json/slicing_task_processing_status.json b/usecaseui-portal/src/app/mock/json/slicing_task_processing_status.json
new file mode 100644
index 00000000..4a113ef5
--- /dev/null
+++ b/usecaseui-portal/src/app/mock/json/slicing_task_processing_status.json
@@ -0,0 +1,27 @@
+{
+ "result_header": {
+ "result_code": "200",
+ "result_message": "5G slicing task query based on status 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": "b1bb0de7-ebca-4fa7-95ed-4840d7041177",
+ "task_name": "5G Slice service eMMB",
+ "service_snssai": "1-010101",
+ "service_type": "eMMB",
+ "arrival_time": "1544471445000",
+ "processing_status": "Waiting to Confirm"
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/usecaseui-portal/src/app/mock/routes.js b/usecaseui-portal/src/app/mock/routes.js
index bac9e15f..fe982ca5 100644
--- a/usecaseui-portal/src/app/mock/routes.js
+++ b/usecaseui-portal/src/app/mock/routes.js
@@ -93,6 +93,8 @@ module.exports =
///////<-------------slicing-tesk-management--------->/////
"/uui-slicing/nsmf/task/business/pageNo/:pageNo/pageSize/:pageSize": "/slicing_task_list",
+ "/uui-slicing/nsmf/task/:processingStatus/business/pageNo/:pageNo/pageSize/:pageSize": "/slicing_task_processing_status",
+ "/uui-slicing/nsmf/task/:taskId/auditInfo": "/slicing_task_auditInfo",
///////<-------------general interface--------->/////
"/api/*": "/$1",