diff options
author | cyuamber <xuranyjy@chinamobile.com> | 2020-09-04 15:37:07 +0800 |
---|---|---|
committer | cyuamber <xuranyjy@chinamobile.com> | 2020-09-04 15:37:13 +0800 |
commit | c271c4e5c5f63753f7545bea64b7d24551fb3d2c (patch) | |
tree | 54ea391d95ade6bdb2e8428c3edfabfb2805bc57 | |
parent | 8f4f6bf4779b2a093924e06f5e270721c94c46f0 (diff) |
feat: Modify parameters and mock data according to the latest api document
Change-Id: I552e1107168e6dfa7ec3c8b94b6bdc6296f5f606
Issue-ID: USECASEUI-444
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
5 files changed, 87 insertions, 39 deletions
diff --git a/usecaseui-portal/src/app/mock/json/getSlicingBusinessDetail.json b/usecaseui-portal/src/app/mock/json/getSlicingBusinessDetail.json index cafeeebe..37e6bbe3 100644 --- a/usecaseui-portal/src/app/mock/json/getSlicingBusinessDetail.json +++ b/usecaseui-portal/src/app/mock/json/getSlicingBusinessDetail.json @@ -21,7 +21,19 @@ "resource_sharing_level": "shared", "area_traffic_cap_ul": "300", "area_traffic_cap_dl": "300", - "max_number_of_ues": "10000" + "max_number_of_ues": "10000", + "serviceProfile_Availability":"test-PLMNIdList", + "serviceProfile_PLMNIdList":"test-PLMNIdList", + "serviceProfile_Reliability":"test-Reliability", + "serviceProfile_ULThptPerUE":"1000", + "serviceProfile_DLThptPerUE":"2000", + "serviceProfile_ULThptPerSlice":"3000", + "serviceProfile_DLThptPerSlice":"4000", + "serviceProfile_MaxPktSize":"10000", + "serviceProfile_MaxNumberofConns":"", + "serviceProfile_TermDensity":"500", + "serviceProfile_Jitter":"10", + "serviceProfile_SurvivalTime":"10" }, "nst_info": { "nst_id": "46da8cf8-0878-48ac-bea3-f2200959411a", diff --git a/usecaseui-portal/src/app/mock/json/slicing_taskCreationInfo.json b/usecaseui-portal/src/app/mock/json/slicing_taskCreationInfo.json index 73185956..7ebb4ea5 100644 --- a/usecaseui-portal/src/app/mock/json/slicing_taskCreationInfo.json +++ b/usecaseui-portal/src/app/mock/json/slicing_taskCreationInfo.json @@ -21,7 +21,19 @@ "resource_sharing_level": "shared",
"area_traffic_cap_ul": "300",
"area_traffic_cap_dl": "300",
- "max_number_of_ues": "10000"
+ "max_number_of_ues": "10000",
+ "serviceProfile_Availability":"",
+ "serviceProfile_PLMNIdList":"",
+ "serviceProfile_Reliability":"test-Reliability",
+ "serviceProfile_ULThptPerUE":"1000",
+ "serviceProfile_DLThptPerUE":"2000",
+ "serviceProfile_ULThptPerSlice":"3000",
+ "serviceProfile_DLThptPerSlice":"4000",
+ "serviceProfile_MaxPktSize":"10000",
+ "serviceProfile_MaxNumberofConns":"12345",
+ "serviceProfile_TermDensity":"500",
+ "serviceProfile_Jitter":"10",
+ "serviceProfile_SurvivalTime":"10"
},
"nst_info": {
"nst_id": "46da8cf8-0878-48ac-bea3-f2200959411a",
diff --git a/usecaseui-portal/src/app/mock/json/slicing_taskCreationProgress.json b/usecaseui-portal/src/app/mock/json/slicing_taskCreationProgress.json index 42570372..fdb914fc 100644 --- a/usecaseui-portal/src/app/mock/json/slicing_taskCreationProgress.json +++ b/usecaseui-portal/src/app/mock/json/slicing_taskCreationProgress.json @@ -9,6 +9,9 @@ "cn_progress": 60,
"an_status":"finished",
"tn_status":"processing",
- "cn_status":"processing"
+ "cn_status":"error",
+ "an_statusDescription":"",
+ "tn_statusDescription":"",
+ "cn_statusDescription":""
}
}
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 a534f657..a9640f48 100644 --- a/usecaseui-portal/src/app/mock/json/slicing_task_auditInfo.json +++ b/usecaseui-portal/src/app/mock/json/slicing_task_auditInfo.json @@ -18,14 +18,20 @@ "activity_factor": "60",
"resource_sharing_level": "shared",
"max_number_of_ues": "10000",
- "uLThptPerUE":"1000",
- "dLThptPerUE":"2000",
- "uLThptPerSlice":"3000",
- "dLThptPerSlice":"4000",
- "maxPktSize":"10000",
- "termDensity":"500",
- "jitter":"10",
- "survivalTime":"10"
+ "area_traffic_cap_ul":"222",
+ "area_traffic_cap_dl":"444",
+ "serviceProfile_Availability":"",
+ "serviceProfile_PLMNIdList":"",
+ "serviceProfile_Reliability":"test-Reliability",
+ "serviceProfile_ULThptPerUE":"1000",
+ "serviceProfile_DLThptPerUE":"2000",
+ "serviceProfile_ULThptPerSlice":"3000",
+ "serviceProfile_DLThptPerSlice":"4000",
+ "serviceProfile_MaxPktSize":"10000",
+ "serviceProfile_MaxNumberofConns":"12345",
+ "serviceProfile_TermDensity":"500",
+ "serviceProfile_Jitter":"10",
+ "serviceProfile_SurvivalTime":"10"
},
"nst_info": {
"nst_id": "46da8cf8-0878-48ac-bea3-f2200959411a",
diff --git a/usecaseui-portal/src/constants/constants.ts b/usecaseui-portal/src/constants/constants.ts index 3d647e03..14a323fe 100644 --- a/usecaseui-portal/src/constants/constants.ts +++ b/usecaseui-portal/src/constants/constants.ts @@ -22,7 +22,6 @@ export const TASK_PROCESSING_STATUS = [ ]
export const BUSINESS_REQUIREMENT = [
-
{
title: 'Slicing Business Name',
key: 'service_name'
@@ -31,14 +30,14 @@ export const BUSINESS_REQUIREMENT = [ title: 'S-NSSAI',
key: 'service_snssai'
},
- // {
- // title: 'Data Rate Downlink (Mbps) ',
- // key: 'exp_data_rate_dl'
- // },
- // {
- // title: 'Data Rate Uplink (Mbps) ',
- // key: 'exp_data_rate_ul'
- // },
+ {
+ title: 'Data Rate Downlink (Mbps) ',
+ key: 'exp_data_rate_dl'
+ },
+ {
+ title: 'Data Rate Uplink (Mbps) ',
+ key: 'exp_data_rate_ul'
+ },
{
title: 'Mobility',
key: 'ue_mobility_level'
@@ -64,53 +63,69 @@ export const BUSINESS_REQUIREMENT = [ title: 'Max Number of UEs',
key: 'max_number_of_ues'
},
- // {
- // title: 'Uplink Regional Traffic Density(Mbps/km )',
- // key: 'area_traffic_cap_ul'
- // },
- // {
- // title: 'Downlink Regional Traffic Density(Mbps/km )',
- // key: 'area_traffic_cap_dl'
- // },
+ {
+ title: 'Uplink Regional Traffic Density(Mbps/km )',
+ key: 'area_traffic_cap_ul'
+ },
+ {
+ title: 'Downlink Regional Traffic Density(Mbps/km )',
+ key: 'area_traffic_cap_dl'
+ },
+ {
+ title: 'Availability',
+ key: 'serviceProfile_Availability'
+ },
+ {
+ title: 'PLMNIdList',
+ key: 'serviceProfile_PLMNIdList'
+ },
+ {
+ title: 'Reliability',
+ key: 'serviceProfile_Reliability'
+ },
{
title: 'Uplink throughput per UE',
- key: 'uLThptPerUE'
+ key: 'serviceProfile_ULThptPerUE'
},
{
title: 'Downlink throughput per UE',
- key: 'dLThptPerUE'
+ key: 'serviceProfile_DLThptPerUE'
},
{
title: 'Uplink throughput per network slice',
- key: 'uLThptPerSlice'
+ key: 'serviceProfile_ULThptPerSlice'
},
{
title: 'Downlink throughput per network slice',
- key: 'dLThptPerSlice'
+ key: 'serviceProfile_DLThptPerSlice'
+ },
+ {
+ title: 'Maximum packet size',
+ key: 'serviceProfile_MaxPktSize'
},
{
title: 'Maximum Number of Connections',
- key: 'maxPktSize'
+ key: 'serviceProfile_MaxNumberofConns'
},
{
title: 'Terminal density',
- key: 'termDensity'
+ key: 'serviceProfile_TermDensity'
},
{
- title: 'Jitter',
- key: 'jitter'
+ title: 'jitter',
+ key: 'serviceProfile_Jitter'
},
{
- title: 'SurvivalTime',
- key: 'survivalTime'
+ title: 'survivalTime',
+ key: 'serviceProfile_SurvivalTime'
},
+
[
{
title: 'Area',
key: 'area'
}
]
-
]
|