aboutsummaryrefslogtreecommitdiffstats
path: root/usecaseui-portal
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-12-09 12:23:12 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-12-09 12:23:18 +0800
commitf54d3461ca4eefd777345139939772953516e02b (patch)
tree07c6fef40e23b276b5a6880939e70ef1222d020d /usecaseui-portal
parent0b0f8e4644bdfc110558d055ca2e01b878809b5c (diff)
feat:add mock json of monitor 5g page
Change-Id: If39d57bcb37955668beee0793b35a6ac6db014c8 Issue-ID: USECASEUI-370 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal')
-rw-r--r--usecaseui-portal/src/app/mock/json/fetchBandwidthData.json49
-rw-r--r--usecaseui-portal/src/app/mock/json/fetchOnlineusersData.json49
-rw-r--r--usecaseui-portal/src/app/mock/json/fetchTrafficData.json22
3 files changed, 120 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/mock/json/fetchBandwidthData.json b/usecaseui-portal/src/app/mock/json/fetchBandwidthData.json
new file mode 100644
index 00000000..4fb9b9b6
--- /dev/null
+++ b/usecaseui-portal/src/app/mock/json/fetchBandwidthData.json
@@ -0,0 +1,49 @@
+{
+ "result_header": {
+ "result_code": "200",
+ "result_message": "5G slicing service bandwidth query result."
+ },
+ "result_body": {
+ "slicing_total_bandwidth_list": [
+ {
+ "service_id": "service1",
+ "total_bandwidth_list": [
+ {
+ "timestamp": "1454171445000",
+ "total_bandwidth": "167"
+ },
+ {
+ "timestamp": "1454171445000",
+ "total_bandwidth": "200"
+ }
+ ]
+ },
+ {
+ "service_id": "service2",
+ "total_bandwidth_list": [
+ {
+ "timestamp": "1454171447000",
+ "total_bandwidth": "88"
+ },
+ {
+ "timestamp": "1454171447000",
+ "total_bandwidth": "184"
+ }
+ ]
+ },
+ {
+ "service_id": "service3",
+ "total_bandwidth_list": [
+ {
+ "timestamp": "1454171448000",
+ "total_bandwidth": "173"
+ },
+ {
+ "timestamp": "1454171448000",
+ "total_bandwidth": "95"
+ }
+ ]
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/usecaseui-portal/src/app/mock/json/fetchOnlineusersData.json b/usecaseui-portal/src/app/mock/json/fetchOnlineusersData.json
new file mode 100644
index 00000000..0c8dd97d
--- /dev/null
+++ b/usecaseui-portal/src/app/mock/json/fetchOnlineusersData.json
@@ -0,0 +1,49 @@
+{
+ "result_header": {
+ "result_code": "200",
+ "result_message": "5G slicing service online users query result."
+ },
+ "result_body": {
+ "slicing_online_user_list": [
+ {
+ "service_id": "service1",
+ "online_user_list": [
+ {
+ "timestamp": "1454171445000",
+ "online_users": "100"
+ },
+ {
+ "timestamp": "1454171445000",
+ "online_users": "200"
+ }
+ ]
+ },
+ {
+ "service_id": "service2",
+ "online_user_list": [
+ {
+ "timestamp": "1454171446000",
+ "online_users": "157"
+ },
+ {
+ "timestamp": "1454171446000",
+ "online_users": "189"
+ }
+ ]
+ },
+ {
+ "service_id": "service3",
+ "online_user_list": [
+ {
+ "timestamp": "1454171449000",
+ "online_users": "215"
+ },
+ {
+ "timestamp": "1454171449000",
+ "online_users": "148"
+ }
+ ]
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/usecaseui-portal/src/app/mock/json/fetchTrafficData.json b/usecaseui-portal/src/app/mock/json/fetchTrafficData.json
new file mode 100644
index 00000000..dfac1a30
--- /dev/null
+++ b/usecaseui-portal/src/app/mock/json/fetchTrafficData.json
@@ -0,0 +1,22 @@
+{
+ "result_header": {
+ "result_code": "200",
+ "result_message": "5G slicing service traffic query result."
+ },
+ "result_body": {
+ "slicing_usage_traffic_list": [
+ {
+ "service_id": "service1",
+ "traffic_data": "100"
+ },
+ {
+ "service_id": "service2",
+ "traffic_data": "200"
+ },
+ {
+ "service_id": "service3",
+ "traffic_data": "80"
+ }
+ ]
+ }
+} \ No newline at end of file