summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/mock
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-12-09 01:08:15 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-12-09 01:23:36 +0800
commit6aa6f5cc8b6a4a54016a271ccf7dac14827aff43 (patch)
treed8003be570beb8443f5593360290c755262524f4 /usecaseui-portal/src/app/mock
parent7ea14076d7946bb252320469e93cf595aab3bfdb (diff)
feat: add mock json of slicing page and modify the mock json data
Change-Id: I06d3678cdd4b962baca52e0182f11df0e284866a Issue-ID: USECASEUI-369 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/mock')
-rw-r--r--usecaseui-portal/src/app/mock/json/getSlicingBusinessDetail.json37
-rw-r--r--usecaseui-portal/src/app/mock/json/getSlicingNsiDetail.json42
-rw-r--r--usecaseui-portal/src/app/mock/json/getSlicingNssiDetail.json23
-rw-r--r--usecaseui-portal/src/app/mock/json/slicing_business_list.json2
-rw-r--r--usecaseui-portal/src/app/mock/json/slicing_business_list_activated.json2
-rw-r--r--usecaseui-portal/src/app/mock/json/slicing_nsi_list.json2
-rw-r--r--usecaseui-portal/src/app/mock/json/slicing_nsi_list_activated.json2
-rw-r--r--usecaseui-portal/src/app/mock/json/slicing_nssi_list.json2
-rw-r--r--usecaseui-portal/src/app/mock/json/slicing_nssi_list_activated.json2
9 files changed, 108 insertions, 6 deletions
diff --git a/usecaseui-portal/src/app/mock/json/getSlicingBusinessDetail.json b/usecaseui-portal/src/app/mock/json/getSlicingBusinessDetail.json
new file mode 100644
index 00000000..018799cd
--- /dev/null
+++ b/usecaseui-portal/src/app/mock/json/getSlicingBusinessDetail.json
@@ -0,0 +1,37 @@
+{
+ "result_header": {
+ "result_code": "200",
+ "result_message": "5G slicing business details query result."
+ },
+ "result_body": {
+ "business_demand_info": {
+ "service_name": "5GSliceeMMB",
+ "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": [
+ " 北京;北京市;昌平区;城北街道 ",
+ " 上海;上海市;黄浦区;外滩",
+ " 天津;天津市;河西区;海河街道 "
+ ],
+ "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_info": {
+ "nsi_id": "23edd22b-a0b2-449f-be87-d094159b9269",
+ "nsi_name": "slicing-01-eMBB",
+ "nsi_type": "eMBB",
+ "nsi_orchestration-status": "activated"
+ }
+ }
+} \ No newline at end of file
diff --git a/usecaseui-portal/src/app/mock/json/getSlicingNsiDetail.json b/usecaseui-portal/src/app/mock/json/getSlicingNsiDetail.json
new file mode 100644
index 00000000..b5c24577
--- /dev/null
+++ b/usecaseui-portal/src/app/mock/json/getSlicingNsiDetail.json
@@ -0,0 +1,42 @@
+{
+ "result_header": {
+ "result_code": "200",
+ "result_message": "5Gslicingserviceonlineusersqueryresult."
+ },
+ "result_body": {
+ "hosted_business_list": [
+ {
+ "service_instance_id": "23edd22b-a0b2-449f-be87-d094159b9269",
+ "service_instance_name": "slicing-01-eMBB",
+ "service_type": "eMMB",
+ "service_snssai": "1-010101",
+ "orchestration_status": "activated"
+ },
+ {
+ "service_instance_id": "23edd22b-a0b2-449f-be87-d094159b9269",
+ "service_instance_name": "slicing-01-eMBB",
+ "service_type": "eMMB",
+ "service_snssai": "1-010101",
+ "orchestration_status": "activated"
+ }
+ ],
+ "included_nssi_list": [
+ {
+ "service_instance_order": "1",
+ "service_instance_id": "NSSI-C-001-HDBNJ-NSSMF-01-A-ZX",
+ "service_instance_name": "slicing_core_notwork",
+ "service_type": "slicing_core_notwork",
+ "environment_context": "cn",
+ "orchestration_status": "activated"
+ },
+ {
+ "service_instance_order": "1",
+ "service_instance_id": "NSSI-C-001-HDBNJ-NSSMF-01-A-ZX",
+ "service_instance_name": "slicing_core_notwork",
+ "service_type": "slicing_core_notwork",
+ "environment_context": "cn",
+ "orchestration_status": "activated"
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/usecaseui-portal/src/app/mock/json/getSlicingNssiDetail.json b/usecaseui-portal/src/app/mock/json/getSlicingNssiDetail.json
new file mode 100644
index 00000000..121254e9
--- /dev/null
+++ b/usecaseui-portal/src/app/mock/json/getSlicingNssiDetail.json
@@ -0,0 +1,23 @@
+{
+ "result_header": {
+ "result_code": "200",
+ "result_message": "5G slicing service nssi details query result."
+ },
+ "result_body": {
+ "record_number": 2,
+ "hosted_nsi_list": [
+ {
+ "service_instance_id": "NSSI-C-001-HDBNJ-NSSMF-01-A-ZX",
+ "service_instance_name": "slicing_core_notwork",
+ "service_type": "eMBB",
+ "orchestration_status": "activated"
+ },
+ {
+ "service_instance_id": "NSSI-C-001-HDBNJ-NSSMF-01-A-ZX",
+ "service_instance_name": "slicing_core_notwork",
+ "service_type": "eMBB",
+ "orchestration_status": "activated"
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/usecaseui-portal/src/app/mock/json/slicing_business_list.json b/usecaseui-portal/src/app/mock/json/slicing_business_list.json
index 48145fdc..bedefa98 100644
--- a/usecaseui-portal/src/app/mock/json/slicing_business_list.json
+++ b/usecaseui-portal/src/app/mock/json/slicing_business_list.json
@@ -4,7 +4,7 @@
"result_message": "5G slicing service instances query result."
},
"result_body": {
- "record_number": 30,
+ "record_number": 38,
"slicing_business_list": [
{
"service_instance_id": "23edd22b-a0b2-449f-be87-d094159b9265",
diff --git a/usecaseui-portal/src/app/mock/json/slicing_business_list_activated.json b/usecaseui-portal/src/app/mock/json/slicing_business_list_activated.json
index bc3172af..0b4b1d7f 100644
--- a/usecaseui-portal/src/app/mock/json/slicing_business_list_activated.json
+++ b/usecaseui-portal/src/app/mock/json/slicing_business_list_activated.json
@@ -4,7 +4,7 @@
"result_message": "5G slicing service instances query based on status result ."
},
"result_body": {
- "record_number": 2,
+ "record_number": 23,
"slicing_business_list": [
{
"service_instance_id": "23edd22b-a0b2-449f-be87-d094159b9260",
diff --git a/usecaseui-portal/src/app/mock/json/slicing_nsi_list.json b/usecaseui-portal/src/app/mock/json/slicing_nsi_list.json
index 418d8193..927441d6 100644
--- a/usecaseui-portal/src/app/mock/json/slicing_nsi_list.json
+++ b/usecaseui-portal/src/app/mock/json/slicing_nsi_list.json
@@ -4,7 +4,7 @@
"result_message": "5G slicing NSI service instances result."
},
"result_body": {
- "record_number": 20,
+ "record_number": 27,
"nsi_service_instances": [
{
"service_instance_order": "1",
diff --git a/usecaseui-portal/src/app/mock/json/slicing_nsi_list_activated.json b/usecaseui-portal/src/app/mock/json/slicing_nsi_list_activated.json
index 480d0694..64fe718f 100644
--- a/usecaseui-portal/src/app/mock/json/slicing_nsi_list_activated.json
+++ b/usecaseui-portal/src/app/mock/json/slicing_nsi_list_activated.json
@@ -4,7 +4,7 @@
"result_message": "5G slicing NSI service instances result."
},
"result_body": {
- "record_number": 2,
+ "record_number": 22,
"nsi_service_instances": [
{
"service_instance_order": "1",
diff --git a/usecaseui-portal/src/app/mock/json/slicing_nssi_list.json b/usecaseui-portal/src/app/mock/json/slicing_nssi_list.json
index 315087b9..2bc509f5 100644
--- a/usecaseui-portal/src/app/mock/json/slicing_nssi_list.json
+++ b/usecaseui-portal/src/app/mock/json/slicing_nssi_list.json
@@ -4,7 +4,7 @@
"result_message": "5G slicing NSSI query result."
},
"result_body": {
- "record_number": 12,
+ "record_number": 28,
"nssi_service_instances": [
{
"service_instance_order": "1",
diff --git a/usecaseui-portal/src/app/mock/json/slicing_nssi_list_activated.json b/usecaseui-portal/src/app/mock/json/slicing_nssi_list_activated.json
index d40addba..aea7085a 100644
--- a/usecaseui-portal/src/app/mock/json/slicing_nssi_list_activated.json
+++ b/usecaseui-portal/src/app/mock/json/slicing_nssi_list_activated.json
@@ -4,7 +4,7 @@
"result_message": "5G slicing NSSI query result."
},
"result_body": {
- "record_number": 6,
+ "record_number": 16,
"nssi_service_instances": [
{
"service_instance_order": "1",