summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/mock
diff options
context:
space:
mode:
authorliuwh7 <liuwh7@asiainfo.com>2021-03-12 10:40:27 +0800
committerliuwh7 <liuwh7@asiainfo.com>2021-03-12 10:42:34 +0800
commit1081d5ec761a7785cac40a1834944eaf109fe0f2 (patch)
tree3dccd00781d837226bc7826beadb5ca3a87ed916 /usecaseui-portal/src/app/mock
parent505b2d992907ee88473ca038449c388aa99f37d8 (diff)
fix: add eror tip and mock data
Change-Id: Ib80f8b0fb9e57e7f3271c498fa4669c98aa32db1 Signed-off-by: liuwh7 <liuwh7@asiainfo.com> Issue-ID: USECASEUI-525
Diffstat (limited to 'usecaseui-portal/src/app/mock')
-rw-r--r--usecaseui-portal/src/app/mock/json/POST_intent_predict.json10
-rw-r--r--usecaseui-portal/src/app/mock/routes.js5
2 files changed, 13 insertions, 2 deletions
diff --git a/usecaseui-portal/src/app/mock/json/POST_intent_predict.json b/usecaseui-portal/src/app/mock/json/POST_intent_predict.json
new file mode 100644
index 00000000..a0ccf863
--- /dev/null
+++ b/usecaseui-portal/src/app/mock/json/POST_intent_predict.json
@@ -0,0 +1,10 @@
+{
+ "maxNumberofUEs": "10",
+ "latency": "10",
+ "name": "exclusive slicing service",
+ "uEMobilityLevel": "stationary",
+ "expDataRateUL": "1000",
+ "expDataRateDL": "1000",
+ "resourceSharingLevel": "non-shared",
+ "coverageArea": "Beijing Beijing Haiding Wanshoulu"
+} \ No newline at end of file
diff --git a/usecaseui-portal/src/app/mock/routes.js b/usecaseui-portal/src/app/mock/routes.js
index 30c96b9d..8c59104a 100644
--- a/usecaseui-portal/src/app/mock/routes.js
+++ b/usecaseui-portal/src/app/mock/routes.js
@@ -105,9 +105,10 @@ module.exports = {
"/DELETE_uui-lcm_deleteVnfPackage",
"/DELETE/uui-lcm/deletePnfPackage?pnfdInfoId:id":
"/DELETE_uui-lcm_deletePnfPackage",
- "/POST/uui-lcm/ns-packages": "/POST_uui-lcm_ns-packages",
+ "/POST/uui-lcm/ns-packages": "/POST_uui-lcm_ns-packages",
"/POST/uui-lcm/vf-packages": "/POST_uui-lcm_vf-packages",
- "/POST/uui-lcm/:jsonData": "/POST_uui-lcm_create",
+ "/POST/uui-lcm/:jsonData": "/POST_uui-lcm_create",
+ "/POST/intent/predict": "/POST_intent_predict",
///////<-------------slicing--------->/////
"/uui-slicing/nsmf/task/business/pageNo/:pageNo/pageSize/:pageSize":