summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/mock
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-09-09 17:20:46 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-09-10 15:38:30 +0800
commit11513d8eb65642758ee8dd794342b2f65daae482 (patch)
tree729ef131f77ab122d6482acc202c4b20cae673d5 /usecaseui-portal/src/app/mock
parented3a07f731f0c6f70234ca107ac46f44ec538faf (diff)
feat:optimize the mock api json of customer page
Change-Id: Ia1892e198693ffb64aae54553e46d54c9afe1ead Issue-ID: USECASEUI-307 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/mock')
-rw-r--r--usecaseui-portal/src/app/mock/json/CustomersColumn.json8
-rw-r--r--usecaseui-portal/src/app/mock/json/serviceType.json21
-rw-r--r--usecaseui-portal/src/app/mock/routes.js4
3 files changed, 32 insertions, 1 deletions
diff --git a/usecaseui-portal/src/app/mock/json/CustomersColumn.json b/usecaseui-portal/src/app/mock/json/CustomersColumn.json
new file mode 100644
index 00000000..329258d8
--- /dev/null
+++ b/usecaseui-portal/src/app/mock/json/CustomersColumn.json
@@ -0,0 +1,8 @@
+{
+ "list":[
+ {"name":"SOTN","value":"23"},
+ {"name":"CCVPN","value":"67"},
+ {"name":"CCVPN1","value":"34"},
+ {"name":"SOTN1","value":"12"}
+ ]
+} \ No newline at end of file
diff --git a/usecaseui-portal/src/app/mock/json/serviceType.json b/usecaseui-portal/src/app/mock/json/serviceType.json
new file mode 100644
index 00000000..cda17d57
--- /dev/null
+++ b/usecaseui-portal/src/app/mock/json/serviceType.json
@@ -0,0 +1,21 @@
+[
+ {
+ "service-type": "CCVPN",
+ "temp-ub-sub-account-id": "sotnaccount",
+ "resource-version": "1535601345780"
+ },
+ {
+ "service-type": "SOTN",
+ "temp-ub-sub-account-id": "sotnaccount",
+ "resource-version": "1535601333330"
+ },
+ {
+ "service-type": "E2E Service",
+ "temp-ub-sub-account-id": "sotnaccount",
+ "resource-version": "1536111036667"
+ },{
+ "service-type": "Network Service",
+ "temp-ub-sub-account-id": "sotnaccount",
+ "resource-version": "1536111036467"
+}
+] \ 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 9668e2fc..4a4b4057 100644
--- a/usecaseui-portal/src/app/mock/routes.js
+++ b/usecaseui-portal/src/app/mock/routes.js
@@ -35,7 +35,9 @@ module.exports =
/////////////////////////
///////<-------------managemence services--------->/////
- "/uui-lcm/customers/:customer/service-subscriptions": "/serviceTypes?customer=:customer",
+ "/uui-lcm/customers/:customer/service-subscriptions": "/serviceType",
+ "/uui-lcm/serviceNumByServiceType/:customer":"/CustomersColumn",
+
/////////////////////////
///////<-------------myhttp services--------->/////