summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/mock
diff options
context:
space:
mode:
authorKeguang He <hekeguang@chinamobile.com>2022-09-01 02:02:27 +0000
committerGerrit Code Review <gerrit@onap.org>2022-09-01 02:02:27 +0000
commita6d5ef22e8874a33fbee58ec6813be4299b04d67 (patch)
treee3c35366559efe78dd3c0b93cc4ab04e7e823325 /usecaseui-portal/src/app/mock
parent1ae0a3420d90754900943a1146c44a3001a64e5a (diff)
parent3fcc20be1927fdd4d20e9c687ac8f99d0c1efc9b (diff)
Merge "Additional KPIs in the slicing monitor screen"
Diffstat (limited to 'usecaseui-portal/src/app/mock')
-rw-r--r--usecaseui-portal/src/app/mock/json/fetchPDUSessionEstSRData.json49
-rw-r--r--usecaseui-portal/src/app/mock/routes.js2
2 files changed, 51 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/mock/json/fetchPDUSessionEstSRData.json b/usecaseui-portal/src/app/mock/json/fetchPDUSessionEstSRData.json
new file mode 100644
index 00000000..4d5134cd
--- /dev/null
+++ b/usecaseui-portal/src/app/mock/json/fetchPDUSessionEstSRData.json
@@ -0,0 +1,49 @@
+{
+ "result_header": {
+ "result_code": "200",
+ "result_message": "5G slicing service PDUSessionEstSR query result."
+ },
+ "result_body": {
+ "slicing_pDUSessionEstSR_list": [
+ {
+ "service_id": "service1",
+ "pdusessionEstSRInfoList": [
+ {
+ "timestamp": "1454171446000",
+ "pduSessionEstSR": "120"
+ },
+ {
+ "timestamp": "1454172447000",
+ "pduSessionEstSR": "200"
+ }
+ ]
+ },
+ {
+ "service_id": "service2",
+ "pdusessionEstSRInfoList": [
+ {
+ "timestamp": "1454171446000",
+ "pduSessionEstSR": "88"
+ },
+ {
+ "timestamp": "1454173447000",
+ "pduSessionEstSR": "144"
+ }
+ ]
+ },
+ {
+ "service_id": "service3",
+ "pdusessionEstSRInfoList": [
+ {
+ "timestamp": "1454171446000",
+ "pduSessionEstSR": "163"
+ },
+ {
+ "timestamp": "1454173447000",
+ "pduSessionEstSR": "85"
+ }
+ ]
+ }
+ ]
+ }
+ }
diff --git a/usecaseui-portal/src/app/mock/routes.js b/usecaseui-portal/src/app/mock/routes.js
index 49086165..4c425e18 100644
--- a/usecaseui-portal/src/app/mock/routes.js
+++ b/usecaseui-portal/src/app/mock/routes.js
@@ -172,6 +172,8 @@ module.exports = {
"/fetchOnlineusersData",
"/POST/uui-slicing/nsmf/monitoring/queryTimestamp/:queryTimestamp/bandwidth":
"/fetchBandwidthData",
+ "/POST/uui-slicing/nsmf/monitoring/queryTimestamp/:queryTimestamp/pDUSessionEstSR":
+ "/fetchPDUSessionEstSRData",
///////<-------------general interface--------->/////
"/api/*": "/$1",
"/*/*": "/$1_$2",