From 062d590f790d0c9cc1e625d21cc004520cd37bd7 Mon Sep 17 00:00:00 2001 From: cyuamber Date: Fri, 6 Dec 2019 15:17:58 +0800 Subject: feat: Added drop-down loading function to the select box of task processing component Change-Id: I26183b4e2ff2070a1e3e770aa827655ebc3643ea Issue-ID: USECASEUI-368 Signed-off-by: cyuamber --- .../src/app/mock/json/slicing_subnet_context.json | 72 ++++++++++++++++++++-- .../src/app/mock/json/slicing_subnet_instance.json | 12 ++-- .../src/app/mock/json/slicing_task_auditInfo.json | 8 +-- 3 files changed, 78 insertions(+), 14 deletions(-) (limited to 'usecaseui-portal/src/app/mock') diff --git a/usecaseui-portal/src/app/mock/json/slicing_subnet_context.json b/usecaseui-portal/src/app/mock/json/slicing_subnet_context.json index b44d2135..ca33f845 100644 --- a/usecaseui-portal/src/app/mock/json/slicing_subnet_context.json +++ b/usecaseui-portal/src/app/mock/json/slicing_subnet_context.json @@ -4,20 +4,84 @@ "result_message":"5G slicing NSSI query based on environment context result." }, "result_body":{ - "record_number":2, + "record_number": 26, "nssi_service_instances":[ { "service_instance_order":"1", "service_instance_id":"NSSI-C-001-HDBNJ-NSSMF-01-A-ZX", - "service_instance_name":"slicing_core_notwork", + "service_instance_name":"slicing_core_notwork1", "service_type":"slicing_core_notwork", "environment_context":"cn", "orchestration_status":"activated" }, { "service_instance_order":"2", - "service_instance_id":"NSSI-C-001-HDBNJ-NSSMF-01-A-ZX", - "service_instance_name":"slicing_core_notwork", + "service_instance_id":"NSSI-C-001-HDBNJ-NSSMF-01-A-ZY", + "service_instance_name":"slicing_core_notwork2", + "service_type":"slicing_core_notwork", + "environment_context":"cn", + "orchestration_status":"activated" + }, + { + "service_instance_order":"3", + "service_instance_id":"NSSI-C-001-HDBNJ-NSSMF-01-A-ZZ", + "service_instance_name":"slicing_core_notwork3", + "service_type":"slicing_core_notwork", + "environment_context":"cn", + "orchestration_status":"activated" + }, + { + "service_instance_order":"4", + "service_instance_id":"NSSI-C-001-HDBNJ-NSSMF-01-A-ZA", + "service_instance_name":"slicing_core_notwork4", + "service_type":"slicing_core_notwork", + "environment_context":"cn", + "orchestration_status":"activated" + }, + { + "service_instance_order":"5", + "service_instance_id":"NSSI-C-001-HDBNJ-NSSMF-01-A-ZB", + "service_instance_name":"slicing_core_notwork5", + "service_type":"slicing_core_notwork", + "environment_context":"cn", + "orchestration_status":"activated" + }, + { + "service_instance_order":"6", + "service_instance_id":"NSSI-C-001-HDBNJ-NSSMF-01-A-ZC", + "service_instance_name":"slicing_core_notwork6", + "service_type":"slicing_core_notwork", + "environment_context":"cn", + "orchestration_status":"activated" + }, + { + "service_instance_order":"7", + "service_instance_id":"NSSI-C-001-HDBNJ-NSSMF-01-A-ZD", + "service_instance_name":"slicing_core_notwork7", + "service_type":"slicing_core_notwork", + "environment_context":"cn", + "orchestration_status":"activated" + }, + { + "service_instance_order":"8", + "service_instance_id":"NSSI-C-001-HDBNJ-NSSMF-01-A-ZE", + "service_instance_name":"slicing_core_notwork8", + "service_type":"slicing_core_notwork", + "environment_context":"cn", + "orchestration_status":"activated" + }, + { + "service_instance_order":"9", + "service_instance_id":"NSSI-C-001-HDBNJ-NSSMF-01-A-ZF", + "service_instance_name":"slicing_core_notwork9", + "service_type":"slicing_core_notwork", + "environment_context":"cn", + "orchestration_status":"activated" + }, + { + "service_instance_order":"10", + "service_instance_id":"NSSI-C-001-HDBNJ-NSSMF-01-A-ZG", + "service_instance_name":"slicing_core_notwork10", "service_type":"slicing_core_notwork", "environment_context":"cn", "orchestration_status":"activated" diff --git a/usecaseui-portal/src/app/mock/json/slicing_subnet_instance.json b/usecaseui-portal/src/app/mock/json/slicing_subnet_instance.json index 62e690a6..24914c3f 100644 --- a/usecaseui-portal/src/app/mock/json/slicing_subnet_instance.json +++ b/usecaseui-portal/src/app/mock/json/slicing_subnet_instance.json @@ -4,11 +4,11 @@ "result_message": "NSSI associated with NSI result." }, "result_body": { - "an_suggest_nssi_id": "46da8cf8-0878-48ac-bea3-f2200959411a", - "an_suggest_nssi_name": "eMBBANinstance1", - "tn_suggest_nssi_id": "46da8cf8-0878-48ac-bea3-f2200959411a", - "tn_suggest_nssi_name": "eMBBTNinstance1", - "cn_suggest_nssi_id": "46da8cf8-0878-48ac-bea3-f2200959411a", - "cn_suggest_nssi_name": "eMBBCNinstance1" + "an_suggest_nssi_id": "46da8cf8-0878-48ac-bea3-f2200959411a", + "an_suggest_nssi_name": "eMBB AN instance1", + "tn_suggest_nssi_id": "46da8cf8-0878-48ac-bea3-f2200959411b", + "tn_suggest_nssi_name": "eMBB TN instance2", + "cn_suggest_nssi_id": "46da8cf8-0878-48ac-bea3-f2200959411c", + "cn_suggest_nssi_name": "eMBB CN instance3" } } diff --git a/usecaseui-portal/src/app/mock/json/slicing_task_auditInfo.json b/usecaseui-portal/src/app/mock/json/slicing_task_auditInfo.json index 4e570cc9..a3b97c82 100644 --- a/usecaseui-portal/src/app/mock/json/slicing_task_auditInfo.json +++ b/usecaseui-portal/src/app/mock/json/slicing_task_auditInfo.json @@ -35,12 +35,12 @@ "an_latency": "10", "an_5qi": "8", "an_coverage_area_ta_list": ["北京;北京市;海淀区", "北京;北京市;西城区", "北京;北京市;昌平区"], - "tn_suggest_nssi_id": "46da8cf8-0878-48ac-bea3-f2200959411a", - "tn_suggest_nssi_name": "eMBB TNinstance1", + "tn_suggest_nssi_id": "46da8cf8-0878-48ac-bea3-f2200959411b", + "tn_suggest_nssi_name": "eMBB TNinstance2", "tn_latency": "10", "tn_bandwidth": "300", - "cn_suggest_nssi_id": "46da8cf8-0878-48ac-bea3-f2200959411a", - "cn_suggest_nssi_name": "eMBB CNinstance1", + "cn_suggest_nssi_id": "46da8cf8-0878-48ac-bea3-f2200959411c", + "cn_suggest_nssi_name": "eMBB CNinstance3", "cn_service_snssai": "1-010101", "cn_resource_sharing_level": "shared", "cn_ue_mobility_level": "stageary", -- cgit 1.2.3-korg